@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600&display=swap");

:root {
    --green: #6c5ce7;
    --dark: #061c27;
    --white: #f3f3f4;

    --h2-font-size: 1.25rem;
    --normal-font-size: .938rem;
}

@media screen and (min-width: 1023px) {
    :root {
        --h2-font-size: 1.5rem;
        --normal-font-size: 1rem;
    }
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body,
input,
button {
    font-family: 'Vazirmatn', sans-serif;
    font-size: var(--normal-font-size);
}

body {
    background-color: var(--white);
    color: hsl(230, 12%, 40%);
}

input,
button {
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container_m {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.search_m,
.login {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: hsla(230, 75%, 15%, .1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* For safari */
    padding: 8rem 1.5rem 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}

.search__close,
.login__close {
    position: absolute;
    top: 2.5rem;
    font-size: 2rem;
    color: var(--dark);
    cursor: pointer;
    width: max-content;
    left: 0;
    right: 0;
    margin-inline: auto;
}

.header_m {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 16px hsla(230, 75%, 32%, .15);
    z-index: 100;
}

.nav_m {
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    color: var(--dark);
    font-weight: 600;
    transition: color .4s;
}

.nav__actions {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.nav__search,
.nav__login,
.nav__toggle,
.nav__close {
    font-size: 1.25rem;
    color: var(--dark);
    cursor: pointer;
    transition: color .4s;
}

:is(.nav__logo, .nav__search, .nav__login, .nav__toggle, .nav__link):hover {
    text-shadow: 2px 3px 5px rgba(0, 0, 0, 0.5);
    color: var(--green);
}

@media screen and (max-width: 1022px) {
    .nav__menu {
        position: fixed;
        top: -200%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 8px 16px hsla(230, 75%, 32%, .15);
        width: 100%;
        padding-block: 4.5rem 4rem;
        transition: top .7s;
        z-index: 1;
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
    text-align: center;
    padding: 0 !important;
}

.nav__link {
    color: var(--dark);
    font-weight: 600;
    transition: color .4s;
}

.nav__close {
    position: absolute;
    top: 1.15rem;
    right: 1.5rem;
}

.show-menu {
    top: 0;
}

.search__form {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    background-color: #fff;
    box-shadow: 0 8px 32px hsla(230, 75%, 15%, .2);
    padding-inline: 1rem;
    border-radius: .5rem;
    transform: translateY(-1rem);
    transition: transform .4s;
}

.search__icon {
    font-size: 1.25rem;
    color: var(--dark);
}

.search__input {
    width: 100%;
    padding-block: 1rem;
    background-color: #fff;
    color: hsl(230, 12%, 40%);
}

.search__input::placeholder {
    color: hsl(230, 12%, 40%);
}

.show-search {
    opacity: 1;
    pointer-events: initial;
}

.show-search .search__form {
    transform: translateY(0);
}

.login__form,
.login__group {
    display: grid;
}

.login__form {
    background-color: var(--white);
    padding: 2rem 1.5rem 2.5rem;
    box-shadow: 0 8px 32px hsla(230, 75%, 15%, .2);
    border-radius: 1rem;
    row-gap: 1.25rem;
    text-align: center;
    transform: translateY(-1rem);
    transition: transform .4s;
}

.login__title {
    font-size: var(--h2-font-size);
    color: var(--dark);
}

.login__group {
    row-gap: 1rem;
}

.login__label {
    display: block;
    text-align: initial;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: .25rem;
}

.login__input {
    width: 100%;
    background-color: var(--white);
    border: 2px solid hsl(230, 25%, 80%);
    padding: 1rem;
    border-radius: .5rem;
    color: hsl(230, 12%, 40%);
}

.login__input::placeholder {
    color: hsl(230, 12%, 40%);
}

.login__signup {
    margin-bottom: .5rem;
}

.login__signup a {
    color: var(--green);
}

.login__forgot {
    display: inline-block;
    color: var(--green);
    margin-bottom: 1.25rem;
}

.login__button {
    display: inline-block;
    background-color: var(--green);
    width: 100%;
    color: #fff;
    font-weight: 600;
    padding: 1rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: box-shadow .4s;
}

.login__button:hover {
    box-shadow: 0 4px 24px hsla(230, 75%, 40%, .4);
}

.show-login {
    opacity: 1;
    pointer-events: initial;
}

.show-login .login__form {
    transform: translateY(0);
}

@media screen and (min-width: 576px) {

    .search_m,
    .login {
        padding-top: 7rem;
    }

    .search__form {
        max-width: 450px;
        margin-inline: auto;
    }

    .search__close,
    .login__close {
        width: max-content;
        top: 2.5rem;
        left: 0;
        right: 0;
        margin-inline: auto;
        font-size: 2rem;
    }

    .login__form {
        max-width: 500px;
        margin-inline: auto;
    }
}

@media screen and (min-width: 1023px) {
    .nav_m {
        height: 5.5rem;
        column-gap: 3rem;
    }

    .chat-container {
        height: calc(100vh - 5.5rem) !important;
    }

    .cart {
        top: 5.5rem;
    }

    .panel_dropdown {
        top: 5.5rem !important;
    }

    .nav__close,
    .nav__toggle {
        display: none;
    }

    .nav__menu {
        margin: 0 auto;
    }

    .nav__list {
        flex-direction: row;
        column-gap: 3rem;
    }

    .login__form {
        padding: 3rem 2rem 3.5rem;
    }
}

@media screen and (min-width: 1150px) {
    .container_m {
        margin-inline: auto;
    }
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner {
    display: flex;
    width: 100%;
    padding-bottom: 3rem;
}

.text {
    /* width: 55%; */
    padding: 20px;
    max-width: calc(100% - 500px);
    min-width: 421px;
}

.pic {
    width: 500px;
}

.pic img {
    object-fit: cover;
    height: 500px;
}

.t1 {
    text-align: justify;
    font-size: calc(10px + 6vw);
    font-weight: bold;
    color: var(--green);
    text-shadow: 4px 4px 4px var(--dark);
}

.t2 {
    text-align: justify;
    font-size: calc(10px + 2vw);
    font-weight: bold;
    color: var(--green);
    text-shadow: 1px 1px 1px var(--dark);
    margin: 10px 0px 20px 0px;
}

.t3 {
    text-align: justify;
    font-size: calc(10px + 1vw);
    font-weight: bold;
    color: var(--dark);
}

.btns {
    margin-top: 30px;
}

#btn1,
#btn1:hover {
    background-color: var(--green);
    border-color: var(--green);
}

#btn2,
#btn2:hover {
    color: var(--green);
    border-color: var(--green);
    background-color: var(--white);
    margin-right: 10px;
}

@media screen and (max-width: 920px) {
    .banner {
        flex-wrap: wrap;
    }

    .text {
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .t1,
    .t2,
    .t3 {
        text-align: center;
    }

    .pic {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0px 5px;
    }
}

.category {
    width: 100%;
    /* background: #e0e0e0; */
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 10px;
    gap: 20px;
    margin-top: 50px;
}

@media screen and (max-width: 1160px) {
    .category {
        justify-content: start;
        overflow: scroll;
    }
}

.category-item {
    display: flex;
    padding: 10px;
}

.category-item-inner {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 50, 0.1) 0px 4px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.category-item-inner-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fef3f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-item-inner-icon img {
    width: 50px;
    opacity: 0.8;
}

.category-item-inner span {
    font-size: 14px;
    margin-top: 20px;
}

h1 {
    text-align: center;
    font-size: 60px;
    margin: 100px 0px 30px 0px;
    color: var(--dark);
    font-weight: bold;
}

h1 span {
    color: var(--green);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    width: 98%;
    border-radius: 40px;
    padding: 0px 20px;
    margin-top: 80px;
}

.feature {
    transition: all .3s ease;
    position: relative;
    opacity: 1;
    width: 350px;
    height: 400px;
    border-radius: 40px;
    padding: 25px;
    cursor: pointer;
    margin: 50px 0px;
}

.feature_title {
    transition: all .3s ease;
    text-align: center;
    margin: 60px 0px 20px 0px;
    font-size: 26px;
    font-weight: bold;
}

.feature_text {
    transition: all .3s ease;
    text-align: justify;
}

.feature_icon {
    transition: all .3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -50px;
    left: calc(50% - 50px);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: hsl(230, 25%, 84%);
}

.icon {
    transition: all .3s ease;
    color: var(--dark);
}

.feature:hover {
    transition: all .3s ease;
    background-color: var(--green);
    box-shadow: 2px 3px 52px var(--green);
}

.feature:hover .feature_text {
    transition: color .3s ease;
    color: hsl(230, 100%, 97%);
}

.feature:hover .feature_title {
    transition: color .3s ease;
    color: var(--white);
}

.feature:hover .feature_icon {
    transition: all .3s ease;
    background-color: var(--dark);
}

.feature:hover .icon {
    transition: color .3s ease;
    color: var(--green);
}

.active_feature {
    background-color: var(--green);
    box-shadow: 2px 3px 52px var(--green);
}

.active_feature .feature_text {
    color: hsl(230, 100%, 97%);
}

.active_feature .feature_title {
    color: var(--white);
}

.active_feature .feature_icon {
    background-color: var(--dark);
}

.active_feature .icon {
    color: var(--green);
}

.top-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 10px;
}

.images {
    width: 400px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.img-item {
    width: 80%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    position: absolute;
    transition: all 0.4s;
    object-fit: cover;
}

.img-1 {
    z-index: 4;
    animation: img-1 0.5s both;
}

@keyframes img-1 {
    0% {
        opacity: 0;
        rotate: -25deg;
        transform: translateY(0);
    }

    50% {
        opacity: 0.5;
        rotate: -4deg;
        transform: translateY(-100px);
    }

    100% {
        opacity: 1;
        rotate: 0;
        transform: translateY(0);
    }
}

.img-2 {
    z-index: 3;
    rotate: 9deg;
    opacity: 0.8;
}

.img-3 {
    z-index: 2;
    rotate: 10deg;
    opacity: 0.7;
}

.img-4 {
    animation: img-4 0.5s both;
}

@keyframes img-4 {
    0% {
        z-index: 4;
        rotate: 0;
        opacity: 1;
    }

    50% {
        z-index: 4;
        rotate: 0;
        opacity: 0.5;
    }

    100% {
        z-index: 1;
        rotate: -8deg;
        opacity: 0.5;
    }
}

.tp_text {
    width: 400px;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.text-item h3 {
    margin: 10px 0px 10px 0px;
    font-weight: bold;
}

.text-item-cat {
    color: var(--wc-dark);
    border-bottom: 3px solid var(--wc-darkblue);
}

.text-item p {
    color: var(--wc-dark);
    font-size: 13px;
    text-align: justify;
    margin: 10px 0px 0px 0px;
}


.text-item-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--wc-dark);
    font-weight: bold;
}

.text-item-bottom button {
    all: unset;
    background: var(--green);
    border-radius: 30px;
    color: #fff;
    padding-inline: 20px;
    height: 40px;
}

.btn-section {
    display: flex;
    gap: 20px;
}

.btn-section button {
    all: unset;
    width: 35px;
    height: 35px;
    border-radius: 50px;
    background: #e0e0e0;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-section button:nth-of-type(1) img {
    width: 25px;
    rotate: 90deg;
}

.btn-section button:nth-of-type(2) img {
    width: 25px;
    rotate: -90deg;
}

.text-item {
    z-index: 0;
    opacity: 0;
    transform: translateY(40px);
    height: calc(100% - 100px);
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.text-item-active {
    display: flex;
    z-index: 1;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0px;
    padding: 10px;
}

.products_links {
    margin: 40px 12px 20px 0px;
}

.products_links span:hover {
    color: #0d6efd;
    cursor: pointer;
}

@media screen and (max-width: 1122px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    /* width: calc(200px + 2.5rem); */
    position: relative;
    padding: 12px;
    border-radius: 20px;
    cursor: pointer;
}

.card:hover {
    transition: border .3s ease;
    border-color: #b6b6bd;
}

.card-img {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-word;
    overflow: hidden;
    min-height: 40px;
    margin-top: 5px;
    padding: 5px 2px 0px 0px;
    font-size: 14px;
    font-weight: bold;
    color: var(--dark);
}

.card-price {
    display: flex;
    align-items: center;
    justify-content: end;
    font-weight: bold;
    width: 100%;
    height: 30px;
    padding-left: 2px;
    color: var(--dark);
    margin-top: 40px;
}

.card-price img {
    width: 35px;
    height: 35px;
}

.card-category {
    width: 100%;
    height: 7px;
    font-size: 12px;
    color: hsl(230, 12%, 40%);
}

.card-discount {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 60px;
    height: 30px;
    border-radius: 7px;
    background-color: var(--dark);
    top: 7px;
    left: 7px;
    color: var(--white);
}

.site-footer {
    background-color: #fff;
    padding: 45px 0 20px;
    font-size: 15px;
    line-height: 24px;
    color: #737373;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

.site-footer hr {
    border-top-color: #bbb;
    opacity: 0.5;
}

.site-footer hr.small {
    margin: 20px 0;
}

.site-footer h6 {
    color: var(--dark);
    font-size: 16px;
    margin-top: 5px;
    font-weight: bold;
}

.site-footer a {
    color: #737373;
}

.site-footer a:hover {
    color: var(--dark);
    text-decoration: none;
}

.footer-links {
    padding-left: 0;
    list-style: none;
}

.footer-links li {
    display: block;
}

.footer-links a {
    color: #737373;
    text-decoration: none;
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
    color: var(--dark);
    text-decoration: none;
}

.site-footer .social-icons {
    text-align: right;
}

.site-footer .social-icons a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 6px;
    margin-right: 0;
    border-radius: 100%;
    background-color: #33353d;
}

.copyright-text {
    margin: 0;
}

@media (max-width: 991px) {
    .site-footer [class^="col-"] {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-bottom: 0;
    }

    .site-footer .copyright-text,
    .site-footer .social-icons {
        text-align: center;
    }
}

.text-justify {
    text-align: justify;
}

.product_category {
    display: flex;
    justify-content: right;
    width: 100%;
    margin: 20px 12px 0px 0px;
}

.product_category p {
    margin: 0px 5px;
    font-size: 17px;
}


.panel_dropdown {
    display: none;
    position: fixed;
    top: 3.5rem;
    left: 0;
    width: 25%;
    background-color: #fff;
    border: 2px solid #e7e7e9;
    min-width: 300px;
    padding: 20px;
    z-index: 1000;
}

.dropdown_profile {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e7e7e9;
    cursor: pointer;
}

.dropdown_profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.dropdown_profile p {
    margin: 0 !important;
    font-size: 16px;
    font-weight: bold;
    color: var(--dark);
}

.panel_dropdown p:hover {
    transition: color .3s ease;
    color: var(--green);
}

.dropdown_links {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    gap: 15px;
}

.dropdown_item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.item_start {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown_links i {
    font-size: 1.5rem;
}

.item_start p {
    margin: 0 !important;
}

.dropdown_item:hover i,
.dropdown_item:hover .item_start p {
    color: var(--green);
}

.carousel {
    width: 100%;
    margin-top: 50px;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--green);
}

.carousel-control-next {
    right: 20px;
    bottom: -10px;
}

.carousel-control-prev {
    left: auto;
    bottom: -10px;
    right: calc(30px + 3rem);
}

.carousel-control-next span,
.carousel-control-prev span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--white);
    border: 2px solid var(--green);
    border-radius: 10px;
    cursor: pointer;
}

.carousel-control-next span i,
.carousel-control-prev span i {
    color: var(--green);
    font-size: 30px;
}

/* Product page */

.product_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    padding-top: 16px;
}

.vendor_info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 16px;
    grid-row: span 1 / span 1;
    grid-column-start: 3;
}

.vendor {
    padding: 24px;
    background-color: #fff;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    border-radius: 16px;
}

.vendor_title {
    color: var(--dark);
    font-size: 18px;
    font-weight: bold;
}

.vendor_profile {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vendor_profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.vendor_name {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.vendor_name p {
    margin-bottom: 0 !important;
}

.vendor_btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 32px;
}

.vendor_btns button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border-radius: 7px;
}

#chatbtn {
    background-color: #fff;
    color: var(--green);
    border: 2px solid var(--green);
}

#morebtn {
    background-color: var(--green);
    color: #fff;
    border: 2px solid var(--green);
}

