/* Mobile Responsive Styles */

/* Reviews Mobile Responsive */
@media (max-width: 768px) {
  .eachdiv {
    padding: 1rem 1.2rem;
  }
  
  .review h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  
  .review p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .name {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .eachdiv {
    padding: 0.9rem 1rem;
  }
  
  .review h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }
  
  .review p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .name {
    font-size: 0.95rem;
  }
}

/* Product Cards Mobile Responsive */
@media (max-width: 768px) {
  .product-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0.5rem;
  }

  .product-card {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .product-card-left,
  .product-card-right {
    width: 100%;
  }

  .product-content-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }

  .product-image {
    flex: 1;
    min-width: 120px;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
  }

  .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
  }

  .product-price h4 {
    font-size: 1.8rem;
  }

  .other-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .buy-now-btn {
    width: 100%;
    max-width: 200px;
    margin: 15px 0 0 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .buy-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
  }

  .buy-now-btn img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    filter: brightness(1.1) saturate(1.2);
  }

  .free-shipping {
    font-size: 1rem;
  }

  .product-total {
    font-size: 1.2rem;
  }

  .payment-icons {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .payment-icons img {
    max-width: 150px;
    height: auto;
  }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
  .product-content-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .product-image {
    max-width: 100%;
    min-width: auto;
  }

  .product-image img {
    max-height: 180px;
  }

  .product-details {
    width: 100%;
  }

  .product-price h4 {
    font-size: 1.5rem;
  }

  .free-shipping {
    font-size: 0.9rem;
  }

  .product-total {
    font-size: 1.1rem;
  }

  .buy-now-btn {
    max-width: 180px;
    margin: 15px 0 0 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .buy-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
  }

  .buy-now-btn img {
    border-radius: 8px;
    filter: brightness(1.1) saturate(1.2);
  }
}

/* FAQ Mobile Responsive - Fix text overflow */
@media (max-width: 768px) {
  .bioheal-faq-question {
    padding: 1rem 0.8rem !important;
    font-size: 0.95rem !important;
  }

  .bioheal-faq-question span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    display: block;
    flex: 1;
    min-width: 0;
    padding-right: 0.5rem;
  }

  .bioheal-faq-chevron {
    flex-shrink: 0;
    width: 1rem !important;
    height: 1rem !important;
  }

  .bioheal-faq-answer {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  .bioheal-faq-item.active .bioheal-faq-content {
    padding: 1rem 0.8rem !important;
  }
}

@media (max-width: 480px) {
  .bioheal-faq-question {
    padding: 0.8rem 0.6rem !important;
    font-size: 0.85rem !important;
  }

  .bioheal-faq-question span {
    font-size: 0.85rem !important;
    line-height: 1.3;
  }

  .bioheal-faq-answer {
    font-size: 0.85rem !important;
  }

  .bioheal-faq-item.active .bioheal-faq-content {
    padding: 0.8rem 0.6rem !important;
  }
}

/* Ensure product image is always bigger than buy button on mobile */
@media (max-width: 768px) {
  .product-image {
    min-height: 150px;
  }

  .buy-now-btn {
    max-width: 200px;
  }

  .product-image img {
    min-height: 150px;
    max-height: 200px;
  }
}

@media (max-width: 480px) {
  .product-image {
    min-height: 120px;
  }

  .product-image img {
    min-height: 120px;
    max-height: 180px;
  }

  .buy-now-btn {
    max-width: 160px;
    margin: 15px 0 0 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .buy-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
  }

  .buy-now-btn img {
    border-radius: 8px;
    filter: brightness(1.1) saturate(1.2);
  }
}

/* Hero Button Mobile Responsive */
@media (max-width: 768px) {
  .hero-button-container {
    margin-top: 15px;
    padding: 0 1rem;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .custom-buy-button {
    padding: 14px 30px;
    font-size: 16px;
    width: 80%;
    max-width: 280px;
    gap: 10px;
    letter-spacing: 2px;
  }

  .button-text {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 2.5px;
  }

  .button-icon {
    font-size: 16px;
  }

  .image-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
  }
}

@media (max-width: 480px) {
  .hero-button-container {
    margin-top: 10px;
    padding: 0 0.5rem;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .custom-buy-button {
    padding: 12px 25px;
    font-size: 14px;
    width: 80%;
    max-width: 240px;
    gap: 8px;
    letter-spacing: 1.5px;
  }

  .button-text {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;
  }

  .button-icon {
    font-size: 14px;
  }

  .image-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
}