 /*na*/
 :root {
    --font_color: #000000;
    --head_bg: #9df3b8;
    --font_style: Poppins;
    --logo_color: green;
    --head_font_color: rgb(70, 129, 70);
}
*{
  font-family: "Inter", sans-serif;
}
/* header banner*/
header {
    text-align: center;
    background-color: var(--head_bg);
    padding: 0.8px;
    color: var(--head_font_color);
    
    /* color: black; */
}
.header_text {
    position: relative;
    top: -80px;
    opacity: 0;
    animation: revealText 0.9s ease-out forwards;
    
}

@keyframes revealText {
    0% { top: -80px; opacity: 0; }
    100% { top: 0; opacity: 1; }
}
header span {
    color: var(--logo_color);
    font-weight: bolder;
}
 body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background-color: #f9f9f9;
      color: #333;
    }

/*brands*/
    .section {
      padding: 60px 20px;
      animation: slideInLeft 1s ease-out;
      max-width: 1200px;
      margin: 0 auto;
    }

    h2 {
      font-size: 26px;
      margin-bottom: 6px;
      color: #111;
    }

    p.subtitle {
      margin-top: 0;
      margin-bottom: 40px;
      color: #555;
      font-size: 14px;
    }

    .brands-container {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .brand-card {
      background-color: #fff;
      width: 180px;
      height: 160px;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.06);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.4s ease;
    }

    .brand-card:hover {
      /* transform: scale(1.08); */
    }

    .brand-logo {
      max-width: 100%;
      max-height: 110px;
      object-fit: contain;
    }

    @keyframes slideInLeft {
      from {
        opacity: 0;
        transform: translateX(-50px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* Responsive layout for smaller screens */
    @media (max-width: 1024px) {
      .brands-container {
        justify-content: center;
      }

      .brand-card {
        margin-bottom: 20px;
      }
    }

    @media (max-width: 600px) {
      .brand-card {
        width: 45%;
      }
    }







.pagination-container {
  display: flex;
  justify-content: center;
  gap: 1.5 rem;
  overflow-x: auto;
  margin-top: 3rem;
  padding-bottom: 100px;
}



.page-btn{
  background: rgb(0, 0, 0);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.active{
  background: rgb(71, 255, 65);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.pagination-container button:hover {
  background: rgb(6, 140, 180);   
  transform: scale(1.05);
}

.pagination-container button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.pagination-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  margin-top: 2rem;
}


.collection-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 10px;
  width: 100%;
  text-align: center;
  color: #666;
  font-size: 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Hide loader after fetch */
.collection-loader.hidden {
  display: none;
}




/*banner*/
.product-banner-section {
  padding: 40px 10%; /* Same left-right spacing as your design */
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-banner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
}

.product-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Dark overlay */
.product-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 15, 0.35); /* soft dark overlay */
  z-index: 1;
  border-radius: 12px;
}

/* Text Content */
.product-banner .text-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
  font-family: 'Poppins', sans-serif;
}

.product-banner .text-content small {
  font-size: 14px;
  letter-spacing: 1.2px;
  opacity: 0.8;
}

.product-banner .text-content h1 {
  font-size: 36px;
  font-weight: 600;
  margin-top: 8px;
}


/*animations banner*/
@media (max-width: 768px) {
  .product-banner {
    height: 220px;
  }

  .product-banner .text-content h1 {
    font-size: 24px;
  }
}

.catalog {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
  position: relative;
  text-align: center;
}
.product-info h3{
  font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card:hover {
  transform: translateY(-5px);
}
/*every product image same*/
.product-image {
  position: relative;
  height: 300px;
}

.product-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  left: 0;
}

.product-image .hover-img {
  opacity: 0;
  z-index: 2;
}
/*end*/
.product-card:hover .hover-img {
  opacity: 1;
}

.product-card:hover .default-img {
  opacity: 0;
}
/*product-card1*/
    .product-card1 {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
  position: relative;
  text-align: center;
}

.product-card1:hover {
  transform: translateY(-5px);
}
.product-card1:hover .hover-img {
  opacity: 1;
}

.product-card1:hover .default-img {
  opacity: 0;
}
/*product-card2*/
.product-card2 {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
  position: relative;
  text-align: center;
}

.product-card2:hover {
  transform: translateY(-5px);
}
.product-card2:hover .hover-img {
  opacity: 1;
}

.product-card2:hover .default-img {
  opacity: 0;
}
/*product-card3*/
.product-card3 {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
  position: relative;
  text-align: center;
}

.product-card3:hover {
  transform: translateY(-5px);
}
.product-card3:hover .hover-img {
  opacity: 1;
}

.product-card3:hover .default-img {
  opacity: 0;
}
/*product-card4*/
.product-card4 {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
  position: relative;
  text-align: center;
}

.product-card4:hover {
  transform: translateY(-5px);
}
.product-card4:hover .hover-img {
  opacity: 1;
}

.product-card4:hover .default-img {
  opacity: 0;
}



/*contact us*/
/*contact us*/
/*.contact-cta-section {*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  align-items: center;*/
/*  background-color: #8bf0a1;*/
/*  padding: 40px 30px; */
/*  margin: 40px auto;*/
/*  max-width: 1200px;*/
/*  border-radius: 8px;*/
/*  gap: 30px;*/
/*  flex-wrap: wrap;*/
/*}*/

/*.contact-cta-content {*/
/*  flex: 1;*/
/*  min-width: 280px;*/
/*}*/

/*.contact-cta-content h2 {*/
/*  font-size: 22px;*/
/*  color: black;*/
/*  font-weight: 600;*/
/*  margin-bottom: 16px;*/
/*}*/

/*.contact-cta-content button {*/
/*  background-color: black;*/
/*  color: #fff;*/
/*  border: none;*/
/*  padding: 10px 20px;*/
/*  font-size: 14px;*/
/*  font-weight: 500;*/
/*  border-radius: 4px;*/
/*  cursor: pointer;*/
/*  transition: background-color 0.3s ease;*/
/*}*/

/*.contact-cta-content button:hover {*/
/*  background-color: white;*/
/*  color: black;*/
/*  font-weight: bold;*/
/*}*/

/*.contact-cta-image {*/
/*  flex: 1;*/
/*  min-width: 280px;*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*}*/

/*.contact-cta-image img {*/
/*  width: 100%;*/
/*  max-width: 400px;*/
/*  height: auto;*/
/*  object-fit: contain;*/
/*  border-radius: 6px;*/
/*}*/
    
    
.contact-cta-section {
  width: 100%;
  display: flex;
  justify-content: center;   /* center horizontally */
  padding: 40px 0;

}

.contact-cta-section img {
  width: 80%;                /* control width */
  max-width: 1172px;         /* prevent too large on big screens */
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;

}