.vendor_btns p {
    font-weight: bold;
}

.vendor_btns i {
    font-weight: bold;
    font-size: 1.3rem;
}

.addcart {
    padding: 24px;
    background-color: #fff;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    border-radius: 16px;
}

.addcart div {
    display: flex;
    justify-content: end;
    align-items: center;
}

.addcart p {
    text-align: left;
    margin-bottom: 0;
    color: var(--dark);
    font-weight: bold;
    font-size: 1.2rem;
}

.addcart img {
    width: 35px;
    height: 35px;
}

.addcart button {
    width: 100%;
    border-radius: 7px;
    padding: 10px;
    font-weight: bold;
    margin-top: 10px;
}

.product_info {
    grid-column: span 2 / span 2;
    grid-row: span 4 / span 4;
}

.product_items {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background-color: #fff;
    padding: 24px;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    border-radius: 16px;
}

.product_rsp {
    display: flex;
    gap: 16px;
}

.product_slider {
    width: 300px;
    height: 366px;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: zoom-in;
}

.product_slides {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: calc(100% - 66px);
    border-radius: 7px;
}

.product_slide {
    width: 100%;
    min-width: 100%;
    height: 100%;
}

.product_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.product_slider button {
    position: absolute;
    top: calc(50% - 33px - 15px);
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 3px;
    opacity: 0.7;
    border: 1px solid #e7e7e9;
}

