:root {
    --main-500-rgb: 255, 153, 1;
    --bs-link-hover-color: var(--main-500);
    --bs-link-color: #fafafa;

    --gray-50:  #fafafa;
    --gray-100: #F4F4F5;
    --gray-200: #E4E4E7;
    --gray-300: #D4D4D8;
    --gray-400: #9F9FA9;
    --gray-500: #71717B;
    --gray-600: #52525C;
    --gray-700: #2E2E33;
    --gray-800: #27272A;
    --gray-900: #18181B;
    --gray-950: #09090B;

    --main-50:  #FFF4D3;
    --main-100: #FFE5A5;
    --main-200: #FFD06D;
    --main-300: #FFB032;
    --main-400: #FF960A;
    --main-500: #FF7E00;
    --main-600: #CC5C02;
    --main-700: #A1470B;
    --main-800: #823C0C;
    --main-90:  #461C04;
    --main-950: #2F180B;

    --secondary--50: #DDEDFF;
    --secondary--100:#CAE4FF;
    --secondary--200:#9F9FA9;
    --secondary--300:#7DBEFF;
    --secondary--400:#5CAEFF;
    --secondary--500:#0067CC;
    --secondary--600:#0052A3;
    --secondary--700:#004282;
    --secondary--800:#003568;
    --secondary--900:#002A53;
    --secondary--950:#001B35;
}

/* Begin::Fonts */

@font-face {
    font-family: IRANYekanX;
    src: url(../font/IRANYekanXVF.woff2);
    font-weight: 100 1000;
    font-display: swap;
}


/* end::Fonts */

/* Begin::Bootstrap Customize */
body {
    background: var(--gray-900);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6{
    margin-bottom: 1rem;
}

p{
    text-align: justify;
}

.user-account {
    margin-left: 30px;
}

/* Search Form Styles */
.search-form-container {
    position: absolute;
    top: 21px;
    left: 0;
    right: 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: -18px;
}

.search-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 660px;
    margin: 0;
    padding: 0;
    margin-left: 260px;
}

.search-input-wrapper .icon-Search{
    font-size: 30px;
    margin-left: -40px;
    z-index: 9;
}

.search-input {
    height: 40px;
    max-width: 660px;
    flex: 1;
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    border-radius: 15px;
    padding: 7px 50px;
    color: var(--gray-50);
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    color: var(--gray-50);
}

.search-input::placeholder {
    color: var(--gray-400);
}

/* حذف آیکون clear (x) از input search */
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-decoration,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* برای Firefox */
.search-input::-moz-search-cancel-button {
    -moz-appearance: none;
    appearance: none;
    display: none;
}

.search-close {
    font-size: 40px;
    cursor: pointer;
    margin-left: 20px;
}

.search-icon a {
    transition: all 0.3s ease;
}

.search-icon a:hover {
    transform: scale(1.1);
}

/* Responsive Search */
@media (max-width: 768px) {
    .search-form-container {
        padding: 0.75rem;
    }
    
    .search-input-wrapper {
        max-width: 100%;
        gap: 0.25rem;
    }
    
    .search-input {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .search-submit,
    .search-close {
        padding: 0.5rem;
        min-width: 40px;
    }
    
    /* مخفی کردن user-account و basket-icon در موبایل */
    .user-account,
    .basket-icon {
        display: none !important;
    }
}

h6 {
    font-size: 1.125rem;
}

@media (min-width: 1400px) {
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1204px;
    }
}

.form-control:focus {
    border-color: var(--main-500);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
}

.form-control-sm {
    min-height: 2.5rem;
    border-radius: 0.625rem;
}

.form-floating > .form-control-sm {
    height: 2.5rem;
}

.form-floating > label {
    font-size: 0.813rem;
    padding: 0.5rem 40px 0.625rem 0.625rem;
}

.form-floating > img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext {
    padding: 0.625rem 40px 0.625rem 0.625rem;
    font-size: 0.875rem;
}

.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label {
    transform: scale(0.7) translateY(-0.3rem) translateX(-18px);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-select ~ label {
    transform: scale(0.7) translateY(-0.3rem) translateX(-18px);
}

.form-floating > .form-control:-webkit-autofill ~ label {
    transform: scale(0.7) translateY(-0.5rem) translateX(-18px);
}

.btn {
    font-weight: 600;
    font-size: 16px;
    width: fit-content;
    min-width: 160px;
    height: 40px;
    gap: 10px;
    border-radius: 10px;
    padding: 5px 20px 10px 20px;
}

.btn:hover{
    color: var(--gray-50) !important;
    background: var(--main-400);
}

.btn-primary {
    --bs-btn-bg: var(--main-500);
    --bs-btn-border-color: var(--main-500);
    --bs-btn-hover-bg: var(--main-500);
    --bs-btn-hover-border-color: var(--main-500);
    --bs-btn-active-bg: var(--main-500);
    --bs-btn-active-border-color: var(--main-500);
    --bs-btn-disabled-bg: var(--main-500);
    --bs-btn-disabled-border-color: var(--main-500);
}

.btn-outline-primary {
    --bs-btn-color: var(--gray-50);
    --bs-btn-border-color: var(--gray-50);
    --bs-btn-hover-bg: var(--main-500);
    --bs-btn-hover-border-color: var(--main-500);
    --bs-btn-active-bg: var(--main-500);
    --bs-btn-active-border-color: var(--main-500);
    --bs-btn-disabled-color: var(--gray-700);
    --bs-btn-disabled-border-color: var(--gray-600);
    --bs-btn-disabled-bg: var(--gray-600);
    border-width: 2px;
    background-color: var(--gray-700);
}

.btn-deactive{
    --bs-btn-color: var(--gray-700);
    --bs-btn-border-color: var(--gray-600);
    --bs-btn-active-bg: var(--main-600);
}

.card {
    --bs-card-spacer-y: 1.25rem;
    --bs-card-spacer-x: 1.25rem;
    --bs-card-border-radius: 0.938rem;
    --bs-card-border-width: 1.5px;
    --bs-card-border-color: #e4e6e6;
    transition: all ease 0.3s;
}

.card.hover-shadow:hover,
.card.hover-shadow.active {
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 1.875rem;
}

.list-group {
    --bs-list-group-active-bg: var(--main-500);
    --bs-list-group-active-border-color: var(--main-500);
}

.link-primary {
    color: var(--main-500) !important;
}

.text-muted {
    color: #cbcccc !important;
	text-align: center;
}

.dropdown-toggle::after{
    display: none;
}

a:hover{
    color: var(--main-500) !important;
}

/* End::Bootstrap Customize */

/* Begin::Swiper Customize */

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 10px);
    right: auto;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 10px);
    left: auto;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    display: none;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    display: none;
}

.swiper-button-disabled {
    opacity: 0 !important;
}

.swiper-info .content-box .title{
    font-size: 22px;
    font-weight: 500;
    color: var(--gray-50)
}

.swiper-info .content-box .description{
    font-size: 18px;
    font-weight: 400;
    color: var(--gray-400);
}

.swiper-info .next .title{
    font-size: 20px;
    font-weight: 400;
    color: var(--gray-400)
}

@media (max-width: 768px) {
    .swiper-info .content-box .title{
        font-size: 18px;
    }
}

/* End::Swiper Customize */

/* Begin::Generals */

body {
    font-family: IRANYekanX !important;
    color: var(--gray-50);
    font-feature-settings: "ss02";
}

a {
    text-decoration: none !important;
}

.pointer {
    cursor: pointer;
}

.smaller {
    font-size: 0.75rem;
}

.form-control-solid {
    background-color: transparent !important;
}

.form-control-solid.no-border {
    border: none;
}

.error-image-container img{
    width: 100%;
    max-width: 600px;
    height: 100%;
    margin-top: 150px;
}

.notfound-error-image-container img{
    width: 100%;
    height: 100%;
    margin-top: 150px;
}


ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

input:focus {
    caret-color: var(--main-500);
}

.shaped-card,
.mainSwiper:not(.inside-modal) {
    border-radius: 0 0 6.25rem 6.25rem;
    position: relative;
}

#front-page .mainSwiper:not(.inside-modal) {
    border-radius: 0;
}

@media (max-width: 576px) {
    .shaped-card,
    .mainSwiper:not(.inside-modal) {
        border-radius: 0 0 4.25rem 4.25rem;
        position: relative;
    }
}

.shaped-card{
    clip-path: polygon(5% 0, 95% 0, 100% 10%, 100% 100%, 100% 100%, 0 100%, 0 100%, 0 10%);
}

.shaped-card img {
    border-radius: inherit;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#front-page .mainSwiper:not(.inside-modal)::before,
#front-page .mainSwiper:not(.inside-modal)::after {
    display: none;
}

.mainSwiper.modal-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #2e343e;
}

.mainSwiper .swiper-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

#body .mainSwiper {
    height: 750px;
}

.gallerySwiper {
    height: 100%;
}

.shaped-card.square {
    padding-bottom: calc(100% - 40px);
}

.background-image {
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
}

.single-cut-box {
    width: 80px !important;
    height: 60px;
    -webkit-clip-path: polygon(20% 0, 100% 0, 100% 45%, 100% 100%, 0 100%, 0 17%);
    clip-path: polygon(20% 0, 100% 0, 100% 45%, 100% 100%, 0 100%, 0 17%);
    position: relative;
    z-index: var(--zIndex);
    background-color: var(--gray-200);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
}

.single-cut-inner {
    width: 76px !important;
    height: 59px;
    -webkit-clip-path: polygon(20% 0, 100% 0, 100% 45%, 100% 100%, 0 100%, 0 17%);
    clip-path: polygon(20% 0, 100% 0, 100% 45%, 100% 100%, 0 100%, 0 17%);
}

.single-cut-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.double-cut-box {
    width: var(--width);
    height: var(--height);
    -webkit-clip-path: polygon(3% 0, 97% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
    clip-path: polygon(3% 0, 97% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
    position: relative;
    z-index: var(--zIndex);
}

.double-cut-box.dark{
    background-color: var(--gray-700);
}


.swiper-info {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.swiper-info .holder .next {
    margin-right: -40px;
    padding: 0 4.5rem 0 0;
    align-content: center;
    background: var(--gray-800);
}

.swiper-info .swiper-wrapper .single-cut-box {
    margin-right: -20px;
    border: 2px solid rgba(203, 204, 204, 1);
}

@media (max-width: 768px) {
    .swiper-info .swiper-wrapper .single-cut-box:first-child {
        margin-right: 0;
    }

    .about-section{
        padding: 4rem 2rem !important;
    }

    .about-section img{
        width: 100%;
    }
}


.swiper-info .content-box {
    display: flex;
    align-items: flex-start;
    gap: .25rem;
    justify-content: center;
    flex-direction: column;
    padding-right: 2.5rem;
}

.swiper-info .content-box .counter {
    font-size: 1.875rem;
}

.swiper-info .socials {
    display: flex;
    align-self: center;
    gap: 0.625rem;
    margin-left: 1.25rem;
}

.swiper-info .socials a img {
    width: 0.938rem;
}

.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-item.dropdown {
    position: relative;
}

.navbar-menu{
    position: relative;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), #00000000);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    /* Ensure overlay doesn't interfere with mouse events */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Prevent any mouse interaction */
    cursor: default;
}

/* Deactivated panels styling */
.panels label.deactivated {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.panels label.deactivated input[type="checkbox"] {
    cursor: not-allowed;
}

/* Disabled inputs styling */
input[type="radio"]:disabled + .checkmark,
input[type="radio"]:disabled ~ .title,
input[type="radio"]:disabled ~ .price {
    opacity: 0.5;
    cursor: default;
}

/* Disabled radio button label styling */
label:has(input[type="radio"]:disabled) {
    opacity: 0.5;
    cursor: default;
}

/* Disabled checkbox styling */
input[type="checkbox"]:disabled + .form-check-label,
input[type="checkbox"]:disabled ~ .title,
input[type="checkbox"]:disabled ~ .price {
    opacity: 0.5;
    cursor: default;
}

/* Disabled checkbox label styling */
label:has(input[type="checkbox"]:disabled) {
    opacity: 0.5;
    cursor: default;
}

.title-section {
    margin-top: 4rem;
}

.about-title-section {
    margin: 4rem auto auto auto;
}

.about-images{
    margin: 4rem auto;
}

.about-images .col-6{
    margin: 0 !important;
    padding: .5rem !important;
}

.about-images img{
    height: 380px;
    width: 100%;
    object-fit: cover;
    border-radius: 1.25rem;
}

.about-contact{
    height: 380px;
    display: flex;
    align-items: center;
    margin-top: 4rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.about-contact .container{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .about-contact{
        height: 100% !important;
        padding: 50px 0;
    }

    .about-contact .container{
        align-items: center;
        flex-direction: column;
        gap: 60px;
    }

    .about-images img{
        height: 200px;
    }
}

.about-contact .flex-column{
    max-width: 380px;
}

.about-contact .flex-column p{
    text-align: center;
    font-size: 18px;
    direction: ltr;
}

.page-title{
    font-size: 22px;
}

.page-sub-title{
    font-size: 18px;
    color: var(--gray-300);
    text-align: right;
}

@media (max-width: 768px) {
    .page-title{
        font-size: 18px;
    }

    .page-sub-title{
        font-size: 14px;
    }
}

/* end::Generals */

/* Begin Header */

#header {
    position: relative;
}

#header.front-page {
    position: absolute;
    left: 0px;
    right: 0px;
    z-index: 100;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.8) 40.46%, rgba(30, 30, 30, 0) 100%);
    height: 200px;
}

