@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
    --width-main: 1440px;
    --background-gradient-white: linear-gradient(150deg, #ffffff40 0%, #ffffff00 100%);
    --background-gradient-black: linear-gradient(150deg, #202020 0%, #20202000 100%);
}

* {
    font-family: 'Poppins', 'vazir', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
}

html {
    background: #000000;
}

body,
html {
    overflow-x: clip;
    display: flex;
    flex-direction: column;
    height: 100%;
}


body::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

body::-webkit-scrollbar-track {
    background: #ffffff10;
    /* margin: 5px; */
}

body::-webkit-scrollbar-thumb {
    background: #ffffff45;
    /* border-radius: 50px; */
    background-clip: padding-box;
    /* border: 10px solid rgba(0, 0, 0, 0); */
}

::-webkit-scrollbar-corner {
    background: #ffffff10;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.divider {
    width: calc(100% - 2rem);
    height: 1px;
    background: #ffffff0c;
    margin: 0 auto;
}

.flex-r {
    display: flex;
    flex-direction: row;
}

.flex-c {
    display: flex;
    flex-direction: column;
}

.btn {
    background: var(--background-gradient-white), #ffffff26;
    border-radius: 12px;
    padding: 10px 20px;
    text-decoration: none;
    transition: background 0.5s, box-shadow 0.5s;
    border: none;
    font-size: 0.9rem;
    opacity: 0.3;
    cursor: not-allowed;
}

.btn.active {
    cursor: pointer;
    opacity: 1;
}

.btn.btn-red {
    background: var(--background-gradient-white), #d205057a;
}

.btn.btn-green {
    background: var(--background-gradient-white), #05d23f6a;
}

.btn.btn-blue {
    background: var(--background-gradient-white), #0bcce56a;
}

.btn.btn-white {
    background: var(--background-gradient-white), #ffffff26;
}

.btn.active:hover {
    background: linear-gradient(150deg, #ffffff20 0%, #ffffff00 100%),
        #ffffff10;
    /* box-shadow: 0 0 20px #00e1ff7f; */
}

.btn.btn-red.active:hover {
    background: var(--background-gradient-white), #d20505da;
    box-shadow: 0 0 20px #ff00004f;
}

.btn.btn-green.active:hover {
    background: var(--background-gradient-white), #05d23fb9;
    box-shadow: 0 0 20px #00ff484f;
}

.btn.btn-blue.active:hover {
    background: var(--background-gradient-white), #0ab4cab9;
    box-shadow: 0 0 20px #00e1ff4f;
}

.btn.btn-white.active:hover {
    background: var(--background-gradient-white), #ffffff50;
    box-shadow: 0 0 20px #ffffff4f;
}

.div-input-with-svg {
    position: relative;
}

.input-with-svg {
    position: relative;
    width: 100%;
    background: var(--background-gradient-white), #ffffff13;
    border-radius: 12px;
    outline: none;
    border: none;
    padding: 10px 20px 10px 45px;
    font-size: 0.95rem;
}

.input-with-svg.input-error {
    background: var(--background-gradient-white), #d20505da;
}

.input-with-svg::placeholder {
    color: #ffffff7f;
}


.svg-in-input {
    position: absolute;
    width: 20px;
    left: 15px;
    top: 12px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

input[data-autocompleted] {
    background-color: transparent !important;
}

*:focus {
    outline: none;
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type=submit],
button[type=submit] {
    background: none;
    border: none;
}

.dot-2::after {
    content: '.';
    font-size: 1.5rem;
    color: #ffffff;
}

.btn-line::before {
    content: '';
    width: 15px;
    height: 2px;
    background: #ffffff;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    transition: box-shadow 0.5s;
}

.btn-line:hover:before {
    box-shadow: 1px 1px 10px #fff, 1px 1px 10px #ffffff;
}

.glowy-text {
    transition: text-shadow 0.5s;
}

.glowy-text:hover {
    text-shadow: 1px 1px 10px #fff, 1px 1px 10px #0bb4ca;
}

.glowy-text-red:hover {
    text-shadow: 1px 1px 10px #ff0000, 1px 1px 10px #ff000025;
}

.glowy-text-blue:hover {
    text-shadow: 1px 1px 10px #0bb4ca, 1px 1px 10px #ffffff79;
}

.red {
    color: red;
}

.pointer-not-allowed {
    cursor: not-allowed;
}

/*********************************************/

[class^="bg-e"]::after {
    content: '';
    position: absolute;
    background: radial-gradient(circle, #303030bd 0%, #00000000 50%);
    width: 1000px;
    height: 1000px;
    opacity: 0.3;
    z-index: -1;
}

.bg-logo {
    position: fixed;
    right: 50px;
    bottom: 0px;
}

.bg-e1::after {
    top: -250px;
    left: -400px;
}

.bg-e2::after {
    top: -250px;
    left: -400px;
    position: fixed;
}

.bg-e3::after {
    left: -450px;
    top: 2000px;
}

/*********************************************/

header {
    width: 100%;
    background: #00000000;
    font-size: 0.90rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    -webkit-transition: background-color 0.3s linear;
}

header#home-header {
    animation: header-load 0.5s ease-out 0.6s forwards;
    transform: translateY(-100%);
    opacity: 0;

}

header.header-bg {
    background: #000;
}

header>div {
    max-width: var(--width-main);
    height: 75px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    margin: 0 auto;
    position: relative;
}

header ul {
    display: flex;
    gap: 3rem;
    margin-right: auto;
}

.header-menu a:first-child span {
    opacity: 0.5;
}

.header-search {
    margin-right: 2rem;
}

.header-search input {
    padding: 8px 20px 8px 45px;
    width: 300px;
}

.header-search .svg-search {
    vertical-align: middle;
    width: 20px;
    top: 9px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
    cursor: pointer;
    padding: 20px 0;
}

.header-right img {
    width: 36px;
    border-radius: 50%;
    /* border: 1px solid #fff ; */
    vertical-align: middle;

}

.header-right .img {
    /* background: linear-gradient(150deg, #ffffffbd 0%, #ffffff00 100%); */
    border-radius: 50%;
    /* padding: 1.5px; */
}

.header-mini .header-right {
    margin-right: 5px;
    margin-left: auto;
}

svg.header-menu-svg {
    width: 25px;
    vertical-align: middle;
}

.profile-hover {
    /* gap: 1rem; */
    background: var(--background-gradient-white), #000;
    padding: 5px;
    border-radius: 15px;
    position: absolute;
    right: 0;
    top: 75px;
    visibility: hidden;
    opacity: 0;
    z-index: 9;
    /* backdrop-filter: blur(10px); */
}

.header-right:hover .profile-hover {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}

.profile-hover>a,
#profile-hover-logout button {
    gap: 0.8rem;
    padding: 12px 36px 12px 12px;
    border-radius: 12px;
    cursor: pointer;
}

.profile-hover>*:hover {
    background: #ffffff2f;
    border-radius: 12px;

}

#profile-hover-dashboard svg,
#profile-hover-logout svg {
    width: 19px;
}

.profile-hover-dashboard-full svg path {
    stroke: red;
}

/*********************************************/

.header-mini {
    display: none;
}

.sliding-navbar,
.sliding-navbar-profile {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #000000bd;
    padding: 75px 1rem 0;
    overflow: clip;
    z-index: 10;
    backdrop-filter: blur(10px);
    left: -100%;
    transition: left 0.5s ease-in-out;
    display: none;
}


.sliding-navbar-open {
    left: 0;
}

.sliding-navbar .header-search {
    width: 100% !important;
}

.sliding-navbar .header-menu {
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.sliding-navbar .header-menu a {
    padding: 10px;
}

.sliding-navbar-profile {
    right: -100%;
    left: unset;
    transition: right 0.5s ease-in-out;
    gap: 1rem;
    padding-top: 6rem;
}

.sliding-navbar-profile-open {
    right: 0;
}

.sliding-navbar-profile>* {
    display: block;
    margin: 0 auto;

}

.sliding-navbar-username {
    margin: 0.5rem 0;
}

.sliding-navbar-profile .btn {
    background: unset;
}

.sliding-navbar-profile>a {
    padding: 10px;
}

.sliding-navbar-profile>a>svg {
    vertical-align: middle;
    margin-right: 0.5rem;
}

/*********************************************/

main {
    display: flex;
    width: var(--width-main);
    margin: 0 auto 2rem;
}

main#home {
    width: 100%;
    padding: 0;
    margin: 0 0 50px;
}

/*********************************************/

.hero {
    width: var(--width-main);
    background: url("../image/home.png") 650px 0 / cover no-repeat;
    background-size: 650px;
    position: relative;
    height: 100vh;
    /* z-index: 0; */
    display: flex;
    align-items: center;
    animation: hero-load 1s ease-out forwards;
    opacity: 0;
    margin: 0 auto 50px;
    padding: 0 1rem;
}

.vector {
    position: absolute;
    right: 376px;
    top: 125px;
    /* transform: rotate(145deg); */
    line-height: 0;
    -webkit-animation: vector-load 0.5 0.8s, spin 50s linear infinite;
}

.vector svg {
    width: 150px;
    fill: #ffffff;
}

.home-title>* {
    display: block;
}

.home-title {
    position: absolute;
    /* width: max-content; */
    top: 50%;
    /* left: 10%; */
    transform: translate(0, -50%);
    display: flex;
    flex-direction: column;
    z-index: 2;
    animation: home-title-load 0.5s ease-out 1.2s forwards;
    transform: translateY(calc(-50% - 50px));
    opacity: 0;
}

.home-title::before {
    content: '';
    position: absolute;
    background: url(../image/scratch.png) 0 0 / cover no-repeat;
    width: 346px;
    height: 328px;
    top: 0;
    right: -170px;
    z-index: -1;
}

.home-title span {
    font-size: 6rem;
    font-weight: 700;
}

.home-title>span:nth-child(1) {
    opacity: 0.3;
    margin-bottom: -2rem;
}

.home-title svg {
    width: 70px;
    vertical-align: middle;
    margin: 0 -5px 40px 2px;
    transform: rotate(-20deg);
}

.home-title a {
    width: fit-content;
    margin-top: -25px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: text-shadow 0.5s;
    color: #86e75a;
    margin-left: auto;
    margin-right: 5px;
}

.home-title a::before {
    content: '';
    width: 15px;
    height: 2px;
    display: inline-block;
    vertical-align: middle;
    background: #86e75a;
    margin-right: 10px;
    transition: box-shadow 0.5s;
}

.home-title a:hover:before {
    box-shadow: 1px 1px 10px #fff, 1px 1px 10px #86e75a;
}

.home-text {
    position: absolute;
    width: 38rem;
    bottom: -5px;
    margin: 45px 0 0 auto;
    animation: home-followus-load 0.5s ease-out 1.8s forwards;
    transform: translateY(-50px);
    opacity: 0;
    -webkit-transform: translateZ(0);
}

.home-text p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.8rem;
    opacity: 0.5;
    font-weight: 300;
}