.product_slider button:hover {
    opacity: 1;
}

.product_slider_prev {
    right: 6px;
}

.product_slider_next {
    left: 6px;
}

.product_slides_show {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    width: 300px;
    gap: calc(50px / 4);
    margin-top: 16px;
    border-radius: 7px;
}

.product_slides_show img {
    cursor: zoom-in;
    object-fit: cover;
    width: 50px;
    height: 50px;
    border-radius: 7px;
}

.product_title {
    color: var(--dark);
    font-weight: bold;
}

.product_score {
    display: flex;
    align-items: center;
    margin: 20px 0px;
    font-size: 15px;
}

.product_score span {
    color: var(--dark);
    padding: 0px 2px;
}

.product_score i {
    color: #F0BB40;
}

.product_send {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dark);
    font-weight: bold;
}

.product_send p {
    margin: 0;
}

.product_send i {
    font-size: 20px;
}

.product_send span {
    color: hsl(230, 12%, 40%);
    font-weight: 400;
}

.addcart_buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

#savebtn,
#savebtn:hover {
    position: relative;
    background-color: #fff;
    border: 2px solid #e7e7e9;
    color: var(--dark);
    width: 50px;
    height: 50px;
    border-radius: 7px;
}

#savebtn i {
    position: absolute;
    top: calc(50% - 15px);
    left: calc(50% - 10px);
    font-size: 20px;
    font-weight: 400;
}

