/* google font */
@import url('https://fonts.googleapis.com/css2?family=Lora&family=Poppins&family=Merriweather:opsz@18..144&family=Roboto&display=swap');

/* All variable start from here */
:root {
    --color: #fff;
    --primary: #432c83;
    --dark: #191919;
    --fs-page-title-px: 172px;
    --fs-page-title-vw: 13vw;
    --fs-title: 36px;
    --fs-subtitle: 24px;
    --fs-body: 20px;
    --fw-light: 300;
    --fw-md: 500;
    --fw-bold: 700;
    --ff-lora: "Lora", serif;
    --ff-weather: "Merriweather", serif;
    --ff-roboto: "Roboto", serif;
    --ff-poppins: "Poppins", serif;
    --ratio-square: 1/1;
    --ratio-vertical: 4/5;
    --ratio-horizontal: 6/4;
    --curve-sm: 8px;
    --curve-lg: 24px;
    --curve-circle: 999px;
    --shadow: 4px 14px 34px #1c294d77;
}

/* All variable end from here */

/* All font classes start here */
.lora {
    font-family: "Lora", serif;
}

.weather {
    font-family: "Merriweather", serif;
}

.roboto {
    font-family: "Roboto", sans-serif;
}

.poppins {
    font-family: "Poppins", sans-serif;
}

/* All font classes end here */

/* custom library start here */
a {
    color: inherit;
    text-decoration: none;
}

main {
    min-height: 100dvh;
}

.primary {
    color: var(--color);
    background-color: var(--primary);
}

.white {
    color: var(--primary);
    background-color: var(--color);
}

.dark {
    color: var(--color);
    background-color: var(--dark);
}

.section-gap {
    padding-block: 120px;
}

.bg-transparent {
    border: none;
    outline: none;
    background: transparent;
}

/* custom library end here */

/* nav css start here */
.selection-container img {
    width: 30px;
    height: 18px;
}

.logo-box img {
    width: 100%;
    max-width: 190px;
}

.search-box {
    width: 140px;
}

.search-box:focus {
    outline: none;
}

/* nav css end here */

/* top bar v-2 css start */
.topbar {
    color: var(--color);
    font-size: 12px;
    font-weight: 600;
    background-color: #2E3192;
}

.topbar a {
    text-decoration: underline;
}
/* top bar v-2 css end */

/* navbar v-2 css start */
nav {
    top: 0;
    position: sticky;
    z-index: 9999;
    background-color: var(--color);
    box-shadow: 0px 4px 14px rgb(28 41 77 / 8%);
}

.nav-logo {
    width: 100%;
    max-width: 134px;
}

.nav-top {
    gap: 16px;
    display: flex;
    align-items: center;
}

.nav-top .search-box {
    gap: 16px;
    height: 100%;
    display: flex;
    flex: 1 1 auto;
    padding: 8px 13px;
    align-items: center;
    background-image: linear-gradient(
            315deg, 
            rgb(255 255 255 / 100%),
            rgb(204 204 204 / 1%),
            rgb(255 255 255 / 100%),
            rgb(204 204 204 / 1%),
            rgb(255 255 255 / 100%),
            rgb(204 204 204 / 1%)
        );
    border-radius: 8px;
    background-color: #f1f2f5;
}

.nav-top .search-input-container {
    flex: 1 1 auto;
}

.nav-top .search-input-container .search-input {
    width: 100%;
    border: none;
    padding-inline: 12px;
    background-color: transparent;
    border-left: 1px solid var(--dark);
}

.nav-top .search-input-container .search-input:focus {
    outline: none;
}

.nav-top .category-filter select {
    border: none;
    outline: none;
    appearance: none;
    background: transparent;
}

.nav-top .suggestion-section {
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px;
    max-height: 80vh;
    overflow-y: auto;
    position: absolute;
    top: calc(100% + 8px);
    background-color: #fff;
}

.nav-top .suggest-item:hover {
    background-color: #f1f2f5;
}

.nav-top .suggest-item img {
    width: 100%;
    aspect-ratio: 1/1;
}

