/* ===========================================================
   1. PAGE WRAPPER
   =========================================================== */
.product-detail {
  padding: 70px 0;
  background: #fafaf9;
}
.product-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 40px;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}




/* ===========================================================
   PRODUCT GALLERY — FIXED (v2.0)
   =========================================================== */
.product-gallery {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

/* Main Image Wrapper */
.main-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  margin-bottom: 10px;
}

/* Main Image */
#mainProductImage {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: block;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  border: 1px solid #eee;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

/* Thumbnails Row */
.thumbnail-row {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.thumbnail-row::-webkit-scrollbar { display: none; }

/* Thumbnails */
.thumbnail-row img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 2px solid transparent;
  transition: 0.25s ease;
  flex: 0 0 auto;
}

.thumbnail-row img.active {
  border-color: var(--green-dark);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* --- MOBILE FIXES --- */
@media (max-width: 600px) {
  .product-gallery {
    width: 100%;
    align-items: center;
  }

  #mainProductImage {
    max-width: 85%;
  }

  .thumbnail-row {
    gap: 10px;
    padding: 10px 0 6px;
  }

  .thumbnail-row img {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 420px) {
  #mainProductImage {
    max-width: 78%;
  }
}


@media (max-width: 600px) {
  .product-detail { padding: 40px 0; }
  .product-wrapper { padding: 20px; }
  .product-info { padding-top: 10px; }
}


@media (max-width: 480px) {
  .thumbnail-row img {
    width: 45px;
    height: 45px;
  }
  .thumbnail-row {
    gap: 6px;
    padding-bottom: 4px;
    padding-top: 4px;
  }
}

/* FIXED — now affects ONLY thumbnails */
.thumbnail-row img:hover,
.thumbnail-row img.active {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}



/* ===============================
   SHARE UI (Desktop + Mobile)
===============================*/

.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
}

.share-bar span {
  font-weight: 700;
  color: var(--green-dark);
}

.share-btn.icon {
  background: #fff;
  border: 1.5px solid var(--green-dark);
  color: var(--green-dark);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .25s;
  font-size: 14px;
}
.share-btn.icon:hover {
  background: var(--green-dark);
  color: #fff;
}

/* ✅ Mobile Floating Button */
.floating-share {
  position: fixed;
  bottom: 140px; /* moved ABOVE WhatsApp button */
  right: 18px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 52px;
  height: 52px;
  display: none; /* still hidden on desktop */
  justify-content: center;
  align-items: center;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 9999; /* ensure it's always on top */
  cursor: pointer;
}


/* Show only on mobile */
@media(max-width:768px){
  .share-bar { display: none; }
  .floating-share { display: flex; }
}


.product-title-share {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}

.product-title-share span {
  font-size:1.9rem;
  font-weight:700;
  color:var(--green-dark);
}

.share-inline {
  display:flex;
  align-items:center;
  gap:10px;
}

.share-icon {
  background:#fff;
  border:1.5px solid var(--green-dark);
  color:var(--green-dark);
  border-radius:50%;
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.25s;
  font-size:15px;
}

.share-icon:hover {
  background:var(--green-dark);
  color:#fff;
}

/* Mobile: hide inline and show floating button */
@media(max-width:768px){
  .share-inline { display:none; }
}




/* ===========================================================
   3. PRODUCT INFO & PRICING
   =========================================================== */
.product-info {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-info h1 {
  color: var(--green-dark);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.price-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.price {
  color: var(--green-dark);
  font-size: 1.6rem;
  font-weight: 700;
}
.discount {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
}
.short-desc {
  margin: 12px 0 18px;
  color: #444;
  line-height: 1.6;
  font-size: 1rem;
}
.product-meta p {
  margin: 10px 0 0;
  color: #333;
}



/* ===========================================================
   4. QUANTITY CONTROL & ACTION BUTTONS
   =========================================================== */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}
.qty-control button {
  background: #f5f5f5;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  transition: all 0.25s ease;
}
.qty-control button:hover {
  background: var(--green-light);
  color: #fff;
}
.qty-control input {
  width: 60px;
  text-align: center;
  border: none;
  outline: none;
  padding: 8px;
  font-size: 1rem;
  font-weight: 500;
}
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.action-buttons .btn {
  flex: 1 1 auto;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary {
  background: var(--green-dark);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background: var(--orange);
}
.btn-ghost {
  background: #fff;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
}
.btn-ghost:hover {
  background: var(--green-dark);
  color: #fff;
}
.btn-wa {
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.16);
}
.btn-wa .wa-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}



