html{
overflow-y: scroll;
}

body{
font-family:'Poppins',sans-serif;
}

h1,h2,h3,h4,h5{
font-family:'Playfair Display',serif;
font-weight:700;
}

.fancy-text{
font-family:'Great Vibes',cursive;
color:#b22222;
font-size:2.2rem;
}
.hero{
height:420px;
background:linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
url("../images/banner.jpg") center/cover no-repeat;
}

.navbar-nav .nav-link{
font-size:20px;
font-weight:500;
padding-left:20px;
padding-right:20px;
}
.navbar-nav .nav-link:hover{
text-decoration:underline;
}

.navbar{
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.card img{
height:220px;
object-fit:cover;
}

.card{
border-radius:12px;
overflow:hidden;
transition:0.3s;
}

.card p{
font-size:18px;
}

.card:hover{
transform:translateY(-5px);
box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

h1,h2{
color:#b22222;
}

body{
background-color:#f8f9fa;
}

/* Floating Cart */

.floating-cart {

    position: fixed;

    bottom: 20px;

    left: 50%;

    transform: translateX(-50%);

    width: 90%;

    max-width: 700px;

    background: #dc3545;

    color: white;

    padding: 15px 20px;

    border-radius: 15px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    box-shadow: 0 5px 20px rgba(0,0,0,0.3);

    z-index: 9999;

    animation: slideUp 0.3s ease;

}

@keyframes slideUp {

    from {

        opacity: 0;

        transform: translate(-50%, 30px);

    }

    to {

        opacity: 1;

        transform: translate(-50%, 0);

    }

}


/* Inventory */

.out-of-stock{

opacity:0.5;

filter:grayscale(100%);

}

.stock-badge{

font-size:14px;

font-weight:bold;

}

/* Floating Cart */

.floating-cart {

position: fixed;

bottom: 20px;

left: 50%;

transform: translateX(-50%);

width: 90%;

max-width: 700px;

background: #dc3545;

color: white;

padding: 15px 20px;

border-radius: 15px;

display: flex;

justify-content: space-between;

align-items: center;

box-shadow: 0 5px 20px rgba(0,0,0,0.3);

z-index: 9999;

animation: slideUp 0.3s ease;

}

@keyframes slideUp {

from {

opacity: 0;

transform: translate(-50%, 30px);

}

to {

opacity: 1;

transform: translate(-50%, 0);

}

}

footer h4{
font-family:'Playfair Display',serif;
font-weight:700;
}

footer p{
font-size:16px;
}

footer img{
object-fit:contain;
}