@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700&display=swap');

:root {
    --green: #a955d3;
    --dark-color: #591661;
    --black: #000000;
    --light-color: #2b2530;
    --border: .1rem solid rgba(0, 0, 0, .1);
    --border-hover: .1rem solid var(--black);
    --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 5rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--black);
}

body {
    margin: 0;
    color: #161217;
    background: linear-gradient(180deg, #fffaf0 0%, #ffffff 18%, #f8f1ff 100%);
}

.header .header-1 {
    background: rgba(255, 255, 255, .96);
    padding: 1rem 2.4rem 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .7rem;
    flex-wrap: wrap;
    border-bottom: var(--border);
    backdrop-filter: blur(10px);
}

.header .header-1 .logo {
    font-size: 2.3rem;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: bolder;
    color: var(--black);
}

.header .header-1 .logo img {
    width: 58px;
    height: auto;
    margin-right: 5px;
}

.header .header-1 .logo i {
    color: var(--green);
}

.header .header-1 .logo span {
    width: auto;
    margin-left: 6px;
}

.search-container {
    display: flex;
    align-items: center;
    width: min(100%, 44rem);
    margin-left: auto;
    position: relative;
    border: var(--border);
    border-radius: 1.2rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 .8rem 1.8rem rgba(89, 22, 97, .08);
}

.search-container input[type="text"] {
    width: 100%;
    padding: .8rem 1.1rem;
    font-size: 1.2rem;
    box-sizing: border-box;
    border: none;
    text-transform: none;
}

.search-container button {
    width: 3.25rem;
    height: 3.25rem;
    background: #f5f5f5;
    border-left: var(--border);
    cursor: pointer;
}

.search-container button i {
    font-size: 1.35rem;
}

.search-results {
    position: absolute;
    top: calc(100% + .6rem);
    left: 0;
    width: 100%;
    background-color: white;
    border: var(--border);
    box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .08);
    border-radius: .9rem;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: .9rem 1rem;
    border-bottom: 1px solid #ececec;
    box-sizing: border-box;
    min-height: 5.6rem;
    gap: .8rem;
}

.search-result-item img {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: .7rem;
    object-fit: cover;
    margin-right: 0;
}

.search-result-item:last-child {
    border-bottom: none;
}

.header .header-1 .icons div,
.header .header-1 .icons a {
    font-size: 2.5rem;
    margin-left: 1.5rem;
    color: var(--black);
    cursor: pointer;
}

.header .header-1 .icons div:hover,
.header .header-1 .icons a:hover {
    color: var(--green);
}

#search-btn {
    display: none;
}

.header .header-2 {
    background: var(--green);
    box-shadow: 0 .6rem 1.2rem rgba(89, 22, 97, .08);
}

.header .header-2 .navbar {
    text-align: center;
}

.header .header-2 .navbar a {
    color: #fff;
    display: inline-block;
    padding: 1.1rem 1.25rem;
    font-size: 1.6rem;
}

.header .header-2 .navbar a:hover {
    background: var(--dark-color);
}

.header .header-2.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.shop-hero {
    padding: 2.6rem 6% 1rem;
}

.shop-hero__content {
    max-width: 72rem;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(169, 85, 211, .18);
    border-radius: 2rem;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 1rem 2.4rem rgba(89, 22, 97, .08);
}

.shop-hero__eyebrow {
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .18rem;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .55rem;
}

.shop-hero__content h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: .65rem;
}

.shop-hero__content p:last-child {
    font-size: 1rem;
    color: #4b4250;
    text-transform: none;
}

.container {
    width: min(1120px, 92vw);
    margin: auto;
    max-width: 92vw;
    text-align: center;
    padding-top: 4px;
    transition: transform .5s;
}

.toolbar-shell {
    margin-top: .35rem;
}

.shop-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 0 .9rem;
}

svg {
    width: 30px;
}

.icon-cart {
    position: relative;
    display: flex;
    justify-content: right;
    margin-right: 0;
}

.icon-cart svg {
    width: 30px;
    height: 32px;
}

.icon-cart span {
    position: absolute;
    background-color: #e53935;
    min-width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    top: -.45rem;
    right: -.75rem;
    padding: 0 .3rem;
    font-size: 1rem;
    z-index: 12;
    box-shadow: 0 .2rem .6rem rgba(0, 0, 0, .28);
    border: 2px solid #fff;
}

.title {
    font-size: xx-large;
}

.shop-grid-wrap {
    padding-bottom: 2rem;
}

.listProduct {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 17rem));
    gap: 1.25rem;
    justify-content: center;
}

.listProduct .item {
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 240, 255, .92));
    padding: 1rem;
    border-radius: 1.35rem;
    text-align: left;
    display: grid;
    grid-template-rows: auto auto auto auto;
    row-gap: .45rem;
    min-height: 0;
    box-shadow: 0 .9rem 2rem rgba(89, 22, 97, .09);
    border: 1px solid rgba(169, 85, 211, .12);
    transform: translateZ(0);
}

.listProduct .item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 1.1rem;
    box-shadow: 0 .7rem 1.6rem rgba(89, 22, 97, .11);
    margin-bottom: .65rem;
}

