/* body.gradient-background {
  background: linear-gradient(300deg,  #afc08f,#fce7a3,#9C8BC1) !important;
  background-size: 180% 180% !important;
  animation: gradient-animation 18s ease infinite !important;
  background-position: 0% 50% !important;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}


  @keyframes gradient-animation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  } */
/* faeee6
f5e8f9
eae3f9
f3eff9 */
@font-face {
  font-family: "Amsterdam One";
  src: url("/static/fonts/AmsterdamThreeSlant-axaym.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}



h2 {
  margin: 20px 0;
  padding: 10px;
}

.product-img {
  margin: 20px 0;
  padding: 10px;
}

.alert-demo {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

body {
  overflow-x: hidden;
  background-color: #f3eff9;
}

#mainCarousel {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

@media (max-width: 769px) {
  .hide-under-769 {
    display: none !important;
  }
}

@media (max-width: 320px) {
  .hide-under-320 {
    display: none !important;
  }
}

.product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sleek-comments {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.comment-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 4px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
  gap: 12px;
}

.comment-item:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comment-avatar {
  padding: 0px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid #e9ecef;
}

.comment-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #495057;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}

.comment-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6c757d;
  min-width: 80px;
  text-align: right;
  flex-shrink: 0;
}

.comment-rating {
  font-size: 0.8rem;
  flex-shrink: 0;
  color: #ffc107;
}
/* homepage styling */
.full-bleed-left {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -30vw;
  margin-right: auto;
  width: 40vw;
  max-width: none;
}
.quote-mark {
  font-size: 4rem;
  color: #d2691e; /* chocolate brown */
  position: absolute;
  top: 10px;
  left: 15px;
  font-family: serif;
  opacity: 0.2;
  user-select: none;
  pointer-events: none;
}
.blockquote {
  position: relative;
  padding-left: 3rem !important;
}
/* homepage hides */


.hero-full {
  width: 100vw;            /* Full viewport width */
  height: auto;            /* Adjust height to image ratio */
  max-height: 400px;        /* Optional: keep it from being too tall */
  object-fit: cover;       /* Fill area without distortion */
  display: block;
  margin: 0;  
  margin-top: 0 !important;
  padding-top: 0;             /* Remove gaps */
  position: relative;      /* Keeps it in flow */
  left: 50%;
  right: 50%;
  margin-left: -50vw;      /* Cancels container padding */
  margin-right: -50vw;
}


/* Example: only show 1 product under 300px */
/* @media (max-width: 300px) {
  .product-card-wrapper:nth-child(n+3) { display: none; }
} */

/* 2 products 301-600px */
/* @media (min-width: 301px) and (max-width: 600px) {
  .product-card-wrapper:nth-child(n+4) { display: none; }
} */

/* 1 product 601-900px */
/* @media (min-width: 601px) and (max-width: 900px) {
  .product-card-wrapper:nth-child(n+5) { display: none; }
} */

/* 4 products 901+ */
/* @media (min-width: 901px) {
  .product-card-wrapper:nth-child(n+6) { display: none; }
} */


/* hides */
@media (max-width: 1000px) {
  .hide-under-1000 {
    display: none !important;
  }
  .show-under-1000 {
    display: block !important;
  }
}

@media (max-width: 900px) {
  .hide-under-900 {
    display: none !important;
  }
  .show-under-900 {
    display: block !important;
  }
}

@media (min-width: 901px) {
  .show-under-900 {
    display: none !important;
  }
}

.mobile-search {
  display: flex;
  justify-content: center;
  padding: 0.5rem;
}

.mobile-search-input {
  width: 90%;
  max-width: 400px;
}
.show-under-900 form {
  display: flex;
  justify-content: center;
}

/* header styling */
.center-logo img {
  max-height: 80px;
  display: flex;
  justify-content: center;
  width: auto;
  margin: 0;
  padding: 0;
}

@media (max-width: 300px) {
  .center-logo img {
    max-height: 50px;
  }
}

@media (max-width: 600px) {
  .center-logo img {
    max-height: 50px;
  }
}

@media (max-width: 900px) {
  .center-logo img {
    max-height: 50px;
  }
}

@media (min-width: 901px) {
  .center-logo img {
    max-height: 200px;
  }
}

.navbar-bg-header {
  background-color: #afc08f; /* background colour for first header */
}
.categories-bg-header {
  background-color: #fce7a3; /* background colour for second header */
}

.navbar-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 30px; /* Ensure enough height for the logo */
}
.categories-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 30px; /* Ensure enough height for the logo */
}

.left-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 30px; /* Match the header height */
}

.right-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  height: 30px; /* Match the header height */
}
.left-second-section,
.right-second-section {
  display: flex !important; /* ensure flex */
  justify-content: center !important; /* center horizontally */
  align-items: center !important; /* center vertically */
  height: 40px; /* keep your height */
}

/* Mobile styling  */
