/*
Theme Name: Blueweby Theme
Theme URI: https://blueweby.com
Author: Mohammadhossein Hajisalimi
Author URI: https://blueweby.com
Description: This is a private and exclusive theme for the website blueweby.com
Tags: blog
Version: 1.0
Requires PHP: 8.2
License: Proprietary
License URI: https://blueweby.com/wp-content/themes/blueweby/license.txt
Text Domain: Blueweby
*/
/********** Main Style **********/
@font-face {
    font-family: IRANSansXV;
    src: url("assets/fonts/IRANSansXV.woff2") format("woff2");
    font-weight: 100 1000;
    font-display: fallback;
}
@keyframes circle-expand {
    from {
        clip-path: circle(0px at var(--x) var(--y));
    }
    to {
        clip-path: circle(150% at var(--x) var(--y));
    }
}
@keyframes spoiler {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}
@keyframes burger-open-top {
    50% {
        -webkit-transform: translate3d(0, 0.5rem, 0);
        transform: translate3d(0, 0.5rem, 0);
    }
    100% {
        -webkit-transform: translate3d(0, 0.5rem, 0) rotate(45deg);
        transform: translate3d(0, 0.5rem, 0) rotate(45deg);
    }
}
@keyframes burger-close-top {
    0% {
        -webkit-transform: translate3d(0, 0.5rem, 0) rotate(45deg);
        transform: translate3d(0, 0.5rem, 0) rotate(45deg);
    }
    50% {
        -webkit-transform: translate3d(0, 0.5rem, 0) rotate(0);
        transform: translate3d(0, 0.5rem, 0) rotate(0);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}
@keyframes burger-open-bot {
    50% {
        -webkit-transform: translate3d(0, -0.5rem, 0);
        transform: translate3d(0, -0.5rem, 0);
    }
    100% {
        -webkit-transform: translate3d(0, -0.5rem, 0) rotate(-45deg);
        transform: translate3d(0, -0.5rem, 0) rotate(-45deg);
    }
}
@keyframes burger-close-bot {
    0% {
        -webkit-transform: translate3d(0, -0.5rem, 0) rotate(-45deg);
        transform: translate3d(0, -0.5rem, 0) rotate(-45deg);
    }
    50% {
        -webkit-transform: translate3d(0, -0.5rem, 0) rotate(0);
        transform: translate3d(0, -0.5rem, 0) rotate(0);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}
@keyframes slideInWave {
    0% {
        transform: translateX(30px);
    }
    80% {
        transform: translateX(-2px);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes slideOutWave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(30px);
    }
}
:root {
    --x: 50%;
    --y: 50%;
    --background-color: #ffffff;
    --background-dark-color: #1e1f21;
    --header-color: #ffffff;
    --header-dark-color: #1e1f21;
    --main-color: #1e89cd;
    --light-color: #000000;
    --dark-color: #e8eaed;
    --bw-clip-path : polygon(100% 50%, 100% 56.6%, 100% 59.3%, 100% 61.4%, 99.9% 63.2%, 99.9% 64.8%, 99.9% 66.2%, 99.8% 67.5%, 99.8% 68.7%, 99.7% 69.8%, 99.6% 70.8%, 99.5% 71.8%, 99.5% 72.8%, 99.4% 73.7%, 99.3% 74.6%, 99.1% 75.4%, 99% 76.3%, 98.9% 77%, 98.8% 77.8%, 98.6% 78.5%, 98.5% 79.2%, 98.3% 79.9%, 98.1% 80.6%, 98% 81.3%, 97.8% 81.9%, 97.6% 82.5%, 97.4% 83.1%, 97.2% 83.7%, 97% 84.3%, 96.8% 84.8%, 96.5% 85.4%, 96.3% 85.9%, 96% 86.4%, 95.8% 86.9%, 95.5% 87.4%, 95.3% 87.9%, 95% 88.3%, 94.7% 88.8%, 94.4% 89.2%, 94.1% 89.7%, 93.8% 90.1%, 93.4% 90.5%, 93.1% 90.9%, 92.8% 91.3%, 92.4% 91.7%, 92% 92%, 91.7% 92.4%, 91.3% 92.8%, 90.9% 93.1%, 90.5% 93.4%, 90.1% 93.8%, 89.7% 94.1%, 89.2% 94.4%, 88.8% 94.7%, 88.3% 95%, 87.9% 95.3%, 87.4% 95.5%, 86.9% 95.8%, 86.4% 96%, 85.9% 96.3%, 85.4% 96.5%, 84.8% 96.8%, 84.3% 97%, 83.7% 97.2%, 83.1% 97.4%, 82.5% 97.6%, 81.9% 97.8%, 81.3% 98%, 80.6% 98.1%, 79.9% 98.3%, 79.2% 98.5%, 78.5% 98.6%, 77.8% 98.8%, 77% 98.9%, 76.3% 99%, 75.4% 99.1%, 74.6% 99.3%, 73.7% 99.4%, 72.8% 99.5%, 71.8% 99.5%, 70.8% 99.6%, 69.8% 99.7%, 68.7% 99.8%, 67.5% 99.8%, 66.2% 99.9%, 64.8% 99.9%, 63.2% 99.9%, 61.4% 100%, 59.3% 100%, 56.6% 100%, 50% 100%, 43.4% 100%, 40.7% 100%, 38.6% 100%, 36.8% 99.9%, 35.2% 99.9%, 33.8% 99.9%, 32.5% 99.8%, 31.3% 99.8%, 30.2% 99.7%, 29.2% 99.6%, 28.2% 99.5%, 27.2% 99.5%, 26.3% 99.4%, 25.4% 99.3%, 24.6% 99.1%, 23.7% 99%, 23% 98.9%, 22.2% 98.8%, 21.5% 98.6%, 20.8% 98.5%, 20.1% 98.3%, 19.4% 98.1%, 18.7% 98%, 18.1% 97.8%, 17.5% 97.6%, 16.9% 97.4%, 16.3% 97.2%, 15.7% 97%, 15.2% 96.8%, 14.6% 96.5%, 14.1% 96.3%, 13.6% 96%, 13.1% 95.8%, 12.6% 95.5%, 12.1% 95.3%, 11.7% 95%, 11.2% 94.7%, 10.8% 94.4%, 10.3% 94.1%, 9.9% 93.8%, 9.5% 93.4%, 9.1% 93.1%, 8.7% 92.8%, 8.3% 92.4%, 8% 92%, 7.6% 91.7%, 7.2% 91.3%, 6.9% 90.9%, 6.6% 90.5%, 6.2% 90.1%, 5.9% 89.7%, 5.6% 89.2%, 5.3% 88.8%, 5% 88.3%, 4.7% 87.9%, 4.5% 87.4%, 4.2% 86.9%, 4% 86.4%, 3.7% 85.9%, 3.5% 85.4%, 3.2% 84.8%, 3% 84.3%, 2.8% 83.7%, 2.6% 83.1%, 2.4% 82.5%, 2.2% 81.9%, 2% 81.3%, 1.9% 80.6%, 1.7% 79.9%, 1.5% 79.2%, 1.4% 78.5%, 1.2% 77.8%, 1.1% 77%, 1% 76.3%, 0.9% 75.4%, 0.7% 74.6%, 0.6% 73.7%, 0.5% 72.8%, 0.5% 71.8%, 0.4% 70.8%, 0.3% 69.8%, 0.2% 68.7%, 0.2% 67.5%, 0.1% 66.2%, 0.1% 64.8%, 0.1% 63.2%, 0% 61.4%, 0% 59.3%, 0% 56.6%, 0% 50%, 0% 43.4%, 0% 40.7%, 0% 38.6%, 0.1% 36.8%, 0.1% 35.2%, 0.1% 33.8%, 0.2% 32.5%, 0.2% 31.3%, 0.3% 30.2%, 0.4% 29.2%, 0.5% 28.2%, 0.5% 27.2%, 0.6% 26.3%, 0.7% 25.4%, 0.9% 24.6%, 1% 23.7%, 1.1% 23%, 1.2% 22.2%, 1.4% 21.5%, 1.5% 20.8%, 1.7% 20.1%, 1.9% 19.4%, 2% 18.7%, 2.2% 18.1%, 2.4% 17.5%, 2.6% 16.9%, 2.8% 16.3%, 3% 15.7%, 3.2% 15.2%, 3.5% 14.6%, 3.7% 14.1%, 4% 13.6%, 4.2% 13.1%, 4.5% 12.6%, 4.7% 12.1%, 5% 11.7%, 5.3% 11.2%, 5.6% 10.8%, 5.9% 10.3%, 6.2% 9.9%, 6.6% 9.5%, 6.9% 9.1%, 7.2% 8.7%, 7.6% 8.3%, 8% 8%, 8.3% 7.6%, 8.7% 7.2%, 9.1% 6.9%, 9.5% 6.6%, 9.9% 6.2%, 10.3% 5.9%, 10.8% 5.6%, 11.2% 5.3%, 11.7% 5%, 12.1% 4.7%, 12.6% 4.5%, 13.1% 4.2%, 13.6% 4%, 14.1% 3.7%, 14.6% 3.5%, 15.2% 3.2%, 15.7% 3%, 16.3% 2.8%, 16.9% 2.6%, 17.5% 2.4%, 18.1% 2.2%, 18.7% 2%, 19.4% 1.9%, 20.1% 1.7%, 20.8% 1.5%, 21.5% 1.4%, 22.2% 1.2%, 23% 1.1%, 23.7% 1%, 24.6% 0.9%, 25.4% 0.7%, 26.3% 0.6%, 27.2% 0.5%, 28.2% 0.5%, 29.2% 0.4%, 30.2% 0.3%, 31.3% 0.2%, 32.5% 0.2%, 33.8% 0.1%, 35.2% 0.1%, 36.8% 0.1%, 38.6% 0%, 40.7% 0%, 43.4% 0%, 50% 0%, 56.6% 0%, 59.3% 0%, 61.4% 0%, 63.2% 0.1%, 64.8% 0.1%, 66.2% 0.1%, 67.5% 0.2%, 68.7% 0.2%, 69.8% 0.3%, 70.8% 0.4%, 71.8% 0.5%, 72.8% 0.5%, 73.7% 0.6%, 74.6% 0.7%, 75.4% 0.9%, 76.3% 1%, 77% 1.1%, 77.8% 1.2%, 78.5% 1.4%, 79.2% 1.5%, 79.9% 1.7%, 80.6% 1.9%, 81.3% 2%, 81.9% 2.2%, 82.5% 2.4%, 83.1% 2.6%, 83.7% 2.8%, 84.3% 3%, 84.8% 3.2%, 85.4% 3.5%, 85.9% 3.7%, 86.4% 4%, 86.9% 4.2%, 87.4% 4.5%, 87.9% 4.7%, 88.3% 5%, 88.8% 5.3%, 89.2% 5.6%, 89.7% 5.9%, 90.1% 6.2%, 90.5% 6.6%, 90.9% 6.9%, 91.3% 7.2%, 91.7% 7.6%, 92% 8%, 92.4% 8.3%, 92.8% 8.7%, 93.1% 9.1%, 93.4% 9.5%, 93.8% 9.9%, 94.1% 10.3%, 94.4% 10.8%, 94.7% 11.2%, 95% 11.7%, 95.3% 12.1%, 95.5% 12.6%, 95.8% 13.1%, 96% 13.6%, 96.3% 14.1%, 96.5% 14.6%, 96.8% 15.2%, 97% 15.7%, 97.2% 16.3%, 97.4% 16.9%, 97.6% 17.5%, 97.8% 18.1%, 98% 18.7%, 98.1% 19.4%, 98.3% 20.1%, 98.5% 20.8%, 98.6% 21.5%, 98.8% 22.2%, 98.9% 23%, 99% 23.7%, 99.1% 24.6%, 99.3% 25.4%, 99.4% 26.3%, 99.5% 27.2%, 99.5% 28.2%, 99.6% 29.2%, 99.7% 30.2%, 99.8% 31.3%, 99.8% 32.5%, 99.9% 33.8%, 99.9% 35.2%, 99.9% 36.8%, 100% 38.6%, 100% 40.7%, 100% 43.4%);
}
::view-transition-new(root) {
    animation: none;
    clip-path: circle(0px at var(--x) var(--y));
}
::view-transition-old(root) {
    animation: none;
    clip-path: circle(150% at var(--x) var(--y));
}
.dark-mode::view-transition-new(root),
:not(.dark-mode)::view-transition-new(root) {
    animation: circle-expand 0.6s ease-out forwards;
}
*,
:after,
:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    -webkit-tap-highlight-color: transparent !important;
}
body {
    background: var(--background-color);
    font-family: IRANSansXV;
    font-variation-settings: "DOTS" 8;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #c6c6c6 transparent;
}
body.full-width {
    overflow-y: hidden;
}
a {
    text-decoration: none;
    color: var(--main-color);
}
.spoil {
    animation: 1.3s ease 0s infinite normal none running spoiler;
    transition: 0.3s;
    background: #e7e7e7;
    color: #e7e7e7;
    cursor: pointer;
    user-select: none;
}
.spoil.show-spoil {
    background: #e7e7e720;
    color: var(--light-color);
    animation: unset;
    user-select: auto;
}
.main-nav {
    width: 100%;
    height: 90px;
    background: var(--header-color);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    align-items: center;
    position: relative;
    z-index: 100;
}
.main-nav .h-right {
    display: flex;
    align-items: center;
    gap: 50px;
}
.main-nav button.site-nav-burger {
    display: none;
    position: relative;
    width: 1.125rem;
    height: 1.125rem;
    background: 0 0;
    cursor: pointer;
}
.main-nav button.site-nav-burger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 0.094rem;
    background: #292929;
    border-radius: 5px;
}
.main-nav button.site-nav-burger span:first-child {
    top: 0;
}
.main-nav button.site-nav-burger.active span:first-child {
    -webkit-animation: burger-open-top 0.4s ease-out forwards;
    animation: burger-open-top 0.4s ease-out forwards;
}
.main-nav button.site-nav-burger.closing span:first-child {
    -webkit-animation: burger-close-top 0.4s ease-out forwards;
    animation: burger-close-top 0.4s ease-out forwards;
}
.main-nav button.site-nav-burger span:nth-child(2) {
    top: 8px;
    opacity: 1;
    transition: opacity 0s linear 0.2s, -webkit-transform 0.4s ease-out;
    transition: transform 0.4s ease-out, opacity 0s linear 0.2s;
    transition: transform 0.4s ease-out, opacity 0s linear 0.2s, -webkit-transform 0.4s ease-out;
}
.main-nav button.site-nav-burger.active span:nth-child(2) {
    opacity: 0;
    transition: opacity 0s linear 0.2s, -webkit-transform 0.4s ease-out;
    transition: transform 0.4s ease-out, opacity 0s linear 0.2s;
    transition: transform 0.4s ease-out, opacity 0s linear 0.2s, -webkit-transform 0.4s ease-out;
}
.main-nav button.site-nav-burger span:nth-child(3) {
    top: 16px;
}
.main-nav button.site-nav-burger.active span:nth-child(3) {
    -webkit-animation: burger-open-bot 0.4s ease-out forwards;
    animation: burger-open-bot 0.4s ease-out forwards;
}
.main-nav button.site-nav-burger.closing span:nth-child(3) {
    -webkit-animation: burger-close-bot 0.4s ease-out forwards;
    animation: burger-close-bot 0.4s ease-out forwards;
}
.main-nav .h-right .logo {
    direction: ltr;
    user-select: none;
    display: inline-flex;
}
.main-nav .h-right .logo a {
    display: inline-flex;
}
.main-nav .h-right .logo a svg {
    width: 120px;
}
.main-nav .h-right .main-menu > ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
.main-nav .h-right .main-menu > ul > li {
    position: relative;
}
.main-nav .h-right .main-menu ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
}
.main-nav .h-right .main-menu > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
}
.main-nav .h-right .main-menu > ul > li > ul {
    background: #fff;
    width: 150px;
    font-size: 16px;
    box-shadow: 0 0 2px #e7e7e7;
    position: absolute;
    top: 35px;
    right: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    transition-delay: 0.1s;
}
.main-nav .h-right .main-menu > ul > li > ul:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 10px;
    top: -10px;
    cursor: pointer;
}
.main-nav .h-right .main-menu > ul > li > ul a {
    display: block;
    width: 100%;
    font-size: 15px;
    padding: 5px;
    padding-right: 12px;
    font-weight: 300;
}
.main-nav .h-right .main-menu > ul > li > ul a:hover {
    background: #fafafa;
    border-right: 2px solid var(--main-color);
    padding-right: 10px;
}
.main-nav .h-right .main-menu > ul > li > ul > li {
    position: relative;
}
.main-nav .h-right .main-menu > ul > li > ul > li:hover ul {
    opacity: 1;
    visibility: visible;
}
.main-nav .h-right .main-menu > ul > li > ul > li ul {
    width: 150px;
    font-size: 16px;
    background: #fff;
    box-shadow: 0 0 2px #e7e7e7;
    position: absolute;
    top: 0;
    right: 155px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    transition-delay: 0.1s;
}
.main-nav .h-right .main-menu > ul > li > ul > li ul:before {
    content: "";
    width: 5px;
    position: absolute;
    height: 100%;
    right: -5px;
    cursor: pointer;
}
.main-nav .h-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.main-nav .h-left button {
    display: inline-flex;
    background: #fafafa;
    cursor: pointer;
    width: 35px;
    height: 35px;
    padding: 7px;
    justify-content: center;
    align-items: center;
    clip-path: var(--bw-clip-path);
}
.main-nav .h-left button.style-mode i svg.dark {
    transform: rotateY(180deg);
}
.main-nav .h-left button.login-bt {
    padding: unset;
}
.main-nav .h-left button.login-bt a {
    display: inline-flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 7px;
}
.overlay {
    visibility: hidden;
    opacity: 0;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    transition: opacity 0.3s;
}
.parent-category-list-overlay,
.profile-toolbar-overlay {
    visibility: hidden;
    opacity: 0;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    transition: opacity 0.3s;
    cursor: pointer;
}
.overlay.show,
.parent-category-list-overlay.show,
.profile-toolbar-overlay.show {
    visibility: visible;
    opacity: 1;
}
.main-nav-mobile {
    max-height: calc(100% - 90px);
    overflow-y: auto;
    position: fixed;
    width: 100%;
    background: var(--header-color);
    visibility: hidden;
    opacity: 0;
    z-index: 100;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.main-nav-mobile.show {
    visibility: visible;
    opacity: 1;
}
.main-nav-mobile .mobile-list {
    width: 100%;
    padding: 0 40px 20px;
}
.main-nav-mobile .mobile-list ul {
    list-style: none;
}
.main-nav-mobile .mobile-list > ul > li {
    transform: translateX(30px);
}
.main-nav-mobile .mobile-list > ul > li > ul.sub-menu {
    display: none;
}
.main-nav-mobile .mobile-list ul li a {
    color: var(--light-color);
    text-decoration: none;
    display: block;
    padding: 10px 0;
}
.main-nav-mobile .mobile-list > ul > li.menu-item-has-children > a.change-mode:after {
    background-image: url("assets/icons/arrow-up.svg");
}
.main-nav-mobile .mobile-list > ul > li.menu-item-has-children > a:after {
    content: "";
    display: inline-flex;
    margin-right: 5px;
    width: 15px;
    height: 10px;
    background-size: 15px;
    background-image: url("assets/icons/arrow-down.svg");
}
.main-nav-mobile .mobile-list > ul > li > a {
    color: #000;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
}
.main-nav-mobile .mobile-list > ul > li > ul > li > a {
    font-weight: 400;
    font-size: 14px;
}
.main-nav-mobile .mobile-list > ul > li > ul > li.menu-item-has-children > a {
    border-bottom: 1px solid #d8d6d5;
    padding-bottom: 20px;
    margin-bottom: 10px;
}
.main-nav-mobile .mobile-list > ul > li > ul > li > ul > li > a {
    font-weight: 300;
    font-size: 13px;
}
footer {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 30px 0 10px;
    padding: 0 40px;
}
.footer-comments h1.copy-right,
footer h1.copy-right {
    font-size: 12px;
    font-weight: 400;
    color: #545454;
    line-height: 20px;
}
.footer-comments .footer-menu ul,
footer .footer-menu ul {
    display: inline-flex;
    list-style: none;
    gap: 20px;
    font-size: 12px;
    font-weight: 400;
}
.footer-comments .footer-menu ul a,
footer .footer-menu ul a {
    color: #545454;
    line-height: 20px;
}
.mobile-nav-bar {
    position: fixed;
    bottom: 0;
    height: calc(50px + env(safe-area-inset-bottom));
    display: none;
    align-items: center;
    width: 100%;
    justify-content: space-around;
    background: #fff;
    z-index: 104;
    flex-direction: row-reverse;
    border-top: 1px solid #e7e7e7;
    user-select: none;
    padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav-bar-base {
    display: none;
    width: 100%;
    height: calc(50px + env(safe-area-inset-bottom));
}
.mobile-nav-bar input {
    display: none;
}
.mobile-nav-bar label {
    display: flex;
    width: 25%;
    height: 100%;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: 0 0;
    transition: background-color 0.1s;
}
.mobile-nav-bar label a {
    display: inline-flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.mobile-nav-bar label figure {
    display: inline-flex;
    width: 30px;
    height: 30px;
    padding: 3px;
    justify-content: center;
    align-items: center;
    clip-path: var(--bw-clip-path);
    background-color: transparent;
}
.mobile-nav-bar label figure img {
    clip-path: var(--bw-clip-path);
}
.mobile-nav-bar label:active {
    background: #f3f3f3;
}
.mobile-nav-bar input:checked + label svg circle,
.mobile-nav-bar input:checked + label svg path {
    stroke: var(--main-color);
}
.mobile-nav-bar input:checked + label figure {
    background-color: var(--main-color);
}
.mobile-nav-bar input:checked + label figure img {
    width: 27px;
    height: 27px;
}
/** Profile Toolbar **/
.profile-toolbar {
    display: inline-block;
    position: fixed;
    left: -300px;
    top: 0;
    background: #fff;
    z-index: 103;
    width: 300px;
    height: 100%;
    border-right: 1px solid #e7e7e7;
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, left 0.3s;
    overflow-y: auto;
}
.profile-toolbar.show {
    left: 0;
    opacity: 1;
    visibility: visible;
}
.profile-toolbar .close-profile-toolbar {
    display: inline-flex;
    width: 100%;
    justify-content: center;
}
.profile-toolbar .close-profile-toolbar svg.close-profile-toolbar-bt {
    outline: unset;
    border: 1px solid #e7e7e7;
    border-radius: 100%;
    cursor: pointer;
    width: 35px;
    height: 35px;
    padding: 5px;
}
.profile-toolbar .close-profile-toolbar svg.close-profile-toolbar-bt path {
    stroke: #444444;
}
.profile-toolbar .close-profile-toolbar svg.close-profile-toolbar-bt:hover path {
    stroke: #000000;
}
.profile-toolbar .profile-data {
    display: inline-flex;
    width: calc(100% - 60px);
    height: fit-content;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    margin: 10px 30px;
    background: #fafafa;
    border-radius: 10px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, visibility 0.5s, transform 0.5s;
    transition-delay: 0.3s;
}
.profile-toolbar.show .profile-data {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.profile-toolbar .profile-data img {
    clip-path: var(--bw-clip-path);
}
.profile-toolbar .profile-data .user-info-data {
    display: inline-flex;
    width: calc(100% - 60px);
    flex-direction: column;
    justify-content: space-around;
}
.profile-toolbar .profile-data .user-info-data span {
    width: 100%;
    max-width: 100%;
    height: fit-content;
    font-size: 15px;
    font-weight: 400;
    color: #393939;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-toolbar .profile-data .user-info-data p {
    width: 100%;
    max-width: 100%;
    height: fit-content;
    font-size: 13px;
    font-weight: 400;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-toolbar .profile-manu {
    display: inline-flex;
    width: calc(100% - 80px);
    margin: 0 40px;
    height: fit-content;
    flex-wrap: wrap;
    visibility: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, visibility 0.5s, transform 0.5s;
    transition-delay: 0.3s;
}
.profile-toolbar.show .profile-manu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.profile-toolbar .profile-manu a {
    display: inline-flex;
    width: 100%;
    color: #343434;
    font-size: 16px;
    gap: 10px;
    align-items: center;
    border-radius: 10px;
    margin-top: 15px;
    padding: 5px 0;
}
.profile-toolbar .profile-manu a svg {
    filter: invert(19%) sepia(10%) saturate(19%) hue-rotate(351deg) brightness(93%) contrast(92%);
}
.profile-toolbar .profile-manu a:hover {
    color: #000;
}
.profile-toolbar .profile-manu a:hover svg {
    filter: invert(0%) sepia(7%) saturate(28%) hue-rotate(310deg) brightness(108%) contrast(107%);
}
.profile-toolbar .profile-manu a svg {
    width: 20px;
    height: 20px;
}
.profile-toolbar .profile-manu a span {
    width: calc(100% - 30px);
    border-bottom: 1px solid #f3f3f3;
    padding-bottom: 5px;
}
.profile-toolbar .profile-manu a:last-child span {
    border: unset;
}
/** Start Category List **/
.parent-category-list {
    display: inline-block;
    text-align: center;
    position: fixed;
    top: 100%;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 103;
    background: #fff;
    overflow-y: auto;
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, top 0.3s;
}
.parent-category-list.show {
    top: 0;
    opacity: 1;
    visibility: visible;
}
.parent-category-list .parent-close-category-list-button {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}
.parent-category-list .parent-close-category-list-button svg.close-category-list-button {
    outline: unset;
    border: 1px solid #e7e7e7;
    border-radius: 100%;
    cursor: pointer;
    width: 35px;
    height: 35px;
    padding: 5px;
}
.parent-category-list .parent-close-category-list-button svg.close-category-list-button path {
    stroke: #444444;
}
.parent-category-list .parent-close-category-list-button svg.close-category-list-button:hover path {
    stroke: #000000;
}
.parent-category-list .category-list {
    width: 65%;
    display: inline-flex;
    flex-wrap: wrap;
    margin: auto;
    gap: 20px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(100px) scale(.8);
    transition: opacity 0.5s, visibility 0.5s, transform 0.5s;
    transition-delay: 0.3s;
}
.parent-category-list.show .category-list {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}
.parent-category-list .category-list a.category-item {
    display: inline-flex;
    width: calc((100% - 60px) / 4);
    aspect-ratio: 1.3636363636;
    border-radius: 10px;
    overflow: hidden;
}
.parent-category-list .category-list a.category-item figure {
    position: relative;
    width: 100%;
    height: 100%;
}
.parent-category-list .category-list a.category-item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.parent-category-list .category-list a.category-item:hover figure img {
    transform: scale(1.1);
}
.parent-category-list .category-list a.category-item figure h2 {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
    background: linear-gradient(0deg, #00000090 10%, transparent 85%);
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    padding: 10px;
}
/** Start Not Logged In Box **/
.not-logged-in-box-overlay {
    visibility: hidden;
    opacity: 0;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 105;
    transition: opacity 0.3s;
    cursor: pointer;
}
.not-logged-in-box-overlay.show {
    visibility: visible;
    opacity: 1;
}
.not-logged-in-box {
    position: fixed;
    display: flex;
    width: 400px;
    right: 10px;
    bottom: -100%;
    flex-direction: column;
    align-items: center;
    background: #fafafa;
    border-radius: 20px 20px 0 0;
    user-select: none;
    z-index: 999;
    padding: 0 10px;
    padding-bottom: env(safe-area-inset-bottom);
}
.not-logged-in-box .drag-handle {
    width: 50px;
    height: 3px;
    background-color: #cfcfcf;
    border-radius: 3px;
    margin: 10px 0;
    cursor: pointer;
}
.not-logged-in-box h2 {
    font-size: 14px;
    color: #5d5d5d;
    font-weight: 400;
    margin: 10px 0;
}
.not-logged-in-box .login-button-required {
    display: inline-flex;
    background: var(--main-color);
    border-radius: 10px;
    width: 100%;
}
.not-logged-in-box .login-button-required a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 10px;
}
.not-logged-in-box .close {
    display: inline-flex;
    width: 100%;
    background: 0 0;
    padding: 10px 0 110px;
}
.not-logged-in-box .close button.close-bt {
    display: inline-flex;
    height: fit-content;
    width: 100%;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    justify-content: center;
    font-family: IRANSansXV;
    font-weight: 400;
    cursor: pointer;
    color: var(--main-color);
}
/******* Responsive Style *******/
@media screen and (max-width: 1205px) {
    /* Start Header */
    .main-nav {
        height: 50px;
    }
    .mobile-nav-bar,
    .mobile-nav-bar-base {
        display: flex;
    }
    .main-nav-mobile {
        max-height: calc(100% - 50px);
    }
    .main-nav button.site-nav-burger {
        display: flex;
    }
    .login-bt,
    .main-nav .h-right .main-menu,
    .profile-bt,
    .search-bt {
        display: none !important;
    }
    /* Stop Header */
    /* Start Profile Toolbar */
    .profile-toolbar {
        width: 100%;
        top: 100%;
        left: 0;
        height: calc(100% - (50px + env(safe-area-inset-bottom)));
        transition: visibility 0.3s, opacity 0.3s, top 0.3s;
        scrollbar-color: transparent transparent !important;
    }
    .profile-toolbar.show {
        top: 0;
    }
    /* Stop Profile Toolbar */
    /* Start Category List */
    .parent-category-list {
        height: calc(100% - (50px + env(safe-area-inset-bottom)));
        scrollbar-color: transparent transparent !important;
    }
    .parent-category-list .category-list {
        width: calc(100% - 80px);
    }
    /* Stop Category List */
    /* Start Not Logged In Box */
    .not-logged-in-box {
        width: 100%;
        right: 0;
    }
    .not-logged-in-box .close button.close-bt,
    .not-logged-in-box .login-button-required a,
    .not-logged-in-box h2 {
        font-size: 15px;
    }
}
@media screen and (max-width: 992px) {
    /* Start Header */
    .main-nav {
        padding: 0 10px;
    }
    .main-nav-mobile .mobile-list {
        padding: 0 20px 20px;
    }
    /* Stop Header */
    /* Start Footer */
    footer {
        padding: 0 10px;
        justify-content: center !important;
    }
    .footer-menu {
        display: none;
    }
    /* Stop Footer */
    /* Start Category List */
    .parent-category-list .category-list {
        width: calc(100% - 20px);
        gap: 15px;
    }
    .parent-category-list .category-list a.category-item {
        width: calc((100% - 30px) / 3);
    }
}
@media screen and (max-width: 768px) {
    /* Start Footer */
    footer {
        display: flex !important;
    }
    /* Stop Footer */
    /* Start Category List */
    .parent-category-list .category-list {
        gap: 10px;
    }
    .parent-category-list .category-list a.category-item {
        width: calc((100% - 10px) / 2);
    }
}
@media screen and (max-width: 576px) {
    /* Start Header */
    .main-nav .h-right .logo a svg {
        width: 120px;
    }
}
@media screen and (max-width: 400px) {
    /* Start Profile Toolbar */
    .profile-toolbar .profile-data img {
        width: 80px;
        height: 80px;
    }
    .profile-toolbar .profile-data span,
    .profile-toolbar .profile-manu a {
        font-size: 15px;
    }
    .profile-toolbar .profile-data p {
        font-size: 14px;
        font-weight: 400;
    }
}
/********** Dark Style **********/
.dark-mode,
.dark-mode * {
    scrollbar-color: #737373 transparent;
}
button.style-mode svg.dark {
    display: none;
}
button.style-mode i.parent-svg {
    display: inline-flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
button.style-mode i.parent-svg {
    transition: transform 0.5s;
}
button.style-mode.rotate i.parent-svg {
    transform: rotate(360deg);
}
.dark-mode body {
    background: var(--background-dark-color);
}
.dark-mode .main-nav {
    background: var(--header-dark-color);
}
.dark-mode .main-nav .h-left button {
    background: #292a2c;
}
.dark-mode .main-nav .h-right .main-menu ul li a {
    color: var(--dark-color);
}
.dark-mode .main-nav .h-right .main-menu > ul > li > ul a:hover {
    background: #292a2c;
}
.dark-mode .main-nav .h-right .logo a svg g#weby {
    fill: var(--dark-color);
}
.dark-mode .main-nav .h-right .main-menu > ul > li > ul,
.dark-mode .main-nav .h-right .main-menu > ul > li > ul > li ul {
    background: var(--header-dark-color);
    box-shadow: 0 0 2px #0f0f0f;
}
.dark-mode .main-nav .h-left svg path {
    stroke: #b8b8b8;
}
.dark-mode button.style-mode svg.dark path {
    stroke: var(--main-color);
    fill: var(--main-color);
    opacity: 1;
}
.dark-mode button.style-mode svg.dark {
    display: unset;
}
.dark-mode button.style-mode svg.light {
    display: none;
}
.dark-mode .main-nav button.site-nav-burger span {
    background: var(--dark-color);
}
.dark-mode .main-nav-mobile {
    background: var(--header-dark-color);
}
.dark-mode .main-nav-mobile .mobile-list ul li a {
    color: var(--dark-color);
}
.dark-mode .main-nav-mobile .mobile-list > ul > li > ul > li.menu-item-has-children > a {
    border-color: #545454;
}
.dark-mode .main-nav-mobile .mobile-list > ul > li.menu-item-has-children > a:after {
    filter: invert(88%) sepia(2%) saturate(1551%) hue-rotate(197deg) brightness(112%) contrast(86%);
}
.dark-mode footer {
    background: var(--header-dark-color);
}
.dark-mode footer .footer-menu ul a,
.dark-mode footer h1.copy-right {
    color: var(--dark-color);
}
.dark-mode .spoil {
    background: #545454;
    color: #545454;
}
.dark-mode .spoil.show-spoil {
    background: #54545420;
    color: var(--dark-color);
}
.dark-mode .mobile-nav-bar {
    background-color: var(--background-dark-color);
    border-color: #545454;
}
.dark-mode .mobile-nav-bar label:active {
    background: #252525;
}
.dark-mode .mobile-nav-bar label svg path {
    stroke: var(--dark-color);
}
.dark-mode .profile-toolbar {
    background: var(--background-dark-color);
    border-color: #545454;
}
.dark-mode .profile-toolbar .profile-data {
    background: #292a2c;
}
.dark-mode .profile-toolbar .profile-manu a span {
    border-color: #303030;
}
.dark-mode .profile-toolbar .profile-data span,
.dark-mode .profile-toolbar .profile-manu a,
.dark-mode .profile-toolbar .profile-manu a:hover {
    color: var(--dark-color);
}
.dark-mode .profile-toolbar .close-profile-toolbar svg.close-profile-toolbar-bt,
.dark-mode .profile-toolbar .close-profile-toolbar svg.close-profile-toolbar-bt:hover,
.dark-mode .profile-toolbar .profile-manu a svg,
.dark-mode .profile-toolbar .profile-manu a:hover svg {
    filter: invert(88%) sepia(2%) saturate(1551%) hue-rotate(197deg) brightness(112%) contrast(86%);
}
.dark-mode .profile-toolbar .profile-data p {
    color: #b7b7b7;
}
.dark-mode .parent-category-list {
    background: var(--background-dark-color);
}
.dark-mode .parent-category-list .parent-close-category-list-button svg.close-category-list-button,
.dark-mode .parent-category-list .parent-close-category-list-button svg.close-category-list-button:hover {
    filter: invert(88%) sepia(2%) saturate(1551%) hue-rotate(197deg) brightness(112%) contrast(86%);
}
.dark-mode .not-logged-in-box {
    background: #1e1f21;
}
.dark-mode .not-logged-in-box .drag-handle {
    background-color: #6e6e6e;
}
.dark-mode .not-logged-in-box .login-button-required {
    background: var(--main-color);
}
.dark-mode .not-logged-in-box .close button.close-bt {
    background: #292a2c;
}
.dark-mode .not-logged-in-box h2 {
    color: #d2d2d2;
}
.dark-mode .not-logged-in-box .login-button-required a {
    color: #fff;
}
.dark-mode .not-logged-in-box .login-button-required a:before {
    filter: invert(77%) sepia(8%) saturate(0%) hue-rotate(240deg) brightness(101%) contrast(76%);
}