.followus {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    animation: home-followus-load 0.5s ease-out 2.2s forwards;
    transform: translateY(-50px);
    opacity: 0;
    -webkit-transform: translateZ(0);
}

.followus span {
    margin-right: 1rem;
}

.followus a,
div.header-menu-svg,
.followus-footer a {
    padding: 10px;
    border-radius: 50px;
}

.followus a:hover path,
div.header-menu-svg:hover .header-menu-svg path,
.followus-footer a:hover .followus-footer-svg path {
    stroke: #86e75a;
    transition: 0.5s;
}

.followus::before {
    content: '';
    width: 15px;
    height: 2px;
    background: #ffffff;
}

.followus svg,
.followus-footer-svg {
    height: 18px;
    vertical-align: middle;
}


/*********************************************/

.container {
    width: 100%;
}

.container.user-dashboard,
.container.admin-dashboard {
    margin-right: 1rem;
}

.container .title {
    position: relative;
    z-index: 0;
    margin: 3rem 22px 2rem;
}

.container .title::before {
    content: attr(title-val);
    position: absolute;
    width: max-content;
    font-size: 6rem;
    font-weight: 800;
    bottom: -30px;
    left: -25px;
    background: linear-gradient(90deg, #ffffff25 0%, #ffffff0f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: -1;
    text-transform: lowercase;
}

/*********************************************/

.swiper-container {
    width: var(--width-main);
    margin: 0 auto;
    padding: 100px 1rem 50px;
    /* transform: translateY(-50px); */
    /* opacity: 0; */
}

.swiper-container.exposed {
    animation: home-item-load 0.5s ease-out 0.5s forwards;
}

.swiper-container>div {
    background: linear-gradient(270deg, #151515 0%, #15151500 100%);
    position: relative;
}

.swiper-wrapper {
    padding: 30px 0 70px;
}

.swiper-wrapper>a:last-child {
    margin-right: 20px;
}

.product-card {
    background: var(--background-gradient-white), #ffffff10;
    width: fit-content;
    padding: 10px;
    border-radius: 15px;
    transition: background 0.5s ease-out;
}

.product-card:hover {
    background: var(--background-gradient-white), #ffffff40;
}

.product-card img {
    width: 200px;
    border-radius: 12px;
}

.product-card-desc {
    display: flex;
    margin: 10px 0 5px;
}

.product-card-desc span:last-child {
    margin-left: auto;
}

.swiper-slide {
    width: fit-content !important;
}

.swiper-all-btn {
    position: absolute;
    right: 20px;
    bottom: 22px;
    font-size: 0.9rem;
    z-index: 2;
}

/*********************************************/

.banner {
    background: url(../image/banner.png) 0 0 / cover no-repeat;
    margin: 50px 0;
}

.banner-content {
    width: 30rem;
    background: #000000b0;
    padding: 150px 100px 150px 40px;
    margin-left: auto;
    margin-right: 10rem;
}

.banner-content p {
    margin-left: 20px;
    line-height: 1.8rem;
}

.banner-content a {
    display: block;
    margin: 30px 0 0 20px;
    width: fit-content;
}

/*********************************************/

footer {
    background: linear-gradient(315deg, #151515 50%, #15151500 100%);
    padding: 80px 1rem 100px;
    font-size: 0.9rem;
    font-weight: 300;
    position: relative;
    margin-top: auto;
}

footer>div {
    width: var(--width-main);
    margin: 0 auto;
    gap: 12rem;
    position: relative;
    z-index: 1;
}

footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

footer ul span {
    opacity: 0.5;
}

footer ul>*:first-child::after {
    content: '';
    width: 15px;
    height: 2px;
    background: #ffffff;
    opacity: 0.5;
    display: block;
    margin: 0.8rem 0 0;
}

.footer-bg {
    position: absolute;
    right: 80px;
    width: 450px;
    bottom: 0;
}

.followus-footer {
    margin-left: -10px;
}

/*********************************************/

.toaster {
    position: fixed;
    bottom: -100vh;
    right: 3rem;
    gap: 1rem;
    background: var(--background-gradient-white);
    padding: 20px 60px 20px 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    align-items: center;
    z-index: 10;
    transition: 0.8s;
    box-shadow: 0 5px 10px #0000003f;
}

.toaster-red {
    background: var(--background-gradient-white), #d205057a;
}

.toaster-green {
    background: var(--background-gradient-white), #05d23f6a;
}

.toaster-active {
    bottom: 3rem;
}

.toaster svg {
    width: 18px;
    height: 18px;
}

.toaster span {
    font-size: 0.9rem;
    max-width: 20rem;
}

/*********************************************/

.product {
    width: var(--width-main);
    margin: 8rem auto 0;
    padding: 0 1rem;
}

.product>div {
    width: 100%;
    margin-left: 5rem;
}

.product img {
    width: 400px;
    height: 400px;
    border-radius: 20px;
}

.product-content {
    width: 100%;
}

.product-desc {
    width: 18rem;
}

.product-desc h3 {
    margin: 1rem 0 1rem;
}

.product-desc p {
    line-height: 2rem;
    font-size: 0.9rem;

}

.add-to-cart-box {
    background: var(--background-gradient-white);
    border-radius: 15px;
    padding: 15px;
    height: fit-content;
    gap: 0.8rem;
    margin: 1rem 0 0 auto;
}

.add-to-cart-box>div>span:last-child,
.add-to-cart-box>div>h2:last-child {
    margin-left: auto;
}

.add-to-cart-box .btn {
    width: 15rem;
    text-align: center;
}

#added-to-cart {
    align-items: center;
    cursor: auto;
}

#added-to-cart>*,
.user-cart-product-qty>* {
    line-height: 0;

}

#added-to-cart>span:nth-child(2),
.user-cart-product-qty>span:nth-child(2) {
    margin: 0 auto;
}

#add-to-cart-minus svg,
#add-to-cart-add svg,
#user-cart-minus svg,
#user-cart-add svg {
    width: 21px;
    cursor: pointer;
}

#add-to-cart-add.disable {
    opacity: 0.3;
    cursor: not-allowed;
}