/* ===========================================================
   5. PRODUCT META / STOCK STATUS
   =========================================================== */
.low-stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e67e22;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  animation: fadeIn 0.3s ease;
}
.stock-status {
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 6px;
  text-align: center;
}
.stock-status.in { color: #1b7a36; }
.stock-status.low { color: #e67e22; }
.stock-status.out { color: #d63031; }



/* ===========================================================
   PRODUCT DETAILS TABS — CLEANED & PERFECTLY ALIGNED (v3.0)
   =========================================================== */

.product-details {
  width: 100%;
  max-width: 1100px;        /* Keeps card aligned & centered */
  margin: 40px auto 0;      /* Centers below main content */
  background: #fff;
  border-radius: 18px;
  padding: 32px 34px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

/* ---- TAB CONTROLS ---- */
.tab-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 0;
  list-style: none;
}

.tab-controls li {
  padding: 10px 22px;
  background: #f1f3f0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  color: #234;
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}

.tab-controls li:hover {
  background: #e8f5ec;
}

.tab-controls li.active {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
  box-shadow: 0 6px 18px rgba(27,122,54,0.25);
}

/* ---- TAB PANES ---- */
.tab-pane {
  display: none;
  animation: fadeIn .28s ease both;
  padding: 8px 6px 10px;
  color: #333;
  font-size: 1rem;
  line-height: 1.65;
}

.tab-pane.active {
  display: block;
}

/* List inside content */
.tab-pane ul {
  margin-top: 12px;
  margin-left: 20px;
  padding-left: 0;
  line-height: 1.65;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================================================
   MOBILE FIXES — TRUE RESPONSIVE
   =========================================================== */
@media (max-width: 768px) {

  .product-details {
    width: 94%;
    padding: 22px 20px;
    margin-top: 28px;
  }

  .tab-controls {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .tab-controls::-webkit-scrollbar { display: none; }

  .tab-controls li {
    flex: 0 0 auto;
    padding: 9px 16px;
    font-size: 0.92rem;
    border-radius: 10px;
  }

  .tab-pane {
    padding: 10px 4px 12px;
    font-size: 0.95rem;
  }
}




/* ===========================================================
   8. INGREDIENTS CARDS
   =========================================================== */
.section-title-ingredients {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ingredients-card-container { display: flex; flex-direction: column; gap: 12px; }
.ingredient-card {
  background: #fafafa;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: .25s ease;
}
.ingredient-card:hover { background: #f3f7f4; border-color: #dceede; }
.ingredient-name { font-weight: 600; color: #222; }
.ingredient-amount { font-weight: 700; color: var(--green-dark); }



/* ===========================================================
   9. ADDITIONAL INFO GRID
   =========================================================== */
.product-extra-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 22px;
  margin-top: 10px;
}
.product-extra-info p { margin: 0; font-size: 1rem; line-height: 1.55; color: #333; }
.product-extra-info strong { color: var(--green-dark); font-weight: 700; }

/* ===========================================================
   FAQ (Accordion) — Clean Health Enhanced v3.0
   =========================================================== */
.faq-section { 
  margin-top: 30px; 
}

.faq-title { 
  font-size: 1.45rem; 
  font-weight: 700; 
  color: var(--green-dark); 
  margin-bottom: 18px; 
}

.faq-list { 
  display: flex; 
  flex-direction: column; 
  gap: 14px; 
}

/* ===== FAQ Card ===== */
.faq-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e6e6e6;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  transition: box-shadow .3s ease;
}

.faq-card:hover { 
  box-shadow: 0 6px 20px rgba(0,0,0,0.05); 
}

/* ===== Question Button ===== */
.faq-toggle {
  width: 100%;
  background: var(--green-dark);     /* green background */
  padding: 18px 20px;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-q-text {
  font-size: 1rem;
  font-weight: 700;                  /* bold */
  color: #fff !important;            /* white text */
}

.faq-icon { 
  font-size: 20px; 
  font-weight: 700; 
  color: #fff; 
  transition: transform .3s ease; 
}

.faq-card.active .faq-icon { 
  transform: rotate(45deg); 
}

/* ===== Answer Section ===== */
.faq-content {
  max-height: 0;
  overflow: hidden;
  background: #ffffff;               /* white background */
  padding: 0 20px;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-content p {
  color: var(--green-dark);          /* green text */
  font-size: 0.95rem;
  font-weight: 500;                  /* lighter weight */
  line-height: 1.6;
  padding: 12px 0 16px;              /* equal top/bottom feeling */
}

.faq-card.active .faq-content {
  max-height: 500px;
  padding: 12px 20px 16px;           /* equal spacing */
}

/* ===== Mobile ===== */
@media (max-width: 520px) {
  .faq-toggle { padding: 16px 16px; }
  .faq-content { padding: 0 16px; }
}

/* ============================================================
   EMPTY STATE — No FAQs Available (Product Detail Page)
============================================================ */
.faq-section .faq-empty {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  color: #555;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 20px;
  border: 1px dashed #dcdcdc;
}

.faq-section .faq-empty span {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  opacity: 0.9;
}



/* ===========================================================
   11. CUSTOMER VIDEOS / SHORTS
   =========================================================== */
.customer-videos { margin-top: 60px; margin-bottom: 60px; text-align: center; }
.customer-videos h2 { font-size: 1.6rem; color: var(--green-dark); margin-bottom: 20px; font-weight: 700; }
.shorts-grid {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; padding: 20px;
  max-width: 1200px; margin: 0 auto;
}
.short-card {
  flex: 0 0 210px; height: 370px; border-radius: 16px; overflow: hidden; background: #000; position: relative;
  cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.short-card:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.short-thumb { width: 100%; height: 100%; background-size: cover; background-position: center; border-radius: 16px; position: relative; }
.short-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
  border-radius: 14px;
}
.short-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.85);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--green-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.short-play:hover { background: var(--green-dark); color: white; }
.short-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 45px; color: #fff; opacity: 0.85; transition: opacity 0.25s ease; }
.short-card:hover .short-play-icon { opacity: 1; }
.short-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); display: none; justify-content: center; align-items: center;
  z-index: 9999; backdrop-filter: blur(5px);
}
.short-overlay.active { display: flex; animation: fadeIn 0.3s ease both; }
.short-player { position: relative; width: 320px; height: 560px; background: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.short-player iframe { width: 100%; height: 100%; border: none; display: block; border-radius: 18px; }
.short-close { position: absolute; top: 8px; right: 12px; background: transparent; color: #fff; font-size: 32px; border: none; cursor: pointer; z-index: 10; }
.short-close:hover { transform: scale(1.1); }
.shorts-grid::-webkit-scrollbar { height: 8px; }
.shorts-grid::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); border-radius: 8px; }
@media (max-width: 992px) {
  .product-wrapper { flex-direction: column; padding: 25px; }
  .product-info h1 { font-size: 1.6rem; }
  .short-card { flex: 0 0 180px; height: 320px; }
  .short-player { width: 280px; height: 500px; }
}
@media (max-width: 576px) {
  .short-card { flex: 0 0 85%; height: 360px; }
  .short-player { width: 260px; height: 460px; }
  .thumbnail-row img { width: 55px; height: 55px; }
}
@media (max-width: 540px) {
  .short-card { flex: 0 0 72%; height: 420px; }
  .short-play { bottom: 12px; right: 12px; }
}
@keyframes hintFade { 0% { opacity: 0; transform: translateY(4px); } 25% { opacity: 1; transform: translateY(0); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes arrowBounce { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* MOBILE HORIZONTAL SHORTS SCROLL */
@media (max-width: 576px) {

  .shorts-grid {
    display: flex;
    flex-wrap: nowrap;              /* prevent vertical stacking */
    overflow-x: auto;               /* enable sideways scroll */
    overflow-y: hidden;
    gap: 14px;
    padding: 10px 10px 20px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;  /* snapping */
  }

  .short-card {
    flex: 0 0 80%;                  /* one video per screen */
    height: 350px;
    scroll-snap-align: center;      /* perfect snap */
  }

  .shorts-grid::-webkit-scrollbar {
    display: none;                  /* hide scrollbar for mobile */
  }

  /* Improved swipe hint */
  .swipe-hint {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--green-dark);
    animation: hintFade 2.5s infinite;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
  }

  .swipe-hint .arrow-left,
  .swipe-hint .arrow-right {
    animation: arrowBounce 1.8s infinite ease-in-out;
    opacity: 0.7;
    font-size: 1.2rem;
  }
}

.hide-hint {
  opacity: 0;
  transition: opacity .4s ease;
}




/* ===========================================================
   MOBILE HORIZONTAL SHORTS FIX (Clean Health v4.2)
   =========================================================== */
@media (max-width: 576px) {

  .shorts-grid {
    display: flex !important;
    flex-wrap: nowrap !important;      /* stop vertical stacking */
    overflow-x: auto !important;       /* enable horizontal scroll */
    overflow-y: hidden;
    gap: 14px;
    padding: 10px 10px 20px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;     /* snapping */
    justify-content: flex-start !important; /* override center alignment */
  }

  .short-card {
    flex: 0 0 80% !important;          /* one video per view */
    height: 350px;
    scroll-snap-align: center;
  }

  .shorts-grid::-webkit-scrollbar { display: none; }

  /* Swipe hint – show only in mobile */
  .swipe-hint {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--green-dark);
    animation: hintFade 2.5s infinite;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
  }

  .swipe-hint .arrow-left,
  .swipe-hint .arrow-right {
    animation: arrowBounce 1.8s infinite ease-in-out;
    opacity: 0.7;
    font-size: 1.2rem;
  }
}

/* Hide swipe hint on DESKTOP */
@media (min-width: 577px) {
  .swipe-hint {
    display: none !important;
  }
}


/* ============================================================
   EMPTY STATE — No User Response Videos
============================================================ */
.videos-empty {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  color: #555;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 20px;
  border: 1px dashed #dcdcdc;
}

.videos-empty span {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  opacity: 0.9;
}





/* ===========================================================
   PRODUCT DETAIL — REVIEWS SECTION (Clean Health v5.2 FINAL)
   PAGE-SPECIFIC — DOES NOT AFFECT HOME PAGE
   =========================================================== */

.product-detail-reviews {
  max-width: 1050px;
  margin: 60px auto;
  padding: 0 15px;
}

.product-detail-reviews .reviews-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 25px;
}

/* ===========================================================
   REVIEWS CAROUSEL
   =========================================================== */

.product-detail-reviews .reviews-carousel {
  overflow-x: auto;
  overflow-y: hidden;

  display: flex;
  gap: 20px;

  padding: 10px 0 30px;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.product-detail-reviews .reviews-carousel::-webkit-scrollbar {
  height: 6px;
}

.product-detail-reviews .reviews-carousel::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 8px;
}

/* ===========================================================
   REVIEW CARD — MATCH HOMEPAGE ALIGNMENT
   =========================================================== */

.product-detail-reviews .review-card {
  min-width: 320px;
  max-width: 330px;

  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e5e5;

  padding: 24px 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);

  scroll-snap-align: center;
  text-align: center;
  transition: 0.25s ease;
}

.product-detail-reviews .review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
}

/* Header */
.product-detail-reviews .review-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.product-detail-reviews .review-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #222;
}

/* Stars */
.product-detail-reviews .review-rating {
  display: flex;
  justify-content: center;
  gap: 3px;
}

.product-detail-reviews .review-rating i {
  font-size: 18px;
}

.product-detail-reviews .star-gold { color: #F6C600; }
.product-detail-reviews .star-muted { color: #d9d9d9; }

/* Body */
.product-detail-reviews .review-body {
  margin-top: 6px;
}

.product-detail-reviews .review-comment {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #444;
  text-align: center;
}

.product-detail-reviews .read-more {
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--green-dark);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}
.product-detail-reviews .read-more:hover {
  text-decoration: underline;
}

/* No reviews */

.product-detail-reviews .no-reviews {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: #fffdf6;
  border: 1px dashed rgba(27, 122, 54, 0.25);
  color: #555;

  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 12px;

  margin: 25px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: 0.25s ease;
}
/* ===========================================================
   BOTTOM NAVIGATION BUTTONS (PRODUCT DETAIL ONLY)
   =========================================================== */

.product-detail-reviews .reviews-bottom-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  margin-bottom: 25px;
}

.product-detail-reviews .rev-btn-pd {
  width: 40px;
  height: 40px;
  font-size: 22px;

  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: 0.25s ease;
}

.product-detail-reviews .rev-btn-pd:hover {
  background: var(--green);
  transform: scale(1.08);
}

@media (max-width: 550px) {
  .product-detail-reviews .rev-btn-pd {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}


/* Arrow icon color change on hover */
.product-detail-reviews .rev-btn-pd:hover i {
  color: var(--green-dark);
}

/* ===========================================================
   REVIEW SUBMIT FORM — PRODUCT DETAIL
   =========================================================== */

.product-detail-reviews .review-form {
  max-width: 600px;
  width: 100%;
  margin: 40px auto 0;

  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;

  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.product-detail-reviews .review-form h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--green-dark);
  font-size: 1.45rem;
  font-weight: 700;
}

/* Inputs */
.product-detail-reviews .review-form input,
.product-detail-reviews .review-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 1rem;

  border: 1px solid #ddd;
  border-radius: 10px;

  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.product-detail-reviews .review-form input:focus,
.product-detail-reviews .review-form textarea:focus {
  border-color: var(--green-dark);
}

.product-detail-reviews .review-form textarea {
  min-height: 110px;
  resize: vertical;
}

/* Star Rating */
.product-detail-reviews .rating-stars {
  display: flex;
  direction: rtl;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1.2rem;
}

.product-detail-reviews .rating-stars input {
  display: none;
}

.product-detail-reviews .rating-stars label {
  font-size: 1.7rem;
  cursor: pointer;
  color: #ccc;
  transition: 0.2s ease;
}

.product-detail-reviews .rating-stars input:checked ~ label,
.product-detail-reviews .rating-stars label:hover,
.product-detail-reviews .rating-stars label:hover ~ label {
  color: #F6C600;
}

/* Submit */
.product-detail-reviews .btn-submit {
  width: 100%;
  padding: 12px;

  background: var(--green-dark);
  color: #fff;

  border: none;
  border-radius: 10px;

  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.2s ease;
}


.product-detail-reviews .review-note {
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #777;
}


/* ===========================================================
   💬 ENHANCEMENT — No Reviews State (v2)
   Subtle icon, soft background, and centered alignment
   =========================================================== */


.product-detail-reviews .no-reviews::before {
  content: "💭";
  font-size: 1.2rem;
  opacity: 0.8;
}

.product-detail-reviews .no-reviews:hover {
  background: #f9fff6;
  border-color: rgba(27, 122, 54, 0.35);
  transform: translateY(-2px);
}


/* ===========================================================
   RELATED PRODUCTS — Premium Cards (Clean Health UI v4.0)
=========================================================== */

.related-products {
  margin-top: 38px;
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.03);
}

.related-products h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* Desktop Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

/* Card */
.related-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: .25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

/* Discount badge */
.rel-discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 5;
}

/* Image */
.related-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #fafafa;
  padding: 14px;
}

