@font-face {
    font-family: "IRANSansWeb";
    src: url("../fonts/IRANSansWeb_UltraLight.ttf") format('truetype');
    font-weight: 200;
}

@font-face {
    font-family: "IRANSansWeb";
    src: url("../fonts/IRANSansWeb_Light.ttf") format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: "IRANSansWeb";
    src: url("../fonts/IRANSansWeb.ttf") format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: "IRANSansWeb";
    src: url("../fonts/IRANSansWeb_Medium.ttf") format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: "IRANSansWeb";
    src: url("../fonts/IRANSansWeb_Black.ttf") format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: "IRANSansWeb";
    src: url("../fonts/IRANSansWeb_Black.ttf") format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: "IRANSansWebNum";
    src: url("../fonts/IRANSansWeb(FaNum)_Medium.ttf") format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: "IRANSansWebNum";
    src: url("../fonts/IRANSansWeb(FaNum)_Black.ttf") format('truetype');
    font-weight: 700;
}

body {
    font-family: "IRANSansWeb", serif;
    background: #f5f4f8;
    color: #707070;
}

form,
button,
input,
textarea {
    color: #707070;
}

::placeholder {
    color: #cecece;
}

ul {
    list-style: none;
    padding: unset;
    margin: unset;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    margin: unset;
}

.rounded-25 {
    border-radius: 25px;
}

.header {
    margin: 2rem auto 2.8rem;
}

.num-font {
    font-family: "IRANSansWebNum";
}

.rounded-25 {
    border-radius: 25px;
}

.header {
    margin: 2rem auto 2.8rem;
}

.num-font {
    font-family: "IRANSansWebNum";
}

.bg-blue {
    background: #3e6bff;
}

.bg-pink {
    background: #fc4165;
}

.bg-green {
    background: #94af00;
}

.bg-yellow {
    background: #e6c000;
}

.bg-placeholder {
    background: #cecece;
}

.bg-purple {
    background: #7c00af;
}

.bg-cyan {
    background-color: #00b0cc;
}

.bg-light-green {
    background: #009b39;
}

button {
    border: none;
    outline: none;
}

.cursor-pointer {
    cursor: pointer;
}

.no-overflow {
    height: 100vh;
    overflow-y: hidden;
}

/* header & footer */
.header {
    z-index: 20;
    transition: 0.3s ease;
    position: relative;
}

.header::before {
    content: "";
    width: 100%;
    height: 2rem;
    background: #f5f4f8;
    /* background: black; */
    position: absolute;
    top: -2rem;
}

.header.fixed {
    width: 100%;
    position: sticky;
    margin-top: 0;
    top: 0;
    left: 0;
}

.header.fixed .header-top {
    border-radius: 0;
}

.header-top {
    border-radius: 10px;
    /* height: 90px; */
    transition: 0.3s ease;
}

.mobile-menu-toggler {
    width: 20px;
    height: 10px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
}

.mobile-menu-toggler span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
    pointer-events: none;
}

.mobile-menu-toggler span:nth-child(1) {
    top: 0px;
}

.mobile-menu-toggler span:nth-child(2),
.mobile-menu-toggler span:nth-child(3) {
    top: 6px;
}

.mobile-menu-toggler span:nth-child(4) {
    top: 12px;
}

.mobile-menu-toggler.active {
    position: absolute;
    right: 1rem;
    z-index: 100;
}

.mobile-menu-toggler.active span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.mobile-menu-toggler.active span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.mobile-menu-toggler.active span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.mobile-menu-toggler.active span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.logo {
    font-size: 24px;
}

.header-top ul li a {
    transition: 0.3s ease;
}

.header-top ul li a:hover {
    color: #000;
}

.header-top form {
    background: #faf9fd;
    border-radius: 10px;
}

.header-top form button {
    outline: none;
    border: none;
    background: transparent;
}

.header-top form input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
}

.header-top form input::placeholder {
    color: #cecece;
}

.header-search-form {
    overflow: hidden;
}

@media screen and (min-width: 1400px) {
    .header-search-form {
        width: 40%;
    }
}

.header-search-form .input-wrapper {
    width: 100%;
    transition: 0.3s ease;
}