#header.front-page .navbar-menu {
    position: relative;
    top: 0;
    margin-top: 40px;
}

#header .logo {
    height: 40px;
	width: auto;
    margin: auto;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
    position: relative;
    z-index: 999;
}

.navbar-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    z-index: 2;
}

.navbar {
    padding: 0;
    z-index: 999;
}

.navbar-menu .search-icon {
    margin-right: 1.25rem;
    padding: 0;
    align-self: flex-end;
    font-size: 40px;
}

.navbar-menu .basket-icon {
    margin-right: 30px;
    padding: 0;
    align-self: flex-end;
    font-size: 40px;
    margin-top: -5px;
}

.navbar-menu .search-icon .icon-Search .path2:before{
    color: #fff;
}

/* Desktop search icon styling */
.d-md-flex .search-icon {
    font-size: 40px;
}

.d-md-flex .search-icon a {
    color: var(--gray-50);
    transition: all 0.3s ease;
}

.d-md-flex .search-icon a:hover {
    color: var(--main-500);
    transform: scale(1.1);
}

.dropdown-menu li {
    padding: 5px 0;
}

.dropdown-menu {
    background: transparent;
    border: 0;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: var(--bs-link-hover-color);
    background-color: transparent;
}

.dropdown-item a{
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.dropdown-item i{
    font-size: 30px;
    margin-left: 10px;
}

.nav-link {
    font-weight: 500;
    font-size: 22px;
    color: var(--gray-50);
    text-align: center;
}

.navbar-nav .show > .nav-link,
.nav-link.active:hover,
.nav-link:focus {
    color: var(--gray-50) !important;
}

.nav-link:hover{
    color: var(--main-500) !important;
}

.navbar-collapse {
    flex-grow: initial;
}

.navbar-toggler {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
    color: var(--main-500) !important;
}

@media (min-width: 768px) {
    .navbar-menu .container-fluid {
        justify-content: center;
        align-items: baseline;
    }

    .navbar-expand-md .navbar-nav .nav-link {
        padding: 0 0 0.5rem 0;
        border-top: 4px solid transparent;
    }

    .navbar-expand-md .navbar-nav {
        gap: 1.875rem;
    }

}

@media (max-width: 768px) {
    .navbar-menu {
        padding: 0 52px 0;
        top: 75px;
    }
}

/* End Header */

/* begin::Main Banner */

.main-banner {
    height: 540px;
}

/* end::Main Banner */

/* begin::Gallery Modal */
#galleryModal .modal-body {
    overflow: hidden;
}

#galleryModal .modal-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 40px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: none;
}

/* end::Gallery Modal */

/* begin::Swiper Banner */

.about-section {
    padding: 100px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.about-section .box {
    max-width: 780px;
    margin-top: 2.5rem;
    margin-bottom: 1.375rem;
}

.about-section .box p {
    font-size: 16px;
    color: var(--gray-400);
    font-weight: 400;
    text-align: justify;
}

.about-section .box h1 {
    text-align: center;
}


.swiper-action-box .swiper-button-next,
.swiper-action-box .swiper-button-prev,
.swiper-rtl .swiper-action-box .swiper-button-next,
.swiper-rtl .swiper-action-box .swiper-button-prev {
    position: relative;
    right: initial;
    left: initial;
    top: initial;
    margin-top: 0;
    width: initial;
    height: initial;
}

/* end::Swiper Banner */

/* begin::Products */

.products .product-box img{
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 1.25rem;
}

.products .product .title{
    margin: 1.25rem 0 .5rem 0;
    color: var(--gray-50);
}

.products .product .meta{
    direction: ltr;
    text-align: right;
}

.products .product small{
    color: var(--gray-300);
}

.products .product:hover .title{
    color: var(--main-500);
}

.products .product:hover small{
    color: var(--gray-300);
}


.products {
    margin: 1.5rem 0 3.75rem;
    padding: 0 20px;
}

.productsSwiper{
    border-radius: 2.5rem;
}

.productsSwiper .swiper-slide img{
    width: 100%;
    height: 590px;
    object-fit: cover;
    border-radius: 2.5rem;
}

.productsSwiper .swiper-slide .meta{
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: -4.5rem -2.5rem 0 0;
}

.productsSwiper .swiper-slide .meta .title{
    color: var(--gray-50);
    font-size: 24px;
    margin-bottom: 0;
}

.productsSwiper .swiper-slide .meta small{
    color: var(--gray-50);
    font-size: 16px;
    direction: ltr;
}

.productsSwiper .swiper-button-prev, .productsSwiper .swiper-button-next{
    font-size: 3.75rem;
    width: 3.75rem;
}


/* end::Products */


/* begin::Product Page */

.product .double-cut-box{
    justify-content: center;
}

.product .double-cut-box .content-box{
    padding: 0;
}

.product-meta{
    background-position: center !important;
    background-repeat: no-repeat !important;
}


.product-attr-row .img-fluid{
	max-height: 60px;
}

.products .product small{
	text-align: right;
}


.product-attr-row{
	justify-content: center;
}

.product-attr-row{
    padding: 3.125rem 0;
}

.product-meta .attr-item .title{
    text-align: center;
    color: var(--gray-50);
    font-size: 18px;
    font-weight: 500;
    margin: 10px 0 0 0;
}

.product-attr-row .attr-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.product-attr-row .attr-item .title{
    width: max-content;
}

.product-attr-row .attr-item .subject{
    color: var(--gray-400);
    font-size: 16px;
}

.product-gallery-swiper{
    margin: 4rem auto;
}

.related-products{
    margin-top: 100px;
}

.ar-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 70px 0;
    gap: 0.25rem;
}

.ar-section i{
    font-size: 240px;
    margin-bottom: 26px;
}

.ar-section p{
    font-size: 20px;
}

.product-title-section{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-content{
    margin-top: 26px;
}

.product-attr-row .attr-item i{
    font-size: 80px;
    width: 80px;
}

.woocommerce-Price-currencySymbol{
    margin-right: 2px;
}

@media (max-width: 768px) {
    .product-attr-row .attr-item i{
        font-size: 64px;
        width: 64px;
    }
}

/* end::Product Page */


/* begin::Shop Page */

#shop-notice{
    border-radius: 1.25rem;
    border: 1px solid var(--main-500);
    background: var(--gray-500);
    color: var(--main-500);
}

#shop-notice button{
    font-size: 2.5rem;
    left: 1rem;
    top: 0;
    bottom: 0;
    margin: auto;
    padding: 0;
    --bs-btn-close-bg: none;
    opacity: 1;
    z-index: 1;
}

#shop-notice p{
    max-width: 85%;
    margin: 0;
    padding: 0;
}

/* end::Shop Page */


/* begin::Posts */

.posts {
    margin: 1.5rem 0 3.75rem;
}

.posts .post-item {
    display: none;
}

.posts .post-item.show {
    display: block;
}

.posts .post {
    border-radius: 1.25rem;
    transition: all ease 0.3s;
    margin-bottom: 2.5rem;
}

.posts a:hover .post .title{
    color: var(--main-500) !important;
}



.posts .post span{
    color: var(--gray-300);
}

.posts .post img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 1.25rem;
}

.posts .post .title {
    color: var(--bs-dark);
    margin-bottom: 0.2rem;
    line-height: 20px;
}

.posts.blogs .post.blog .title {
    margin-top: 1.25rem;
    color: var(--gray-50);
}

.post-box {
    max-height: 855px;
    overflow: hidden;
}

.related-posts-widget .widget{
    margin-bottom: 20px;
}

/* بهبود کلی related-posts-widget */
.related-posts-widget {
    margin: 3rem auto;
}

.related-posts-widget .row {
    margin: 0;
}

/* بهبود نمایش در موبایل */
@media (max-width: 768px) {
    .related-posts-widget {
        margin: 2rem 0;
    }
    
    .related-posts-widget .container {
        padding: 0 15px;
    }
}

.pagination {
    margin-top: 3.75rem;
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    color: var(--gray-50);
    font-size: 22px;
    font-weight: 500;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.pagination .page-numbers i{
    font-size: 40px;
}

.pagination .page-numbers.current {
    color: var(--main-500);
}

.pagination .page-numbers:hover {
    color: var(--main-500);
}


/* end::Posts */

/* begin::Parallax Banner */

.parallax-banner {
    min-height: 500px;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.parallax-banner img {
    width: 540px;
    height: 100%;
}

@media (max-width: 758px) {
    .parallax-banner img {
        max-width: 220px;
    }
    
    .parallax-banner {
        background-attachment: scroll;
        min-height: 360px;
        height: 360px;
    }
}

/* begin::Parallax Banner */

/* begin::Requests */

.requests-box {
    padding: 4rem 0 7.5rem;
    display: flex;
    justify-content: center;
}

.requests-box .row {
    max-width: 980px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.requests-box .image-box {
    max-width: 180px;
    max-height: 320px;
}

.requests-box .item{
    display: flex;
    align-items: center;
    flex-direction: column;
    max-width: 380px;
}

.requests-box .text-box {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.requests-box .text-box h3 {
    margin-bottom: 1.25rem;
    font-size: 24px;
    font-weight: 500;
}

.requests-box .text-box p {
    font-size: 18px;
    line-height: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: justify;
    color: var(--gray-400);
}

/* end:: Requests */

/* begin:: 360 */
canvas {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
}

.canvas-holder {
    overflow: hidden;
    background-color: #707271;
}


/* end:: 360 */

/* begin:: Catalogue */

.catalog-page .categories{
    margin: 0;
}

.catalog-page .categories img{
    max-height: 180px;
}

.catalog-page .categories .category a{
    align-items: flex-start;
}


/* end::Description Catalogue */

/* begin::Agencies */

.page-description {
    margin: 1.75rem auto 5rem auto;
}

.page-description p{
    text-align: justify;
    font-size: 1rem;
}

.agencies-section{
    padding: 100px 0;
}

.agencies-section .province-box span{
    color: var(--gray-400);
}

.agencies-section .province-box:hover h5{
    color: var(--main-500)
}

.request-agency-container{
    display: flex;
    justify-content: center;
    margin: 100px auto;
}

.request-agency-section{
    display: flex;
    max-width: 780px;
}

.request-agency-section .box{
    display: flex;
    flex-direction: column;
    margin-right: 1.25rem;
    justify-content: space-between;
}

.request-agency-section .box .title{
    font-size: 22px;
}

.request-agency-section .box p{
    color: var(--gray-400);
    font-size: 18px;
    font-weight: 400;
}

.agencies-section .province-box {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.agencies-section .col-md-4{
    align-content: center;
    justify-content: center;
}

.agencies-section .province-box:hover h5,
.agencies-section .province-box.active h5 {
    color: var(--main-500);
}

.iran-map-container [data-province] {
    cursor: pointer;
    transition: all 0.3s ease;
}

.iran-map-container [data-province]:hover,
.iran-map-container [data-province].active {
    fill: var(--main-500);
}

#provinceModal{
    align-content: center;
    justify-content: center;
    align-items: center;
}

#provinceModal .modal-content{
    background: var(--gray-800);
    border-radius: 1.25rem;
}

#provinceModal .nav-tabs {
    border-bottom: none;
    justify-content: center;
    background: var(--gray-900);
    width: fit-content;
    margin: auto auto 1.25rem auto;
    border-radius: 10px;
    padding: 4px 4px;
}

#provinceModal .nav-tabs .nav-link {
    color: var(--gray-400);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0 10px;
    font-size: 20px;
    font-weight: 400;
    transition: border-color 0.2s, color 0.2s;
}

#provinceModal .nav-tabs .nav-link:hover{
    color: var(--gray-50) !important;
}

