/*
Theme Name:
Theme URI:
Author: soltanyesn
Description: soltanyesn
Author URI: https://soltanyesn.ir
Version: 0.1
*/
@font-face {
    font-family: fonts;
    font-style: normal;
    font-weight: 400;
    src: url('access/fonts/woff2/YekanBakhFaNum-Regular.woff2') format('woff2'), url('access/fonts/woff/YekanBakhFaNum-Regular.woff') format('woff')
}
@font-face {
    font-family: fonts;
    font-style: normal;
    font-weight: 600;
    src: url('access/fonts/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2'), url('access/fonts/woff/YekanBakhFaNum-SemiBold.woff') format('woff')
}
@font-face {
    font-family: fonts;
    font-style: normal;
    font-weight: 700;
    src: url('access/fonts/woff2/YekanBakhFaNum-Bold.woff2') format('woff2'), url('access/fonts/woff/YekanBakhFaNum-Bold.woff') format('woff')
}
@font-face {
    font-family: fonts;
    font-style: normal;
    font-weight: 900;
    src: url('access/fonts/woff2/YekanBakhFaNum-ExtraBlack.woff2') format('woff2'), url('access/fonts/woff/YekanBakhFaNum-ExtraBlack.woff') format('woff')
}
@font-face {
    font-family: fonts-2;
    font-style: normal;
    font-weight: 900;
    src: url('access/fonts/woff2/Mahoor-ExtraBold.woff2') format('woff2')
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: fonts,serif!important;
    -webkit-tap-highlight-color: transparent;
}
:root {
    --clr-1: #3155a3;
    --width: 1250px;
}
::selection {
    color: #fff;
    background: #000
}
html {
    font-size: clamp(12px, 2vw,16px);
}
body {
    background-color: #ffffff
}
a {
    text-decoration: none!important
}
ul,li {
    list-style: none;
}
#root span {
    font-family: fonts,serif;
}
.container {
    max-width: 780px;
}
/**************** header ****************/
.primary-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--width);
    margin: 0 auto;
    padding: 12px;
}
.logo-box {
    display: flex;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--clr-1);
}
.search-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.search-wrapper input {
    width: 100%;
    height: 60px;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #222327;
}
.search-wrapper span {
    display: block;
    width: 2px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.1);
}
.list-category {
    position: relative;
}
.list-category button {
    background-color: transparent;
    border: none;
    outline: none;
    white-space: nowrap;
    color: #222327;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    height: 60px;
    width: 180px;
}
.list-category svg {
    width: 1.8rem;
    aspect-ratio: 1;
}
.list-category ul {
    position: absolute;
    inset: calc(100% + 0.5rem) 0 auto 0;
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    max-height: 300px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #b3b3b6 transparent;
    padding: 0.5rem 0;
    display: none;
}
.list-category li {
    font-size: 1rem;
    font-weight: 600;
    color: #222327;
    padding: 0.5rem 1rem;
    cursor: pointer;
}
.list-category li:hover {
    color: var(--clr-1);
}
.user-action {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.add-ad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 0 2px var(--clr-1);
    border-radius: 0.5rem;
    padding: 0 8px;
    height: 48px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--clr-1);
    white-space: nowrap;
}
.add-ad svg {
    width: 1.2rem;
    aspect-ratio: 1;
}
.chat-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #68696d;
    padding: 0 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    font-weight: 600;
}
.chat-btn svg {
    width: 1.8rem;
    aspect-ratio: 1;
}
.chat-btn:hover {
    color: var(--clr-1);
}
/**************** category ****************/
.category-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 auto;
    padding: 12px;
    max-width: var(--width);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.category-wrapper a {
    color: #222327;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    padding: 4px 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}
.category-wrapper a:hover {
    color: var(--clr-1);
    box-shadow: 0 0 0 1px var(--clr-1);
}
/**************** ads ****************/
.suggest-ads {
    max-width: calc(var(--width) - 24px);
    margin: 24px auto 0 auto;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    background-image: linear-gradient(to bottom, var(--clr-1) 0 50%, transparent 50% 100%);
    padding-bottom: 1rem;
}
.last-ads header,
.suggest-ads header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}
.last-ads header {
    padding: 1rem 0;
}
.suggest-ads h2 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}
.last-ads header a,
.suggest-ads header a {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
}
.last-ads header a {
    color: var(--clr-1);
}
.last-ads {
    margin: 24px auto 0 auto;
    max-width: var(--width);
    padding: 12px;
}
.last-ads h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222327;
    margin: 0 1rem 1rem 0;
}
.last-ads-list {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.last-ad {
    width: 270px;
    height: 100%;
    position: relative;
}
.last-ad a {
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    background-color: #fff;
    border-radius: 1rem;
    width: 100%;
    height: 100%;
}
.last-ad h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #222327;
}
.last-ad a:hover h3 {
    color: var(--clr-1);
}
.last-ad h3::before {
    content: '';
    width: 4px;
    height: 1rem;
    background-color: #222327;
    display: block;
    float: right;
    margin: 0.3rem 0 0 0.5rem;
}
.last-ad a:hover h3::before {
    background-color: var(--clr-1);
}
.last-ad button {
    position: absolute;
    width: 2.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 50em;
    border: none;
    outline: none;
    z-index: 100;
    top: 0;
    left: 4px;
}
.last-ad button svg {
    width: 1.5rem;
    aspect-ratio: 1;
}
.last-ad button.plus svg {
    color: #00a699;
}
.ad-type {
    font-size: 0.8rem;
    color: var(--clr-type);
    font-weight: 600;
    padding: 4px 1rem;
    background-color: color-mix(in srgb, var(--clr-type) 10%, #fff);
    border-radius: 0.5rem;
}
.ad-type-sale {
    --clr-type: #ff5a5f;
}
.ad-type-buy {
    --clr-type: #00a699;
}
.ad-info span {
    color: #7d7d8b;
    font-size: 0.8rem;
    padding: 4px 8px;
    display: inline-flex;
}
.ad-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #222327;
    margin-top: auto;
}
.ad-price svg {
    width: 1.8rem;
    aspect-ratio: 1;
}
.verify-icon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: #3155a3;
}
.verify-icon svg {
    width: 1rem;
    aspect-ratio: 1;
}
.suggest-ads .swiper-container ,
.last-ads .swiper-container {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.2));
    border-radius: 1rem;
}
.suggest-ads .swiper-container {
    border-radius: 0;
    filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.4));
    padding: 0 12px !important;
}
.suggest-ads .swiper-slide ,
.last-ads .swiper-slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: auto !important;
    height: auto !important;
}
.last-ads .swiper-pagination {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 12px 0 !important;
}
.last-ads .swiper-pagination-bullet {
    background-color: #d3d0d0 !important;
    opacity: 1 !important;
    border-radius: 50em !important;
    width: 8px !important;
    height: 8px !important;
    transition: 0.3s !important;
}
.last-ads .swiper-pagination-bullet-active {
    width: 16px !important;
    background-color: var(--clr-1) !important;
}
.last-ad .swiper-wrapper {
    align-items: stretch !important;
}
/**************** mobile ****************/
.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.wide-slider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.wide-slider img {
    width: 100%;
    height: auto;
    display: block;
}
.wide-slider .swiper-pagination {
    background-color: #fff !important;
    width: max-content !important;
    right: 50% !important;
    bottom: 12px !important;
    transform: translateX(50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem !important;
    padding: 8px !important;
    border-radius: 50em !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.4) !important;
}
.wide-slider .swiper-pagination-bullet {
    border-radius: 50em !important;
    background-color: #b3b3b6 !important;
    opacity: 1 !important;
    transition: 0.3s;
}
.wide-slider .swiper-pagination-bullet-active {
    width: 16px !important;
    background-color: var(--clr-1) !important;
}
/**************** banner wrapper ****************/
.banner-wrapper {
    max-width: var(--width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.banner-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}



/**************** footer ****************/
.primary-footer {
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}
.footer-box {
    max-width: var(--width);
    margin: 0 auto;
    padding: 12px;
}
.bs-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}
.bs-box p {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.bs-box svg {
    width: 2rem;
    aspect-ratio: 1;
    color: var(--clr-1);
}
.tb-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.08);
    color: #222327;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px ;
}
.footer-box section {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}
.footer-box nav {
    flex: 1;
    margin: 3rem auto 2rem;
}
.footer-box nav h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #222327;
    margin-bottom: 0.5rem;
    text-align: center;
}
.footer-box nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.footer-box nav li {
    display: flex;
    width: 100%;
}
.footer-box nav a {
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: #68696d;
    text-align: center;
}
.footer-box nav a:hover {
    color: var(--clr-1);
    font-weight: 600;
}














/**************** mobile ****************/
@media (min-width: 1921px) {
}
@media (max-width: 1440px) {
}
@media (max-width: 1232px) {
}
@media (max-width: 1024px) {
}
@media (max-width: 768px) {
}
@media (max-width: 592px) {
}
@media (max-width: 425px) {
}