.nav-menu .menu-group {
    gap: 8px;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.nav-menu .menu-group .menu-item {
    flex: 1 1 auto;
    position: relative;
    text-align: center;
    padding-block: 8px;
    border-radius: 8px;
    transition: 300ms all ease;
}

.nav-menu .menu-group .menu-item:hover {
    color: var(--color);
    transition: 500ms all ease;
    background-color: var(--primary);
}

.nav-menu .menu-group .menu-item .nav-subcat {
    left: 0;
    right: 0;
    top: 100%;
    position: absolute;
    z-index: 999;
    background-color: #fff;
}

.nav-menu .menu-group .menu-item .nav-subcat .position-relative {
    display: none;
    flex-direction: column;
}

.nav-menu .menu-group .menu-item:hover .nav-subcat .position-relative {
    display: flex;
    color: var(--dark);
}

.nav-menu .menu-group .menu-item .nav-subcat .sub-menu-item > a {
    width: 100%;
    padding: 8px;
    display: block;
}

.nav-menu .menu-group .menu-item .nav-subcat .sub-menu-item > a:hover {
    background-color: #432c83;
    color: var(--color);
}

.nav-menu .menu-group .menu-item .nav-subcat .sub-menu-item .nav-sub-cat-item > a {
    width: 100%;
    padding: 4px;
    display: block;
}

.nav-menu .menu-group .menu-item .nav-subcat .sub-menu-item .nav-sub-cat-item > a:hover {
    background-color: #432c83;
    color: var(--color);
}

.nav-menu .menu-group .menu-item .nav-subcat .position-relative .nav-sub-cat-item { 
    left: 0;
    right: 0;
    gap: 4px;
    top: 100%;
    display: none;
    position: relative;
    flex-direction: column;
    background-color: #ccc;
    transition: 300ms all ease;
}

.nav-menu .menu-group .menu-item .nav-subcat .position-relative .sub-menu-item:hover .nav-sub-cat-item {
    display: flex;
    transition: 500ms all ease;
}

@media (max-width: 991px) {
    .closer-sidebar {
        top: 5%;
        right: 0;
        width: 48px;
        height: 48px;
        z-index: 1000;
        display: none;
        position: fixed;
        font-size: 30px;
        place-content: center;
        background-color: #fff;
    }

    .sidebar {
        /* display: none; */
        top: 0;
        left: -100vw;
        bottom: 0;
        z-index: 999;
        display: none;
        padding: 16px;
        overflow: auto;
        position: fixed;
        background-color: #fff;
        width: calc(100vw - 30px);
        transition: 300ms all ease;
    }

    .sidebar.slider {
        left: 0vw;
        transition: 1500ms all ease;
    }

    .sidebar .nav-top {
        flex-direction: column;
    }

    .sidebar .nav-top .search-box {
        width: 100%;
    }

    .sidebar .nav-top .social-nav {
        width: 100%;
        justify-content: space-around;
    }

    .sidebar .nav-menu .nav-menu-container {
        overflow: auto;
        flex-direction: column;
    }

    .sidebar .nav-menu .menu-group {
        flex-direction: column;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        height: calc(100% - 178px);
        overflow: hidden auto;
    }

    .nav-menu .menu-group .menu-item .nav-subcat {
        position: static;
    }
}
/* navbar v-2 css end */

/* landing page css start */
.grid-box {
    padding: 0;
    height: 100vh;
}

.grid-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-box .absolute-box {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    color: #fff;
    position: absolute;
    text-align: center;
    transition: 300ms all ease;
}

.grid-box:hover .absolute-box {
    bottom: 50%;
    transition: 500ms all ease;
    transform: translateY(50%);
}

.grid-box:hover .absolute-box h4 { 
    padding: 16px 48px;
    display: inline-block;
    border: 2px solid #fff;
    transition: 500ms all ease; 
    border-radius: var(--curve-circle);
}

.absolute-box h4:hover {
    color: #191919;
    background-color: #f1f1f1;
}
/* landing page css end */

/* home page css start */
.carousel-item img {
    width: 100%;
    aspect-ratio: 16 / 3; /* (1350 X 300):width X height */
}   

.carousel-caption {
    position: absolute;
    right: 8%;
    left: auto;
    text-align: start;
    color: #fff;
}

.product-section {
    top: 0;
    position: sticky;
    overflow-y: auto;
    padding-block: 24px;
    background-color: #fff;
}

.product-section .title-box {
    z-index: 99;
    padding: 1.5rem;
    position: relative;
}

.product-section .title-box.title-box-1.active {
    display: flex;
    justify-content: start;
    transition: 500ms all ease;
}

.product-section .title-box.title-box-2.active {
    display: flex;
    justify-content: end;
    transition: 500ms all ease;
}

.product-section .subtitle {
    position: relative;
}

.product-section .subtitle::before, .product-section .subtitle::after { 
    top: 50%;
    width: 36px;
    height: 1px;
    content: " ";
    position: absolute;
    background-color: #363636;
}

.product-section .subtitle::before {
    right: 116%;
}

.product-section .subtitle::after {
    left: 116%;
}

.home-card-thumb img {
    object-fit: cover;
    transition: 300ms all ease-in;
    aspect-ratio: var(--ratio-vertical);
}

.home-card-thumb .hover-img {
    display: none;
    transition: 300ms all ease-in;
}

.home-card-thumb:hover img {
    display: none;
    transition: 300ms all ease-in;
}

.home-card-thumb:hover .hover-img {
    display: block;
    transition: 300ms all ease-in;
}

/* .featured-item {
    width: 20%;
    display: grid;
    flex: 0 0 auto;
    text-align: center;
    border-radius: 2px;
    aspect-ratio: 1 / 1;
    place-content: end center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
} */

.featured-item {
    display: grid;
    text-align: center;
    border-radius: 2px;
    aspect-ratio: 1 / 1;
    place-content: end center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    text-shadow: 
            3px 3px 0px var(--primary),         
            -3px -3px 0px var(--primary)         
        ;
}

.featured-item .feature-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--color);
    text-transform: uppercase;
    /* -webkit-text-stroke: 2px var(--primary); */
}

