* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
}

li {
    list-style: none;
}

.layout {
    display: flex;
}

aside {
    width: 263px;
    padding: 60px 32px;
    background: #ffffff;
    font-size: 15px;
    line-height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease-in-out;
}

aside .hide {
    transform: translateX(-100%);
}

.ven {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ven ul {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ven li {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 1px 12px;
    gap: 6px;
}

.switch {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    justify-content: space-between;
    border: 1px solid #badefb;
    cursor: pointer;
}

.switch-dropdown {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background: #fff;
    border: 1px solid #badefb;
    border-radius: 8px;
    padding: 12px 6px;
    box-shadow: #10182814;
}

.switch-dropdown .buildrop {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 10px;
}

.ven1 {
    display: flex;
    flex-direction: column;
    gap: 72px;
    width: 199px;
}

aside .ven a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #374151;
}

aside .active {
    background-color: #e9f5fe;
    font-weight: bold;
}

aside .ven li:hover {
    background: #e9f5fe;
    font-weight: bold;
}

aside .signout {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    padding: 1px 12px;
}

aside .signout a {
    text-decoration: none;
    color: #ff5722;
    font-weight: bold;
}

#signOutModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#signOutModal.active {
    display: flex;
}

#signOutModal .modal-content1 {
    background: #fff;
    border-radius: 12px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
}

.modal-body img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.modal-body p {
    font-size: 12px;
    font-weight: 400;
}

.close-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 10px 0;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.logout-btn {
    background: #ff5722;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: #1018280a;
    transition: 0.3s;
}

.cancel-btn {
    background: #ffffff;
    color: #374151;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #cfdce6;
    box-shadow: #1018280a;
}

.main {
    flex: 1;
    padding: 60px 32px 2px;
    background: #f6fbfe;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.hero-logo {
    display: none;
}

.hero3 {
    display: flex;
    flex: 1;
    justify-content: center;
}

