:root {
    --main-font: 'Inter', sans-serif;
    --primary-color: #4b4b4b;
    --primary-color-opacity: #0a0a0aab;
    --body-color: #575757;
    --text-color: #FFFFFF;
    --red-color: #fd8b8b;
    --header-height: 110px;
}

@media (max-width: 991px) {
    :root {
        --header-height: 80px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: var(--body-color);
    padding: 5px;
}

::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(216, 216, 216);
}

:focus-visible {
    outline: none;
}


html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    font-weight: 400;
    overflow-x: hidden;
    height: 100vh;
    line-height: 130%;
    background: var(--body-color);
    color: var(--text-color);
}

body.locked {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

main {
    min-height: 500px;
}

.container {
    max-width: 1440px;
    padding: 0 90px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 991px) {
    .container {
        max-width: 100%;
        width: 100%;
        padding: 0 18px;
    }
}

.btn {
    padding: 15px 30px;
    line-height: 1;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .3s;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    width: fit-content;
    font-family: var(--main-font);
}

.btn:hover {
    opacity: 0.7;
}

.btn-white {
    color: black;
    background: white;
}

.btn-white-outlined {
    border: 1px solid white;
    background: transparent;
    color: white;
}

.btn-white-outlined:hover {
    background: white;
    color: black;
    opacity: 1;
}

input,
button {
    padding: 0;
    border: none;
    background: transparent;
    line-height: inherit;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
}

textarea {
    resize: vertical
}

.form-control:not(:has(.ts-control)),
.ts-control {
    border-radius: 10px;
    padding: 12px 16px;
    width: 100%;
    background: var(--text-color);
    font-size: 14px;
    appearance: none;
    transition: .3s;
    font-family: var(--main-font);
}

.form-control:not(:has(.ts-control))::placeholder {
    color: var(--primary-color);
    font-size: 14px;
    opacity: 50%;
}


.ts-control {
    justify-content: space-between;
    align-items: center;
}

.ts-control::after {
    content: "";
    background-image: url("data:image/svg+xml,%0A%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.36364 5.01038L4.98962 5.63636L10 0.625986L9.37401 0L4.98962 4.38439L0.625986 0.0207552L0 0.646741L2.50145 3.14819L4.36364 5.01038Z' fill='black'/%3E%3C/svg%3E%0A");
    background-size: contain;
    background-repeat: no-repeat;
    width: 10px;
    height: 6px;
    transition: .3s;
}

.ts-wrapper.dropdown-active .ts-control::after {
    transform: rotate(180deg);
}

.ts-dropdown {
    border-radius: 10px;
    overflow: hidden;
}

.form-row label {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    display: block;
    transition: .3s;
}

/* Dropdown */

.dropdown-wrapper {
    position: relative
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-toggle::after {
    content: "";
    background-image: url("data:image/svg+xml,%0A%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.36364 5.01038L4.98962 5.63636L10 0.625986L9.37401 0L4.98962 4.38439L0.625986 0.0207552L0 0.646741L2.50145 3.14819L4.36364 5.01038Z' fill='white'/%3E%3C/svg%3E%0A");
    background-size: contain;
    background-repeat: no-repeat;
    width: 10px;
    height: 6px;
    transition: .3s;
}

.dropdown-wrapper:has(.dropdown.show) .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown {
    display: none;
    background: var(--primary-color);
    border-radius: 0;
    min-width: 100px;
    width: max-content;
    z-index: 500;
    border: 1px solid #ffffff24;
    padding: 0px;
    border-radius: 20px;
}

.dropdown.show {
    display: block;
    position: absolute;
    margin-top: 15px;
    right: 0;
    top: 100%;
}

.dropdown-inner {
    display: flex;
    flex-direction: column;
}

.dropdown-inner a {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: .2s;
    padding: 15px;
    border-bottom: 1px solid #ffffff24;
}

.dropdown-inner a:last-child {
    border-bottom: 0;
}

.dropdown-inner a:hover {
    opacity: 80%;
}

@media (max-width: 768px) {
    .dropdown.show {
        right: unset;
    }
}

/* Header */

.header {
    padding: 20px 0;
    background: var(--primary-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 52px;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header [data-target="headerOpen"] {
    display: none;
}

.header-nav {
    display: flex;
    gap: 48px;
    flex: 1;
    align-items: center;
}

.header-nav a,
.header .dropdown-toggle {
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    color: white;
    transition: .2s;
}

.header-nav a:hover {
    opacity: 1;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-controls__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.header-controls__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.mobile-only {
    display: none;
    height: 40px;
    width: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1280px) {
    .header-controls__phone {
        display: none;
    }
}

@media (max-width: 991px) {
    .header-inner {
        gap: 20px;
    }

    .header-logo img {
        height: 50px;
    }

    .header.show .header-inner {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 40px;
        position: fixed;
        background: var(--body-color);
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        padding: 30px;
        z-index: 99;
        overflow-y: scroll;
    }

    .header.show .header-inner::-webkit-scrollbar {
        display: none;
    }

    .header-left {
        display: flex;
        justify-content: space-between;
        flex: 1;
    }

    .header.show .header-left {
        display: flex;
        justify-content: space-between;
        flex: unset;
        width: 100%;
        align-items: center;
    }

    .header [data-target="headerOpen"] {
        display: flex;
        align-items: center;
    }

    .header.show [data-target="headerOpen"] svg {
        display: none;
    }

    .header.show [data-target="headerOpen"]:after {
        content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224px%22%20viewBox%3D%220%20-960%20960%20960%22%20width%3D%2224px%22%20fill%3D%22white%22%3E%3Cpath%20d%3D%22m256-200-56-56%20224-224-224-224%2056-56%20224%20224%20224-224%2056%2056-224%20224%20224%20224-56%2056-224-224-224%20224Z%22%2F%3E%3C%2Fsvg%3E");
        margin-top: 3px;
    }

    .header-nav {
        display: none;
    }

    .header.show .header-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 32px;
    }

    .header-nav .dropdown-wrapper {
        width: 100%;
    }

    .header-nav a,
    .header-nav .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        font-size: 18px;
    }

    .header-nav .dropdown.show {
        position: relative;
        top: unset;
        right: unset;
        background: transparent;
        border: none;
        border-radius: 0;
        width: 100%;
        border-top: 1px solid #ffffff45;
        margin-top: 20px;
    }

    .header-nav .dropdown-inner a {
        font-size: 16px;
    }

    .header.show .header-controls {
        display: none;
    }
}

/* Footer */

.footer {
    background: var(--primary-color);
    padding: 40px 0;
}

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

.footer-copy {
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    margin-top: 16px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
}

.footer-social img {
    filter: brightness(0) invert(1);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-images {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-images a {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 10px;
}

.footer-images img {
    max-width: 150px;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .footer-inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .footer-images {
        flex-direction: row;
    }

    .footer-images a {
        width: fit-content;
    }
}

/* Page */

.page {
    padding: 40px 0;
}

.page h1 {
    font-weight: 800;
    font-size: 40px;
    margin: 0;
    margin-bottom: 16px;
    line-height: 130%;
}

.page-desc {
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    margin-bottom: 24px;
    max-width: 650px;
}

.page-content {
    line-height: 150%;
}

@media (max-width: 991px) {
    .page {
        padding: 20px 0;
    }

    .page h1 {
        font-size: 24px;
    }

    .page-desc {
        font-size: 16px;
    }
}

.rank-math-breadcrumb {
    margin-bottom: 16px;
    line-height: 140%;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}

.rank-math-breadcrumb p {
    margin: 0;
}

.rank-math-breadcrumb a {
    color: var(--text-color);
}

.rank-math-breadcrumb .last {
    font-weight: 700;
}

/* Blog */

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 32px;
}

.blog-post {
    width: calc(25% - 24px);
}

.blog-post img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
}

.blog-post__title {
    margin: 16px 0;
    font-weight: 600;
    line-height: 120%;
    font-size: 20px;
}

.blog-post__excerpt {
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 300;
}

.blog-post__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-post__readmore {
    font-weight: 700;
}

.blog-post__date {
    opacity: .5;
    font-size: 14px;
}

@media (max-width: 991px) {
    .blog-posts {
        margin-top: 24px;
    }

    .blog-post {
        width: 100%;
    }
}

/* Pagination */

.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    background: white;
    color: black;
    border-radius: 10px;
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
}

.divider {
    width: 100%;
    height: 1px;
    background: white;
    opacity: .2;
    margin-top: 40px;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .pagination {
        margin-top: 24px;
    }
}


/* Products */

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 24px;

}

.product {
    position: relative;
    list-style: none;
    width: calc(33% - 14px);
    transition: .3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
}

.product img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    transition: .3s;
}