.trust-cards {
    width: var(--width-main);
    padding: 0 1rem;
    margin: 6rem auto 1rem;

}

.trust-cards div {
    background: var(--background-gradient-black);
    padding: 20px 25px;
    gap: 2rem;
    border-radius: 15px;
    width: 25rem;
    margin: 0 auto;
}

.trust-cards svg {
    width: 50px;
}

.trust-cards p {
    font-size: 0.9rem;
    line-height: 1.5rem;
}

/*********************************************/

.search-results {
    width: var(--width-main);
    margin: 11rem auto 3rem;
    padding: 0 1rem;
}

.search-results>div {
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 4.8rem;
}

/*********************************************/

div.login {
    width: 15rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

form.login>* {
    width: 100%;
    margin-bottom: 0.7rem;
}

form.login a {
    font-size: 0.8rem;
    color: #0bb4ca;
    display: block;
    margin-top: 0.5rem;
    text-align: center;
}

/*********************************************/

.container.register {
    /* height: 100%; */
    margin: 8rem 0;
    padding: 0 1rem;
}

form.register {
    width: 35rem;
}

form.register>span {
    display: block;
    margin-bottom: 1.5rem;
}

.svg-text {
    cursor: pointer;
    display: block;
    margin: 0.7rem 0;
}

#myCheckbox {
    -webkit-appearance: none;
}

