/*
Theme Name: Professional Nail Boutique
Theme URI: https://pnb-shop.com.ua
Author: Andrii Riabchenko
Author URI: https://github.com/and-rii
Description: PNB Theme
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pnb
Tags: bootstrap
*/

:root {
    --theme-color-bg-primary: #F8EFE6;
    --theme-color-bg-secondary: #E4B9AE;
    --theme-color-bg-danger: #FF204D;
    --theme-color-accent: #F1DECD;
    --theme-color-white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

/* Scrollbar */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--theme-color-accent) var(--theme-color-white);
}

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
    width: 7px;
    width: 7px;
    transition: all .3s linear;
}

*::-webkit-scrollbar-track {
    border-radius: 15px;
    background-color: var(--theme-color-white);
    transition: all .3s linear;
}

*::-webkit-scrollbar-track:hover {
    background-color: var(--theme-color-accent);
}

*::-webkit-scrollbar-track:active {
    background-color: var(--theme-color-accent);
}

*::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: var(--theme-color-accent);
    transition: all .3s linear;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary);
}

*::-webkit-scrollbar-thumb:active {
    background-color: var(--color-primary);
}

body {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.custom-logo {
    max-height: 75px;
    width: auto;
}

header {
    background: var(--theme-color-bg-primary);
}

/* #main-menu .menu-item a {
    font-size: 30px;
} */

#main-menu .menu-item:after {
    content: '';
    display: block;
    background: var(--theme-color-white);
    width: 50px;
    height: 3px;
    margin-left: auto;
    margin-right: auto;
    transition: width 0.3s;
}

#main-menu .menu-item:hover:after {
    width: 100%;
}

.lead-title {
    position: relative;
}

.lead-title:before {
    content: '';
    position: absolute;
    top: -0.25em;
    left: -0.5em;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background: var(--theme-color-bg-primary);
    z-index: -1;
}

.lead-block {
    position: relative;
    z-index: 1;
}

.lead-block .lead-block-text:before {
    content: '';
    position: absolute;
    display: block;
    top: -0.25em;
    left: -0.5em;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    background: var(--theme-color-white);
    z-index: -1;
}

.lead-block-primary .lead-block-text:before {
    background: var(--theme-color-bg-primary);
}

.lead-block-secondary .lead-block-text:before {
    background: var(--theme-color-bg-secondary);
}

.lead-block-text {
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.old-price {
    position: relative;
}

.old-price:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--theme-color-bg-danger);
    z-index: 1;
    transform: rotate(5deg);
}

.section_4_image {
    min-height: 45vh;
}

/* mobile */
@media screen and (max-width: 768px) {
    .custom-logo {
        max-height: 36px;
    }
    .text-responsive {
        font-size: .85em;
    }
    .text-responsive.fs-4 {
        font-size: 1em !important;
    }
    .text-responsive.h5 {
        font-size: .9em !important;
    }
    .text-responsive.fs-6 {
        font-size: .85em !important;
    }
    .section_4_image {
        min-height: 30vh;
    }
    .blur-mobile {
        backdrop-filter: blur(7px);
    }
    .bg-transparent-white-mobile {
        background-color: rgba(255, 255, 255, 0.8);
        padding: 1em;
        border-radius: 10px;
    }
}

/* tablet */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .section_4_image > img {
        position: relative !important;
        width: 75%;
        display: block;
        margin: auto;
        padding: 1em 0;
    }
    .responsive-text .fs-5 {
        font-size: .9em !important;
    }

    .responsive-text .fs-3 {
        font-size: 1em !important;
    }
}

/* Bootstrap rewrite */
.bg-danger {
    background-color: var(--theme-color-bg-danger) !important;
}

.bg-primary {
    background-color: var(--theme-color-bg-primary) !important;
}