/*!
Theme Name: maintheme
Theme URI: #
Author: devlama
Author URI: #
Description: Description
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: maintheme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

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

:root {
    --color-text: #252424;
    --color-bg: #EAE9EB;
    --color-header-bg: #E4E2E5;
    --color-popup-bg: #EAE9EB;
    --color-sidebar-bg: #CDCCCD;
    --color-input-bg: #CDCCCD;
    --color-muted: #C5C5C4;
    --color-white: #FFFFFF;

    --font-primary: "Inter", system-ui, sans-serif;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: var(--font-primary);
    font-size: clamp(16px, calc(0.221vw + 15.17px), 18px);
    font-weight: 400;
    line-height: 1.4;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a,
img {
    transition: all 0.3s ease-in-out;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

input,
textarea,
select {
    font: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6,
p {
    margin: 0;
}

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

.site-header,
.site-footer {
    flex-shrink: 0;
}

.site-main {
    flex: 1 0 auto;
}

.container,
.entry-content {
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

::-webkit-scrollbar {
    width: 6px;
    height: 5px;
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-muted);
}

::-webkit-scrollbar-thumb:hover {
    background-color: #B5B5B5;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 30px;
    color: var(--color-text);
    font-family: inherit;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.33;
    text-align: center;
    background: transparent;
    border: 1px solid var(--color-text);
    border-radius: 53px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn:hover,
.btn:focus-visible {
    background: var(--color-muted);
    border: 1px solid var(--color-muted);
}

.btn-white {
    color: #e6e6e6;
    border: 2px solid #e6e6e6;
}

.btn-white:hover,
.btn-white:focus-visible {
    background: var(--color-muted);
    border: 2px solid var(--color-muted);
}

.tac {
    text-align: center;
}

.no-scroll,
body.popup-visible {
    overflow: hidden;
}

body .d-none {
    display: none;
}

form p:empty {
    display: none;
}

body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor h1,
body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor h2,
body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor h3,
body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor h4,
body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor h5,
body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor h6 {
    margin: 50px 0 30px;
    line-height: 1.3;
    font-size: 28px;
}

body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor p {
    margin: 25px 0;
}

body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor p:last-child:not(:only-of-type) {
    margin: 0;
}

body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor ul,
body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor ol {
    padding-left: 23px;
    margin-bottom: 40px;
}

body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor ul {
    list-style: none;
}

body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor ul li {
    position: relative;
    margin-bottom: 5px;
}

body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor ul li::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-text);
}

body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor ol {
    list-style: decimal;
}

body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor ol li {
    margin-bottom: 5px;
}

body:not(.woocommerce-cart, .woocommerce-account, .woocommerce-checkout) .text-editor img {
    margin-bottom: 50px;
}

body.mdev .product__description .text-editor h1,
body.mdev h1, body .heading-1 {
    font-weight: 600;
    font-size: clamp(28px, calc(1.105vw + 23.86px), 38px);
    text-transform: uppercase;
    
    margin-bottom: 30px;
}


body.mdev h2, body .heading-2 {
    font-weight: 600;
    font-size: clamp(20px, calc(0.442vw + 18.34px), 24px);
    text-transform: uppercase;
}

body.mdev .product__description .text-editor h2,
body.mdev .product__description .text-editor h3,
body.mdev h3, body .heading-3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.6;
    text-transform: uppercase;
}

.wpcf7-spinner,
.wpcf7-not-valid-tip {
    display: none !important;
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
    display: block;
    visibility: hidden;
    opacity: 0;
}

form .wpcf7-response-output {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 300px;
    margin: 0;
    padding: 15px;
    background: var(--color-white);
    border-width: 1px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(200%);
    transition: all 0.4s ease-in-out;
    z-index: 3;
}

form.invalid .wpcf7-response-output.active {
    border-color: #cd0000;
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
}