#shareButton,
#shareButton:hover {
    position: relative;
    background-color: #fff;
    border: 2px solid #e7e7e9;
    color: var(--dark);
    width: 50px;
    height: 50px;
    border-radius: 7px;
}

#shareButton i {
    position: absolute;
    top: calc(50% - 15px);
    left: calc(50% - 10px);
    font-size: 20px;
    font-weight: 400;
}

.product_buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.product_description {
    background-color: #fff;
    padding: 24px;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    margin-top: 16px;
    border-radius: 16px;
}

.description_title {
    color: var(--dark);
    font-weight: bold;
    font-size: 18px;
}

.description_text {
    color: var(--dark);
    margin-top: -20px;
    line-height: 2;
}

.product_comments {
    margin-top: 50px;
}

.product_comments_title {
    color: var(--dark);
    font-size: 18px;
    font-weight: bold;
}

.comments_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.comment {
    position: relative;
    width: 100%;
    background-color: #fff;
    padding: 24px;
    border: 1px solid #e7e7e9;
    border-radius: 16px;
}

.comment_profile {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.comment_profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment_profile p {
    font-weight: bold;
    margin-bottom: 0;
}

.comment_text {
    margin-top: 16px;
    color: var(--dark);
}

.comment_buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.comment_buttons button {
    width: 40px !important;
    height: 40px !important;
}

.comment_date {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 12px;
}

#vendor_med {
    display: none;
}