#provinceModal .tab-content {
    padding: 20px 0 0 0;
}

#provinceModal .nav-link.active{
    background: var(--main-500);
    color: var(--gray-50);
    border-radius: 10px;
    padding: 0 10px;
}

#provinceModal .nav-link{
    color: var(--gray-400);
}

.agency-modal-tab-content .item {
    margin-left: 20px;
    margin-bottom: 10px;
    display: inline-block;
    color: #fff;
}
.agency-modal-img {
    margin-top: 15px;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .agency-tabs-swiper .swiper-slide a{
        white-space: wrap !important;
        max-width: 88px;
        min-width: 88px;
        height: 72px;
        padding: 0px 10px !important;
        font-size: 20px;
        align-content: center;
    }
}

/* end::Agencies */

/* begin::Request */
#request .request-title {
    color: #333332;
    font-size: 18px;
    margin-top: 40px;
    margin-bottom: 10px;
    font-weight: 600;
}

#request .request-desc {
    color: #2E343E;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 30px;
}

#request .badab-input::placeholder {
    color: #CCCBCA;
    font-size: 13px;
}

#request .badab-input {
    background: #FFFFFF;
    border: 1px solid #EBEAE8;
    border-radius: 10px !important;
    font-size: 13px;
    height: 40px;
    padding: 0 40px;
}

#request .input-group img {
    position: absolute;
    z-index: 100;
}

#request .badab-label {
    color: var(--gray-300);
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 10px;
    width: 100%;
}

#request .form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.round {
    position: relative;
}

.round label {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    right: 0;
    position: absolute;
    top: 0;
}

.round span {
    padding-right: 10px;
    padding-top: 2px;
}

.round input[type="checkbox"] {
    visibility: hidden;
}

.round input[type="checkbox"]:checked + label {
    background-color: #ffffff;
    border: 6px solid #f68c24;
}


#request .form-row > .col, .form-row > [class*=col-] {
    padding-right: 5px;
    padding-left: 5px;
}

#request .input-group {
    margin-bottom: 20px;
}

#request .form-control {
    width: 100% !important;
}

.select2-selection__rendered {
    line-height: 41px !important;
}

.select2-container .select2-selection--single {
    height: 41px !important;
}

.select2-selection__arrow {
    height: 40px !important;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #EBEAE8 !important;
    border-radius: 10px !important;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border: 1px solid #ff9901 !important;
    border-bottom: 0 !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #F5F4F2 !important;
    color: #ff9901 !important;
    padding: 3px 10px !important;
    font-size: 13px !important;
}

.select2-container--default .select2-results__option--selected {
    background-color: white !important;
}

.select2-results__option {
    padding: 3px 10px !important;
    font-size: 13px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #cbcccc !important;
    border-radius: 10px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus,
.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
    border: 1px solid #ff9901 !important;
    outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    background-image: url("../media/forms/arrow-b.png");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
    background-image: url("../media/forms/arrow.png");
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #CCCBCA !important;
    font-size: 13px;
}

.select2-container--open .select2-dropdown--below {
    padding-top: 15px;
    margin-top: -9px;
}

.select2-container--open .select2-dropdown--below {
    border: 1px solid #ff9901;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

/* end::Request */
/* begin::Footer */

#footer .logos {
    padding: 1.25rem 0px;
    background-color: var(--gray-800);
}

#footer .logos .holder {
    max-width: 908px;
    margin: auto;
}

#footer .logos .swiper-slide img {
    display: block;
    margin: auto;
	max-width : 100%;
	max-height : 80px;
}
.footerSwiper .swiper-wrapper {
	display: flex;
    align-items: center;
}

#footer .menu-box {
    background-color: var(--gray-700);
    padding: 6.25rem 0 1.25rem;
}

.footer-arrow{
    display: none;
}

#footer-logo {
    height: 40px;
	width: auto;
}

#footer .company-info {
    margin: 1.688rem 0 1.313rem;
    display: flex;
    flex-flow: column;
}

#footer .list-menu .title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 40px;
}

#footer .newsletter-box {
    margin-top: 2.438rem;
    background-color: var(--gray-400);
    border: none;
}

#footer .newsletter-box .card-body {
    gap: 1rem;
}

#footer .newsletter-box form {
    width: 360px;
}

#footer .newsletter-box form label {
    color: white;
}

#footer .newsletter-box .form-control {
    background-color: var(--gray-300) !important;
}

#footer a{
    color: var(--gray-400);
}

#footer .footer-social-image{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 40px 0 0 0;
}

#footer .footer-social-image a{
    margin: 0 0 20px 0;
    color: #CCCBCA;
    font-size: 13px;
    font-weight: 200;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    #footer .newsletter-box .card-body {
        align-items: flex-start;
        flex-flow: column;
    }

    #footer .newsletter-box form {
        width: 100%;
    }

    .nav-link {
        color: var(--gray-50);
        font-size: 20px;
        font-weight: 500;
        padding-right: 10px;
    }

    .dropdown-menu {
        padding: 0;
    }

    .navbar img {
        max-height: 20px;
		width: 20px;
    }
}

/* end::Footer */

/*single blog*/
.blog-content {
    padding: 2rem 0 4rem 0;
    line-height: 1.8rem;
}

.blog-title {
    font-size: 18px;
}

.login-logo {
    width: 340px;
    max-width: 90%;
    height: auto;
}

#login{
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden; /* جلوگیری از اسکرول */
}

#login > .container > .row {
    height: 100vh;
    align-items: center;
    overflow: hidden; /* جلوگیری از اسکرول */
}

/* موبایل: تنظیمات بهتر */
@media (max-width: 768px) {
    #login > .container {
        padding: 0;
        max-width: 100%;
    }
    
    #login > .container > .row {
        margin: 0;
    }
    
    #login > .container > .row > .col-12 {
        padding: 0;
    }
}

.login-form{
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* موبایل: تنظیمات بهتر */
@media (max-width: 768px) {
    .login-form {
        width: 100%;
        height: 100vh;
        justify-content: center;
    }
}

.login-form img{
    margin-bottom: 16px;
}

.login-form-holder {
    background: var(--gray-700);
    border-radius: 20px;
    padding: 20px;
    width: 410px;
    height: 470px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* موبایل: عرض 100% */
@media (max-width: 768px) {
    .login-form-holder {
        width: 100%;
    }
}

.login-form-holder::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-bottom: 55px solid transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.login-form-holder::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-right: 60px solid transparent;
    border-bottom: 55px solid transparent;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.login-title {
    font-size: 23px;
    font-weight: 700;
    color: var(--main-500);
    font-weight: bold;
}

.login-desc {
    color: var(--gray-300);
    font-size: 14px;
    margin-top: 20px;
}

.otp-boxes{
    direction: ltr;
}

.otp-input{
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    text-align: center;
    font-size: 24px;
    color: var(--gray-50);
}

.otp-verify{
    display: flex;
    justify-content: space-between;
}

.otp-verify #timer{
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-50);
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-holder {
    position: relative;
}

.show-pass {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: 0;
    left: 10px;
}

.input-icon {
    font-size: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}

.badab-input:focus{
    outline: none;
    border: 2px solid var(--main-500);
}

.badab-mobile-input:placeholder-shown{
    text-align: right;
}

.badab-mobile-input {
    direction: ltr;
    text-align: left;
}


.badab-input {
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    border-radius: 15px;
    height: 50px;
    width: 100%;
    padding: 0 60px 0 30px;
    color: var(--gray-50);
}

input::placeholder {
    color: var(--gray-500);
}

.submit-holder {
    text-align: center;
}

#buy {
    background: rgba(248, 248, 250, 1);
}

.progress-holder::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-right: 10px solid #f8f8fa;
    border-bottom: 15px solid transparent;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;

}

.progress-holder {
    border-radius: 0 0 3.25rem 3.25rem;
    position: relative;
    background: white;
    width: 100%;
    display: flex;
    justify-content: center;
    height: 120px;
    align-items: center;
    padding: 20px;
    box-shadow: 0 0 12px 0px #9d9d9d57;
}

.progress-holder::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid #f8f8fa;
    border-bottom: 15px solid transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.progressSwiper {
    max-width: 740px;
}

.svg-holder {
    background: #EAEAEA;
    border-radius: 10px;
    display: inline-flex;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
}

.step.active .svg-holder {
    background: #FFF1D7;
}

.step.active .svg-holder path {
    fill: #F68C24;
}

.progress-title {
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 0;
}