.hero3 input {
    font-size: 15px;
    padding: 12px 40px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 427px;
    height: 40px;
    background: url("https://res.cloudinary.com/db9nz57u6/image/upload/v1759241461/search_kcely6.svg") 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.pic {
    display: flex;
    justify-content: space-around;
    width: 92px;
    height: 40px;
    align-items: center;
}

.icon {
    width: 24px;
    height: 24px;
}

.user {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.welcome {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.welcome h2 {
    font-size: 29px;
    line-height: 40px;
}

.welcome p {
    font-size: 19px;
    font-weight: 400px;
    line-height: 24px;
}

.products {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.products::-webkit-scrollbar {
    display: none;
}

.product {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    text-align: center;
}

.product img {
    width: 100%;
    height: 100px;
    border-radius: 12px;
}

.product p {
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}

.review {
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
}

.wishlist {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.wishead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.wishead a {
    text-decoration: none;
    font-size: 15px;
    color: #2196f3;
    font-weight: 500;
}

.wishead p {
    font-size: 19px;
    font-weight: bold;
}

.wishbox {
    border: 1px solid #cfdce6;
    background: #e9f5fe;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    max-width: 53rem;
    width: 100%;
    padding: 5px;
}

.wishbox::-webkit-scrollbar {
    display: none;
}

.mywishlist {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1px solid #cfdce6;
    gap: 12px;
    flex: 0 0 auto;
    flex-wrap: wrap;
    width: 346px;
}

.mywishlist p {
    padding: 0 12px;
}

.mywish img {
    width: 345px;
    height: 150px;
    border-radius: 12px;
}

.sub {
    font-size: 19px;
    font-weight: 600;
}

.det {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 12px;
}

.vdet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.det img {
    width: 20px;
    height: 20px;
}

.det a {
    text-decoration: none;
    font-size: 12px;
    color: #2196f3;
}

.vdet img {
    width: 20px;
    height: 20px;
}

.vdet a {
    text-decoration: none;
    font-size: 12px;
    color: #2196f3;
}

.verify {
    display: flex;
    align-items: center;
    gap: 4px;
}

.verify img {
    width: 20px;
    height: 20px;
}

.recentview {
    background: #e9f5fe;
    border: 1px solid #cfdce6;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grand {
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    max-width: 51rem;
    width: 100%;
    flex-wrap: nowrap;
}

.grand::-webkit-scrollbar {
    display: none;
}

.grandbox {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #cfdce6;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px;
    flex: 0 0 auto;
    width: 418px;
}

.star {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
}

.featured {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 8px;
}

.featbox {
    background: #ffffff;
    border: 1px solid #cfdce6;
    border-radius: 8px;
    display: flex;
    padding: 12px;
    gap: 12px;
}

.fbox img {
    width: 100px;
    height: 112px;
    border-radius: 8px;
}

.featside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate {
    display: flex;
    align-items: center;
    gap: 7px;
}


.explore {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border: 1px solid #cfdce6;
    background: #ffffff;
    cursor: pointer;
}

.explore1 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
}

.explore1 img {
    width: 28px;
    height: 28px;
}

.visit {
    display: flex;
    gap: 40px;
    border-radius: 12px;
    padding: 16px;
}

.visit-table {
    max-height: 220px;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #cfdce6;
    background: #e9f5fe;
    overflow-x: hidden;
}

.visit-table::-webkit-scrollbar {
    display: none;
}

.vt {
    flex: 2;
}

.visit-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

tbody {
    background-color: #ffffff;
    border-radius: 8px;
}

.visit-table th,
.visit-table td {
    padding: 12px;
    border-bottom: 1px solid #cfdce6;
}

.vsub {
    background: #e9f6f5;
    border: 1px solid #bce3e0;
    color: #26a69a;
    padding: 4px 12px;
    border-radius: 8px;
    width: 100px;
    height: 24px;
    align-items: center;
    display: flex;
    gap: 4px;
}

.vsub div {
    width: 10px;
    height: 10px;
    background: #23978c;
    border-radius: 50%;
}

.vsub1 {
    background: #ffeee9;
    border: 1px solid #ffcbba;
    color: #ff5722;
    padding: 4px 12px;
    border-radius: 8px;
    width: 115px;
    height: 24px;
    align-items: center;
    display: flex;
    gap: 4px;
}

.vsub1 div {
    width: 10px;
    height: 10px;
    background: #ff5722;
    border-radius: 50%;
}

.visit-table thead th {
    background: #e9f5fe;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.visit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    padding: 16px;
    border: 1px solid #cfdce6;
    border-radius: 12px;
    background: #e9f5fe;
    border-radius: 12px;
}

.vc {
    display: flex;
    gap: 4;
    align-items: center;
}

.vc img {
    width: 28px;
    height: 28px;
}

.trend {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 40px;
    border: 0.5px solid #13578d;
    padding: 8px;
    background: #ffffff;
}

.trendp {
    padding: 8px;
    background: #e9f5fe;
    font-size: 15px;
    color: #2196f3;
    border-radius: 30px;
}

.trend1 {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 40px;
    border: 0.5px solid #0f403b;
    padding: 8px;
    background: #ffffff;
}

.trendp1 {
    padding: 8px;
    background: #e9f6f5;
    font-size: 15px;
    color: #26a69a;
    border-radius: 30px;
}

.trend2 {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 40px;
    border: 0.5px solid #993414;
    padding: 8px;
    background: #ffffff;
}

.trendp2 {
    padding: 8px;
    background: #ffeee9;
    font-size: 15px;
    color: #ff5722;
    border-radius: 30px;
}

@media (max-width: 820px) {
    aside {
        transform: translateX(-100%);
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 1000;
    }

    aside.show {
        transform: translateX(0);
    }

    header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 10px;
    }

    .hero-logo {
        display: block;
    }

    .hero3 input {
        width: 100%;
    }

    .wishbox {
        width: 310px !important;
    }

    .products {
        width: 83vw !important;
    }

    .product {
        scroll-snap-align: start;
    }

    .product img {
        width: 141px;
        height: 60px;
    }

    .det img {
        width: 20px;
        height: 20px;
    }

    .verify img {
        width: 20px;
        height: 20px;
    }

    .grand {
        /* display: flex; */
        flex-direction: column;
        align-items: start;
        gap: 12px;
        overflow-x: visible;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        /* max-width: 70rem; */
        /* width: 30% !important; */
        /* background-color: #993414; */
        /* flex-wrap: wrap; */
    }

    .grand::-webkit-scrollbar {
        display: none;
    }

    .grandbox {
        /* display: flex; */
        /* flex-direction: column; */
        /* gap: 12px; */
        border: 1px solid #cfdce6;
        border-radius: 12px;
        background: #ffffff;
        /* background-color: #000; */
        padding: 12px;
        flex: 0 0 auto;
        width: 285px;
    }

    /* .grand {
        flex-direction: column;
        overflow-x: hidden;
        gap: 12px;
    }

    .grandbox {
        width: 100%;
    } */

    .grandbox .sub {
        font-size: 15px;
    }

    .grandbox p {
        font-size: 12px;
        width: auto;
    }

    .review {
        flex-direction: column-reverse;
    }

}

@media (max-width: 780px) {

    .products,
    .wishbox,
    .grand {
        width: 250px;
    }

    .visit {
        flex-direction: column;
        padding: 16px 0;
    }

    .visit-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 250px;
        padding: 4px 0;
        width: 83vw !important;
    }
}