@media screen and (max-width: 1130px) {
    .product_container {
        display: block;
    }

    #vendor_med {
        display: flex;
        position: unset;
        margin: 16px 0px;
    }

    #vendor_lar {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .product_rsp {
        flex-direction: column;
    }

    .product_items {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .product_slider {
        width: 600px;
        height: 726px;
    }

    .product_slider button {
        top: calc(50% - 15px - 55px);
    }

    .product_slides {
        height: 600px;
    }

    .product_slides_show {
        width: 600px;
    }

    .product_slides_show img {
        width: 110px;
        height: 110px;
    }

    .product_text {
        margin-top: 20px;
    }

    .product_buttons {
        width: 100%;
        flex-direction: row;
        justify-content: left;
    }
}

@media screen and (max-width: 718px) {
    .product_slider {
        width: 550px;
        height: 666px;
    }

    .product_slider button {
        top: calc(50% - 15px - 50px);
    }

    .product_slides {
        height: 550px;
    }

    .product_slides_show {
        width: 550px;
    }

    .product_slides_show img {
        width: 100px;
        height: 100px;
    }
}

@media screen and (max-width: 668px) {
    .product_slider {
        width: 500px;
        height: 606px;
    }

    .product_slider button {
        top: calc(50% - 15px - 45px);
    }

    .product_slides {
        height: 500px;
    }

    .product_slides_show {
        width: 500px;
    }

    .product_slides_show img {
        width: 90px;
        height: 90px;
    }
}

@media screen and (max-width: 618px) {
    .product_slider {
        width: 450px;
        height: 546px;
        min-width: 0;
    }

    .product_slider button {
        top: calc(50% - 15px - 40px);
    }

    .product_slides {
        height: 450px;
    }

    .product_slides_show {
        width: 450px;
    }

    .product_slides_show img {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 568px) {
    .product_slider {
        width: 400px;
        height: 486px;
        min-width: 0;
    }

    .product_slider button {
        top: calc(50% - 15px - 35px);
    }

    .product_slides {
        height: 400px;
    }

    .product_slides_show {
        width: 400px;
    }

    .product_slides_show img {
        width: 70px;
        height: 70px;
    }
}

@media screen and (max-width: 468px) {
    .product_slider {
        width: 350px;
        height: 426px;
        min-width: 0;
    }

    .product_slider button {
        top: calc(50% - 15px - 30px);
    }

    .product_slides {
        height: 350px;
    }

    .product_slides_show {
        width: 350px;
    }

    .product_slides_show img {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 418px) {
    .product_slider {
        width: 300px;
        height: 366px;
        min-width: 0;
    }

    .product_slider button {
        top: calc(50% - 15px - 25px);
    }

    .product_slides {
        height: 300px;
    }

    .product_slides_show {
        width: 300px;
    }

    .product_slides_show img {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 368px) {
    .product_slider {
        width: 250px;
        height: 306px;
        min-width: 0;
    }

    .product_slider button {
        top: calc(50% - 15px - 20px);
    }

    .product_slides {
        height: 250px;
    }

    .product_slides_show {
        width: 250px;
    }

    .product_slides_show img {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 318px) {
    .product_slider {
        width: 200px;
        height: 246px;
        min-width: 0;
    }

    .product_slider button {
        top: calc(50% - 15px - 15px);
    }

    .product_slides {
        height: 200px;
    }

    .product_slides_show {
        width: 200px;
    }

    .product_slides_show img {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 268px) {
    .product_slider {
        width: 150px;
        height: 186px;
        min-width: 0;
    }

    .product_slider button {
        top: calc(50% - 15px - 10px);
    }

    .product_slides {
        height: 150px;
    }

    .product_slides_show {
        width: 150px;
    }

    .product_slides_show img {
        width: 20px;
        height: 20px;
    }
}

/* Wallet */

.wallet_main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 20px 10px 40px 10px;
}

.wallet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    padding: 32px;
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
}

.wallet_title {
    width: 100%;
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
}

.credit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 500px;
}

.credit_amount {
    display: flex;
    align-items: center;
    color: var(--dark);
    text-align: center;
}

.credit_amount img {
    width: 35px;
    height: 35px;
}

.credit_title {
    color: var(--dark);
    font-weight: bold;
    margin: 10px 0px;
}

.credit_status {
    width: 100%;
    margin-top: 30px;
}

.credit_status div {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
}

.credit_buttons {
    display: flex;
    width: 100%;
    gap: 16px;
    margin: 20px 0px;
}

.credit_buttons button {
    flex: 50%;
    height: 48px;
    border-radius: 7px;
    font-weight: bold;
}

@media screen and (max-width: 600px) {
    .credit {
        width: 100%;
    }

    .credit_buttons button {
        height: auto;
    }
}

.payments {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    padding: 32px;
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
}

.payments_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.payments_container table {
    border: 1px solid #e7e7e9;
    font-size: 14px;
    text-align: center;
}

.payments_container thead {
    border-bottom: 2px solid var(--dark);
}

@media screen and (max-width: 450px) {
    .payments_container {
        overflow-x: scroll;
    }
}

/* orders */

.orders_main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 20px 10px 40px 10px;
}

.orders {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    padding: 32px;
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
}

.orders_title {
    width: 100%;
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
}

.orders_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.order {
    display: flex;
    width: 100%;
    height: 150px;
    max-width: 900px;
    min-width: 250px;
    border-radius: 7px;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
}

.order_status {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px 7px 7px 0px;
    width: 40px;
    height: 100%;
    font-weight: bold;
    writing-mode: vertical-rl;
    color: var(--white);
}

.order_info {
    width: calc(100% - 40px);
    height: 100%;
    padding: 8px;
}

.order_info_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #e7e7e9;
    padding-bottom: 8px;
}