.step {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.line {
    height: 2px;
    background: #CBCCCC;
    width: 100%;
    margin-top: 20px;
    margin-right: 5px;
    margin-left: 5px;
    flex: 1;
}

.buy-logo {
    margin-top: 40px;
    margin-bottom: 20px;
}

.step-inner-desc {
    color: #6B7280;
    font-size: 14px;
}

.step-inner-title {
    color: #F68C24;
    margin-top: 20px;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.product-show-case {
    display: flex;
    flex-flow: row wrap;
}

.product-show-case .buy-box img {
    width: 100%;
}

.buy-box p {
    margin-bottom: 0;
    height: 60px;
    display: flex;
    align-items: flex-start;
    padding-right: 20px;
    flex-direction: column;
    justify-content: center;
}

.buy-header {
    position: fixed;
    left: 0;
    width: calc(100% - 60px);
    right: 30px;
    max-width: 1204px;
    margin: auto;
    z-index: 100;
}

.buy-box {
    margin: 10px;
    flex: 0 1 calc(20% - 20px);
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.buy-box p span {
    color: #F68C24;
    font-size: 14px;
}

.step-content {
    display: none;
    padding-bottom: 100px;
    padding-top: 250px
}

.step-content.active {
    display: block;
}

.type-holder img {
    display: block;
    margin: auto;
    margin-bottom: 40px;
}

.type-holder p {
    font-weight: 500;
    font-size: 20px;
    text-align: center;
}

.type-holder {
    border: 2px solid #EAEAEA;
    border-radius: 20px;
    background: white;
    padding: 20px;
}

.type-holder.active {
    border: 2px solid #f68c24;
}

.attr-holder {
    margin-bottom: 40px;
}

.attr-holder p:nth-child(1) {
    color: var(--gray-300);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    text-align: right;
}

.attr-holder p:nth-child(2) {
    color: #2E343E;
    text-align: right;
    font-size: 18px;
}

.attr-holder p.red {
    color: #FF0101;
}


.center-middle svg, .center-bottom svg, .progress-prev svg {
    transform: rotate(180deg);
}

.left-middle svg {
    transform: rotate(180deg);
}

.space-holder {
    background-image: url(https://badab.plusstudio.ir/wp-content/themes/badab/assets/media/buy/space-back.png);
    background-size: 100% 100%;
    padding: 40px !important;
}

.center-space {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-space.right-middle {
    justify-content: flex-start;
}

.center-space.left-middle {
    justify-content: flex-end;
}

.left-top, .left-middle, .left-bottom {
    text-align: left;
}

.center-top, .center-bottom {
    text-align: center;
}

.space-holder .row:nth-child(2) {
    margin-top: 50px;
    margin-bottom: 80px;
}

.space-holder {
    margin-top: 60px;
}

.space-holder svg {
    max-width: 100%;
    width: 205px;
}

.space-svg path {
    fill: #CBCCCC;

}

.abkari-title {
    color: #333332;
    font-size: 16px;
    margin-top: 60px;
    font-weight: bold;
}

.progress-next, .progress-prev {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #EAEAEA;
    border-radius: 10px;
    position: absolute;
}

.progress-prev path {
    fill: #f68c24;
}

.progress-next:not(.disable) path {
    fill: #f68c24;
}

.progress-next {
    left: 10px;
}

.progress-prev {
    right: 20px;
    display: none;
}

.space-svg.active path {
    fill: #f68c24;
}

span.checkbox {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #f68c24;
    border-radius: 7px;
}

.product-show-case span.checkbox {
    background: #f2f4f5;
}

span.checkbox.active {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: white;
    border: 7px solid #f68c24;
}

.review-img img {
    border-radius: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.review-attr .attr-holder {
    min-width: 180px;
    margin-bottom: 40px;
}

.order-form {
    text-align: center;
    width: 100%;
}

.agency-modal-holder {
    background: #0000004f;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 100;
    display: none;
    align-items: center;
}

.agency-card-meta{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 100px;
}

.agency-card-meta div{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agency-card-meta .address-section{
    width: 33.333%;
}

.agency-card-meta .contact-section{
    width: 66.667%;
    flex-direction: row;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
}

.agency-card-meta .btn{
    margin-top: 40px;
}

.swiper-nav .swiper-button-next, .swiper-nav .swiper-button-prev {
    position: relative;
}

.swiper-nav {
    position: absolute;
    top: -39px;
    right: 0;
    left: 0;
    display: flex;
    gap: 30px;
}

.close-agency {
    height: 25px;
    position: absolute;
    top: -18px;
    left: 0;
}

.ssi-button {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background: transparent;
    border: 0;
    display: none !important;
}

input[type=file] {
    display: none;
}

.file-holder .form-label {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #CCCBCA;
    font-size: 13px;
    font-weight: normal;
    z-index: auto;
    height: 100%;
}

.imgPreview {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: none;
    background: #FFFFFF;
    max-height: 150px;
    width: auto;
    margin: auto;
}

.file-preview {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: white;
    border-radius: 10px;
    display: none;
}

.file-holder {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #EBEAE8;
    border-radius: 10px;
    height: 150px;
    overflow: hidden;
    margin-bottom: 20px;
}

.submit-form {
    background: #F68C24;
    border-radius: 10px;
    border: 0;
    color: white;
    font-size: 16px;
    width: 100%;
    height: 40px;
    margin-bottom: 60px;
}

.form-check-input {
    margin-top: 0 !important;
}

.form-check-label {
    font-size: 18px;
    margin-right: 20px;
}

.form-check {
    margin-bottom: 50px;
}

.form-check-input:checked {
    background-color: #f68c24;
    border-color: #f68c24;
}

.form-check-input:focus {
    box-shadow: none;
}

.delete-preview {
    position: absolute;
    z-index: 1;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #EAEAEA;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-nav {
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 24px;
    display: flex;
    color: #8C8C8B;
    gap: 20px;
}

.form-nav span.active {
    color: #F68C24;
}

.sale-form-holder, .branch-form-holder {
    display: none;
}

.sale-form-holder.active, .branch-form-holder.active {
    display: block;
}



.contact-cta a{
    background: white;
    border: 1px solid #cbcbcb;
    border-radius: 19px;
    color: var(--bs-orange);
    font-weight: bold;
    flex-basis: 50%;
    max-width: 200px;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
}
.contact-cta{
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}
.contact-map a{
    position: absolute;
    bottom: 40px;
    background: white;
    right: 40px;
    left: 40px;
    padding: 15px;
    border-radius: 20px;
    color:  var(--main-500);
    font-weight: bold;
}
.contact-tell{
    background: white;
    border: 1px solid #cbcbcb;
    border-radius: 20px;
    display: inline-flex;
    margin: 30px 0;
    width: 100%;
    justify-content: center;
    max-width: 400px;
    height: 50px;
}
.contact-tell p {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}
.contact-tell a , .contact-tell span {
    color:  var(--main-500);
    direction: ltr;
    font-weight: bold;
}
.map-overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ff9901d1;
}
.contact-map{
    position: relative;
    max-width: 920px;
    margin: auto;
}
.contact-social img{
    max-width: 40px;
}
.contact-social {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
}


@media (max-width: 992px) {
    .buy-box {
        flex: 0 1 calc(33.3% - 20px);
    }
}

@media (max-width: 768px) {
    .buy-box {
        flex: 0 1 calc(50% - 20px);
    }

    .progress-holder {
        border-radius: 0 0 2.25rem 2.25rem;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .navbar-menu nav.navbar{
        position: absolute;
        left: 0;
        right: 0;
        top: -45px;
    }

    .mainSwiper .swiper-wrapper{
        height: 320px;
    }
    .mainSwiper.product-swiper .swiper-wrapper{
        height: 70vh;
    }
    .agency-info {
        background-color: #e4e4e4;
        background-image: none;
    }
    .agency-info .container .text-box {
        text-align: center;
    }
    .agency-info .info {
        flex-wrap: wrap-reverse;
        gap: 10px;
        justify-content: space-between;
    }
    .catalogue .text-box {
        max-width: 400px;
        text-align: center;
    }
    .catalogue {
        justify-content: center;
    }
    .catalogue .text-box {
        max-width: 300px;
    }
    .agency-info .info .item:nth-child(1){
        width: 100%;
    }
    .image-items div {
        margin-bottom: 2rem;
    }
    .swiper-banner .swiper-box > img {
        display: block;
        margin: auto;
    }
    .swiper-banner .swiper-box .box p {
        text-align: center;
    }
    .agency-info .info .item {
        align-items: center;
    }
    .agency-info .container {
        align-items: center;
    }
    .agency-info-modal {
        padding: 15px 30px;
        background-size: 100% 100%;
        border-radius: 0;
        background-repeat: no-repeat;
    }

    .agency-info-modal h3 {
        font-size: 21px;
        margin-bottom: 15px;
    }

    .agency-info-modal .item p:nth-child(2) {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .agency-info-modal .item p:nth-child(1) {
        margin-bottom: 0;
    }

    .close-agency {
        top: -15px;
        left: 10px;
    }

    .buy-box {
        flex: 0 1 calc(100% - 20px);
    }

    .line {
        display: none;
    }

    .space-holder svg {
        max-width: 60px;
        max-height: 60px;
    }

    .space-holder .row:nth-child(2) {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .space-holder {
        padding: 10px !important;
        margin-top: 30px;
    }

    .center-space.right-middle {
        padding-right: 0;
    }

    .center-space.left-middle {
        padding-left: 0;
    }

    .step {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .buy-header {
        max-width: 540px;
        width: auto;
        right: 0 !important;
    }
    
    .attr-item h6{
        font-size: 13px;
    }
    .attr-item img {
        margin-bottom: 15px;
        height: 40px;
        width: auto;
    }
    .attr-item p {
        font-size: 12px;
        margin-top: 0;
    }
    .attr-item{
        margin-bottom: 20px;
    }
}


@media (min-width: 576px) {
    .buy-header {
        max-width: 540px;
        width: auto;
    }
}
@media (min-width: 768px){
    .buy-header {
        max-width: 720px;
        width: auto;
    }
}
@media (min-width: 992px){
    .buy-header {
        max-width: 960px;
        width: auto;
    }
}
@media (min-width: 1200px){
    .buy-header {
        max-width: 1140px;
        width: auto;
    }
}


/* Image box */

.image-box img{
	width: 100%;
	height: 360px;
}

/* End Image box */

.close-agency{
	cursor: pointer;
}

.swiper-nav{
	justify-content: center;
}

.close-agency{
	width: 25px;
	position: relative;
}

.card{
	cursor: pointer;
}

.wp-block-image img{
	border-radius: 20px;
}

.agency-modal-holder{
	background: #000000ad !important;
}

.agencies-items{
	justify-content: center;
}

.product-swiper{
	max-height: 600px;
}

.product-swiper .swiper-slide img{
    width: 100%;
    max-height: 600px !important;
    object-fit: cover;
}

.expand-btn, .collapse-btn{
	width: 30px;
    height: auto;
}

.content{
    margin: 50px 0px;
}

.content h2{
	font-size: 1.5rem;
	font-weight: bold;
}

.content h3{
	font-size: 1.25rem;
	font-weight: bold;
}

.content a{
	color: var(--main-500);
}

.double-cut-box{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.products .product-item{
	margin: 2.5rem 0;
}

.products .product-item h3{
	font-size: 1.125rem;
}

.box h1{
	font-size: 20px;
	font-weight: bold;
}

.blog-content p a{
	color: var(--main-500);
}

.swiper-wrapper #text{
	display: none;
}

/* Mobile */

#header .logo-desktop{
	display: block !important;
}

#header .logo-mobile{
	display: none !important;
}

@media only screen and (max-width: 768px) {
	#header{
    	height: 70px !important;	
	}
	
	#header .logo-desktop{
		display: none !important;
	}
	
	#header .logo-mobile{
		display: block !important;
	}
	
	#header .logo {
    	height: 36px;
    	margin-top: 0;
	}
	
	#header a{
		display: flex;
	}
	
	.product-header{
		padding: 0 !important;
	}
	
	.product-swiper{
    	margin: 0px -12px 0px -12px;
		border-radius: 0 !important;
		overflow: hidden;
	}
	
	.product-swiper .swiper-slide img {
		width: 100vw !important;
		height: auto !important;
		object-fit: cover;
		margin-left: calc(-50vw + 50%) !important;
		margin-right: calc(-50vw + 50%) !important;
	}
	
	.mainSwiper.product-swiper .swiper-wrapper{
		height: 100%;
	}
	
	.product-swiper:before, .product-swiper:after{
		display: none !important;
	}
	
	.main-banner{
		height: 520px !important;
		margin: 0px -12px 0px -12px;
		overflow: hidden;
		border-radius: 0 !important;
	}
	
	.main-banner.shaped-card {
		border-radius: 0 !important;
	}
	
	.main-banner.shaped-card::before,
	.main-banner.shaped-card::after {
		display: none !important;
	}
	
	.main-banner img {
		width: 100vw !important;
		height: 520px !important;
		object-fit: cover;
		margin-left: calc(-50vw + 50%) !important;
		margin-right: calc(-50vw + 50%) !important;
		position: relative;
		top: 0;
	}
	
	.navbar img{
		margin-top: 0px;
	}
	
	#front-page .navbar img{
		margin-top: 0px;
	}
	
	.main-banner.shaped-card::after, .main-banner.shaped-card::before{
		display: none;
	}
	
	.main-banner.shaped-card{
		border-radius: 0 !important;
	}
	
	.swiper-info .holder{
		display: none;
	}
	
	.swiper-info .double-cut-box{
        max-width: 420px;
        max-height: 80px;
        margin: 0 40px;
        justify-content: center;
	}

    .swiper-info .double-cut-box .content-box{
        padding: 0;
	}

    .swiper-info .double-cut-box .description{
        display: none;
	}
	
	.swiper-info h5{
		font-size: 1rem;
	}
	
	.swiper-info .content-box .counter {
		font-size: 1.25rem;
	}
	
	.product-swiper .swiper-slide img{
		max-height: 200px !important;
	}
	
}

/* End Mobile */

/* About US */

.map{
	height: 380px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-end;
}

.map iframe{
	left: 0;
    right: 0;
    position: absolute;
    width: 100%;
    height: 380px;
	z-index: -1;
}

.map .cover{
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 40.66%, rgba(0, 0, 0, 0) 78.05%);
    width: 100%;
    height: 380px;
    left: 0;
    right: 0;
    position: absolute;
}

.map p{
    color: #fff;
    font-weight: bold;
    text-align: left;
    position: relative;
}

.map a{
    position: relative;
    background: #fff;
    padding: 5px 30px;
    border-radius: 10px;
    color: var(--main-500);
    font-weight: bold;
}

.contact{
	margin: 5rem 0;
	padding: 0 !important;
	display: flex;
    flex-direction: column;
    align-items: center;
	justify-content: flex-end;
	background: url(https://www.badab.co/wp-content/uploads/2024/01/contact-section-badab.jpg);
    width: 100%;
    height: 380px;
}

.contact .double-cut-box{
    width: 220px;
    height: 60px;
	display: flex;
}

/* End About US */

/* AR */

model-viewer{
	width: 100%;
	height: 300px;
	margin: auto;
	background: #fff;
}

/* End AR */


/* Categories */
.categories {
    margin: 6.25rem 0 6.25rem 0;
}

.categories .category {
    margin: 0 0 2rem 0;
    padding: .5rem;
}

.categories .category .title {
    color: var(--gray-50);
    font-size: 18px;
    font-weight: 500;
    margin: 1.25rem 0 0.5rem 0;
}

.categories .category .subject {
    color: var(--gray-600);
    font-size: 16px;
}

.categories .category a{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.categories .category img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: 0.3s ease;
}

.category .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
}

.category .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    pointer-events: none;
}