.listProduct .item h2 {
    color: #060407;
    font-weight: 700;
    font-size: 1.2rem;
    height: 3.2rem;
    overflow: hidden;
    text-transform: none;
    line-height: 1.32;
}

.listProduct .item .price {
    letter-spacing: 1px;
    font-size: 1.15rem;
    margin: .1rem 0 .2rem;
    flex-grow: 0;
    color: var(--dark-color);
    font-weight: 700;
}

.listProduct .item button {
    background: linear-gradient(135deg, var(--green), var(--dark-color));
    color: #eee;
    border: none;
    padding: .7rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    margin-top: .2rem;
    font-size: .95rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    box-shadow: 0 .55rem 1.1rem rgba(89, 22, 97, .2);
}

.listProduct .item button::before {
    content: "\f07a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.listProduct .item button:hover {
    transform: translateY(-2px);
    box-shadow: 0 .75rem 1.5rem rgba(89, 22, 97, .28), inset 0 .1rem .2rem rgba(255, 255, 255, .25);
}

.listProduct .item:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.1rem 2.4rem rgba(89, 22, 97, .14);
}

.footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, .85), #fff);
    padding: 3.5rem 7% 2.4rem;
    margin-top: 3.2rem;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.1rem;
}

.footer .box-container .box h3 {
    font-size: 1.55rem;
    color: var(--black);
    padding: .2rem 0 .9rem;
    margin-bottom: .5rem;
    border-bottom: 1px solid #ececec;
}

.footer .box-container .box a {
    display: block;
    font-size: 1.05rem;
    color: var(--light-color);
    padding: .7rem 0;
    text-transform: none;
}

.footer .box-container .box:nth-child(2) a,
.footer .box-container .box:nth-child(3) a {
    text-transform: capitalize;
}

.footer .box-container .box a i {
    color: var(--green);
    padding-right: 0.5rem;
}

.footer .box-container .box a:hover i {
    padding-right: 1.1rem;
}

.footer .share {
    padding: 1rem 0 .6rem;
    text-align: center;
}

.footer .share a {
    height: 4.1rem;
    width: 4.1rem;
    line-height: 4.1rem;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--dark-color));
    margin: 0 .3rem;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 .55rem 1.1rem rgba(89, 22, 97, .16);
}

.footer .share a:hover {
    background: var(--black);
}

.footer .credit {
    border-top: var(--border);
    margin-top: 2rem;
    padding: 1.2rem 1rem 0;
    font-size: 1.2rem;
    color: var(--light-color);
    text-align: center;
    text-transform: none;
}

.footer .credit span {
    color: var(--green);
}

.cartTab {
    width: min(360px, 100vw);
    background: linear-gradient(180deg, #f8f1ff 0%, #ffffff 18%, #fffaf3 100%);
    color: #1d1623;
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    display: grid;
    grid-template-rows: 76px 1fr 72px;
    transition: right .45s ease;
    box-shadow: -1.8rem 0 3rem rgba(44, 20, 53, .18);
    z-index: 1200;
    border-left: 1px solid rgba(169, 85, 211, .14);
}

body.showCart .cartTab {
    right: 0;
}

body.showCart::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(19, 10, 24, .18);
    backdrop-filter: blur(2px);
    z-index: 1100;
}

body.showCart .container {
    transform: translateX(-220px);
}

.cartTab h1 {
    padding: 2rem 2rem 1.2rem;
    margin: 0;
    font-weight: 700;
    color: #1d1623;
    font-size: 1.5rem;
    letter-spacing: .02em;
    border-bottom: 1px solid rgba(169, 85, 211, .12);
    background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .45));
}

.cartTab .btn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: .8rem;
    padding: .9rem 1rem 1rem;
    background: rgba(255, 255, 255, .78);
    border-top: 1px solid rgba(169, 85, 211, .12);
}

.cartTab button {
    background-color: #913ec5;
    border: 1px solid rgba(89, 22, 97, .12);
    font-family: Poppins, sans-serif;
    font-weight: 600;
    cursor: pointer;
    border-radius: 999px;
    padding: 12px;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 .7rem 1.4rem rgba(89, 22, 97, .14);
}

.cartTab .close {
    background: #fff;
    padding: 12px;
    border-radius: 999px;
    width: 100%;
    border: 1px solid rgba(89, 22, 97, .16);
    color: #2e2234;
}

