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

body{
    font-family:url(../fonts/Poppins-Black.ttf)!important;
    perspective: 700px;
}

.line {
    display: block;
    width: 70px;
    height: 3px;
    background-color: #212529;
    margin: auto;
    text-align: center;
    border-radius: 10px;
    transition: 0.5s;
}

.line-title:hover + .line {
    width: 120px;
}

@media (max-width:995px){
    .creds .credentials{
        width: 100% !important;
    }

    .header .ctr {
        top: -4px !important;
        right: -2px !important;
    }
}

/*//////////////////////////// header ////////////////////////////*/

.header a, .header .cart {
    font-size: larger;
    font-weight: 500;
    color: rgb(68, 68, 68) !important;
    transition: 0.2s;
    margin: 0 5px;
}

.header a:hover, .header .cart:hover {
    color: black !important;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.header .cart{
    position: relative;
    margin-top: 7px;
}

.header .user-info {
    display: none;
}

.header .ctr, header .counter {
    position: absolute;

    background-color: #dc3545;
    color: #ffffff;

    border: 0.5px solid #e9e8e8;

    height: 17px;
    width: 17px;
    border-radius: 50%;

    left: 15px;
    bottom: 25px;

    text-align: center;
    font-size: 10px !important;
}

/*//////////////////////////// home ////////////////////////////*/

.mainbody #shop-now {
    border: none;
    border-radius: 10px;
    height: 35px;
    width: 40%;
    float: right;
    color: white;
    transition: 0.3s;
}

.mainbody #shop-now:hover {
    opacity: 0.85;
}

.trendingCrd {
    transition: 0.3s;
    cursor: pointer;
}

.trendingCrd:hover {
    transform: scale(1.05, 1.05);
}

.collection-container div {
    transition: 0.3s;
    cursor: pointer;
}

.collection-container div:hover {
    transform: scale(0.95, 0.95);
}

.subscribe-email input {
    outline: none;
    border: none;
    padding: 7px;
}

.subscribe-email button {
    border: none;
    padding: 7px;
    background-color: #e9e8e8;
}

@media(max-width:992px){
    .perks-container div{
        width: 48% !important;
    }
}
@media(max-width:567px){
    .perks-container div{
        width: 90% !important;
    }
}

/*//////////////////////////// products ////////////////////////////*/

.productsContainer #add_to_cart, #favs-container #add_to_cart {
    border: none;
    border-radius: 10px;
    height: 40%;
    width: 40%;
    float: right;
    color: white;
    transition: 0.3s;
}

.productsContainer #add_to_cart:hover {
    opacity: 0.85;
}

.productsContainer span{
    font-size: larger;
    font-weight: 600;
}

.productsContainer .mainImgWrapper, #favs-container .mainImgWrapper {
    position: relative;
}

.prodCrd {
    transform-style: preserve-3d;
}

.productsContainer .imgOverlay {
    position: absolute;
    top: 0;
    left: 0;
    
    opacity: 0;
    visibility: hidden;
    transition: .5s;
}

.productsContainer .prodCrd:hover .imgOverlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 1s;
}

.productsContainer .prodCrd {
    transition: 0.5s;
}

.productsContainer .prodCrd:hover {
    transform:scale(1.05, 1.05);
}

.productsContainer .mainImgWrapper .icons, #favs-container .mainImgWrapper .icons {
    position: relative;
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    z-index: 2;
    font-size: 20px;
    width: 35px;
    height: 35px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 5px 0 gray;
    transform: scale(0.95238, 0.95238);
}

.productsContainer .mainImgWrapper .favorites {
    color: rgb(161, 161, 161);
    font-size: 21px;
    line-height: 35px;
}

#favs-container .mainImgWrapper .favorites {
    font-size: 21px;
    line-height: 35px;
}

#notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 10px;
    background-color: #4CAF50;
    user-select: none;
    color: white;
    border-radius: 5px;
    z-index: 10;
    opacity: 0;
    transition: 0.5s ease-in-out;
}

/*//////////////////////////// cart products ////////////////////////////*/

@media (min-width:515px) {
    .cart-prods .cart-prod{
        min-width: 515px;
    }
}
@media (max-width:515px) {
    .cart-prods .cart-prod {
        height: fit-content !important;
    }
    .bttn {
        margin-bottom: 1.5rem;
    }
    .cart-prods .cart-prod .image, .cart-prods .cart-prod img  {
        width: 100%;
    }

    .cart-prods .cart-prod .image {
        height: 50% !important;
    }
    .cart-prods .cart-prod img  {
        height: 100% !important;
    }
}

.cartt {
    position: relative;
    min-height: 40vh;
}

.cartt .empty-cart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: 5px double black;
    padding: 10px 20px;

    display: none;
}

/*//////////////////////////// profile ////////////////////////////*/

.profile div {
    margin: 20px 0;
    padding: 10px 20px;

    border: 1px solid #D5D9D9;
    border-radius: 8px;

    text-align: center;
    cursor: pointer;
}

.profile div:hover {
    background-color: #eee;
}



.swiper {
    width: 100%;
    height: 100%;
  }

.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
}

.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}