p{
  margin: 0;
}

/* navbar */
.navbar img{
  width: 200px;
  height: 70px;
}

.navbar{
  box-shadow: 0px 2px 15px rgb(0,0,0);
  margin: 15px;
}

.collapse{
  display: flex;
  justify-content: flex-end;
}

.search-bar{
  /* width: 70%; */
  flex-grow: 1;
  max-width: 70%;
  display: flex;
  justify-content: flex-start;
  background-color: #f1f1f1;
  padding: 5px 10px;
  border-radius: 30px;
}

.search-bar button{
  padding: 0px 10px;
  border: none;
  margin-bottom: 4px;
}

.search-bar input:focus{
  outline: none;
}

.search-bar input{
  padding: 10px 8px;
  background-color: transparent;
  flex-grow: 1;
  border: none;
}

.cart-wrapper{
  margin: 0px 10px;
  padding: 8px;
  cursor: pointer;
  border: 2px solid transparent;
}

.cart-wrapper a{
  text-decoration: none;
  color: #0e3020;
}

.cart-wrapper:hover{
  border: 2px solid #0e3020;
}

/* hero text */

.hero-container {
  padding: 50px;
  max-width: 80%;
  text-align: center;
}

.hero-main {
  color: #0e3020; /* Dark Green */
  font-size: 35px;
  font-weight: 800;
  line-height: 1.2;
}

/* The slanted red line over "Paisa" */
.red-line {
  position: relative;
  display: inline-block;
}

.red-line::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 105%;
  height: 5px;
  background-color: #e63946; /* Red */
  transform: rotate(-5deg); /* This makes it slanted */
}

/* The thick underline on the second row */
.green-underline {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
}

.hero-italic {
  color: #777;
  font-style: italic;
  font-size: 20px;
  margin-top: 15px;
}

/* 2. Medium Devices (Tablets - screens smaller than 992px) */
@media (max-width: 992px) {
  .hero-main {
    font-size: 30px; /* Slightly smaller for tablets */
  }
}

/* 3. Small Devices (Phones - screens smaller than 600px) */
@media (max-width: 600px) {
  .hero-main {
    font-size: 15px; /* Small enough so it doesn't break into 4 lines */
  }
  
  /* Adjust the red line thickness for smaller text */
  .red-line::after {
    height: 3px; 
  }
}

/* Subtext sizing */
.hero-italic {
  color: #777;
  font-style: italic;
  font-size: 24px;
}

@media (max-width: 600px) {
  .hero-italic {
    font-size: 8px;
  }
}

/* products */

.card{
  box-shadow: 0px 2px 7px #000000;
  border-radius: 15px;
  justify-self: center;
  width: 100%;
  height: 100%;
  max-width: 400px;
  /* width: 18rem; */
}

.card button{
  background-color: #0E3020;
  color: white;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 5px 10px;
  font-weight: 500;
  font-size: 14px;
  margin-top: 15px;
}

.card-body{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  font-weight: 600;
}

/* .card-title{
  font-weight: 100;
} */

.product-ratings{
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

/* for explaining purpose  */
/* .products-container{
  display: flex;
} */

.image-box{
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.image-box img{
  width: 100px;
  max-height: 100%;
}