/* Info box */
.related-info {
  padding: 12px;
  text-align: center;
}

.related-info h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 600;
  color: #223;
}

/* Stars */
.rel-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 6px;
}

.rel-stars i {
  color: #fac917;
  font-size: 1rem;
}

/* Price Layout */
.rel-price-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.rel-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
}

.rel-mrp {
  font-size: .9rem;
  text-decoration: line-through;
  color: #888;
}

/* RELATED PRODUCTS — Add to Cart Button */
.rel-add-cart {
  width: 100%;
  padding: 12px 0;
  margin-top: 10px;

  background: var(--green-dark);
  color: #fff;

  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;

  cursor: pointer;
  text-align: center;

  transition: background 0.25s ease, transform 0.2s ease;
}

/* Hover = SAFRON (SAME AS MAIN PRODUCT PAGE) */
.rel-add-cart:hover {
  background: var(--orange);     /* your saffron color */
  color: #fff !important;
  transform: translateY(-2px);
}

/* Prevent white flash for anchor-based behaviour */
.rel-add-cart:focus,
.rel-add-cart:active {
  color: #fff !important;
}


/* Mobile scroll */
@media (max-width: 768px) {
  .related-grid {
    display: flex;
    gap: 16px !important;
    overflow-x: auto !important;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .related-card {
    flex: 0 0 75%;
    max-width: 75%;
    scroll-snap-align: center;
  }

  .related-card img {
    height: 180px;
  }
}

/* ============================================================
   EMPTY STATE — No Related Products
============================================================ */
.related-products-empty {
  margin-top: 40px;
}

.no-related-box {
  background: #fff;
  padding: 40px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.no-related-box h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #223;
  margin-bottom: 8px;
}

.no-related-box p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 18px;
}