.order_info i {
    font-size: 1.5rem;
}

.order_info_body {
    padding-top: 8px;
}

.order_info_body p,
.order_info_body span {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.order_info_body span {
    color: var(--dark);
}

@media screen and (max-width: 574px) {
    .orders_container {
        overflow-x: scroll;
        align-items: start;
        padding: 7px;
    }
}

/* addresses */

.addresses_main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 20px 10px 40px 10px;
}

.addresses {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    padding: 32px;
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
    min-height: 200px;
}

.addresses_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
}

.addresses_title button {
    display: flex;
    align-items: center;
    padding: 0px 5px;
}

.addresses_title i {
    font-size: 1.5rem;
}

.addresses_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.address {
    width: 600px;
    min-width: 300px;
    border: 2px solid #e7e7e9;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
}

.address_text {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dark);
    margin-bottom: 20px;
}

.address_text i {
    color: var(--green);
    font-size: 20px;
}

.address_info p {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 14px;
}

.address_info i {
    font-size: 20px;
}

.address_buttons {
    display: flex;
    justify-content: end;
    gap: 8px;
    width: 100%;
    color: var(--dark);
}

.address_buttons i {
    font-size: 22px;
    cursor: pointer;
}

.address_buttons .ri-edit-line:hover {
    color: var(--green);
}

.address_buttons .ri-delete-bin-line:hover {
    color: #ED1C24;
}

@media screen and (max-width: 700px) {
    .address {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .addresses_container {
        align-items: start;
        padding: 0px 5px;
        overflow-x: scroll;
    }
}

/* Create vendor */

.create_vendor_main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 20px 5px 40px 5px;
}

.create_vendor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    padding: 32px;
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
}

.create_vendor_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
}

.create_vendor form {
    width: 100%;
    max-width: 550px;
}

.create_vendor button,
.create_vendor button:hover {
    background-color: var(--green);
    color: var(--white);
    border: none;
    width: 100%;
    height: 40px;
    margin: 10px 0px;
}

.create_vendor button:hover {
    opacity: 0.95;
}

.create_vendor .disabled {
    background-color: #6c757d;
    border-color: #6c757d;
}

.inp-box {
    position: relative;
}

.inp-box input {
    padding-left: 195px;
}

.inp-box span {
    position: absolute;
    top: calc(50% - 10.5px);
    left: 6px;
    font-size: 14px;
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 30px;
    margin: 30px 0px 10px 0px;
}

.swal-button {
    background-color: var(--green);
    float: left;
}

.swal-button:hover {
    background-color: var(--green) !important;
    opacity: 0.8;
}

.send_btn,
.send_btn:hover {
    background-color: var(--green);
    border-color: var(--green);
}

.send_btn:hover {
    opacity: 0.9;
}

.addcart_buttons .disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

/* Cart */

.cart_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    padding-top: 16px;
}

.cart_products {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    grid-row: span 4 / span 4;
    grid-column: 2 span / 2 span;
}

.cart_product {
    width: 100%;
    padding: 24px;
    background-color: #fff;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    border-radius: 16px;
}

.cart_product_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart_product_head img {
    display: flex;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.cart_vendor_info {
    display: flex;
    gap: 12px;
}

.cart_vendor_info p {
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 0;
}

.cart_remove i {
    color: #ED1C24;
    font-size: 22px;
    cursor: pointer;
}

.cart_send_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0px;
}

.cart_send_info div {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.cart_send_info i {
    font-size: 16px;
}

.cart_send_info span {
    color: var(--dark);
    font-weight: bold;
}

.cart_product_info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 50px;
}

.cart_product_info img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.cart_product_info_txt {
    width: calc(100% - 120px);
}

.cart_product_info_txt p {
    display: flex;
    align-items: center;
}

.cart_product_info_txt p img {
    width: 35px;
    height: 35px;
}

.cart_product_info_title {
    color: var(--dark);
    font-weight: bold;
}

.cart_product_price {
    justify-content: end;
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
}

