body {
    position: relative;
    top: -22px;
}

.navbar {
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
}


/* Maintenance */

#soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    background-image: url(../img/cst.webp) !important;
    background-position: center;
    height: 85vh;
    background-size: cover;
    color: rgba(255, 255, 255, 0.875);
}

#wh_maintainance {
    width: 15vw;
    border-radius: 5px !important;
}


/* Home Section */

.hero {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    background-size: cover;
    clip-path: ellipse(65% 15% at 50% 100%);
    z-index: 1;
}

#heroImage {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.content {
    position: relative;
    z-index: 1;
    padding: 0 5vw;
    display: flex;
    flex-direction: column;
}

.content h1 {
    font-weight: bold;
    margin-left: 3vw;
    font-size: 2.5vw;
}

.content p {
    font-size: 1.75vw;
    margin: 3vh 3vw;
}

.content .btn {
    width: -moz-fit-content;
    width: fit-content;
}


/* Shelf */

.product-catalog-box {
    padding: 2.5vw;
}

.catalog-header {
    padding: 8px 36px;
}

.catalog-heading {
    font: 700 48px/60px 'Montserrat', sans-serif;
    letter-spacing: -0.96px;
    margin: 0 !important;
}

.catalog-view {
    text-decoration: underline;
}

.shelf-container {
    gap: 12px;
    z-index: 2;
}

.next-btn,
.prev-btn {
    border: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fdffff 100%);
    cursor: pointer;
}

.next-btn>img,
.prev-btn>img {
    width: 24px;
    height: 100%;
}

.prev-btn {
    transform: rotate(180deg);
}

.new-product-container {
    padding: 12px;
    gap: 6vw;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.prod-img {
    height: 160px;
    width: auto;
    min-width: 90px;
    object-fit: contain;
    border-radius: 4px;
}

.prod-info-box {
    padding: 8px 0 24px 0;
}

.prod-dets {
    padding: 0 8px;
    gap: 4px;
    flex-grow: 1;
}

.prod-title {
    position: relative;
    left: -1.5px;
    font: 700 20px/24px 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
    text-transform: capitalize;
    width: max-content;
}

.prod-author {
    font: 400 14px/20px 'Poppins', sans-serif;
    text-transform: capitalize;
}

.prod-buys {
    padding: 4px 8px;
    min-width: 200px;
}

.prod-mrp {
    text-decoration: line-through;
}

.cart-btn {
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--gradient);
}

.shelf {
    padding: 0;
    gap: 0;
    top: -40px;
}

.shelf-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.shelf-height {
    height: 12px;
    width: 100%;
    background-color: rgb(255 255 255);
    border-radius: 0 0 2px 2px;
    outline: 0.2px solid rgb(238 238 238);
    outline-offset: -0.2px;
    box-shadow: 6px 12px 12px 0 rgb(34 40 49 / 25%);
}


/* slideshow */

.slideshowimgslider {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.slideshow-container {
    position: relative;
    margin: auto;
}


/* Hide the images by default */

.mySlides {
    display: none;
    justify-content: center;
    align-items: center;
}

.mySlides img {
    max-width: 100%;
    height: auto;
}


/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 2vw;
    padding-top: 2.5vw;
    padding-bottom: 2.5vw;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 2vw;
    transition: 0.6s ease;
    border-radius: 0 7px 7px 0;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.next {
    right: 0;
    border-radius: 7px 0 0 7px;
}

.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}


/* Caption text */

.slideshow-text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}


/* Number text (1/3 etc) */

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}


/* The dots/bullets/indicators */

#dots {
    position: relative;
    top: -35px;
}

.dot {
    cursor: pointer;
    height: 12.5px;
    width: 12.5px;
    margin: 0 8px;
    background-color: #dddddd;
    opacity: 0.8;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.6s ease;
}


/* Active dot color */

.active,
.dot:hover {
    background-color: var(--black);
}


/* Fading animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@media screen and (max-width: 1000px) and (min-width: 501px) {
    #home div {
        margin-top: 2rem;
    }
    .hero::before {
        clip-path: ellipse(80% 20% at 50% 95%);
    }
    #soon {
        margin-bottom: 0;
    }
    .slideshow-container {
        max-width: 100%;
        position: relative;
        margin: auto;
    }
    .mySlides img {
        max-width: 100vw;
        height: auto;
    }
    #home .h-col .btn {
        padding: 1.25vh 5vw;
    }
    .prev,
    .next {
        font-size: 3vw;
        padding: 2.5vw;
        padding-top: 3.5vw;
        padding-bottom: 3.5vw;
    }
}

@media screen and (max-width: 500px) {
    #soon {
        height: 85vh;
        margin-bottom: 2rem;
    }
    .hero::before {
        clip-path: ellipse(85% 12% at 50% 95%);
    }
    .map_container iframe {
        width: 80%;
        height: 25rem;
        clip-path: polygon(0% 20%, 100% 20%, 100% 100%, 0% 100%);
    }
    .catalog-header {
        padding: 4px 12px;
    }
    .shelf-container {
        gap: 8px;
    }
    .next-btn>img,
    .prev-btn>img {
        width: 16px;
    }
    .prod-card {
        gap: 8px;
    }
    .prod-img {
        height: 90px;
        min-width: 54px;
    }
    .prod-info-box {
        padding: 2px 0 12px 0;
    }
    .prod-dets {
        gap: 2px;
    }
    .prod-title {
        font: 700 14px/18px 'Montserrat', sans-serif;
        letter-spacing: -0.28px;
    }
    .prod-author {
        font: 400 10px/14px 'Poppins', sans-serif;
    }
    .prod-mrp,
    .prod-sp {
        font: 500 16px/18px 'Inter', sans-serif !important;
    }
    .prod-buys {
        padding: 2px 8px;
    }
    .cart-btn {
        padding: 3px 9px;
        border-radius: 4px;
        background: var(--gradient);
    }
    .cart-btn>svg {
        width: 12px;
        height: 12px;
    }
    .shelf {
        top: -24px;
    }
    .shelf-height {
        height: 4px;
    }
}