section.view-product {
    padding: 3vw 5vw;
    width: 100%;
    min-height: 100vh;
    position: relative;
    justify-content: start;
    overflow: hidden;
    gap: 2.2vw;
}

section.view-product > h1 {
    margin-top: 3vw;
    margin-bottom: 1vw;
    width: 100%;
    position: relative;
}

section.view-product > h1::before {
    content: "";
    width: 1vw;
    height: 3.5vw;
    background: linear-gradient(to bottom, var(--dark-gold), var(--light-gold));
    position: absolute;
    right: -1.5vw;
}

section.view-product > h1::after {
    content: "";
    width: 15vw;
    height: 0.2vw;
    background: var(--dark-blue);
    position: absolute;
    top: 110%;
    right: 0.4vw;
}

.swiper {
    width: 80vw;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 40vw;
    height: 24vw;
    border-radius: 0.3vw;
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

.image-popUp-magnifier-container {
    width: 100vw;
    height: 100vh;
    transition: all 0.25s;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
}

.image-popUp-magnifier-container.open {
    opacity: 1;
    visibility: visible;
}

.img-zoomer-box-container {
    margin-top: 1vw;
    width: 80vw;
    height: 42vw;
    background-color: #e1e1e1;
    border-radius: 0.8vw;
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.4);
    transition: all 0.25s;
    /*position: relative;*/
}

#img-zoomer-box {
    transform: translateY(-2.5vw);
    width: 70%;
    height: 80%;
    position: relative;
    border-radius: 0.8vw;
}

#img-zoomer-box #img-1 {
    width: 100%;
    border-radius: 0.8vw;
}

#img-zoomer-box:hover, #img-zoomer-box:active {
    cursor: zoom-in;
    display: block;
}

#img-zoomer-box:hover #img-2, #img-zoomer-box:active #img-2 {
    opacity: 1;
}

#img-2 {
    width: 340px;
    height: 340px;
    /*background: no-repeat #FFF;*/
    /*background-image: url("http://localhost:63342/images/Mazda-5-CX-slide2.webp");*/
    box-shadow: 0 5px 10px -2px rgba(0,0,0,0.3);
    background-repeat: no-repeat;
    background-size: 400%;
    pointer-events: none;
    position: absolute;
    opacity: 0;
    border: 4px solid var(--dark-gold);
    z-index: 99;
    border-radius: 100%;
    display: block;
    transition: opacity .2s;
}

.img-zoomer-box-container button.close {
    padding: 0.5vw;
    width: 2vw;
    height: 2vw;
    background: transparent;
    border: none;
    position: relative;
    left: -45%;
    top: 0;
    cursor: pointer;
    outline: none;
    transition: all 0.4s;
    border-radius: 0.4vw;
}

.img-zoomer-box-container  button.close:hover {
    box-shadow: 0 0 0.8vw var(--dark-gold);
}

.img-zoomer-box-container  button.close::before {
    content: "";
    width: 90%;
    height: 0.25vw;
    border-radius: 0.2vw;
    background-color: var(--dark-blue);
    position: absolute;
    transition: all 0.4s;
    transition-delay: 0.3s;
}

.img-zoomer-box-container  button.close::after {
    content: "";
    width: 90%;
    height: 0.25vw;
    border-radius: 0.2vw;
    background-color: var(--dark-blue);
    position: absolute;
    transition: all 0.4s;
    transition-delay: 0.3s;
}

.image-popUp-magnifier-container.open button.close::before {
    transform: rotate(135deg);
}

.image-popUp-magnifier-container.open button.close::after {
    transform: rotate(-135deg);
}











/**/
/**/









.view-product-info {
    margin-top: 3vw;
    width: 100%;
    min-height: 20vw;
    border-radius: 1vw;
    box-shadow: 0 0 0.9vw rgba(0, 0, 0, 0.3);
    background-color: #e5e5e5;
    transition: all 0.3s;
    justify-content: start!important;
    align-items: stretch!important;
    color: var(--dark-blue);
    overflow: hidden;
    position: relative;
    gap: 2.5vw;
}

.view-product-info > div:first-child {
    width: 30%;
    min-height: 20vw;
    background-color: var(--dark-blue);
    color: var(--light-gold);
    font-size: 1.8vw;
}