.category .overlay i {
    color: white;
    font-size: 130px;
    width: 130px;
    opacity: 0;
    transition: 0.3s ease;
}

.category:hover .overlay {
    background: rgba(0, 0, 0, 0.4);
}

.category:hover .overlay i {
    opacity: 1;
}

.category:hover .title{
    color: var(--main-500);
}

/* End Categories */

/* Begin Widget */

.two-column-widget {
    margin: 6.25rem 0px;
}



/* Categories Widget - Mobile Gap */
.categories-widget .row {
    gap: 0;
}

@media (max-width: 768px) {
    .categories-widget .row {
        gap: 20px !important;
    }
    
    .category .overlay i {
        font-size: 80px;
        width: 80px;
    }
    
    .categories .category .title{
        font-size: 16px;
    }
    
    .categories .category .subject{
        font-size: 14px;
    }
}

.two-column-widget .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
}

.two-column-widget .meta {
    margin: -4.5rem 2.5rem 0 2.5rem;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
}

.two-column-widget .meta .title {
    color: var(--gray-50);
    font-size: 22px;
    font-weight: 500;
    transition: transform 0.3s ease;
    margin-bottom: 0;
}

.two-column-widget .subject {
    color: var(--gray-100);
    font-size: 18px;
    margin-top: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}



.two-column-widget .widget .icon {
    font-size: 2.5rem;
    transform: rotate(180deg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.two-column-widget .widget img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: 0.3s ease;
}

.two-column-widget .widget:hover .subject,
.two-column-widget .widget:hover .icon {
    opacity: 1;
    visibility: visible;
}

.two-column-widget .widget:hover .meta .title {
    transform: translateY(-12px);
}

/* End Widget */



/* Begin Dashboard */

.dashboard{
    display: flex;
}

.dashboard-sidebar{
    background: var(--gray-700);
    border: 1px solid var(--gray-600);
    width: 280px;
    height: calc(100vh - 160px);
    border-radius: 20px;
    margin: 80px 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 1s ease;
}

.dashboard-content{
    width: 100%;
    margin: 80px 0;
    padding: 0 20px;
    transition: all 1s ease;
}

.dashboard-sidebar .divider {
    border-bottom: 2px solid var(--gray-500);
    margin: 20px 0;
}

.dashboard-menu{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-sidebar i{
    font-size: 30px;
}

.dashboard-sidebar a{
    color: var(--gray-50);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 400;
}

.dashboard-sidebar.collapsed {
  width: 80px;
}

.dashboard-sidebar.collapsed a{
    justify-content: center;
}

.menu-label {
    white-space: nowrap;
}

.dashboard-sidebar.collapsed .menu-label {
    display: none;
}

.dashboard-logo .logo-collapsed {
  display: none;
}

.dashboard-sidebar.collapsed .logo-expanded {
  display: none;
}

.dashboard-sidebar.collapsed .logo-collapsed {
  display: inline-block;
}

.dashboard-sidebar a:hover i .path1::before, .dashboard-sidebar a:hover i .path2::before {
    color: var(--main-500);
}

/* Hide dashboard sidebar on mobile */
@media (max-width: 768px) {
    .dashboard-sidebar {
        display: none !important;
    }
    
    .dashboard-content, .catalog-page{
        width: 100%;
        margin: 0 !important;
        padding: 4px !important;
    }
}

.dashboard-catalog{
    width: 100%;
    height: 640px;
    background-size: cover !important;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    flex-direction: column-reverse;
}

.catalog-meta{
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 9;
    padding: 40px;

}

.catalog-meta h2{
    font-size: 22px;
    font-weight: 500;
}

.catalog-meta span{
    font-size: 18px;
    font-weight: 400;
    color: var(--gray-300);
}

.catalog-download{
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.background-blur{
    backdrop-filter: blur(10px);
    margin-top: -149px;
    height: 150px;
    width: 100%;
    border-radius: 20px;
}

/* End Dashboard */


/* Begin Order Modal */

.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gray-900);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.order-modal-content {
    max-width: 1180px;
    width: 90%;
    height: calc(100vh - 120px);
    max-height: 760px;
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.order-modal-body {
    background: var(--gray-700);
    border: 2px solid var(--gray-600);
    width: 100%;
    height: 100%;
    max-height: 580px;
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    gap: 40px;
    display: flex;
    flex-direction: column;
}

.order-modal-body .product-img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    max-block-size: fit-content;
}

.order-modal .order-modal-header{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.order-modal .order-modal-header .logo{
    width: 150px;
}

.order-modal .order-modal-body .img-box{
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.order-modal .product-attr-row{
    padding: 0;
    margin: -109px 0 0 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    border-radius: 10px;
}

.order-modal .order-modal-buttons{
    height: 40px;
    display: flex;
    justify-content: space-between;
}

.order-modal .order-modal-buttons .btn{
    min-width: 160px !important;
}


.order-modal .order-modal-buttons .next-prev{
    display: flex;
    gap: 20px;
}

.order-modal .order-modal-price{
    background: var(--gray-700);
    border: 2px solid var(--gray-600);
    width: 100%;
    height: 100%;
    max-height: 100px;
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-modal  .price-items{
    display: flex;
    gap: 40px;
}

.order-modal .price-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.order-modal-price .price-item .price{
    direction: ltr;
}

.order-modal .price-item .subject{
    color: var(--gray-400);
    font-size: 18px;
}

.order-modal .order-modal-steps{
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-modal .steps,
.order-modal .completed-steps{
    display: flex;
    gap: 10px;
}

.order-modal .completed-steps .step.completed{
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.order-modal .completed-steps .step.completed:hover{
    background: var(--main-500);
}

/* استایل tooltip های Bootstrap */
.tooltip {
    font-size: 14px;
    margin-top: 4px !important;
}

.tooltip-inner {
    background-color: var(--gray-300);
    border: 2px solid var(--gray-100);
    color: var(--gray-700);
    border-radius: 10px;
    padding: 6px 15px;
    max-width: 200px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

/* استایل tooltip arrow برای Bootstrap */
.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,
.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--gray-300);
}

.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,
.bs-tooltip-bottom .tooltip-arrow {
    width: 18px;
    height: 10px;
    background: var(--gray-300);
    border: 2px solid var(--gray-100);
    border-bottom: none;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    border-radius: 8px 8px 0px 0px;
    top: -8px;
}

.order-modal .steps-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 10px;
}


.order-modal .order-modal-steps .steps{
    display: flex;
    gap: 10px;
    direction: ltr;
}

.order-modal .order-modal-steps .steps .step{
    width: 20px;
    height: 60px;
    background: var(--gray-700);
    border: 2px solid var(--gray-600);
    border-radius: 20px;
}

.order-modal .order-modal-steps .steps .step.active{
    background: var(--main-500);
    border: 1px solid var(--main-600);
}




.order-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 1s ease;
}

.order-step.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 2.5rem;
    opacity: 1;
    transform: translateX(0);
}

.order-modal-steps .step {
    width: 20px;
    height: 60px;
    background: var(--gray-700);
    border: 2px solid var(--gray-600);
    border-radius: 20px;
    transition: background 1s ease;
}

.order-modal-steps .step.active {
    background: var(--main-500);
    border: 1px solid var(--main-600);
}

.type-options {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.type-option{
    display: flex;
    justify-content: space-between;
}

.type-options .type-desc{
    color: var(--gray-400);
    font-size: 14px;
    margin-right: -28px;
}

.type-metas{
    display: flex;
    gap: 1.25rem;
}

.type-meta{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.radio-button-label {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio-button-label .title{
    color: var(--gray-400);
}

input[type=radio] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--gray-900);
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.radio-button-label:hover input ~ .checkmark {
    background-color: var(--main-400);
}

.radio-button-label input:checked ~ .checkmark {
    background-color: var(--main-500);
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-button-label input:checked ~ .checkmark:after {
    display: block;
}

.radio-button-label .checkmark:after {
    width: 10px;
    height: 10px;
    border-radius: 1px;
    background: var(--gray-50);
}

@media (max-width: 768px) {
    .checkmark{
        width: 20px;
        height: 20px;
    }

    .radio-button-label .checkmark:after{
        width: 8px;
        height: 8px;
    }

    .type-metas{
        gap: 10px;
    }

    .panel-type{
        justify-content: flex-start;
        margin: 30px 20px 20px 20px !important;
    }

    .panel-type .radio-button-label{
        gap: 10px !important;
        font-size: 16px !important;
    }

    .form-switch .title{
        font-size: 14px !important;
    }

    .valves-meta .checkmark{
        min-width: 20px !important;
    }

    .radio-button-label{
        font-size: 14px !important;
    }

    .valves-grid{
        gap: 10px;
    }
}



.panel-type{
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

.panel-type .radio-button-label {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    font-size: 18px;
    align-items: center;
}

.panel-type .radio-button-label .checkmark {
    position: relative;
}

.panels{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.panels img{
    width: 260px;
    height: 100px;
    border-radius: 20px;
    margin-bottom: 10px;
    object-fit: cover;
}

.form-switch{
    padding-right: 0;
}

.form-switch .form-check-input{
    width: 40px;
    height: 20px;
    border-radius: 6px;
    border: 2px var(--gray-900);
    background-color: var(--gray-900);
    margin: 0;
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 20 20'%3e%3crect width='18' height='18' rx='6' ry='6' fill='%23717171'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:focus{
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 20 20'%3e%3crect width='18' height='18' rx='6' ry='6' fill='%23717171'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked{
    background-color: var(--main-500);
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 20 20'%3e%3crect width='18' height='18' rx='6' ry='6' fill='%23fafafa'/%3e%3c/svg%3e");

}

.form-switch .title{
    color: var(--gray-400);
}

.panels label{
    display: flex;
    flex-direction: column;
}

.panels label div{
    display: flex;
    align-items: center;
    gap: 10px;
}

.panels label .price{
    margin-right: 50px;
}

.order-modal-body h4{
    margin-bottom: 32px;
    font-size: 18px;
}

.valves-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.valves-switch{
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.valves-grid img, .accessories-grid img{
    width: 100%;
    height: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 20px;
}

.valves-meta{
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.valves-meta .checkmark{
    position: relative;
    min-width: 30px;
}

.valves-meta .title{
    margin-right: 10px;
}

.panel-colors-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.panel-color-item{
    margin-bottom: 20px;
}

.panel-color-item img{
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 20px;
}

.panel-color-meta{
    margin-top: 10px;
}

.panel-color-meta .checkmark{
    position: relative;
}

.panel-color-meta .title{
    margin-right: 10px;
}

.m-grid {
    display: flex;
    gap: 30px;
    height: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.m-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}



.m-grid svg {
    max-width: 200px;
    max-height: 120px;
}

.m-item.disabled{
    pointer-events: none;
}

.m-item.disabled svg path{
    stroke: var(--gray-500);
}

.m-item:not(.disabled):hover svg path{
    stroke: var(--main-400);
}
.m-item.selected svg path{
    stroke: var(--main-500);
}



.invoice-header{
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    color: var(--gray-300);
    font-size: 18px;
}

.invoice-total{
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    color: var(--gray-300);
    font-size: 20px;
}

.invoice-items{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 16px;
    font-size: 18   px;
}

.invoice-item{
    display: flex;
    justify-content: space-between;
}

.invoice-col{
    direction: ltr;
}
/* End Order Modal */


/* Begin Cart Page */

.cart-page{
    margin-top: 120px;
}

.cart-page .cart-content{
    display: flex;
    flex-direction: column;
    padding-bottom: 250px;
}

.cart-page .cart-content h1{
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-page .cart-content p{
    font-size: 18px;
    font-weight: 400;
    color: var(--gray-400);
}

.empty-cart-img{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 100px 0;
}

.empty-cart-img img{
    width: 250px;
    height: auto;
}

.cart-page .total-price{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 100px;
    height: 90px;
    align-content: center;
}

.cart-page .total-price .subject{
    font-size: 20px;
    font-weight: 400;
    color: var(--gray-400);
}

.cart-page .total-price .value{
    font-size: 22px;
    font-weight: 500;
    color: var(--gray-50);
}

.cart-item{
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 70px;
}

@media (max-width: 768px) {
    .cart-page{
        margin-top: 40px;
    }

    .cart-page .cart-content h1 {
        font-size: 16px;
    }

    .cart-page .cart-content p{
        font-size: 14px;
    }

}

/* End Cart Page */

/* Cart Page Styles */



/* New Cart Item Card Design */
.cart-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--gray-700);
    border: 1px solid var(--gray-600);
    border-radius: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    height: 70px;
}

.cart-item-card:hover {
    border-color: var(--main-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cart-item-image {
    flex-shrink: 0;
}

.cart-item-image img {
    width: 80px;
    height: 68px;
    object-fit: cover;
    border-radius: 0 20px 20px 0;
}

.cart-item-details {
    flex: 1;
    color: var(--gray-500);
}


.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.feature-item {
    color: var(--gray-50);
    font-size: 16px;
    font-weight: 400;
}

.feature-separator {
    color: var(--gray-400);
    font-weight: bold;
    margin: 0 4px;
}

.cart-item-price {
    font-weight: 400;
    color: var(--gray-50);
    font-size: 20px;
    text-align: center;
    position: relative;
    margin-left: 20px;
}

.price-text {
    display: block;
}

.hover-buttons {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-item-card:hover .hover-buttons {
    opacity: 1;
    visibility: visible;
}


.total-price .subject {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.total-price .value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
}

.remove-cart-item{
    width: 40px;
    min-width: 40px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
}

.remove-cart-item i{
    font-size: 28px;
    width: 28px;
}

.remove-cart-item span::before{
    color: var(--gray-50) !important; 
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 8px;
    background: var(--gray-700);
    border-radius: 10px;
}

.cart-item-card:hover .cart-item-actions {
    opacity: 1;
    visibility: visible;
    left: 0;
    padding: 0 50px 0 10px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .cart-item-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cart-item-details{
        margin-bottom: 50px;
    }
    
    .cart-item-image,
    .cart-item-details,
    .cart-item-price {
        min-width: auto;
        text-align: center;
    }

    .cart-item-price{
        font-size: 16px;
    }
    
    .total-price {
        flex-direction: column;
        text-align: center;
    }
    
    .total-price .d-flex {
        justify-content: center;
    }
    
    /* Mobile cart item actions */
    .cart-item-actions {
        position: absolute;
        opacity: 1;
        visibility: visible;
        transform: none;
        left: 10px;
        bottom: 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin: 10px 0;
        justify-content: left;
    }

    
    .feature-item {
        color: var(--gray-500);
        font-size: 12px;
    }

}


/* Cart Item Card Enhancements */

.cart-items-list{
    min-height: 300px;
}

.cart-item-card {
    transition: all 0.3s ease;
    position: relative;
}

.cart-item-card:hover {
    transform: translateY(-2px);
}


.cart-item-card .feature-separator {
    color: var(--gray-500);
    font-weight: bold;
    margin: 0 4px;
}

/* Empty Cart State */
.empty-cart-img {
    text-align: center;
    margin: 40px 0;
}

.empty-cart-img img {
    max-width: 200px;
    height: auto;
    opacity: 0.7;
}


/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert {
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}




.checkout-page{
    margin-top: 120px;
}


.checkout-page .checkout-content{
    display: flex;
    flex-direction: column;
}

.checkout-page .checkout-content h1{
    font-size: 22px;
    font-weight: 500;
}

.checkout-page .checkout-content p{
    font-size: 18px;
    font-weight: 400;
    color: var(--gray-400);
}

.checkout-page .checkout-address-section{
    min-height: 300px;
}


.checkout-page .checkout-total-section{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 100px;
    height: 90px;
}

.checkout-page .checkout-total-section .subject{
    font-size: 18px;
    font-weight: 400;
    color: var(--gray-400);
}

.checkout-page .checkout-total-section .value{
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-50);
}

.checkout-page .checkout-coupon-section{
    display: flex;
    gap: 20px;
    align-items: center;
}

.checkout-page .checkout-coupon-section .coupon-form{
    display: flex;
    align-items: center;
}

.checkout-page .checkout-coupon-section .btn{
    min-width: 100px;
    width: 100px;
}

.checkout-page .coupon-input-group{
    display: flex;
}

.checkout-page .apply-coupon-btn{
    background: none;
    border: none;
    color: var(--main-500);
}


.checkout-page .coupon-code-input{
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    border-radius: 15px;
    color: var(--gray-50);
    margin-right: -40px;
    margin-left: -45px;
    width: 300px;
    padding-right: 50px;
}


.checkout-page .coupon-code-input::placeholder{
    color: var(--gray-500);
    opacity: 1;
}

.checkout-page .coupon-input-group i{
    font-size: 30px;
    width: 30px;
    margin-top: 4px;
    z-index: 9;
}

.checkout-total-price{
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .checkout-page{
        margin-top: 20px;
        padding-bottom: 200px;
    }

    .checkout-page .checkout-total-section{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        justify-content: center;
        flex-direction: row-reverse;
        width: 100%;
        margin: 0;
        border-radius: 50px 50px 0 0;
        padding: 30px 20px 200px 20px;
        align-items: flex-start;
        z-index: 8;
    }

    .checkout-page .checkout-total-section .subject{
        font-size: 14px;
    }

    .address-text{
        font-size: 14px;
    }
    
    .checkout-coupon-container{
        flex-direction: column;
        top: -90px;
        gap: 40px !important;
        width: 100%;
        position: absolute;
        align-items: center;
    }

    .checkout-page .product-counts{
        display: none !important;
    }

    .checkout-page .checkout-actions{
        position: absolute;
        right: 20px;
        bottom: -100px;
        top: auto;
    }

    .checkout-page .total-price{
        text-align: left;
        left: 20px;
        position: absolute;
    }

    .checkout-page .applied-coupons-list{
        margin-top: 50px;
    }

    .checkout-page .price-display{
        flex-direction: column;
    }

    .checkout-page .checkout-content h1{
        font-size: 18px;
        margin-bottom: .5rem;
    }

    .checkout-page .checkout-content p{
        font-size: 14px;
    }

    #addAddressModal .modal-content{
        width: 100% !important;
        height: auto !important;
    }

    #addAddressModal .modal-footer .btn{
        width: 100% !important;
    }

    #addAddressModal.show{
        background: var(--gray-800);
    }
}

#addAddressModal{
    justify-content: center;
    align-items: center;
}

#addAddressModal.show {
    display: flex !important;
}

#addAddressModal .modal-content{
    background: var(--gray-700);
    border: 1px solid var(--gray-600);
    width: 515px;
    height: 467px;
}

#addAddressModal .modal-header{
    border: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

#addAddressModal .modal-header p{
    color: var(--gray-300);
    font-size: 14px;
    font-weight: 500;
}

#addAddressModalLabel{
    font-size: 20px;
    color: var(--main-500);
    font-weight: 700;
}


/* Placeholder Styles */
#addAddressModal input::placeholder,
#addAddressModal textarea::placeholder {
    color: var(--gray-50);
    opacity: 1;
}


#addAddressModal .form-row{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

#addAddressModal .form-row label{
    display: none
}

#addAddressModal select{
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    border-radius: 15px;
    color: var(--gray-50);
    height: 50px;
    padding-right: 60px;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
}

