
/* extra */
.pet-services-section {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 40px auto;
}

.pet-services-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #2c3e50;
}

.pet-services-container {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.pet-services-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pet-services-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px auto;
  background: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.icon-circle i {
  color: #fff;
  font-size: 28px;
}

.pet-services-item:hover .icon-circle {
  background: #388e3c;
}

.icon-circle img {
  width: 30px;
  height: 30px;
}

.pet-services-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.pet-services-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .pet-services-container {
    flex-direction: column;
    align-items: center;
  }

  .pet-services-item {
    width: 100%;
    max-width: 300px;
  }
}

/* description */
.tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
  margin-bottom: 20px;
}

.tabs button {
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.tabs button.active {
  border-color: #4caf50;
  color: #4caf50;
}

.tab-content {
  display: none;
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-top: none;
}

.tab-content.active {
  display: block;
}

/* Recently viewed section styling */
/* ============== Related Product ============== */
.related-section {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.related-section h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
}

.related-slider {
  padding: 10px 5px 40px;
}

.related-slide {
  background: #fdfdfd;
  border-radius: 16px;
  text-align: left;
  padding: 15px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.related-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
}

/* Product Image with Hover Cart */
.product-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.product-image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

.add-cart {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b7c07;
  color: #fff;
  padding: 8px 18px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
}

.product-image:hover .add-cart {
  bottom: 20px;
  opacity: 1;
}

/* Sale Badge */
.sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #3b8d15;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

/* Product Title */
.related-slide h3.product-title {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 6px;
  color: #333;
}

/* Price & Wishlist Row */
.price-wishlist {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.related-slide p.product-price {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  color: #000;
}

.related-slide p.product-price span {
  text-decoration: line-through;
  color: #888;
  margin-left: 6px;
  font-size: 14px;
}

.wishlist {
  font-size: 18px;
  color: #e74c3c;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wishlist:hover {
  transform: scale(1.2);
}

/* Circle Navigation Buttons */
.related-next,
.related-prev {
  width: 35px;
  height: 35px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  transition: all 0.3s ease;
}

.related-next::after,
.related-prev::after {
  font-size: 16px;
  font-weight: bold;
}

.related-next:hover,
.related-prev:hover {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

/* Responsive */
@media (max-width: 768px) {
  .related-section h2 {
    font-size: 22px;
  }

  .product-image img {
    height: 180px;
  }

  .related-slide h3.product-title {
    font-size: 14px;
  }

  .related-slide p.product-price {
    font-size: 13px;
  }

  .add-cart {
    font-size: 12px;
    padding: 6px 14px;
  }
}

/* single */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.product-gallery {
  display: flex;
  flex: 1 1 400px;
  gap: 20px;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: border 0.3s;
}

.thumbnails img:hover {
  border-color: #4caf50;
}

.main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-details {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-details h1 {
  font-size: 28px;
  color: #2c3e50;
}

.stock span {
  color: green;
  font-weight: bold;
}

.rating {
  color: #ffa500;
  font-size: 16px;
}

.price {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.old-price {
  text-decoration: line-through;
  color: #999;
}

.new-price {
  font-weight: bold;
  color: #4caf50;
}

.savings {
  color: #e74c3c;
}

.description {
  font-size: 14px;
  line-height: 1.5;
}

.button-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
}

.add-to-cart {
  background-color: #000;
  color: #fff;
}

.add-to-cart:hover {
  background-color: #333;
}

.buy-now {
  background-color: #4caf50;
  color: #fff;
}

.buy-now:hover {
  background-color: #45a049;
}

.wishlistlink{
  cursor: pointer;
  color: #555;
  font-size: 16px;
  margin-top: 5px;
  text-decoration: none;
}
.wishlistlink:hover{
  color: rgb(19, 117, 6);
  font-weight: 700;
  padding: 8px 10px;
}

.extra-info {
  background: #f1f1f1;
  padding: 15px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
}

.extra-info p {
  margin-bottom: 5px;
}

/* Responsive Layout */
@media (min-width: 769px) {
  .product-gallery {
    flex-direction: row;
  }

  .thumbnails {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .product-gallery {
    flex-direction: column;
  }

  .thumbnails {
    flex-direction: row;
    justify-content: center;
    margin-top: 15px;
  }

  .thumbnails img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 10px;
    font-size: 14px;
  }

  .price {
    flex-direction: column;
    align-items: flex-start;
  }

  .extra-info {
    font-size: 12px;
  }
}

.existing-reviews {
  max-height: 300px;
  /* Adjust as needed */
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  background: #fff;
}

.existing-reviews .review {
  border-bottom: 1px solid #f1f1f1;
  padding: 10px 0;
}

.existing-reviews .review:last-child {
  border-bottom: none;
}

.existing-reviews .rating {
  font-size: 14px;
  color: #f39c12;
  margin-bottom: 5px;
}

/* ======= */
.product-stock {
    font-size: 14px;
    color: #333;
}

.product-stock .instock {
    color: green;
    font-weight: bold;
}

.product-stock .outstock {
    color: red;
    font-weight: bold;
}

.product-stock .hide {
    display: none;
}
/* button add and wish */
.button-group {
    display: flex;
    gap: 0;
}

.button-group .btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
}

.add-to-cart {
    background-color: #007bff;
    color: white;
    border: none;
}

.add-to-cart:hover {
    background-color: #0056b3;
}

.buy-now {
    background-color: white;
    color: #007bff;
    border: 2px solid #007bff;
}

.buy-now:hover {
    background-color: #007bff;
    color: white;
}
.button-group form {
    margin: 0;
}

.button-group .btn {
    border-radius: 0;
}