.view-product-info > div:last-child  {
    padding: 2vw;
    width: 65%;
    min-height: 20vw;
}

.view-product-info > div:last-child p {
    font-size: 0.9vw;
    font-weight: normal;
    text-align: justify;
}

.view-product-details-container {
    padding: 4vw;
    width: 100%;
    position: relative;
    gap: 2vw;
}

.view-product-rent-opt {
    padding: 1.6vw;
    width: 100%;
    height: 5vw;
    /*min-height: 20vw;*/
    border-radius: 1vw;
    box-shadow: 0 0 0.9vw rgba(0, 0, 0, 0.3);
    background-color: #e5e5e5;
    transition: all 0.3s;
    justify-content: start!important;
    color: var(--dark-blue);
    overflow: hidden;
    position: relative;
    gap: 2.5vw;
}

.view-product-rent-opt.open {
    height: 40vw;
}

.view-product-rent-opt > h3 {
    cursor: pointer;
    width: 100%;
    color: var(--dark-blue);
    gap: 0.75vw;
    transition: all 0.25s;
}

.view-product-rent-opt:hover > h3 {
    color: var(--dark-gold);
}

.view-product-rent-opt.open h3 i {
    transform: rotate(180deg);
}

.view-product-rent-opt-cards {
    padding-top: 2vw;
    width: 100%;
    height: 80%;
    border-top: 0.12vw solid rgba(131, 131, 131, 0.6);
    gap: 2vw;
    position: relative;
}

.view-product-rent-opt-card {
    width: 40%;
    height: 100%;
    border-radius: 0.7vw;
    position: relative;
    justify-content: space-between!important;
    overflow: hidden;
    box-shadow: 0 0 0.8vw rgba(0, 0, 0, 0.35);
}

.view-product-rent-opt-card > h4:first-child {
    width: 100%;
    height: 20%;
    background-color: var(--dark-blue);
    color: var(--light-gold);
}

.view-product-rent-opt-card > h4:nth-child(2) {
    font-size: 1.15vw;
}

.view-product-rent-opt-card ul {
    padding: 0 1vw;
    width: 100%;
    height: 40%;
}

.view-product-rent-opt-card ul li {
    padding: 0.2vw 0.5vw;
    width: 100%;
    border-radius: 0.5vw;
    font-weight: normal;
    font-family: "Vazir FD", sans-serif;
    font-size: 0.95vw;
}

.view-product-rent-opt-card ul li:nth-child(1),
.view-product-rent-opt-card ul li:nth-child(2),
.view-product-rent-opt-card ul li:nth-child(3) {
    background-color: #484f5b;
    justify-content: space-between!important;
    margin-bottom: 0.5vw;
    color: var(--light-gold);
}

.view-product-rent-opt-card ul li:nth-child(4),
.view-product-rent-opt-card ul li:nth-child(5) {
    color: #a10327;
    text-align: center;
}

.view-product-rent-opt-card ul li s {
    color: #f35858;
}

.view-product-rent-opt-card button {
    margin-bottom: 2vw;
    width: 50%;
    background-color: var(--dark-gold);
    font-weight: bold;
    font-size: 1.1vw;
}

.view-product-rent-opt-card button:hover {
    background-color: #008657;
}

.reserve-pop-up-form-container {
    width: 100vw;
    height: 100vh;
    transition: all 0.3s;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
}

.reserve-pop-up-form-container.open {
    opacity: 1;
    visibility: visible;
}

.reserve-pop-up-form {
    width: 50vw;
    height: 30vw;
    background-color: #e1e1e1;
    border-radius: 0.8vw;
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
    position: relative;
}

.reserve-pop-up-form button.close {
    padding: 0.5vw;
    width: 2vw;
    height: 2vw;
    background: transparent;
    border: none;
    position: absolute;
    top: 2vw;
    left: 2vw;
    cursor: pointer;
    outline: none;
    transition: all 0.4s;
    border-radius: 0.4vw;
}

.reserve-pop-up-form button.close:hover {
    box-shadow: 0 0 0.8vw var(--dark-gold);
}

