/* Font and Global */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333;
}

a {
  text-decoration: none;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #a8c6fa;
}
.navbar-nav .nav-link {
  margin: 0 5px;
}
.navbar .nav-link.active:hover {
    color: rgb(255, 0, 162);
}
.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #88b1f7;
}
/* Hero Banner */
.hero-banner {
    background-image: url('/komi/images/shopherosection/Bokeh.png'); /* your background image */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    height: 300px; /* or 400px/auto depending on your layout */
}

/* Card Wrapper */
.card-wrapper {
  border-radius: 12px;
  transition: transform 0.2s ease;
  overflow: hidden;
}

.card-wrapper:hover {
  transform: scale(1.02);
}

.card-img-top {
  height: 330px;
  object-fit: cover;
  width: 90%;
  margin: 0 auto;
  display: block;
  border-bottom: 1px solid #eaeaea;
}

.card-body {
  background-color: white;
  flex-grow: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;

}

.card-title {
  font-size: 1rem;
  line-height: 1.3em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* limit to 2 lines */
  -webkit-box-orient: vertical;
}

.btn-outline-primary {
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
}

/* Price Styles */
.price-now {
  color: #e74c3c;
  font-weight: 600;
}

/* Discount Section Title */
section h2 {
  font-size: 1.8rem;
}

/* Footer */
footer {
  color: #666;
  font-size: 0.95rem;
}

footer h6 {
  font-weight: 600;
}

footer a:hover {
  color: #007bff;
}

footer img {
  vertical-align: middle;
}

/* In your shop.css */

.modal-custom-size .modal-dialog {
  max-width: 600px;
  width: 100%;
  margin: auto;
}

.modal-content {
  max-width: 100%;
  overflow: hidden;
}

.modal-body {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 1rem;
  word-wrap: break-word;
  overflow: hidden;
}

.modal-product-img {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 8px;
}

.product-details {
  flex: 1;
  min-width: 0; /* Allows flex item to shrink properly */
  font-size: 0.95rem;
  overflow-wrap: break-word;
}


.custom-add-btn {
  background-color: #d69bf1b4; /* your desired background */
  color: white;
}

.custom-add-btn:hover {
  background-color: #50e6d5;
}

.custom-view-btn {
  background-color: #7fc8d2;
  color: white;
}

.custom-view-btn:hover {
  background-color: #d651aa84;
}