.cartTab .checkOut {
    background: linear-gradient(135deg, var(--green), var(--dark-color));
    padding: 12px;
    border-radius: 999px;
    width: 100%;
    border: 1px solid rgba(89, 22, 97, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 .8rem 1.6rem rgba(89, 22, 97, .22);
}

.listCart {
    overflow: auto;
    padding: 1rem;
    display: grid;
    align-content: start;
    gap: .85rem;
}

.listCart::-webkit-scrollbar {
    width: 7px;
}

.listCart::-webkit-scrollbar-thumb {
    background: rgba(169, 85, 211, .26);
    border-radius: 999px;
}

.listCart .item {
    display: grid;
    grid-template-columns: 70px 1fr 82px;
    gap: 10px;
    text-align: left;
    align-items: center;
    color: #1d1623;
    padding: .85rem;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(169, 85, 211, .12);
    border-radius: 1.4rem;
    box-shadow: 0 .8rem 1.8rem rgba(89, 22, 97, .08);
}

.listCart .item:nth-child(even) {
    background: rgba(255, 255, 255, .94);
}

.listCart .item img {
    width: 100%;
    height: 8.2rem;
    border: 1px solid rgba(89, 22, 97, .1);
    object-fit: cover;
    border-radius: 1rem;
    margin-left: 0;
    box-shadow: 0 .4rem .9rem rgba(89, 22, 97, .12);
}

.listCart .item .content {
    min-width: 0;
}

.listCart .item .name {
    font-weight: 700;
    font-size: .92rem;
    text-align: left;
    line-height: 1.35;
    text-transform: none;
    margin-bottom: .35rem;
}

.price {
    font-size: .78rem;
    color: #6a5874;
    text-transform: none;
}

.listCart .quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}

.listCart .quantity span {
    display: inline-block;
    min-width: 2.6rem;
    height: 2.4rem;
    background: rgba(169, 85, 211, .1);
    border-radius: .8rem;
    color: #4a3554;
    cursor: pointer;
    line-height: 2.4rem;
    text-align: center;
    font-weight: 700;
}

.listCart .quantity button {
    padding: 0;
    margin: 0;
    border: 1px solid rgba(89, 22, 97, .14);
    background: #fff;
    color: var(--dark-color);
    cursor: pointer;
    width: 2.1rem;
    height: 2.1rem;
    box-sizing: border-box;
    border-radius: 50%;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 .35rem .8rem rgba(89, 22, 97, .08);
}

.listCart .quantity .decrease {
    size: 10px;
}

.listCart .quantity .number {
    background-color: transparent;
    color: #000;
    cursor: auto;
}

.footer .box-container .box:nth-child(1) h3 {
    margin-bottom: 1rem;
    margin-top: -2rem;
}

.footer .box-container .box:nth-child(1) {
    background-image: url('Map1.png');
    background-size: 100% 100%;
    background-position: center 1.2rem;
    background-repeat: no-repeat;
    color: #fcfcfc;
    padding: 1.4rem;
    border-radius: 1.2rem;
    overflow: hidden;
    width: 84%;
    height: auto;
    min-height: 20rem;
    margin-top: .5rem;
    justify-self: center;
}

.footer .box-container .box:not(:nth-child(1)) {
    background: #fff;
    border: var(--border);
    border-radius: 1.2rem;
    padding: 1.1rem 1rem;
    box-shadow: 0 .7rem 1.5rem rgba(89, 22, 97, .08);
}

.email-link {
    text-transform: none;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.4rem;
    margin-bottom: .6rem;
    gap: .8rem;
    flex-wrap: wrap;
}

.pagination-button {
    padding: .75rem 1.25rem;
    margin: 0;
    background-color: #fff;
    border: 1px solid rgba(169, 85, 211, .22);
    cursor: pointer;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    box-shadow: 0 .45rem 1rem rgba(89, 22, 97, .08);
}

.pagination-button:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

.icon-link {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: .2rem;
    font-size: 2.5rem;
    color: #333;
    text-decoration: none;
    line-height: 1;
}

.cart-btn {
    width: 48px;
    height: 40px;
    background: #fff;
    border: 1px solid rgba(169, 85, 211, .18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin-right: 0;
    box-shadow: 0 .7rem 1.4rem rgba(89, 22, 97, .12);
}

.cart-btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

@media only screen and (max-width: 992px) {
    .listProduct {
        grid-template-columns: repeat(auto-fill, minmax(16rem, 16rem));
    }
}

@media only screen and (max-width: 900px) {
    .header .header-1 {
        padding: .8rem 1.2rem .8rem .8rem;
    }

    .header .header-1 .logo {
        flex: 0 0 auto;
    }

    .search-container {
        width: 100%;
        order: 3;
    }

    .icon-link {
        margin-right: .8rem;
    }

    .shop-toolbar {
        margin-top: .2rem;
    }

    .shop-hero {
        padding: 1.6rem 1.2rem .6rem;
    }

    .shop-hero__content {
        padding: 1.2rem;
    }
}

@media only screen and (max-width: 768px) {
    .header .header-1 .logo {
        font-size: 1.9rem;
    }

    .header .header-1 .logo img {
        width: 48px;
    }

    .header .header-2 .navbar a {
        padding: .95rem .8rem;
        font-size: 1.45rem;
    }

    .listProduct {
        grid-template-columns: repeat(auto-fill, minmax(15rem, 15rem));
        gap: 1rem;
    }

    .listProduct .item img {
        height: 180px;
    }

    .footer {
        padding: 3rem 2rem;
    }

    .footer .box-container {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 560px) {
    .listProduct {
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
    }

    .container {
        max-width: 94vw;
    }

    .cartTab {
        width: 100vw;
    }

    body.showCart .container {
        transform: none;
    }
}