#myCheckbox::before {
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
    background: url('data:image/svg+xml,<svg viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.5225 22.75H8.52246C3.09246 22.75 0.772461 20.43 0.772461 15V9C0.772461 3.57 3.09246 1.25 8.52246 1.25H14.5225C19.9525 1.25 22.2725 3.57 22.2725 9V15C22.2725 20.43 19.9525 22.75 14.5225 22.75ZM8.52246 2.75C3.91246 2.75 2.27246 4.39 2.27246 9V15C2.27246 19.61 3.91246 21.25 8.52246 21.25H14.5225C19.1325 21.25 20.7725 19.61 20.7725 15V9C20.7725 4.39 19.1325 2.75 14.5225 2.75H8.52246Z" fill="white"/><path d="M10.1024 15.58C9.9024 15.58 9.7124 15.5 9.5724 15.36L6.7424 12.53C6.4524 12.24 6.4524 11.76 6.7424 11.47C7.0324 11.18 7.5124 11.18 7.8024 11.47L10.1024 13.77L15.2424 8.62998C15.5324 8.33998 16.0124 8.33998 16.3024 8.62998C16.5924 8.91998 16.5924 9.39998 16.3024 9.68998L10.6324 15.36C10.4924 15.5 10.3024 15.58 10.1024 15.58Z" fill="white"/></svg>') no-repeat center center;
    vertical-align: middle;
    opacity: 0.5;
    margin-right: 0.7rem;
    margin-bottom: 3px;
}

#myCheckbox:checked:before {
    background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.19 2H7.81C4.17 2 2 4.17 2 7.81V16.18C2 19.83 4.17 22 7.81 22H16.18C19.82 22 21.99 19.83 21.99 16.19V7.81C22 4.17 19.83 2 16.19 2ZM16.78 9.7L11.11 15.37C10.97 15.51 10.78 15.59 10.58 15.59C10.38 15.59 10.19 15.51 10.05 15.37L7.22 12.54C6.93 12.25 6.93 11.77 7.22 11.48C7.51 11.19 7.99 11.19 8.28 11.48L10.58 13.78L15.72 8.64C16.01 8.35 16.49 8.35 16.78 8.64C17.07 8.93 17.07 9.4 16.78 9.7Z" fill="%230bb4ca"/></svg>') no-repeat center center;
    opacity: 1;
}

.svg-text span {
    font-size: 0.9rem;
}

/*********************************************/

.pagination {
    margin: 3rem 0;
}

.pagination svg {
    width: 15px;
    display: inline-block;
}

.pagination svg:hover path {
    /* stroke: #00e1ff; */
}

.pagination-buttons {
    gap: 2rem;
    margin-left: auto;
}

.pagination-buttons .deactive {
    opacity: 0.5;

}

/*********************************************/