#addAddressModal .woocommerce-input-wrapper{
    width: 100%;
}

#addAddressModal input{
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    border-radius: 15px;
    color: var(--gray-50);
    height: 50px;
    margin-right: -50px;
    padding-right: 60px;
}

#addAddressModal .form-group{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    margin-bottom: 10px;
}

#addAddressModal i{
    font-size: 30px;
    z-index: 9;
    margin-right: 20px;
}

#addAddressModal .city-row i{
    position: absolute;
    top: 25px;
}

#addAddressModal .modal-footer{
    border: none;
    justify-content: space-between;
}


#addAddressModal .modal-footer .btn{
    width: 48%;
}

/* Price Display Styles */
.price-display {
    display: flex;
    gap: 10px;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray-400);
    opacity: 0.7;
}

.new-price {
    color: var(--main-500);
    font-weight: 700;
}

.current-price {
    color: var(--gray-50);
    font-weight: 600;
    font-size: 16px;
}

/* Quantity Controls Styles */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--main-500);
    border-radius: 10px;
    padding: 8px 12px;
    height: 40px;
    justify-content: center;
    width: 90px;
}

.quantity-controls button {
    background: none;
    border: none;
    color: var(--gray-50);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-controls button:hover {
    color: var(--gray-50);
}

.quantity-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: none;
}

.quantity-controls button:disabled:hover {
    background: none;
    color: var(--gray-50);
}

.quantity-controls .quantity-number {
    color: var(--gray-50);
    font-weight: 600;
    font-size: 20px;
    min-width: 20px;
    text-align: center;
}

.quantity-controls i {
    font-size: 30px;
}

/* Applied Coupons Styles */
.applied-coupons-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.applied-coupons-list h6 {
    color: var(--gray-300);
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding-left: 4px;
}

.applied-coupon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-700);
    gap: 8px;
}

.applied-coupon-item:last-child {
    border-bottom: none;
}

.applied-coupon-item .coupon-code {
    color: var(--main-500);
    font-weight: 600;
    font-size: 14px;
}

.applied-coupon-item .coupon-discount {
    color: var(--green-500);
    font-weight: 600;
    font-size: 14px;
}

.applied-coupon-item .remove-coupon-btn {
    background: none;
    color: var(--main-500);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.applied-coupon-item .remove-coupon-btn:hover {
    background: var(--red-600);
}

.addresses-list{
    margin-bottom: 40px;
}

.addresses-list .list-group-item{
    width: 100%;
    height: 50px;
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    border-radius: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 10px;
    margin-top: 20px !important;
    color: var(--gray-50);
}

.addresses-list .list-group-item:hover{
    border: 1px solid var(--main-500);
    cursor: pointer;
}

.addresses-list .list-group-item  i{
    font-size: 30px;
    width: 30px;
}

.addresses-list .list-group-item.selected{
    border: 1px solid var(--main-500);
}

.addresses-list .address-content{
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 768px) {

    .addresses-list{
        margin-bottom: 20px;
    }
}


/* Search Results Page Styles */
.search-results-page {
    padding: 2rem 0;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-title {
    color: var(--gray-50);
    margin-bottom: 1.5rem;
}

.search-form-inline {
    max-width: 500px;
    margin: 0 auto;
}

.search-form-inline .search-input-wrapper {
    max-width: 100%;
}

.search-result-item {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--main-500);
}

.result-thumbnail {
    margin-bottom: 1rem;
}

.result-thumbnail img {
    border-radius: 0.5rem;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.result-title {
    margin-bottom: 0.75rem;
}

.result-title a {
    color: var(--gray-50);
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: var(--main-500);
}

.result-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.result-type {
    background: var(--main-500);
    color: var(--gray-50);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

.result-excerpt {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.no-results {
    padding: 3rem 0;
}

.no-results h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--gray-400);
    margin-bottom: 2rem;
}

.suggestions h5 {
    color: #fff;
    margin-bottom: 1rem;
}

.suggestions ul li {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.search-pagination {
    margin-top: 3rem;
}

.pagination .page-link {
    background: var(--gray-800);
    border-color: var(--gray-700);
    color: var(--gray-300);
}

.pagination .page-link:hover {
    background: var(--main-500);
    border-color: var(--main-500);
    color: #fff;
}

.pagination .page-item.active .page-link {
    background: var(--main-500);
    border-color: var(--main-500);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav-container{
    background: linear-gradient(180deg, rgba(24, 24, 27, 0) 15%, #18181B 80%);
    width: 100%;
    height: 70px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
}

.mobile-bottom-nav {
    justify-content: space-between;
    height: 76px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-700);
    border: 1px solid var(--gray-600);
    border-radius: 30px;
    z-index: 1000;
    margin: 20px 10px;
    padding: 8px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-bottom-nav .mobile-nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-bottom-nav .mobile-nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray-400);
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0.5rem;
}

.mobile-bottom-nav .mobile-nav-item.active .nav-label {
    display: block;
}


.mobile-bottom-nav .mobile-nav-item.active a {
    background: var(--gray-900);
    color: var(--gray-50);
    border-radius: 26px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    font-size: 16px;
    font-weight: 200;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.mobile-bottom-nav .mobile-nav-item.active i {
    font-size: 30px;
    width: 30px;
}

.mobile-bottom-nav .mobile-nav-item a:hover {
    color: var(--main-400);
    background: rgba(255, 126, 0, 0.05);
    transform: translateY(-1px);
}

.mobile-bottom-nav .mobile-nav-item i {
    font-size: 36px;
    width: 36px;
}

.mobile-bottom-nav .mobile-nav-item .nav-label {
    display: none;
}

.cart-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.25rem;
    background: var(--main-500);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 50%;
    min-width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: pulse 2s infinite;
}

.basket-icon {
    position: relative;
}

.basket-icon .cart-badge {
    top: 0;
    right: -0.3rem;
    font-size: 0.75rem;
    min-width: 1.5rem;
    height: 1.5rem;
}

.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: -5px;
}

.user-icon i {
    font-size: 40px;
}

.payment-result-page {
    min-height: 100vh;
    background: var(--gray-50);
    padding: 60px 0;
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 9999;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
}

.payment-result-container-content{
    display: flex;
    justify-content: space-between;
    max-width: 700px;
}

.payment-result-image {
    margin-bottom: 30px;
    text-align: center;
}

.result-image {
    max-width: 700px;
    height: auto;
    margin: 0 auto;
}

.payment-result-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0;
}

.payment-result-description {
    margin-bottom: 30px;
}

.payment-result-description p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 15px;
    max-width: 70%;
}