.header-search-form .input-wrapper.active {
    background: #cbcbce;
}

.header-search-form .input-wrapper.active input::placeholder {
    color: #707070;
}

.search-setting {
    padding: 0 0.5rem;
    border-right: 1px solid #cecece;
    transition: 0.3s ease;
}

.search-setting button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
}

.search-setting button svg {
    transition: 0.3s ease;
}

.search-setting:hover.search-setting button svg {
    transform: rotate(100deg);
}

.choose-location {
    border-radius: 10px;
    background: #faf9fd;
    cursor: pointer;
    transition: 0.3s ease;
}

.choose-location:hover {
    background: #cbcbce;
}

.choose-location span {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-profile-wrapper .img-wrapper {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
}

.user-profile-wrapper {
    font-size: 14px;
}

.user-profile-wrapper.not-logedin {
    cursor: pointer;
    text-align: center;
}

.user-profile-wrapper .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-reg-btn {
    border-radius: 10px;
    transition: 0.3s ease;
}

.ad-reg-btn:hover {
    background: #0c1235 !important; /* dark hover */
}

.modal-wrapper {
    width: 100%;
    min-height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 3;
}

.modal-wrapper.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-container {
    border-radius: 10px;
    overflow: hidden;
    width: 500px;
}

.modal-container .toggle-wrapper {
    width: 55px;
    height: 30px;
    border-radius: 100vw;
    background: #cbcbce;
    display: flex;
    align-items: center;
    padding: 0 0.2rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.modal-container .toggle-wrapper.toggled {
    background: #3b4ca8;
}

.modal-container .toggle-wrapper.toggled .toggle {
    transform: translateX(-22px);
}

#loginModal .modal-container {
    width: 350px;
}

.re-req {
    font-size: 12px;
}

.back-to-page span {
    font-size: 14px;
}

.back-to-page > * {
    pointer-events: none;
}

.label-checkbox {
    width: 15px;
    height: 15px;
    border: 1px solid #cecece;
    border-radius: 4px;
}

.city-input:checked ~ .label-checkbox {
    background: #3b4ca8;
    border: none;
}

.state-item > * {
    pointer-events: none;
}

.modal-container .toggle-wrapper .toggle {
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    transition: 0.3s ease;
}

.modal-body {
    max-height: 300px;
    overflow-y: scroll;
}

.modal-btns button {
    width: 100%;
    height: 42px;
    transition: 0.3s ease;
}

.modal-btns button.bg-primary:hover {
    background: #0c1235 !important;
}

.header-bottom {
    width: 95%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin: 0 auto;
    box-shadow: 0 5px 10px #3b4ba863;
    position: relative;
    overflow: hidden;
}

.header-bottom ul {
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 0.75rem;
}

.header-bottom ul::-webkit-scrollbar {
    display: none;
}

.header-bottom ul li {
    transition: 0.3s ease;
}

.header-bottom ul li:hover {
    background: rgba(255, 255, 255, 0.8);
    padding: 0 0.5rem;
    color: #3b4ca8 !important;
    border-radius: 5px;
}

.header-bottom ul li:hover path {
    fill: #3b4ca8;
}

.header-bottom ul li.active {
    background: #fff;
    padding: 0 0.5rem;
    color: #3b4ca8 !important;
    border-radius: 5px;
}

.header-bottom ul li.active path {
    fill: #3b4ca8;
}

.header-bottom ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-bottom ul li a span {
    font-size: 15px;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.footer.hide {
    position: static;
}

.footer .logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* index page */
.carousel-section {
    border-radius: 25px;
    position: relative;
}

.carousel-section h2 {
    font-size: 20px;
}

.swiper-custom-button-next,
.swiper-custom-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
}

.swiper-custom-button-next {
    right: 5px;
}

.swiper-custom-button-prev {
    left: 5px;
}

.swiper-custom-button-next:hover,
.swiper-custom-button-prev:hover {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(-50%);
}

.items-grid-section {
    /* padding-bottom: 10rem; */
}

.load-more {
    padding-bottom: 5rem;
}

.loading-more {
    padding-bottom: 5rem;
}

.load-more button {
    border: 2px solid #3b4ca8;
    background: #3e6bff13;
}

.items-grid-section .items-grid {
    gap: 25px;
}

/* description page */
.breadcrumb {
    margin-right: 5rem;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.description-container {
    padding-bottom: 5rem;
}

.description-container main h1 {
    font-size: 24px;
}

.price {
    font-size: 20px;
    transition: 0.3s ease;
}

.price:hover {
    background: #0c1235 !important;
}

.call-btn {
    transition: 0.3s ease;
}

.call-btn:hover {
    background: #006927;
}

.report {
    transform: translateY(-5px);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #f5f4f8;
    transition: 0.3s ease;
}

.report:hover {
    background-color: #cbcbce;
}

.dsc-publish-date {
    background: #f5f4f8;
}

.selected-img-wrapper {
    width: 100%;
    height: 580px;
    overflow: hidden;
}

.selected-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selected-img-wrapper img::selection {
    background-color: transparent;
}

.selected-img-wrapper img::-moz-selection {
    background-color: transparent;
}

.selected-img-wrapper img {
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    /*IE10*/
    -ms-user-select: none;
    user-select: none;

    /*You just need this if you are only concerned with android and not desktop browsers.*/
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.select-img-list .img-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    cursor: pointer;
}

.select-img-list .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.3;
    transition: 0.3s ease;
}

.select-img-list .img-wrapper:is(:hover, .selected) img {
    opacity: 1;
}

.video-details {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

video {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    border-radius: 20px;
}

.play-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}

/* .poster-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to top, #000, transparent);
} */

.copy > * {
    pointer-events: none;
}

.description-container aside {
    overflow: hidden;
}

.aside-swiper {
    width: 100%;
    max-height: 1100px;
}

.aside-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.aside-swiper .swiper-slide {
    width: 100% !important;
    display: flex;
    justify-content: center;
}

.aside-swiper .swiper-slide .card-wrapper {
    /* width: 100%; */
}

.aside-header h3 {
    font-size: 20px;
}

.aside-footer a {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
}

.aside-footer a:hover {
    background: #0c1235 !important;
}

/* ad registration page */
.ad-reg-container {
    padding-bottom: 5rem;
}

.ad-reg-container h4 {
    font-size: 20px;
}

.ad-reg-form textarea {
    height: 280px;
    resize: none;
}

.ad-upload-label {
    width: 100%;
    aspect-ratio: 1/ 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 0.3s ease;
    position: relative;
}

.ad-upload-label:hover {
    background: #f3f3f3;
}

.ad-upload-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-upload-label img,
.ad-upload-label video,
.ad-upload-label .file-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.file-name {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f3f3;
    direction: ltr;
    text-wrap: wrap;
    font-size: 12px;
}

.reg-upload-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ad-reg-container iframe {
    border-radius: 20px;
}

.ad-option {
    transition: 0.3s ease;
    position: relative;
    cursor: pointer;
}

.ad-option > * {
    pointer-events: none;
}

.ad-option:first-child:is(.active, :hover) {
    background: #fc4165 !important;
}

.ad-option:nth-child(2):is(.active, :hover) {
    background: #7c00af !important;
}

.ad-option:nth-child(3):is(.active, :hover) {
    background: #e6c000 !important;
}

.ad-option:nth-child(4):is(.active, :hover) {
    background: #00b0cc !important;
}

.paid-active {
    background: #00b0cc !important;
}

.ad-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.selection-list {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* width */
.selection-list::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
    width: 2px;
}

/* Track */
.selection-list::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track {
    background: #fff;
}

/* Handle */
.selection-list::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
    background: #cecece;
    border-radius: 100vw;
}