aside {
    width: 25%;
    min-height: 35rem;
    height: fit-content;
    position: sticky;
    top: 6rem;
    background: linear-gradient(180deg, #101010 0%, #10101000 100%);
    border-radius: 20px;
    padding: 2rem 0;
    font-size: 0.9rem;
    margin: 6rem 3rem 0 1rem;
}

aside>* {
    margin: 2rem auto;
    display: block;
}

aside img,
.sliding-navbar-profile>img {
    width: 120px;
    border-radius: 15px;
    /* margin: 20px; */
}

.sliding-navbar-username,
.aside-username {
    text-align: center;
    font-size: 1.2rem;
}

.aside-btn {
    display: block;
    margin: 0 0.8rem 1rem;
}

.aside-btn {
    background: none;
    vertical-align: middle;
    margin: 0 0.8rem 1rem;
}

.sliding-navbar-username>*,
.sliding-navbar-profile .btn>*,
.aside-btn *,
.aside-username>* {
    vertical-align: middle;
}

.sliding-navbar-profile .btn span,
.aside-btn span {
    margin-left: 0.5rem;
}

.aside-btn-active {
    background: var(--background-gradient-white), #575cad7f;
    display: block;
    margin: 0 0.8rem 1rem;
}

aside svg,
.sliding-navbar-profile svg {
    width: 20px;
    display: inline-block;
}

.sliding-navbar-username>svg path,
.aside-username>svg path {
    stroke: #0bcce5;
}

/*********************************************/

.user-dashboard .page-content,
.admin-dashboard .page-content {
    gap: 1rem;
}

#user-cart-pay {
    width: 10rem;
    text-align: center;
}

.dashboard-cart-product {
    width: 100%;
    padding: 10px;
    border-radius: 15px;
    background: var(--background-gradient-white);
    align-items: flex-end;
    gap: 1rem;
    overflow: clip;
}

.dashboard-cart-product img {
    width: 100px;
    border-radius: 12px;
}

.dashboard-cart-product .title {
    margin: 0 0 0 22px !important;
}

/* 
.user-cart .dashboard-cart-product .title::before {
    background: linear-gradient(90deg, #ffffff15 0%, #ffffff05 100%) !important;
    -webkit-background-clip: text !important;
} */

.dashboard-cart-product>div {
    align-items: flex-end;
    margin: 0 0px 5px auto;
    gap: 5px;
    position: relative;
    overflow: clip;
}

.dashboard-cart-product>div>div {
    background: var(--background-gradient-white), #000;
    gap: 1rem;
    padding: 5px 15px;
    border-radius: 12px;
}

.dashboard-cart-product>div>div>span:nth-child(2) {
    opacity: 0.3;
}

.user-cart-product-qty {
    width: 10rem;
    align-items: center;
}

.cart-no-item,
.order-no-item {
    text-align: center;
    opacity: 0.3;
    background: var(--background-gradient-white);
    padding: 10px;
    border-radius: 12px;
}

/*********************************************/

.admin-dashboard,
.user-dashboard {
    margin: 8rem 0 2rem;
}

.admin-dashboard .page-header,
.user-dashboard .page-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-dashboard .page-header>div,
.user-dashboard .page-header>div {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 0 auto;
    position: relative;
    z-index: 1;
}

.admin-dashboard .page-header>div>div:first-child {
    align-items: center;
    gap: 1rem;
    width: 100%;
}

#admin-dashboard-tot {
    margin-left: auto;
}

#admin-dashboard-filter input {
    padding-top: 9px;
    padding-bottom: 9px;
    min-width: 15rem;
    width: 100%;
}

#admin-dashboard-filter svg {
    top: 10px;
}

.dashboard-list ul,
.dashboard-list-header {
    align-items: center;
}

.dashboard-list ul>li:nth-child(1) {
    flex: 0.5;
    text-align: center;
}

.dashboard-list ul>li:nth-child(2) {
    flex: 1;
    text-align: center;
}

#user-orders-list ul>li:nth-child(2) {
    flex: 0.25;
}

.dashboard-list ul>li:nth-child(3) {
    flex: 3;
}

#user-orders-list ul>li:nth-child(3) {
    flex: 0;
}

.dashboard-list ul>li:nth-child(4) {
    flex: 2;
}

.dashboard-list ul>li:nth-child(5) {
    flex: 2;
    /* text-align: center; */
}

.dashboard-list ul>li:nth-child(6) {
    flex: 2;
}

#admin-users-list ul>li:nth-child(6) {
    text-align: center;
}

.dashboard-list ul>li:nth-child(7) {
    flex: 1;
    text-align: center;
}


.dashboard-list-header {
    width: 100%;
    display: flex;
    background: var(--background-gradient-white), #ffffff15;
    padding: 10px 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    gap: 0;
}

.dashboard-list {
    background: linear-gradient(150deg, #10101000 0%, #1010102f 100%);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
}

[class^="dashboard-list-content-"] {
    width: 100%;
    display: flex;
    background: #ffffff0a;
    padding: 10px 20px;

}

[class^="dashboard-list-content-"]:not(.dashboard-list-content-0):hover {
    background: #ffffff15;

}

.dashboard-list-content-0 li,
.user-dashboard-list-content-0 li {
    text-align: center;
    flex: 1 !important;
    opacity: 0.3;
}

ul[class^="dashboard-list-content-"] img {
    width: 30px;
    border-radius: 5px;
    vertical-align: middle;
}

.dashboard-list-action-delete,
#dashboard-list-orders-svg {
    display: inline-block;
    border-radius: 20px;
    padding: 10px;
    line-height: 0;
    cursor: pointer;
}

.dashboard-list-action-delete:hover,
#dashboard-list-orders-svg:hover {
    background: #ffffff0f;
}