.order-info p{
    color: var(--main-500);
    font-size: 20px;
}

.order-info p:last-child {
    margin-bottom: 0;
}

.payment-result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .payment-result-page {
        padding: 40px 0;
    }
    
    .payment-result-container {
        padding: 30px 20px;
        margin: 0 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .result-image{
        max-width: 400px;
    }
    
    .payment-result-title {
        font-size: 18px;
    }
    
    .payment-result-actions {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .payment-result-description p{
        max-width: 100%;
        text-align: right;
        font-size: 14px;
    }
    
}

@media (max-width: 768px) {
    #footer{
        margin-bottom: -100px;
    }

    .navbar-menu .container-fluid {
        justify-content: start;
        align-items: center !important;
        padding: 0 !important;
    }

    .navbar-menu i{
        font-size: 40px;
        width: 40px;
    }
    
    .navbar-menu .navbar-toggler {
        order: 1;
    }
    
    .navbar-menu .search-icon {
        order: 3;
    }
    
    .navbar-menu .navbar-collapse {
        order: 2;
        flex-basis: 100%;
        margin-top: 1rem;
    }
    
    .navbar-menu .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gray-900);
        z-index: 9;
        margin: 0;
        padding: 170px 30px 20px 20px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        transform-origin: top center;
    }
    
    .navbar-menu .navbar-collapse:not(.show) {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        pointer-events: none;
    }
    
    .navbar-menu .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }
    
    .navbar-menu .submenu-icon {
        color: var(--gray-50);
        font-size: 40px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .navbar-menu .navbar-toggler {
        position: relative;
        z-index: 10000;
    }
    
    .navbar-menu .navbar-toggler i {
        color: var(--gray-50);
        transition: all 0.3s ease;
        position: relative;
        z-index: 10001;
    }
    
    .navbar-menu .navbar-toggler i.icon-Close {
        color: var(--gray-50);
    }
    
    .navbar-menu .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-menu .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        transform: translateY(-10px);
    }
    
    .navbar-menu .dropdown-menu.show {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
    }
    
    .d-md-none {
        display: none;
    }
    
    .d-md-none {
        display: inline-block;
    }

}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive - Show mobile nav only on mobile */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Add bottom padding to body to prevent content from being hidden behind mobile nav */
    body {
        padding-bottom: 5rem;
    }
    
    /* Hide desktop elements on mobile */
    .logo-desktop {
        display: none;
    }
    
    .logo-mobile {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none;
    }
    
    .logo-desktop {
        display: block;
    }
    
    .logo-mobile {
        display: none;
    }
}

/* begin::Slide Progress Bar */

.slide-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    z-index: 10;
}

.slide-progress-bar .progress-fill {
    height: 100%;
    background-color: var(--main-500);
    width: 0%;
    transform-origin: left;
}

/* end::Slide Progress Bar */

/* begin::Swiper Navigation */

.swiper-navigation {
    transform: translateY(-100%);
    margin-right: 20px;
    display: flex;
    align-items: center;
    pointer-events: none;
    position: relative;
    z-index: 10;
}

.swiper-nav-btn {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.swiper-nav-btn i {
    font-size: 40px;
}

/* end::Swiper Navigation */

/* begin::Main Swiper Responsive */

.mainSwiper {
    height: 100vh;
}

.mainSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .mainSwiper {
        height: 100%;
    }
    
    .mainSwiper .swiper-slide img {
        height: 100%;
        object-fit: cover;
    }
}

/* end::Main Swiper Responsive */

/* begin::Categories Responsive */

@media (max-width: 768px) {
    .categories {
        margin: 4rem auto !important;
    }
    
    .categories .row {
        gap: 20px !important;
    }
    
    .categories .category img {
        height: 160px;
        max-height: 160px;
    }
}

/* end::Categories Responsive */

/* begin::Mobile Header Layout */

@media (max-width: 768px) {
    #header {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 3.75rem 1rem 1rem 1rem;
    }
    
    .logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
    }
    
    .mobile-left {
        order: 1;
        z-index: 20;
    }
    

    
    .navbar-menu {
        order: 2;
        flex: 1;
    }
    
    .logo.logo-desktop {
        display: none;
    }
    
    .logo.logo-mobile {
        display: block;
        max-height: 40px;
        width: auto;
    }
    
    /* Fix product images to be full width like main slider */
    .main-banner.shaped-card {
        margin: -80px 0 0 0;
        border-radius: 0 !important;
        overflow: hidden;
        height: 350px !important;
        padding: 0;
        clip-path: none;
    }
    
    .main-banner.shaped-card::before,
    .main-banner.shaped-card::after {
        display: none !important;
    }
    
    .main-banner.shaped-card img {
        width: 100vw;
        height: 520px !important;
        object-fit: cover;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        position: relative;
        top: 0;
    }

    .product-title-section{
        margin-top: 40px;
    }

    .product-title-section .page-title{
        margin-bottom: .5rem;
    }
    
    .product-content{
        margin-bottom: 60px;
    }

    .product-swiper {
        margin: 0 -12px;
        border-radius: 0 !important;
        overflow: hidden;
    }
    
    .product-swiper .swiper-slide img {
        width: 100vw;
        height: auto;
        object-fit: cover;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    /* Ensure proper spacing for all content sections */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-container{
        padding: 0;
    }
}

/* end::Mobile Header Layout */

/* begin::Products Responsive */

@media (max-width: 768px) {
    .products .swiper-slide img {
        height: 300px;
        width: 100%;
        object-fit: cover;
    }
    
    .products .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .products .swiper {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }
    
    
}

/* end::Products Responsive */

/* begin::Blog Responsive */

@media (max-width: 768px) {
    .posts.blogs .post.blog img {
        height: 220px !important;
    }
    
    /* Related Posts Swiper Mobile */
    .related-posts-swiper {
        overflow: hidden;
        padding: 20px 0;
        display: flex;
        margin-left: -20px;
    }

    .related-posts-swiper .swiper-wrapper {
        gap: 20px;
    }

    .related-posts-swiper .icon{
        display: none;
    }
    
    .related-posts-swiper .swiper-slide {
        width: 300px !important;
        height: auto;
    }
    
    .related-posts-swiper .widget {
        background: var(--gray-800);
        border-radius: 1rem;
        overflow: hidden;
    }
    
    .related-posts-swiper .image-wrapper img {
        height: 220px !important;
        width: 100%;
        object-fit: cover;
    }
    
    .related-posts-swiper .meta {
        padding: 1rem;
    }
    
    .related-posts-swiper .title {
        font-size: 18px;
        color: var(--gray-50);
        margin-bottom: 0.5rem;
    }
    
    .related-posts-swiper .subject {
        font-size: 14px;
        color: var(--gray-400);
    }
    
    /* حذف transform های اضافی که باعث مشکل می‌شوند */
    .related-posts-swiper .swiper-slide-active,
    .related-posts-swiper .swiper-slide-prev,
    .related-posts-swiper .swiper-slide-next {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* end::Blog Responsive */

/* begin::Agencies Responsive */

@media (max-width: 768px) {
    .agencies-section {
        background: none !important;
        padding: 0;
    }
    
    .iran-map-container{
        display: none;
    }

    .agencies-section .province-box h5{
        font-size: 1rem;
    }

    .request-agency-section{
        flex-direction: column;
    }

    .request-agency-section img{
        height: 300px;
        margin-bottom: 20px;
    }
}

/* end::Agencies Responsive */

/* begin::Agency Modal Tabs Swiper */

.agency-tabs-swiper-container {
    position: relative;
    margin-bottom: 2rem;
    background: var(--gray-900);
    border: 1px solid var(--gray-900);
    border-radius: 10px;
    height: 40px;
    display: flex;
}

.agency-tabs-swiper .swiper-wrapper {
    align-items: center;
    gap: 0;
    display: flex;
    width: 100%;
}

.agency-tabs-swiper .swiper-slide {
    width: auto !important;
    height: auto;
    flex-shrink: 0;
}

/* تنظیم عرض درصدی برای swiper-slide ها */
.agency-tabs-swiper .swiper-slide a {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 15px;
}

/* Navigation Buttons */
.agency-tabs-prev,
.agency-tabs-next {
    top: 20px !important;
    margin-top: 0 !important;
    position: absolute;
    transform: translateY(-50%);
    width: 40px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-50);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 20px;
}

.agency-tabs-prev{
    right: 0;
}

.agency-tabs-next{
    left: 0;
}

.agency-tabs-prev:hover i,
.agency-tabs-next:hover i{
    color: var(--main-500);
}

.agency-tabs-prev:hover,
.agency-tabs-next:hover {
    color: var(--main-500);
}

.agency-tabs-prev i,
.agency-tabs-next i {
    font-size: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .agency-tabs-swiper-container{
        height: 72px;
    }

    .agency-tabs-swiper-container a{
        padding: 10px;
    }

    .agency-tabs-prev, .agency-tabs-next{
        top: 36px !important;
    }

    #provinceModal .tab-content{
        padding: 0;
    }

    .agency-card-meta{
        margin-top: 55px;
        flex-direction: column-reverse;
    }
    
    .agency-card-meta .address-section,
    .agency-card-meta .contact-section{
        width: 100%;
    }

    .address-section a{
        width: 100%;
        margin-top: 10px !important;
    }

    .contact-section{
        flex-direction: row !important;
        margin-bottom: 30px;
    }

    .email-section a, .contact-section a{   
        display: none;
    }
}

/* end::Agency Modal Tabs Swiper */

/* begin::Related Products Responsive */

@media (max-width: 768px) {
    .related-products {
        margin: 4rem auto;
        overflow: hidden;
    }
    
    .related-products .container {
        padding: 0;
    }
    
    .related-products .product-box {
        position: relative;
        padding: 0;
    }
    
    .related-products-swiper {
        overflow: visible;
    }
    
    .related-products .swiper-slide {
        width: 300px !important;
        height: auto;
    }
    
    /* تنظیمات Swiper برای نمایش محصول وسط کامل */
    .related-products .swiper-slide-active {
        transform: scale(1);
        opacity: 1;
    }
    
    .related-products .swiper-slide-prev,
    .related-products .swiper-slide-next {
        opacity: 0.8;
    }
    
    .related-products .swiper-slide-prev-prev,
    .related-products .swiper-slide-next-next {
        opacity: 0.6;
    }
}

/* end::Related Products Responsive */

/* begin::Footer Accordion */