.selection-list > div > span,
.selection-list > div > svg {
    pointer-events: none;
}

/* login page */
.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    width: 350px;
}

.login-form h1 {
    font-size: 18px;
}

.login-input-error {
    font-size: 12px;
    color: #fc4165;
}

.enter-num {
    font-size: 14px;
}

.login-input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
    direction: ltr;
}

.login-input-wrapper div {
    font-size: 12px;
}

.login-btn {
    height: 42px;
    transition: 0.3s ease;
}

.login-btn:hover {
    background: #0c1235 !important;
}

/* Chrome, Safari, Edge, Opera */
.login-input::-webkit-outer-spin-button,
.login-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.login-input[type="number"] {
    -moz-appearance: textfield;
}

/* profile page */
.profile-container {
    padding-bottom: 5rem;
}

.profile-container .profile-container-row {
    align-items: flex-start;
    flex-wrap: nowrap;
}

@media screen and (max-width: 992px) {
    .profile-container .profile-container-row,
    .description-container-row {
        flex-wrap: wrap;
        gap: 1rem 0 !important;
    }

    .profile-container,
    .index-container,
    .ad-reg-container {
        padding-bottom: 10rem;
    }

    .carousel-sction h2,
    h2 {
        font-size: 1.2rem;
    }
}

.profile-container .profile-container-row aside {
    padding: 1.5rem 1.85rem;
    position: sticky;
    top: 9rem;
}