.reserve-pop-up-form button.close::before {
    content: "";
    width: 90%;
    height: 0.25vw;
    border-radius: 0.2vw;
    background-color: var(--dark-blue);
    position: absolute;
    transition: all 0.4s;
    transition-delay: 0.3s;
}

.reserve-pop-up-form button.close::after {
    content: "";
    width: 90%;
    height: 0.25vw;
    border-radius: 0.2vw;
    background-color: var(--dark-blue);
    position: absolute;
    transition: all 0.4s;
    transition-delay: 0.3s;
}

.reserve-pop-up-form-container.open button.close::before {
    transform: rotate(135deg);
}

.reserve-pop-up-form-container.open button.close::after {
    transform: rotate(-135deg);
}

.reserve-pop-up-form form {
    padding: 1vw;
    width: 60%;
    height: 80%;
    overflow: hidden;
    box-shadow: none;
    border-radius: 0;
    transition: all 0.3s;
    position: relative;
}

.reserve-pop-up-form form > div {
    width: 100%;
    height: 100%;
    gap: 1vw;
    transform: translateY(10vw);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    background: #e1e1e1;
    position: absolute;
}

.reserve-pop-up-form-container.open .reserve-pop-up-form form > div:nth-child(1) {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.reserve-pop-up-form form.continue > div:nth-child(2) {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.reserve-pop-up-form form.continue > div:nth-child(1) {
    opacity: 0;
}

.reserve-pop-up-form input {
    padding: 1.4vw;
    width: 100%;
    height: 2.5vw;
    border-radius: 0.5vw;
    background-color: rgba(183, 192, 197, 0.9);
    border: none;
    border-bottom: 0.2vw solid var(--dark-blue);
    position: relative;
    color: var(--dark-blue);
    font-size: 1.1vw;
    font-weight: normal!important;
    outline: none;
    caret-color: var(--dark-gold);
    box-shadow: 0 0 0.5vw rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    font-family: "Vazir Bold FD", sans-serif;
}

.reserve-pop-up-form input::placeholder  {
    font-size: 1vw;
    color: rgba(73, 73, 73, 0.5);
    font-weight: normal;
}


.reserve-pop-up-form input:focus {
    background-color: #cbc6bd;
    border-bottom: 0.2vw solid var(--dark-gold);
}

.reserve-pop-up-form button[type='submit'] {
    margin: 2vw;
    width: 40%;
    height: 3.5vw;
    border-radius: 2vw;
    background-color: transparent;
    border: 0.2vw solid var(--dark-blue);
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: all 0s;
}

.reserve-pop-up-form button[type='submit']::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--light-gold);
    border-radius: 2vw;
    position: absolute;
    left: -100%;
    top: 0;
    z-index: -1;
    transition: all 0.3s;
}

.reserve-pop-up-form button[type='submit']:hover {
    border: none;
}

.reserve-pop-up-form button[type='submit']:hover::before {
    left: 0;
    transform: scale(1.1);
}

.reserve-pop-up-form button[type='submit']:disabled {
    border: 0.2vw solid var(--dark-blue);
}

.reserve-pop-up-form button[type='submit']:disabled:hover::before {
    left: -100%;
    transform: scale(1);
}

button.continue-reserve {
    margin: 2vw;
    min-width: 10vw;
    background-color: var(--dark-blue);
    color: var(--light-gold);
    font-weight: bold;
    transition: all 0.3s;
}

button.continue-reserve:hover {
    background-color: #334664;
}

button.continue-reserve:disabled {
    opacity: 0.8;
}

button.continue-reserve:disabled:hover {
    opacity: 0.8;
    background-color: var(--dark-blue);
}

.numbers-input-group {
    margin-top: 2vw;
    width: 90%;
    gap: 2vw;
    direction: ltr;
}

.numbers-input-group input {
    text-align: center;
    width: 5vw;
}

.waiting-msg {
    width: 50%;
    text-align: center;
    font-weight: normal;
    font-size: 0.8vw;
    direction: ltr;
}

.waiting-msg div {
    direction: ltr;
}