.product:hover img {
    opacity: 70%;
}

.product .woocommerce-loop-product__title {
    margin: 0;
    line-height: 120%;
    font-size: 18px;
    font-weight: 500;
    transition: .3s;
    padding: 20px;
    padding-bottom: 0;
}

.product:hover .woocommerce-loop-product__title {
    opacity: 70%;
}

.product .price-wrapper {
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: .3s;
}

.product:hover .price-wrapper {
    opacity: 70%;
}

.product .price-subtitle {
    font-weight: 400;
}

.product .price {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.product .price .screen-reader-text {
    display: none;
}

.product .price bdi {
    font-size: 18px;
}

.product .price ins {
    text-decoration: none;
    color: var(--red-color);
    font-weight: 700;
    font-size: 18px;
}

.product .price del {
    opacity: 50%;
    font-size: 15px;
}

.product .product-stock {
    font-size: 14px;
    font-weight: 400;
    margin-top: 8px;
    line-height: 120%;
}

.product .product-footer {
    margin-top: 14px;
    transition: .3s;
    display: flex;
    gap: 16px;
    padding: 20px;
    padding-top: 0;
    flex-direction: column;
}

.product .product-footer .btn {
    font-size: 14px;
    padding: 13px 20px;
    width: 100%;
}

@media (max-width: 991px) {
    .products {
        gap: 16px;
    }

    .product {
        width: 100%;
    }
}


/* Woocommerce */

.woocommerce-error,
.woocommerce-message {
    padding: 1em 2em;
    margin: 0 0 2em;
    position: relative;
    color: var(--text-color);
    background-color: var(--primary-color);
    list-style: none outside;
    width: auto;
    word-wrap: break-word;
    margin-bottom: 15px;
    font-size: 14px;
    border-radius: 20px;
}

.woocommerce-error li,
.woocommerce-message li {
    list-style: none outside !important;
    padding-left: 0 !important;
    margin-left: 0 !important
}

.woocommerce-error a,
.woocommerce-message a {
    color: var(--text-color);
    text-decoration: underline;
    font-weight: 700;
}

.restore-item {
    text-decoration: underline;
    font-weight: 700;
}

label.screen-reader-text {
    display: none;
}

.woocommerce-cart-form {
    margin-bottom: 32px;
}

.woocommerce table.shop_table {
    background: var(--primary-color);
    margin: 0;
    text-align: left;
    width: 100%;
    border-radius: 20px;
}

.woocommerce table.shop_table th {
    font-weight: 700;
    padding: 20px;
}

.woocommerce table.shop_table td {
    padding: 9px 12px;
    vertical-align: middle;
}

.woocommerce table.shop_table td.product-remove {
    width: 100px;
    text-align: center;
    font-size: 30px;
}

.woocommerce table.shop_table td.product-quantity {
    width: 100px;
}

.woocommerce table.shop_table td.product-price del {
    display: block;
    margin-bottom: 4px;
    opacity: 50%;
    font-size: 15px;
}

.woocommerce table.shop_table td.product-price ins {
    text-decoration: none;
    color: var(--red-color);
    font-weight: 700;
}

.woocommerce table.shop_table td small {
    font-weight: 400
}

.woocommerce table.shop_table .product-name a {
    font-weight: 600;
    font-size: 18px;
}

.woocommerce table.shop_table td .variations {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

.woocommerce table.shop_table td .variation {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.woocommerce table.shop_table td .variation .variation-key {
    font-weight: 600;
}

.woocommerce table.shop_table td .variation .variation-display {
    font-weight: 400;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
    font-weight: 700;
}

.woocommerce table.shop_table .product-thumbnail img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
}

.wc-proceed-to-checkout {
    margin-top: 24px;
}

@media (max-width: 991px) {
    .woocommerce h2 {
        font-size: 18px;
    }

    .woocommerce-cart-form {
        overflow: scroll;
    }

    .woocommerce-cart-form table.shop_table {
        width: max-content;
    }

    .woocommerce table.shop_table td.product-remove {
        vertical-align: top;
    }

    .woocommerce table.shop_table .product-thumbnail {
        display: none;
    }
}

/* Modals */

.modal {
    background: rgba(0, 0, 0, 0.29);
    backdrop-filter: blur(20px);
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1049;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-inner {
    background: var(--primary-color);
    border-radius: 20px;
    width: 100%;
    max-width: 1140px;
    max-height: calc(100vh - 40px); 
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}

.modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header__title {
    font-weight: 800;
    width: 100%;
    font-size: 20px;
}

.modal-header__close {
    cursor: pointer;
    border-radius: 100%;
    width: 14px;
    height: 14px;
    background-size: contain;
    display: flex;
    justify-content: center;
    background-image: url('data:image/svg+xml,<svg fill="%23ffffff" width="64px" height="64px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" stroke="%23ffffff" stroke-width="0.00032"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M16 0c-8.836 0-16 7.163-16 16s7.163 16 16 16c8.837 0 16-7.163 16-16s-7.163-16-16-16zM16 30.032c-7.72 0-14-6.312-14-14.032s6.28-14 14-14 14 6.28 14 14-6.28 14.032-14 14.032zM21.657 10.344c-0.39-0.39-1.023-0.39-1.414 0l-4.242 4.242-4.242-4.242c-0.39-0.39-1.024-0.39-1.415 0s-0.39 1.024 0 1.414l4.242 4.242-4.242 4.242c-0.39 0.39-0.39 1.024 0 1.414s1.024 0.39 1.415 0l4.242-4.242 4.242 4.242c0.39 0.39 1.023 0.39 1.414 0s0.39-1.024 0-1.414l-4.242-4.242 4.242-4.242c0.391-0.391 0.391-1.024 0-1.414z"></path></g></svg>');
    padding: 14px;
}

.modal-body {
    padding: 18px;
    flex-grow: 1;
    overflow-y: auto;
}

.modal.modal-photo .modal-body {
    padding: 0;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .modal-inner {
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .modal-inner {
        max-width: 100%;
        max-height: calc(100vh - 20px);
    }

    .modal-header__title {
        font-size: 18px;
    }
    
    .modal {
        padding: 10px;
    }
}