@media screen and (max-width: 992px) {
    .profile-container .profile-container-row aside ul svg {
        width: 20px;
        height: 22px;
    }

    .profile-container .profile-container-row aside {
        position: unset;
    }
}

.profile-container .profile-container-row aside ul li.active a span {
    color: #3b4ca8;
}

.profile-container .profile-container-row aside ul li:hover a span {
    color: #3e6bff;
}

.profile-container .profile-container-row aside ul li.active a path:not(.stroke-path) {
    fill: #3b4ca8;
}

.profile-container .profile-container-row aside ul li:hover a path:not(.stroke-path) {
    fill: #3e6bff;
}

.profile-container .profile-container-row aside ul li.active a .stroke-path {
    stroke: #3b4ca8;
}

.profile-container .profile-container-row aside ul li:hover a .stroke-path {
    stroke: #3e6bff;
}

.profile-container .profile-container-row aside ul li a {
    transition: 0.3s ease;
}

.profile-container .profile-container-row aside ul li a span,
.profile-container .profile-container-row aside ul li a path {
    transition: 0.3s ease;
}

.profile-container .profile-container-row aside ul li a span {
    font-size: 15px;
}

.profile-container .profile-container-row main {
    padding: 1.5rem;
}

@media screen and (max-width: 992px) {
    .profile-container .profile-container-row main {
        padding: 1rem 2rem;
    }
}

@media screen and (max-width: 720px) {
    .profile-container .profile-container-row main {
        padding: 1rem 1.5rem;
    }
}

.profile-container .profile-container-row main .my-ads-section ul,
.profile-container .profile-container-row main .favs-section ul {
    margin-bottom: 2.81rem;
}

.profile-container .profile-container-row main .my-ads-section ul li.active,
.profile-container .profile-container-row main .favs-section ul li.active {
    color: #3b4ca8;
}

.ad-status-item {
    transition: 0.3s ease;
}

.ad-status-item:hover {
    color: #3e6bff;
}

.ad-status-item.active {
    color: #3b4ca8;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
    gap: 0 10px;
}

.items-grid.both-gap {
    gap: 10px;
}

.items-grid.center {
    place-content: center;
}

.items-grid.righted {
    place-content: start;
}

@media screen and (max-width: 992px) {
    .items-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 300px) {
    .items-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

.profile-container .profile-container-row main .my-ads-section .items-grid .card-wrapper,
.profile-container .profile-container-row main .favs-section .items-grid .card-wrapper {
    position: relative;
    z-index: 1;
}

.card {
    border-radius: 20px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card .card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.card .img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card .img-wrapper img {
    pointer-events: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
}

.card .img-wrapper .saved-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 3;
}

.saved-icon {
    cursor: pointer;
}

.saved-icon > * {
    pointer-events: none;
}

.card .img-wrapper .saved-icon:hover {
    background: rgba(255, 255, 255, 0.8);
}

.card .img-wrapper .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to bottom, #000000, transparent 30%);
}

.card .img-wrapper .saved-icon svg {
    pointer-events: none;
}

.card .img-wrapper .badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.15rem 0.5rem;
    z-index: 2;
}