.cart_info {
    position: sticky;
    top: 16px;
    grid-row: span 1 / span 1;
    padding: 24px;
    background-color: #fff;
    box-shadow: 0px 4px 8px 3px hsla(240, 5%, 73%, .3), 0px 1px 3px 0px hsla(240, 5%, 73%, .15);
    border-radius: 16px;
    grid-column-start: 3;
    min-width: 350px;
}

.cart_info_title {
    color: var(--dark);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.cart_prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px 0px;
}

.cart_price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0px;
    border-bottom: 1px solid #e7e7e9;
}

.plst {
    color: var(--dark);
    font-weight: bold;
    font-size: 18px;
    border-bottom: unset;
}

.cart_price img {
    width: 35px;
    height: 35px;
}

.cart_price p {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.cart_info button {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    line-height: 25.6px;
}

@media screen and (max-width: 1100px) {
    .cart_send_info {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
}

@media screen and (max-width: 950px) {
    .cart_container {
        display: block;
    }

    .cart_info {
        position: unset;
        margin-top: 30px;
    }
}

@media screen and (max-width: 450px) {
    .cart_product_info img {
        width: 100px;
        height: 100px;
    }

    .cart_product_price {
        font-size: 16px;
    }
}

@media screen and (max-width: 600px) {
    .cart_container {
        padding-bottom: 85px;
    }

    .cart_info_title,
    .cart_price {
        display: none;
    }

    .plst {
        text-align: center;
        display: flex !important;
        flex-direction: column;
        gap: 4px;
        padding: 0;
    }

    .cart_info {
        all: unset;
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        display: flex;
        align-items: center;
        direction: ltr;
        background-color: #fff;
        padding: 10px;
    }

    .cart_info button,
    .cart_prices {
        width: 50%;
        margin: 0;
    }

    .plst p {
        direction: rtl;
        justify-content: start;
        color: hsl(230, 12%, 40%);
        font-size: 15px;
    }
}

/* New address */

.addresses form {
    width: 100%;
    padding: 5px;
    max-width: 600px;
}

.addresses form button,
.addresses form button:hover {
    background-color: var(--green);
    border-color: var(--green);
    width: 100%;
    margin-top: 15px;
}

.addresses form button:hover {
    opacity: 0.9;
}

/* Payment page */

.pay_form {
    width: 100%;
}

.payment_title {
    font-size: 20px;
    color: var(--dark);
    font-weight: bold;
    text-align: start;
}

.address_item {
    width: 100%;
    padding: 16px;
    border: 2px solid #e7e7e9;
    border-radius: 16px;
    margin-bottom: 20px;
    background-color: #fff;
}

.address_item_head span {
    color: var(--dark);
    font-weight: bold;
}

.address_item_body {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
}

.address_item_body i {
    font-size: 20px;
}

.address_item_body p {
    margin-bottom: 0;
}

.cart_products .dis,
.dis .address_item_head span {
    color: #cfced3 !important;
}

/* Order Page */

.order_container a {
    margin: 0.7rem;
}

.order_container p {
    display: flex;
    align-items: center;
    margin: 0.7rem;
}

.order_container p span {
    display: flex;
    align-items: center;
    margin: 0px 8px;
    color: var(--dark);
}

.order_container p span img {
    width: 35px;
    height: 35px;
}

.num_select {
    width: calc(100% - 66px);
    height: 52px;
    display: flex;
    align-items: center;
    background-color: #fff;
    margin-right: 65px;
    border-radius: 8px;
    border: 2px solid #e7e7e9;
    margin-top: 30px;
}

.num_select button {
    background-color: transparent;
    border-radius: unset;
    height: 100%;
    width: 52px;
    margin: 0;
}

.num_select_input {
    height: 100%;
    width: calc(100% - 104px);
}

.num_select_input input {
    width: 100%;
    height: 100%;
    text-align: center;
}

.num_select_input input::-webkit-outer-spin-button,
.num_select_input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Dashboard */

.dashboard_main {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 16px;
    width: 100%;
    padding: 20px 4%;
}

.dashboard_sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 350px;
}

.sidebar_userinfo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dashboard_main button {
    width: 140px;
    padding: 6px;
}

.sidebar_userinfo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--green);
}

.sidebar_username {
    margin: 16px 0px 4px 0px;
    color: var(--dark);
    font-weight: bold;
    font-size: 18px;
}

.sidebar_acctype {
    font-size: 14px;
}

.sidebar_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.sidebar_link {
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar_link i {
    font-size: 20px;
}

.sidebar_link:hover,
.sidebar_link.active {
    background-color: var(--green);
    color: #fff;
}

.dashboard_profile {
    width: calc(100% - 350px);
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dashboard_profile_title {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark);
}

.profile_info {
    margin: 30px 0px;
}

.profile_info_title {
    font-size: 18px;
    font-weight: bold;
    color: var(--green);
    margin-bottom: 12px;
}

.profile_info_items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
}

.profile_info_item p:first-child {
    font-size: 14px;
    margin-bottom: 1px;
}

.profile_info_item p:last-child {
    color: var(--dark);
}