@media (max-width: 768px) {
    .footer-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 16px 0 0 0;
    }

    #footer .list-menu{
        margin: 0 !important;
    }
    
    .footer-menu-header .title {
        margin: 0 !important;
    }
    
    .footer-arrow {
        display: block;
        transition: transform 0.3s ease;
        color: var(--main-500);
        font-size: 40px;
        rotate: 90deg;
    }
    
    .footer-menu-header.active .footer-arrow {
        transform: rotate(180deg);
    }
    
    .footer-menu-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .footer-menu-content.active {
        max-height: 500px;
    }

    .footer-menu-content ul li{
        padding-bottom: 20px;
    }
    
    /* Footer image responsive */
    .footer-social-image .instagram img {
        width: 100%;
        height: 60px;
        object-fit: cover;
        border-radius: 10px;
        object-position: right;
    }

    #footer .footer-social-image{
        margin: 40px 0 70px 0;
    }
}

/* end::Footer Accordion */

/* begin::Order Modal Responsive */

/* کپی هدر مراحل در دسکتاپ - مخفی */
.mobile-steps-header {
    display: none;
}

@media (max-width: 768px) {
    /* مودال تمام صفحه در موبایل */
    .order-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        padding: 0;
        margin: 0;
        border-radius: 0;
        max-width: none;
        width: 100%;
        height: 100%;
    }
    
    .order-modal-content {
        height: 100%;
        max-height: 100%;
        padding-top: 90px;
        display: flex;
        flex-direction: column;
        border-radius: 0;
        margin: 0;
        max-width: none;
        width: 100%;
        position: absolute;
        bottom: 0;
        gap: 0;
    }
    
    /* هدر مودال در موبایل */
    .order-modal-header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        background: white;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    /* مراحل در موبایل */
    .order-modal-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .steps-content {
        text-align: center;
    }
    
    .steps-content .title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 5px;
    }
    
    .steps-content .description {
        font-size: 14px;
        color: var(--gray-400);
    }
    
    /* بدنه مودال در موبایل */
    .order-modal-body {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0;
        padding-bottom: 135px;
        border-radius: 50px 50px 0 0;
        max-height: 100%;
        border-right: none;
        border-left: none;
        border-bottom: none;
        margin-top: 40px;
    }
    
    /* دکمه‌های ادامه و بازگشت در موبایل */
    .order-modal-buttons {
        position: sticky;
        bottom: 22px;
        left: 0;
        right: 0;
        z-index: 10000;
        padding: 10px;
        margin-bottom: 20px;
        justify-content: center !important;
    }

    .order-modal .product-attr-row{
        margin: 0;
        background: var(--gray-700);
        border-radius: 0;
        padding: 20px;
    }

    .order-modal-body .product-img{
        height: 280px;
        border-radius: 0;
    }
    
    .order-modal-buttons .next-prev {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    /* بخش قیمت در موبایل - مخفی */
    .order-modal-price , .order-modal-header{
        display: none !important;
    }
    
    /* کپی هدر مراحل در پایین صفحه موبایل */
    .mobile-steps-header {
        display: block;
        background: var(--gray-700);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9998;
    }
    
    .mobile-steps-header .mobile-steps-content {
        text-align: center;
    }

    .mobile-steps-header .mobile-steps-progress {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        gap: 10px;
        margin: 20px 20px 40px 20px;
        background: var(--gray-700);
        border: 1px solid var(--gray-600);
        border-radius: 30px;
        flex-wrap: nowrap;
        align-items: center;
        
    }
    
    .mobile-steps-header .mobile-step {
        position: relative;
        height: 60px;
        border-radius: 26px;
        background: var(--gray-900);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gray-50);
        transition: all 0.3s ease;
        font-size: 16px;
        font-weight: 200;
    }
    
    .mobile-steps-header .mobile-step.active {
        background: var(--main-500);
        border-radius: 25px;
        width: auto !important;
    }
    
    .mobile-steps-header .mobile-step.active .mobile-step-content {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        justify-content: center;
        padding: 0 10px
    }

    .mobile-steps-header .mobile-step.active .mobile-step-content i {
        font-size: 24px;
    }

    .mobile-steps-header .mobile-step.active .mobile-step-content i span:before {
        color: var(--gray-50);
    }
    
    .mobile-steps-header .mobile-step.active .mobile-steps-title {
        font-size: 16px;
        font-weight: 200;
        color: var(--gray-50);
        white-space: wrap;
    }
    
    .mobile-steps-header .mobile-step.completed {
        background: var(--main-500);
        color: var(--gray-50);
    }


    .type-options{
        padding: 30px 40px 0 20px;
    }

    .order-step.active{
        height: calc(100% + 500px);
        gap: 20px;
    }

    .m-grid{
        margin-top: 20px;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .panels{
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        min-height: auto;
        justify-content: center;
        margin: 0;
    }

    .panels img{
        width: auto;
        min-width: 170px;
        height: 120px;
    }

    .order-modal-body h4{
        margin: 40px 20px 0 0;
    }

    .order-modal-body .m-grid svg{
        max-width: 140px;
    }

    .valves-step, .accessories-step, .panel-colors-step, .final-invoice-step{
        margin: 20px;
    }

    .panel-colors-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .cart-item-card{
        height: max-content;
        padding: 10px;
        flex-direction: row;
        align-items: flex-start;
    }

    .cart-item-image img{
        width: 60px;
        height: 50px;
        border-radius: 10px;
        margin-bottom: 50px;
    }

    .cart-item-price{
        display: flex;
        position: absolute;
        bottom: 12px;
    }

    .cart-item-card:hover{
        transform: none !important;
    }

    .cart-page .total-price{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: row-reverse;
        width: 100%;
        margin: 0;
        border-radius: 50px 50px 0 0;
        padding: 30px 20px 200px 20px;
        align-items: flex-start;
        z-index: 8;
    }

    .product-quantity-count{
        display: none !important;
    }

    .cart-page .total-price .subject{
        text-align: left;
        font-size: 14px;
    }

    .cart-page .total-price .value{
        font-size: 18px;
    }

    .valves-meta{
        display: flex;
        flex-direction: column;
    }

    .valves-meta .price{
        text-align: center;
        font-size: 16px;
    }

    .radio-button-label{
        margin-bottom: 10px;
    }

}

/* end::Order Modal Responsive */

/* Custom navbar collapse animation to fix choppy transitions */
.navbar-collapse {
    flex-grow: initial;
}

/* Override Bootstrap's default collapse animation for smoother transitions */
.navbar-collapse.collapsing {
    height: auto !important;
    transition: none !important;
    overflow: visible !important;
}

/* Orders Page Styles */
.orders-page {
    padding: 20px 0;
}

.orders-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: space-around;
    background: var(--gray-700);
    border: 4px solid var(--gray-700);
    border-radius: 10px;
    max-width: 480px;
    max-height: 50px;
    align-items: center;
}

.tab-button {
    background: var(--gray-700);
    border: none;
    color: var(--gray-50);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: -webkit-fill-available;
}

.tab-button:hover {
    background: var(--main-400);
    color: var(--gray-50);
    border-radius: 10px;
    padding: 7px;
}

.tab-button.active {
    background: var(--main-500);
    color: var(--gray-50);
    border-radius: 10px;
    padding: 7px;
}

.orders-page .tab-content {
    display: none;
}

.orders-page .tab-content.active {
    display: block;
}

.orders-page .order-card {
    background: var(--gray-700);
    border: 1px solid var(--gray-600);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.orders-page .order-card:hover {
    border-color: var(--main-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.orders-page .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
}

.order-header-container{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.orders-page .order-info {
    display: flex;
    gap: 30px;
}

.orders-page .order-info .label {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray-400);
}

.order-number , .order-date {
    color: var(--gray-50);
    font-size: 16px;
    font-weight: 400;
}

.order-status {
    font-size: 16px;
    font-weight: 400;
}

.status-pending {
    color: var(--main-300);
}

.status-completed {
    color: var(--main-400);
}

.status-delivered {
    color: var(--main-400);
}

.order-total {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.total-label {
    color: var(--gray-400);
    font-size: 14px;
}

.total-amount {
    color: var(--gray-50);
    font-size: 16px;
    font-weight: 700;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-600);
}

.order-item-card:hover {
    border-color: var(--main-500);
    transform: translateY(-1px);
}

.order-item-image {
    flex-shrink: 0;
}

.order-item-image img {
    width: 80px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
}

.order-item-details {
    flex: 1;
    color: var(--gray-500);
}

.order-date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.date-label {
    color: var(--gray-400);
    font-size: 14px;
}

.date-value {
    color: var(--gray-200);
    font-size: 14px;
    font-weight: 500;
}

.order-item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.quantity-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-label {
    color: var(--gray-400);
    font-size: 14px;
}

.quantity-number {
    color: var(--gray-100);
    font-size: 16px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 30px;
    text-align: center;
}

.order-item-price {
    flex-shrink: 0;
}

.order-item-price .price-text {
    color: var(--gray-50);
    font-size: 16px;
    font-weight: 700;
}

.order-card .subject{
    color: var(--gray-300);
    margin-left: 10px;
}

.empty-orders {
    text-align: center;
    padding: 60px 20px;
}

.empty-orders p {
    color: var(--gray-400);
    font-size: 18px;
    margin-bottom: 30px;
}

.empty-orders-img {
    opacity: 0.6;
}

/* Responsive Design for Orders */
@media (max-width: 768px) {
    .orders-page{
        padding: 0;
    }

    .orders-tabs {
        margin: 40px auto 8px auto;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
        font-size: 16px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-header-container{
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .order-total {
        align-items: flex-start;
    }
    
    .order-item-card {
        gap: 10px;
        align-items: flex-start;
    }
    
    .order-item-image,
    .order-item-details,
    .order-item-price {
        min-width: auto;
        text-align: center;
    }
    
    .order-item-image img {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }
    
    .order-date {
        justify-content: center;
    }
    
    .order-item-actions {
        justify-content: flex-end;
    }
}

/* Dashboard mobile-only UI */
@media (max-width: 768px) {
    .dashboard-mobile-tabs {
        display: flex;
        gap: 8px;
        position: sticky;
        top: 0;
        z-index: 20;
        background: var(--gray-950);
        border: 4px solid var(--gray-950);
        border-radius: 10px;
    }

    .dashboard-mobile-tabs .tab-link {
        flex: 1;
        text-align: center;
        padding: 5px;
        border-radius: 10px;
        color: var(--gray-50);
        font-weight: 600;
    }

    .dashboard-mobile-tabs .tab-link.active {
        background: var(--main-500);
    }

}

@media (min-width: 769px) {
    .dashboard-mobile-tabs{ 
        display: none; 
    }
}

/* Address Delete Button Styles */
.address-item {
    position: relative;
    transition: all 0.3s ease;
}

.address-actions {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.address-item:hover .address-actions {
    opacity: 1;
    visibility: visible;
}

.btn-delete-address{
    background: var(--main-500) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-address i {
    font-size: 14px;
}

.btn-delete-address i span::before{
    color: var(--gray-50) !important;
}

.address-item.selected .address-actions {
    opacity: 1;
    visibility: visible;
}

/* Hide footer on specific pages but keep scripts */
body.page-checkout footer,
body.page-dashboard footer,
body.page-login footer,
body.page-payment-result footer {
    display: none !important;
}

/* Ensure scripts are still loaded on pages without footer */
body.page-checkout,
body.page-dashboard,
body.page-login,
body.page-payment-result {
    /* Force load essential scripts in head */
}

/* فقط در موبایل display: none اعمال شود */
@media (max-width: 768px) {
    .navbar-collapse.collapse:not(.show) {
        display: none !important;
    }
    
    .navbar-collapse.collapse.show {
        display: block !important;
    }
}

/* Custom smooth animation for mobile navbar */
@media (max-width: 768px) {
    .navbar-collapse {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        transform-origin: top center;
        will-change: transform, opacity;
    }
    
    .navbar-collapse:not(.show) {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        pointer-events: none;
    }
    
    .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }
    
    /* Ensure smooth icon transitions */
    .navbar-toggler i {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        will-change: transform;
    }
    
    /* Smooth transitions for all navbar elements */
    .navbar-nav .nav-item,
    .navbar-nav .nav-link,
    .dropdown-menu {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Desktop navbar styles - ensure proper display */
@media (min-width: 769px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        align-items: center;
    }
    
    .navbar-collapse.collapse {
        display: flex !important;
    }
    
    .navbar-collapse.collapsing {
        display: flex !important;
        height: auto !important;
    }
}