.card .img-wrapper img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.card h3 {
    font-size: 15px;
    line-height: 27px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card p {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 0;
}

.profile-container .profile-container-row main .my-ads-section .items-grid .card-wrapper .cta-btns,
.profile-container .profile-container-row main .favs-section .items-grid .card-wrapper .cta-btns {
    height: 91px;
    transform: translateY(-40px);
}

.profile-container .profile-container-row main .my-ads-section .items-grid .card-wrapper .cta-btns button,
.profile-container .profile-container-row main .favs-section .items-grid .card-wrapper .cta-btns button {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 0.7rem;
    height: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.3s ease;
}

button.bg-blue:hover {
    background: #3b4ca8;
}

button.bg-green:hover {
    background: #677900;
}

.profile-container
.profile-container-row
main
.my-ads-section
.items-grid
.card-wrapper
.cta-btns
button:is(.failed, .exp),
.profile-container
.profile-container-row
main
.favs-section
.items-grid
.card-wrapper
.cta-btns
button:is(.failed, .exp) {
    cursor: not-allowed;
}

.profile-container .profile-container-row main .favs-section .share {
    transition: 0.3s ease;
    cursor: pointer;
}

.profile-container.my-ads {
    padding-bottom: 20rem !important;
}

.profile-container .profile-container-row main .favs-section .share:hover {
    background: #0c1235 !important;
}

.profile-container .profile-container-row main .favs-section .share svg {
    width: 18px;
    height: 18px;
}

.profile-container .profile-container-row main .favs-section .share p {
    font-size: 14px;
}

.profile-container .profile-container-row main .favs-section .items-grid {
    gap: 10px;
}

.profile-container .profile-container-row main .spc-form h2,
.profile-container .profile-container-row main .spc-form .h2 {
    font-size: 18px;
    margin-bottom: 18px;
}

.spc-input,
.modal-input,
.login-input-wrapper,
.ad-input {
    border: none;
    outline: none;
    background: #faf9fd;
    padding: 10px 20px;
    border-radius: 10px;
    transition: 0.3s ease;
    color: #707070;
    font-size: 14px;
}

.spc-input:hover,
.modal-input:hover,
.ad-input:hover,
.input-wrapper:hover,
.login-input-wrapper:hover {
    background: #edecf0;
}

.spc-input:focus,
.modal-input:focus,
.login-input-wrapper.active,
.ad-input:focus {
    background: #cbcbce;
    color: #fff;
}

.login-input-wrapper.active input {
    color: #fff;
}

.spc-input:focus::-moz-placeholder,
.modal-input:focus::-moz-placeholder,
.login-input-wrapper.active:focus::-moz-placeholder,
.ad-input:focus::-moz-placeholder {
    color: #fff;
}

.spc-input:focus::placeholder,
.modal-input:focus::placeholder,
.ad-input:focus::placeholder {
    color: #fff;
}

.profile-container .profile-container-row main .spc-form textarea {
    min-height: 176px;
    resize: vertical;
}

.profile-container .profile-container-row main .spc-form .upload-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #faf9fd;
    padding: 10px;
    border-radius: 10px;
}

.profile-container .profile-container-row main .spc-form .upload-label span {
    font-size: 14px;
}