@media screen and (max-width: 992px) {
    section.view-product {
        padding: 40px;
        min-height: 70vh;
        gap: 4vw;
    }

    section.view-product > h1 {
        margin-top: 75px;
        margin-right: 5vw;
        margin-bottom: 7vw;
        font-size: 4.5vw;
    }

    section.view-product > h1::before {
        width: 3vw;
        height: 10vw;
        right: -30px;
        border-radius: 0.17vw;
    }

    section.view-product > h1::after {
        width: 40vw;
        height: 0.2vw;
        top: 110%;
        right: 0.4vw;
    }

    .swiper {
        width: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .swiper-slide {
        width: 70vw;
        height: 45vw;
        border-radius: 6px;
    }

    .view-product-details-container {
        padding: 26px;
        gap: 20px;
    }

    .view-product-rent-opt {
        padding: 20px;
        height: 70px;
        border-radius: 13px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
        gap: 20px;
    }

    .view-product-rent-opt.open {
        height: 520px;
    }

    .view-product-rent-opt > h3 {
        gap: 9px;
        font-size: 20px;
    }

    .view-product-rent-opt-cards {
        padding-top: 20px;
        width: 100%;
        height: 80%;
        border-top: 2px solid rgba(131, 131, 131, 0.6);
        gap: 30px;
    }

    .view-product-rent-opt-card {
        width: 40%;
        height: 100%;
        border-radius: 8px;
        box-shadow: 0 0 9px rgba(0, 0, 0, 0.35);
    }

    .view-product-rent-opt-card > h4:first-child {
        width: 100%;
        height: 20%;
        font-size: 2vw;
    }

    .view-product-rent-opt-card > h4:nth-child(2) {
        font-size: 2vw;
    }

    .view-product-rent-opt-card ul {
        padding: 0 1vw;
        width: 100%;
        height: 40%;
    }

    .view-product-rent-opt-card ul li {
        padding: 3px 5px;
        border-radius: 0.5vw;
        font-size: 1.5vw;
    }

    .view-product-rent-opt-card ul li:not(li:last-child) {
        margin-bottom: 5px;
    }

    .view-product-rent-opt-card button {
        margin-bottom: 10px;
        width: 50%;
        background-color: var(--dark-gold);
        font-weight: bold;
        font-size: 1.8vw;
    }

    .view-product-rent-opt-card button:hover {
        background-color: #008657;
    }
}

@media screen and (max-width: 450px) {
    section.view-product {
        padding: 20px;
        min-height: 95vh;
        background-size: 200vw;
        gap: 6vw;
    }

    section.view-product > h1 {
        margin-right: 40px;
        margin-bottom: 7vw;
        font-size: 6vw;
    }

    section.view-product > h1::before {
        width: 3.6vw;
        height: 13vw;
        right: -5vw;
        border-radius: 0.3vw;
    }

    section.view-product > h1::after {
        width: 50vw;
        height: 1px;
        top: 110%;
        right: 10px;
    }

    .swiper {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .swiper-slide {
        width: 70vw;
        height: 45vw;
        border-radius: 6px;
    }

    .img-zoomer-box-container {
        margin-top: 1vw;
        padding-top: 4vw;
        width: 95vw;
        height: 60vw;
        border-radius: 10px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    }

    #img-zoomer-box {
        border-radius: 6px;
    }

    #img-zoomer-box #img-1 {
        width: 100%;
        border-radius: 6px;
    }

    #img-2 {
        width: 340px;
        height: 340px;
        box-shadow: 0 5px 10px -2px rgba(0,0,0,0.3);
        background-repeat: no-repeat;
        background-size: 300%;
        border: 4px solid var(--dark-gold);
        z-index: 99;
    }

    .img-zoomer-box-container button.close {
        padding: 0.5vw;
        width: 35px;
        height: 35px;
        left: -42%;
        top: -3%;
        border-radius: 6px;
    }

    .img-zoomer-box-container  button.close:hover {
        box-shadow: 0 0 10px var(--dark-gold);
    }

    .img-zoomer-box-container  button.close::before {
        height: 3px;
        border-radius: 3px;
    }

    .img-zoomer-box-container  button.close::after {
        height: 3px;
        border-radius: 3px;
    }

    .view-product-rent-opt {
        padding: 20px;
        height: 70px;
        border-radius: 13px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
        gap: 20px;
    }

    .view-product-rent-opt.open {
        height: 1050px;
    }

    .view-product-rent-opt > h3 {
        gap: 9px;
        font-size: 20px;
    }

    .view-product-rent-opt-cards {
        padding-top: 20px;
        width: 100%;
        height: 100%;
        border-top: 2px solid rgba(131, 131, 131, 0.6);
        gap: 30px;
        flex-direction: column !important;
    }

    .view-product-rent-opt-card {
        width: 100%;
        height: 50%;
        border-radius: 8px;
    }

    .view-product-rent-opt-card > h4:first-child {
        font-size: 4vw;
    }

    .view-product-rent-opt-card > h4:nth-child(2) {
        font-size: 3.8vw;
    }

    .view-product-rent-opt-card ul {
        padding: 0 7px;
        width: 100%;
        height: 40%;
    }

    .view-product-rent-opt-card ul li {
        padding: 4px 6px;
        border-radius: 5px;
        font-size: 3.5vw;
    }

    .view-product-rent-opt-card ul li:not(li:last-child) {
        margin-bottom: 5px;
    }

    .view-product-rent-opt-card button {
        padding: 7px;
        width: 80%;
        margin-bottom: 15px;
        font-size: 4vw;
        border-radius: 7px;
    }

    .reserve-pop-up-form {
        width: 90vw;
        height: 100vw;
        border-radius: 12px;
        box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
    }

    .reserve-pop-up-form button.close {
        width: 6vw;
        height: 6vw;
        top: 4vw;
        left: 4vw;
        border-radius: 6px;
        z-index: 20!important;
    }

    .reserve-pop-up-form button.close:hover {
        box-shadow: 0 0 10px var(--dark-gold);
    }

    .reserve-pop-up-form button.close::before {
        height: 3px;
        border-radius: 3px;
    }

    .reserve-pop-up-form button.close::after {
        height: 3px;
        border-radius: 3px;
    }

    .reserve-pop-up-form form {
        padding: 1vw;
        width: 80%;
        height: 90%;
        gap: 10px;
    }

    .reserve-pop-up-form form > div {
        padding: 1vw;
        gap: 12px;
        transform: translateY(20vw);
    }

    .reserve-pop-up-form input {
        padding: 3.4vw;
        width: 100%;
        height: 11vw;
        border-radius: 6px;
        border-bottom: 3px solid var(--dark-blue);
        font-size: 16px;
        box-shadow: 0 0 7px rgba(0, 0, 0, 0.15);
    }

    .reserve-pop-up-form input::placeholder  {
        font-size: 14px;
    }

    .reserve-pop-up-form input:focus {
        border-bottom: 3px solid var(--dark-gold);
    }

    .reserve-pop-up-form button[type='submit'] {
        margin: 4vw;
        width: 60%;
        height: 10.5vw;
        border-radius: 30px;
        border: 4px solid var(--dark-blue);
        font-size: 4vw;
    }

    .reserve-pop-up-form button[type='submit']::before {
        border-radius: 30px;
    }

    .reserve-pop-up-form button[type='submit']:disabled {
        border: 3px solid var(--dark-blue);
    }

    button.continue-reserve {
        margin: 7vw;
        padding: 2vw;
        min-width: 22vw;
        font-size: 3.5vw;
        border-radius: 6px;
    }

    .numbers-input-group {
        margin-top: 2vw;
        width: 90%;
        gap: 2vw;
        direction: ltr;
    }

    .numbers-input-group input {
        text-align: center;
        width: 15vw;
    }

    .waiting-msg {
        width: 80%;
        font-size: 3.2vw;
        direction: ltr;
    }

    .view-product-info {
        flex-direction: column!important;
        margin-top: 30px;
        width: 100%;
        min-height: 700px;
        border-radius: 12px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
        justify-content: start!important;
        align-items: start!important;
        gap: 20px;
    }

    .view-product-info > div:first-child {
        width: 100%;
        min-height: 200px;
        font-size: 5vw;
    }

    .view-product-info > div:last-child  {
        padding: 16px;
        width: 100%;
        min-height: 400px;
    }

    .view-product-info > div:last-child p {
        font-size: 2.8vw;
    }
}