.dashboard_main td, .dashboard_main th {
    padding: auto;
}

.dashboard_main table p {
    margin: auto;
}

@media screen and (max-width: 935px) {
    .dashboard_main {
        flex-direction: column;
    }

    .dashboard_sidebar, .dashboard_profile {
        width: 100%;
    }
}

@media screen and (max-width: 533px) {
    .dashboard_tbl {
        overflow-x: scroll;
    }
}

@media screen and (max-width: 450px) {
    .profile_info_items {
        display: block;
    }
}

/* about us */

.about_container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.aboutpage_title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
    font-size: 2.2rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.aboutpage_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background-color: var(--green);
}

.about_section {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.about_section_title {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.mission_vision {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.mission,
.vision {
    flex: 1;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.team_member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.team_member:hover {
    transform: translateY(-5px);
}

.member_image {
    height: 280px;
    overflow: hidden;
}

.member_image img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.team_member:hover .member_image img {
    transform: scale(1.05);
}

.member_info {
    padding: 1.2rem;
    text-align: center;
}

.member_name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.member_position {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.social_links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social_links a {
    color: #7f8c8d;
    transition: color 0.3s;
}

.social_links a:hover {
    color: var(--green);
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.stat_item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.values {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 24px 8px;
}

.value_item {
    width: 250px;
    border: 1px solid #e7e7e9;
    border-radius: 16px;
    padding: 0.5rem;
}

.value_item_title {
    color: var(--green);
    font-weight: bold;
}

.value_item p {
    text-align: center;
}

@media (max-width: 768px) {
    .logo {
        margin-bottom: 1rem;
    }

    .mission_vision {
        flex-direction: column;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    .stat_item {
        margin-bottom: 1.5rem;
    }
}

/* contact us */

.contact_container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.contactpage_title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
    font-size: 2.2rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.contactpage_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background-color: var(--green);
}

.contact_options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 16px 8px;
}

.contact_option {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 280px;
    height: 180px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    padding: 16px;
    text-align: center;
}

.contact_option:hover {
    transform: translateY(-5px);
}

.contact_option_head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--green);
    font-size: 22px;
    font-weight: bold;
}

.contact_option_head i {
    font-weight: 400 !important;
    font-size: 30px;
}

.contact_option_body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact_option_body a {
    color: #777;
}

.contact_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.contact_form_title {
    font-size: 22px;
    font-weight: bold;
    color: var(--green);
    margin-bottom: 20px;
}

.contact_form form {
    width: 100%;
    max-width: 600px;
}

.contact_form form button,
.contact_form form button:hover {
    background-color: var(--green);
    border-color: var(--green);
    color: var(--white);
    width: 100%;
}

.products-filter-container {
    position: sticky;
    top: 16px;
    width: 350px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    min-width: 350px;
    /* margin: 0 auto; */
    margin: 10px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.filter-header h2 {
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
}

.filter-header h2 i {
    color: #6c5ce7;
}

.clear-filters {
    background: none;
    border: none;
    color: #6c5ce7;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 6px;
}

.clear-filters:hover {
    background-color: #f3f1ff;
}

.filter-section {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.filter-title h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
}

.filter-title i {
    transition: transform 0.3s;
    color: #777;
    font-size: 0.9rem;
}

.filter-options {
    margin-top: 15px;
    display: none;
}

.filter-options.active {
    display: block;
}

.filter-option {
    display: block;
    position: relative;
    padding: 8px 0 8px 30px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    border-radius: 6px;
}

.filter-option:hover {
    background-color: #f8f8f8;
}

.filter-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 8px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s;
}

.filter-option:hover input~.checkmark {
    border-color: #6c5ce7;
}

.filter-option input:checked~.checkmark {
    background-color: #6c5ce7;
    border-color: #6c5ce7;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.filter-option input:checked~.checkmark:after {
    display: block;
}

.filter-option .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.price-range {
    padding: 10px 0;
}

.price-inputs {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.price-input {
    flex: 1;
    position: relative;
}

.price-input label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #666;
}

.price-input input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.price-input input:focus {
    border-color: #6c5ce7;
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2);
}

.range-slider {
    position: relative;
    height: 5px;
    background-color: #eee;
    border-radius: 5px;
    margin: 20px 0;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 5px;
    top: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: #6c5ce7;
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.color-checkmark {
    color: white;
    font-size: 0.7rem;
    display: none;
}

.color-option input:checked~.color-checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.search-box {
    position: relative;
    margin-bottom: 15px;
}

.search-box input {
    width: 100%;
    padding: 8px 35px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: #6c5ce7;
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2);
}

.search-box i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 0.9rem;
}

.filter-actions {
    margin-top: 20px;
}

.apply-filters {
    width: 100%;
    padding: 12px;
    background-color: #6c5ce7;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.apply-filters:hover {
    background-color: #5a4bd1;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

@media (max-width: 480px) {
    .products-filter-container {
        padding: 15px;
    }

    .filter-header h2 {
        font-size: 1.1rem;
    }
}

.empty-state {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    padding: 60px 20px;
    color: #777;
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #ccc;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #555;
}