.profile-container .profile-container-row main .spc-form .upload-label .choose {
    text-align: center;
    padding: 10px;
    width: 128px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.profile-container .profile-container-row main .spc-form .upload-label .choose:hover {
    background: #0c1235 !important;
}

.map-row {
    position: relative;
}

.map-row .spc-input {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.submit,
.next-btn {
    transition: 0.3s ease;
}

.submit:hover,
.next-btn:hover {
    background: #0c1235 !important;
}

.pay-section {
    position: relative;
}

.pay-section .overlay {
    position: absolute;
    top: 0;
    left: -25%;
    background: rgba(255, 255, 255, 0.8);
    width: 150%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pay-btn {
    transition: 0.3s ease;
}

.pay-btn:hover {
    background: #0c1235 !important;
}

/* media queries */
@media screen and (max-width: 1300px) {
    .header {
        margin-top: unset;
        max-width: 100% !important;
        padding: unset !important;
    }

    .header-top {
        border-radius: 0 !important;
    }
}

@media screen and (max-width: 1200px) {
    .select-img-list .img-wrapper {
        height: 85px;
    }
}

@media screen and (max-width: 992px) {
    .header-search-form {
        width: 100%;
    }

    .header-search-form .input-wrapper {
        width: 100%;
    }

    .ad-reg-btn {
        font-size: 12px;
    }

    .header-nav {
        height: 100vh;
        background: #fff;
        width: 280px;
        padding: 2rem 1rem;
        position: absolute;
        right: -100%;
        top: 0;
        z-index: 99;
        transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .header-nav ul {
        position: relative;
        top: 5rem;
    }

    .header-nav.show {
        right: 0;
    }

    .header-nav.show ~ .mobile-menu-overlay {
        display: block;
    }

    .mobile-menu-overlay {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 3;
    }

    .mobile-menu-close {
        background: transparent;
    }

    .header-bottom::before {
        content: "";
        width: 20%;
        height: 100%;
        background: linear-gradient(to right, #3b4ca8, transparent);
        position: absolute;
        left: 0;
        top: 0;
        pointer-events: none;
    }

    .header-bottom::after {
        content: "";
        width: 20%;
        height: 100%;
        background: linear-gradient(to left, #3b4ca8, transparent);
        position: absolute;
        right: 0;
        top: 0;
        pointer-events: none;
    }

    .breadcrumb {
        margin-right: 1rem;
    }

    .selected-img-wrapper {
        width: 100%;
        height: 350px;
        overflow: hidden;
    }

    .select-img-list .img-wrapper {
        height: 100px;
    }

    .video-section {
        padding-bottom: 10rem;
    }

    video {
        max-width: 100%;
    }
}

@media screen and (max-width: 800px) {
    .header-bottom ul li a span {
        font-size: 12px;
    }

    .map-row .spc-input {
        width: 85%;
    }
}

@media screen and (max-width: 768px) {
    .header-bottom ul {
        overflow-y: hidden;
        overflow-x: scroll;
        white-space: nowrap;
    }

    .select-img-list .img-wrapper {
        max-width: 150px;
    }

    .header {
        margin-bottom: 1rem;
    }

    .items-grid-section .items-grid {
        gap: 10px;
    }

    .carousel-section h2,
    h2 {
        font-size: 1rem;
    }

    .user-profile-wrapper.not-logedin {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
    }

    .header {
        position: fixed;
        top: 0;
    }

    .container-lg {
        margin-top: 7rem;
    }
}

@media screen and (max-width: 580px) {
    .header-bottom ul {
        overflow-y: hidden;
        overflow-x: scroll;
        white-space: nowrap;
    }

    .select-img-list .img-wrapper {
        max-width: 150px;
    }

    .header {
        margin-bottom: 1rem;
    }

    .ad-info {
        width: 100%;
    }
}

@media screen and (max-width: 420px) {
    .selected-img-wrapper {
        height: 200px;
    }

    .select-img-list .img-wrapper {
        max-width: 100px;
    }

    .ad-status-item {
        font-size: 13px;
    }

    .card {
        display: flex;
    }

    .card .img-wrapper {
        margin-bottom: 0 !important;
        flex: 0 0 50%;
        height: 150px;
    }

    .card > div.bg-white {
        flex: 0 0 50%;
        padding: 0.85rem !important;
    }

    .card h3 {
        white-space: wrap;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .status-card {
        margin-top: -25px;
    }

    .price {
        width: 100%;
    }

    .swiper-custom-button-prev,
    .swiper-custom-button-next {
        width: 42px;
        height: 42px;
    }
}

@media screen and (min-height: 1000px) and (max-width: 860px) {
    .footer-space {
        padding-bottom: 20rem;
    }
}

@media screen and (min-height: 1100px) and (max-width: 860px) {
    .footer-space {
        padding-bottom: 30rem;
    }
}

@media screen and (max-height: 680px) {
    .modal-container {
        margin-bottom: 2rem;
    }
}

.card-wrapper:not(.aside-swiper .card-wrapper) {
    container-type: inline-size;
    container-name: card;
}

@container card (width > 340px) {
    .card {
        display: flex;
    }

    .card .img-wrapper {
        margin-bottom: 0 !important;
        flex: 0 0 50%;
        height: 150px;
    }

    .card > div.bg-white {
        flex: 0 0 50%;
        padding: 0.85rem !important;
    }

    .card h3 {
        white-space: wrap;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