.no-related-box .browse-btn {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.25s ease;
}

.no-related-box .browse-btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
}


/* ===========================================================
   12. CONSULTATION BANNER
   =========================================================== */
.consult-banner {
  background: var(--green-dark);
  padding: 70px 20px;
  border-radius: 28px;
  max-width: 1200px;
  margin: 70px auto 0;
  text-align: center;
  color: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,0.15);
  position: relative;
}
.consult-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.consult-banner p { font-size: 1.1rem; opacity: .95; margin-bottom: 28px; }
.consult-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--green-dark) !important; font-weight: 700;
  padding: 12px 26px; border-radius: 100px; font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 8px 20px rgba(255,255,255,0.2); transition: .3s ease;
}
.consult-btn i { font-size: 1.25rem; }
.consult-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(0,0,0,0.25); }
@media (max-width: 600px) {
  .consult-banner { padding: 45px 18px; }
  .consult-banner h2 { font-size: 1.4rem; line-height: 1.4; }
  .consult-btn { font-size: 1rem; width: 100%; justify-content: center; }
}


/* ===========================================================
   13. TRUST BADGES / CERTIFICATES
   =========================================================== */
.trust-section {
  background: #fff;
  border-radius: 20px;
  padding: 40px 26px;
  margin: 45px 0;
  box-shadow: 0 12px 35px rgba(0,0,0,0.05);
}
.trust-title {
  text-align: center;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 32px;
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-card {
  background: #f8faf6;
  border-radius: 18px;
  padding: 28px 18px;
  text-align: center;
  border: 1px solid #dae6d9;
  transition: all .3s;
}
.trust-card:hover { transform: translateY(-6px); box-shadow: 0 10px 26px rgba(33, 104, 66, .18); }
.trust-icon svg { margin-bottom: 12px; opacity: 0.92; transition: .3s; }
.trust-card:hover .trust-icon svg { transform: scale(1.15); opacity: 1; }
.trust-card p { font-size: 0.96rem; font-weight: 600; color: #243; }
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-section { padding: 28px 18px; margin: 32px 0; }
}




/* ===========================================================
   15. SCROLL REVEAL + DISABLED BUTTONS
   =========================================================== */
.reveal { opacity: 0; transform: translateY(35px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.trust-card:nth-child(1) { transition-delay: .1s; }
.trust-card:nth-child(2) { transition-delay: .2s; }
.trust-card:nth-child(3) { transition-delay: .3s; }
.trust-card:nth-child(4) { transition-delay: .4s; }
.btn[disabled], button[disabled] {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(40%);
}
.btn-ghost[disabled] {
  border-color: #ccc !important;
  color: #aaa !important;
  background: #f8f8f8 !important;
}
.btn-primary[disabled] {
  background: #9bb9a4 !important;
  color: #fff !important;
}


/* ===========================================================
   16. MISCELLANEOUS MOBILE TWEAKS & FINE-TUNES
   =========================================================== */
/* Ensure lists align nicely (kept single instance) */
.tab-pane ul { margin-top: 10px; margin-left: 22px; padding-left: 0; line-height: 1.65; }

/* Additional mobile spacing for tabs */
@media (max-width: 768px) {
  .tab-pane { padding: 16px 2px 22px; }
}

/* Small thumbnail and short-card sizing adjustments */
@media (max-width: 576px) {
  .short-card { flex: 0 0 85%; height: 360px; }
  .short-player { width: 260px; height: 460px; }
  .thumbnail-row img { width: 55px; height: 55px; }
}

/* Small-screen layout */
@media (max-width: 540px) {
  .short-card { flex: 0 0 72%; height: 420px; }
  .short-play { bottom: 12px; right: 12px; }
  .faq-toggle { padding: 14px 14px; }
  .faq-content { padding: 0 14px; }
}

/* Keep product-wrapper stacked on smaller screens */
@media (max-width: 992px) {
  .product-wrapper { flex-direction: column; padding: 25px; }
  .product-info h1 { font-size: 1.6rem; }
  .short-card { flex: 0 0 180px; height: 320px; }
  .short-player { width: 280px; height: 500px; }
}

/* Ensure thumbnail small-screen size */
@media (max-width: 576px) {
  .thumbnail-row img { width: 55px; height: 55px; }
}
