* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*---------------------------second section--------------------------------*/


.card-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card-second {
  position: relative;
  width: calc(33.333% - 13.33px);
  height: 387px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  background-color: #000;
  border-radius: 20px;
}

.card-second img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  border-radius: 20px;
}

.card-second::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  /* Light black overlay */
  z-index: 1;
  border-radius: 20px;
}

.brand-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: transparent;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  color: #000;
  z-index: 2;
}

.card-second:hover img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .card-second {
    width: 100%;

  }

}

@media (max-width: 480px) {
  .card-second {
    width: 100%;
    height: 250px;
  }

}

@media (max-width: 768px) {
  .card-second {
    width: 100%;
    height: 300px;
  }

}


/*---------------------------second section--------------------------------*/


.footer-color {
  background-color: #f7f7f7;
}

/*----------------------------product slider css-------------------------------*/


/* Base styles */

* {
  box-sizing: border-box;
}


.bg-background {
  background-color: #f7f7f7;
}

/* Product Slider Styles */
.product-slider-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

.product-slider-title {
  font-size: 42px;
  font-weight: bold;
  color: #222222;
  margin-bottom: 30px;
  text-align: left;
}



/* Add this to your CSS */
.product-slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 0 10px;
  /* Add some padding for mobile */
}


.product-slider-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 100%;
  /* Remove any calculated width */
  cursor: grab;
  user-select: none;
}


.product-slider-track:active {
  cursor: grabbing;
}

.product-slide {
  flex: 0 0 100%;
  /* Mobile-first */
  padding: 0 10px;
  box-sizing: border-box;
  /* padding যেন width-এর মধ্যে হিসেব হয় */
}

@media (min-width: 480px) {
  .product-slide {
    flex: 0 0 50%;
    /* Tablet */
  }

  .min-h-screen {
    min-height: 50vh !important;
  }

}

@media (min-width: 768px) {
  .product-slide {
    flex: 0 0 25%;
    /* Desktop (4 items) */
  }


  .min-h-screen {
    min-height: 40vh !important;
  }

}

.product-image-container {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.product-image-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.product-title {
  font-size: 17px;
  font-weight: 500;
  color: #222222;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #2E2F34;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(46, 47, 52, 0.3);
}

.slider-btn:hover:not(:disabled) {
  background-color: #1a1b1f;
  transform: scale(1.05);
}

.slider-btn:disabled {
  background-color: #6b7280;
  cursor: not-allowed;
  opacity: 0.5;
}

.slider-btn:active:not(:disabled) {
  transform: scale(0.95);
}

/* Responsive styles */
@media (max-width: 768px) {
  .product-slide {
    flex: 0 0 25%;
  }


  .product-slider-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .product-slide {
    flex: 0 0 50%;
  }


}



/*----------------------------product slider css-------------------------------*/

/*--------------------------------Best seller Product  css-----------------------*/

.title-best-seller {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #000;
}

.product-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.product-card {
  background: white;
  padding: 20px;
  width: 260px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  border: none;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-description {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
  /* min-height: 60px; */
}

.product-image img {
  max-width: 100%;
  height: 150px;
  text-align: center;
  margin: auto;
}

/*--------------------------------Best seller Product  css-----------------------*/


/*-------------------------------------Faq Section -------------------------------*/
.faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}



.faq-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 10px;
  color: #000;
  font-weight: bold;
}

.faq-question span {
  color: #000;
}

.faq-description {
  text-align: center;
  color: #000;
  font-size: 14px;
  margin-bottom: 40px;
}

.faq-box {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-item {
  border-top: 1px solid #e0e0e0;
  padding: 15px 0;
}

.faq-item:first-child {
  border-top: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}

.faq-answer {
  margin-top: 10px;
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle-icon {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-icon {
  width: 20px;
  text-align: center;
}

/*-------------------------------------Faq Section -------------------------------*/

/*-------------------------------------Cart Section css-------------------------------*/


.product-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-info img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.quantity-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-box input {
  width: 50px;
  text-align: center;
  border: 1px solid #ccc;
}

.quantity-box button {
  border: 1px solid #ccc;
  background-color: #eee;
  width: 30px;
  height: 35px;
}

.cart-actions input {
  max-width: 200px;
}

.cart-right {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
}

.checkout-btn {
  background-color: #000;
  color: #fff;
  width: 100%;
}

.checkout-btn:hover {
  background-color: #333;
}

.remove-product {
  color: red;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}

.remove-product:hover {
  color: darkred;
}

.btn-cart-update {
  transition: all 0.3s;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 0;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: Poppins, sans-serif;
}

/*-------------------------------------Cart Section Css-------------------------------*/


.table td,
.table th {
  vertical-align: middle !important;
}


footer a {
  color: #f7f7f7a2 !important;
}

.contact-widget strong {
  color: #f7f7f7a2 !important;
}


.btn-primary {
  color: #000 !important;
}

[class*=" icon-"]:before,
[class^=icon-]:before {

  color: #000 !important;

}

.card {
  border-radius: 12px;
}

.required {
  color: rgb(15, 14, 14) !important;
}

.required::after {
  content: " *";
  color: rgb(15, 14, 14);

}

/*-----------------------carer section---------------------------------*/

.certificate-section {
  padding: 50px 0;
}

.certificate-img {
  max-width: 100%;
  border-radius: 5px;
}

.certificate-title {
  font-weight: bold;
  color: #1a2a49;
}

.certificate-text {
  color: #555;
  line-height: 1.7;
}

.btn-block-custom {
  background-color: #0088cc;
  color: #fff;
  font-weight: bold;
  padding: 12px;
  text-align: center;
  border-radius: 5px;
  display: block;
  text-decoration: none;
}

.btn-block-custom:hover {
  background-color: #0088cc;
  text-decoration: none;
  color: #fff;
}

/*-----------------------carer section---------------------------------*/