.product-card-v2 {
    display: flex;
    min-height: 420px;
    border-radius: 4px;
    flex-direction: column;
    border: 1px solid #ccc;
}

.product-card-v2 .item-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.product-card-v2 .item-describe {
    gap: 8px;
    flex: 1 1 auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-v2 .item-describe .item-price {
    font-size: 20px;
    font-weight: 700;
}

.product-card-v2 .item-describe .item-info {
    font-size: 12px;
}

.product-card-v2 .item-describe .item-btn-cart {
    color: var(--color);
    background-color: #4A912F;
}

.product-card-v2 .item-describe .item-btn-buy {
    flex: 1 1 auto;
    color: var(--color);
    background-color: #2E3192;
}

/* home page css end */

/* product listing page css start here */
.product-card {
    border: 1px solid #191919;
}

.product-thumb {
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    object-fit: cover;
    transition: 300ms all ease;
    aspect-ratio: var(--ratio-vertical);
}

.product-overlay {
    left: 0;
    right: 0;
    bottom: 0;
    height: 0%;
    overflow: hidden;
    position: absolute;
    transition: 300ms all ease;
}

.product-card-body:hover .product-thumb img {
    transform: scale(1.10) rotate(2deg);
    transition: 750ms all ease;
}

.product-card-body:hover .product-overlay {
    height: 20%;
    transition: 500ms all ease;
}

/* product listing page css end here */

/* product details page css start here */
.product-img-box {
    gap: 24px;
    display: flex;
}

.product-img-box>.position-relative {
    flex-basis: 10%;
}

.product-img-scroller {
    gap: 24px;
    display: flex;
    height: 400px;
    overflow-y: auto;
    flex-direction: column;
}

.product-img-scroller.height {
    height: auto;
}

.product-img-scroller::-webkit-scrollbar {
    width: 3px;
}

.product-img-scroller::-webkit-scrollbar-thumb {
    width: 3px;
    background-color: #aaa;
    border-radius: var(--curve-circle);
}

.product-img-scroller img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: var(--ratio-vertical);
}

.scroll-down-arrow {
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    display: grid;
    position: absolute;
    place-content: center;
    background-image: linear-gradient(rgb(255 255 255 / 0%), rgb(255 255 255 / 100%), rgb(255 255 255 / 100%));
}

.scroll-down-arrow.rotate {
    transform: rotate(180deg);
}

.img-thumb-preview {
    flex-basis: 90%;
}

.img-thumb-preview img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: var(--ratio-vertical);
}

.product-attr-color {
    width: 100%;
    padding: 8px;
    display: block;
    border: 1px solid #aaa;
    border-radius: var(--curve-circle);
}

.product-attr-color.active {
    border: 2px solid #191919;
}

.btn-attr {
    width: 100%;
    background-color: #f1f1f1;
}

.quantity-box {
    padding: 2px;
    background-color: #f1f1f1;
    border-radius: var(--curve-sm);
}

/* product details page css end here */

/* cart page design start here */
/* process step counter */
.step-counter {
    max-width: 50%;
    padding-top: 16px;
    margin-inline: auto;
    font-family: var(--ff-lora);
}

.step-container {
    position: relative;
    text-align: center;
    transform: translateY(-24%);
}

.step-counter .progress {
    height: 1px;
    width: calc(100% - 20px);
    background-color: #191919;
}

.step-circle { 
    width: 30px;
    height: 30px;
    display: flex;
    cursor: pointer;
    line-height: 30px;
    font-weight: bold;
    border-radius: 50%;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #191919;
}

.step-circle.active {
    color: #fff;
    background-color: #191919;
}

/* cart list */
.cart-list h4 {
    color: var(--primary);
}

.cart-list .cart-single-remover {
    top: 4px;
    left: 6px;
    position: absolute;
}

.cart-list .btn-cart-close {
    width: 24px;
    height: 24px;
    color: #ffffff;
    background-color: #ff6347;
    border-radius: var(--curve-circle);
}

.cart-list .product-info {
    min-width: 220px;
}

.cart-list .product-info img {
    width: 72px;
    object-fit: cover;
    aspect-ratio: var(--ratio-vertical);
}

.cart-list .quantity-box {
    background-color: transparent;
}

.cart-price-info h4 {
    color: var(--primary);
}
/* cart page design end here */

/* footer css start */
.payment-list img {
    width: 48px;
    aspect-ratio: 16/9;
    border-radius: 2px;
}
/* footer css end */