.dashboard-list-action-delete svg {
    width: 20px;
    vertical-align: middle;
    fill: red;
}

/*********************************************/

form.admin-form {
    width: 50%;
}

#admin-form-fields,
#register-fields {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0.9rem 0;
}

#admin-form-fields>*,
#register-fields>* {
    width: calc(50% - 0.4rem);
}

.admin-form .error p {
    color: red;
    margin-bottom: 1rem;
}

#admin-new-product-img,
#admin-product-img {
    display: flex;
    flex-direction: row;
    width: fit-content;
    gap: 5rem;
    position: relative;
    border-radius: 15px;
    background: linear-gradient(270deg, #151515 0%, #15151500 100%);
    padding: 1rem 1rem 1rem 0;
}

#admin-new-product-img-desc,
#admin-product-img-desc {
    display: flex;
    flex-direction: column;
    /* width: 100%; */
}

#admin-new-product-img-desc label,
#admin-product-img-desc label {
    margin-top: auto;
    width: fit-content;
    padding: 10px 50px;
}

#admin-new-product-img-desc label>span,
#admin-product-img-desc label>span {
    vertical-align: middle;
    margin-right: 0.25rem;
    font-size: 0.9rem;
}

#admin-new-product-img-desc label>svg,
#admin-product-img-desc label>svg {
    width: 18px;
    vertical-align: middle;
    margin-right: 0.25rem;
}

#admin-new-product-img-output,
#admin-product-img-output {
    position: relative;
    width: 150px;
    height: 150px;
    margin-left: auto;
    z-index: 0;
}

#admin-new-product-img-output::before,
#admin-product-img-output::before {
    content: 'No file!';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(120deg, #ffffff40 0%, #ffffff00 100%),
        #ffffff20;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.5;
    line-height: 150px;
    text-align: center;
    z-index: -1;
}

#admin-new-product-img #output,
#admin-product-img #output {
    text-indent: 100vw;
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 1/1;
}

#admin-new-product-img input[type="file"],
#admin-product-img input[type="file"] {
    display: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    /* background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' width='8px' fill='%23666666'><path d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/></svg>") no-repeat 7rem center; */
}

select>option {
    background: #222222;
    margin: 1rem;
}

select:invalid {
    color: #ffffff7f;
}

.select-arrow {
    width: 16px;
    top: 13px;
    right: 15px;
    left: unset;
    pointer-events: none;

}

.admin-new-product textarea,
.admin-product textarea,
.register textarea {
    resize: none;
}

.admin-form input[type="submit"],
.register input[type="submit"] {
    width: calc(50% - 0.4rem);
    margin-left: calc(50% + 0.4rem);
    margin-top: 1rem;
    padding: 10px 20px;
}


#admin-orders-list ul>li:nth-child(1) {
    flex: 0.5;
    text-align: center;
}

#admin-orders-list ul>li:nth-child(2) {
    flex: 0.25;
}

#admin-orders-list ul>li:nth-child(3) {
    flex: 2;
}

#admin-orders-list [class^="dashboard-list-content-"]>li:nth-child(3) {
    text-decoration: underline;
}

#admin-orders-list ul>li:nth-child(4) {
    flex: 2;
    text-align: left;
}

#admin-orders-list ul>li:nth-child(5) {
    flex: 3;
}

#admin-orders-list ul>li:nth-child(6) {
    flex: 2;
    text-align: left;
}

#dashboard-list-orders-status {
    background: none;
    border: none;
    /* width: 100%; */
    margin-left: -10px;
    color: #00e1ff;
    text-decoration: underline;
    padding: 0 10px;
    font-size: inherit;
}

#dashboard-list-orders-svg svg {
    width: 20px;
}

#dashboard-list-orders-svg svg path {
    stroke: #00e1ff;
}

/*********************************************/

@keyframes spin {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes header-load {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes hero-load {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes vector-load {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes home-title-load {
    0% {
        transform: translateY(calc(-50% - 50px));
        opacity: 0;
    }

    100% {
        transform: translateY(-50%);
        opacity: 1;
    }
}

@keyframes home-followus-load {
    0% {
        transform: translateY(0px);
        opacity: 0;
    }

    100% {
        transform: translateY(-50px);
        opacity: 1;
    }
}

@keyframes home-item-load {
    0% {
        transform: translateY(0px);
        opacity: 0;
    }

    100% {
        transform: translateY(-50px);
        opacity: 1;
    }
}

/*********************************************/
/*********************************************/


@media all and (max-width: 1440px) {

    :root {
        --width-main: 1200px;
    }

    .hero {
        background: url("../image/home.png") 500px 0 / cover no-repeat;
        background-size: 600px;
    }

    .vector {
        right: 313px;
        top: 110px;
    }

    .home-title::before {
        display: none;
    }

    .banner {
        background: url(../image/banner.png) -100px 0 / cover no-repeat;
        margin: 50px 0;
    }

    .banner-content {
        margin-right: 3rem;
    }

    .trust-cards div {
        width: 20rem;
    }

    .search-results>div {
        gap: 6rem;
    }

    aside {
        width: 30%;
        margin-right: 2rem;
    }

    form.admin-form {
        width: 65%;
    }
}

/*********************************************/

@media only screen and (max-width: 1200px) {

    :root {
        --width-main: 1000px;
    }

    .hero {
        background: url("../image/home.png") 400px 0 / cover no-repeat;
        background-size: 600px;
    }

    .vector {
        right: 214px;
        top: 110px;
    }

    .banner {
        background: url(../image/banner.png) -500px 0 / cover no-repeat;
        margin: 50px 0;
    }

    .banner-content {
        margin-right: 0;
    }

    .trust-cards div {
        width: 19rem;
    }

    .product img {
        width: 350px;
        height: 350px;
    }

    .product>div {
        margin-left: 3rem;
    }

    .product-desc {
        width: 15rem;
    }

    .search-results>div {
        gap: 1.83rem;
    }

    aside {
        width: 32%;
        margin-right: 2rem;
    }

    form.admin-form {
        width: 70%;
    }

    footer {
        padding: 80px 2rem 100px;
    }

/* 
    .admin-dashboard .page-content .title::before {
        background: linear-gradient(90deg, #ffffff25 0%, #ffffff00 90%);
        -webkit-background-clip: text;
    } */

    .dashboard-list ul>li:nth-child(2){
        flex: 1.5;
    }
}

/*********************************************/

@media only screen and (max-width: 1023px) {

    :root {
        --width-main: 824px;
    }

    [class^="bg-e"]::after {
        width: 768;
        height: 768px;
    }

    .header {
        display: none;
    }

    .header-mini {
        display: block;
    }


    .sliding-navbar {
        display: block;
    }

    .sliding-navbar-profile {
        display: flex;
    }

    #profile-hover-dashboard,
    #profile-hover-logout button {
        gap: 0.8rem;
        padding: 10px;
        font-size: 1rem;
        align-items: center;
    }

    .hero {
        background: url("../image/home.png") 350px 0 / cover no-repeat;
        background-size: 500px;
    }

    .vector {
        right: 155px;
        top: 93px;
    }

    .vector svg {
        width: 120px;
    }

    .home-title span {
        font-size: 5rem;
    }

    .home-title svg {
        width: 60px;
        margin: 0 -5px 30px 2px;
    }

    .home-text {
        display: none;
    }

    .swiper-container {
        width: 100vw;
    }

    .product {
        flex-direction: column;
    }

    .product img {
        width: calc(100% - 6rem);
        height: auto;
        display: block;
        margin: 0 3rem 3rem;
    }

    .product>div {
        width: unset;
        margin: 2rem 3rem 0;
    }

    .product-desc {
        width: 15rem;
    }

    .trust-cards {
        gap: 1rem;
    }

    .trust-cards div {
        width: 25rem;
        flex-direction: column;
    }

    .trust-cards svg {
        display: block;
        margin: 1rem auto 0;
    }

    .trust-cards p {
        text-align: center;
    }

    .search-results>div {
        gap: 4.12rem;
    }

    aside {
        display: none;
    }

    .container.user-dashboard,
    .container.admin-dashboard {
        margin-left: 1rem;
    }

    form.admin-form {
        width: 100%;
    }
}

/*********************************************/

@media only screen and (max-width: 768px) {

    :root {
        --width-main: 100vw;
    }

    [class^="bg-e"],
    .bg-logo {
        display: none;
    }

    .hero {
        background: url("../image/home.png") 05vw 0 / cover no-repeat;
        background-size: 700px;
    }

    .vector {
        left: -50px;
        right: unset;
        top: 300px;
    }

    .vector svg {
        width: 35vw;
    }

    .home-title {
        position: static;
        margin: auto auto -19vw auto;
        /* transform: translate(0, 100%); */
    }

    .home-title span {
        font-size: 18vw;
    }

    .home-title svg {
        width: 12vw;
        margin: 0 -5px 7vw 2px;
    }

    .home-title a {
        font-size: 1rem;
    }

    .followus {
        display: none;
    }


    .banner-content {
        width: 100%;
    }

    footer {
        padding: 50px 1rem 50px;
    }

    footer>div {
        width: 480px;
        flex-direction: column !important;
        gap: 5rem;
        align-items: center;
        position: relative;
        z-index: 1;
    }


    footer ul {
        align-items: center;
    }

    footer ul>*:first-child::after {
        margin: 0.8rem auto 0;
    }

    .footer-bg {
        right: -80px;
        width: 450px;
        bottom: 0px;
        top: unset;
    }

    .followus-footer {
        margin-left: 0px;
    }

    form.register {
        width: 100%;
    }

    .search-results>div {
        gap: 2rem;
        justify-content: center;
    }
}

/*********************************************/

@media only screen and (max-width : 480px) {

    * {
        font-size: 1rem;
    }

    .toaster {
        right: 50%;
        transform: translate(50%, 0);
        width: 80%;
    }

    .hero {
        background: url("../image/home.png") 0 0 / cover no-repeat;
        background-size: 600px;
    }

    .vector {
        top: 300px;
    }

    .home-title {
        margin: auto auto -5vw auto;
    }

    .home-title a {
        margin-top: -15px;
    }

    .swiper-container {
        width: var(--width-main);
    }

    .banner {
        background: url(../image/banner.png) -450px 0 / cover no-repeat;
        margin: 50px 0;
    }

    .banner-content {
        padding: 100px 50px 100px 20px;
    }

    footer>div {
        width: 300px;
    }

    .footer-bg {
        right: -150px;
    }

    .container .title {
        margin: 0 22px 2rem;
    }

    div.login {
        width: 100%;
        padding: 0 1rem;
    }

    #admin-form-fields,
    #register-fields {
        flex-direction: column;
    }

    #admin-form-fields>*,
    #register-fields>*,
    .admin-form input[type="submit"],
    .register input[type="submit"] {
        width: 100%;
        margin-left: 0;
    }

    .product {
        margin-top: 6rem;
    }

    .product img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto 3rem;
    }

    .product>div {
        margin: 2rem auto 0;
    }

    .product-content {
        flex-direction: column;
        gap: 1rem
    }

    .product-desc {
        width: 100%;
    }

    .add-to-cart-box {
        width: 100%;
    }

    .add-to-cart-box .btn {
        width: 100%;
    }

    .trust-cards {
        flex-direction: column;

    }

    .trust-cards div {
        width: 100%;
        flex-direction: row;
    }

    .trust-cards svg {
        display: inline;
        margin: 0;
    }

    .trust-cards p {
        text-align: left;
    }

    .search-results .product-card img {
        width: 100%;
    }

    .search-results .product-card-desc {
        margin: 15px 10px 10px;
    }

    .search-results {
        margin-top: 8rem;
    }

    .pagination {
        margin: 1rem 1rem 0;
    }

    .pagination>div {
        flex-direction: column;
    }

    .pagination-desc,
    .admin-dashboard .page-header>div>div:first-child span:nth-child(2),
    .user-dashboard .page-header>div>div:first-child span,
    .dashboard-list-header,
    #admin-orders-list ul>li:nth-child(2),
    #user-orders-list ul>li:nth-child(2),
    #user-orders-list ul>li:nth-child(3),
    #user-cart-list .page-header>div>span {
        display: none;
    }

    .pagination-buttons {
        margin: 1rem 0 0;
    }

    .pagination-buttons>*:first-child {
        margin: 0 auto 0 0;
    }

    #admin-product-new form.admin-form>*,
    #admin-product-new .admin-form input[type="submit"] {
        width: calc(100% - 2rem);

    }

    #admin-new-product-img,
    #admin-product-img {
        padding: 1rem;
    }

    #admin-new-product-img,
    #admin-product-img {
        flex-direction: column;
        gap: 2rem;
    }

    #admin-new-product-img-desc,
    #admin-product-img-desc {
        gap: 2rem;
    }

    #admin-new-product-img-desc label,
    #admin-product-img-desc label {
        width: 100%;
        text-align: center;
    }

    #admin-new-product-img #output,
    #admin-product-img #output,
    #admin-new-product-img-output,
    #admin-product-img-output {
        width: 100%;
        height: auto;
        margin: 0;
    }

    #admin-new-product-img-output::before,
    #admin-product-img-output::before {
        width: 100%;
        height: auto;
        background: unset;
    }

    .admin-dashboard .page-header,
    .user-dashboard .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .admin-dashboard .page-header>div,
    .user-dashboard .page-header>div {
        flex-direction: column;
        align-items: flex-start;
        margin: 0 0 1rem;
        width: 100%;
    }

    #user-cart-list .page-header>div {
        flex-direction: row;
        align-items: center;
    }

    #admin-dashboard-tot {
        margin-left: 0;
    }

    .page-header .btn,
    #user-cart-list .page-header>div>form,
    .dashboard-cart-product>div>div {
        margin-left: auto;
    }

    #admin-dashboard-filter {
        width: 100%;
    }

    [class^="dashboard-list-content-"] {
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
        overflow: clip;
        padding: 0;
    }

    [class^="dashboard-list-content-"] li {
        display: flex;
        width: 100%;
        padding: 10px 20px;
    }

    [class^="dashboard-list-content-"] li:first-child {
        background: var(--background-gradient-white);
    }

    [class^="dashboard-list-content-"] li::before {
        content: attr(header-val);
        margin-right: auto;
    }

    #dashboard-list-orders-status {
        text-align: right;
    }

    .dashboard-cart-product {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-cart-product img {
        width: 100%;
    }

    .dashboard-cart-product .title {
        margin: -5rem 1rem 1rem !important;
        font-size: 2rem;
    }

    /* .dashboard-cart-product>div:first-child::after{
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, #000000e0 0%, #00000000 100%);
        left: 0;
        top: -7px;
        border-radius: 12px;
    } */

    .dashboard-cart-product>div:last-child {
        flex-direction: row;
        align-items: center;
        margin: 0;
        width: 100%;
        padding: 0.5rem;
    }

    .dashboard-cart-product .title::before {
        content: unset;
    }
}

/*********************************************/

@media only screen and (max-width : 414px) {}

/*********************************************/

@media only screen and (max-width : 360px) {

    .hero {
        background-size: 500px;
    }

    .vector {
        top: 220px;
    }

    .home-title a {
        font-size: 0.9rem;
        margin-top: 0px;
    }

    .admin-dashboard .page-header>div>div:first-child,
    .admin-dashboard .page-header>div,
    .user-dashboard .page-header>div,
    #admin-dashboard-filter {
        /* width: calc(100% - 1rem) !important; */
    }
}

/*********************************************/

@media only screen and (max-width : 320px) {

    .hero {
        background-size: 400px;
    }

    .vector {
        top: 150px;
    }

    .vector svg {
        width: 100px;
    }

    .banner {
        background: url(../image/banner.png) -430px 0 / cover no-repeat;
        margin: 50px 0;
    }

    .banner-content {
        padding: 50px 40px 50px 10px;
    }

    footer>div {
        width: 200px;
    }

    footer ul li {
        text-align: center;
    }

    .dashboard-cart-product>div:last-child>div:last-child span {
        font-size: 0.8rem;
    }
}