/* ============================================================
   product.css — Single Product Page (v2)
   Pixel-faithful to Parinhall Product Desktop design
   ============================================================ */

/* ── Breadcrumb ─────────────────────────────────────────── */
.ph-breadcrumb {
  padding: 16px 0 0;
  font-size: 12.5px;
  color: #8A9382;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ph-breadcrumb a {
  color: #8A9382;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
.ph-breadcrumb a:hover { color: #1B7A8C; }
.ph-breadcrumb .sep { opacity: .6; }
.ph-breadcrumb .current { color: #20261F; }

/* ── Main Product Grid ──────────────────────────────────── */
.ph-product-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: start;
  padding-top: 22px;
}

/* ── Gallery (sticky) ───────────────────────────────────── */
.ph-product-gallery { position: sticky; top: 156px; }

/* Main image card */
.ph-gallery-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(155deg, #C4E8F0, #8ABFC9);
}
/* Radial light overlay — always on top of image */
.ph-gallery-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 25% 14%, rgba(255,255,255,.28), transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.ph-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* No-image placeholder text */
.ph-gallery-placeholder {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}
.ph-gallery-placeholder__title {
  font-family: 'Markazi Text', serif;
  font-size: 28px;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}
.ph-gallery-placeholder__sub {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 6px;
}

/* Discount badge — top-right */
.ph-gallery-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #E2734A;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 10px;
  z-index: 2;
}
/* View-angle label — top-left */
.ph-gallery-label {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(251,249,245,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: #5B6358;
  z-index: 2;
}
/* Formula chip — bottom-left */
.ph-gallery-formula {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(251,249,245,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 13px;
  padding: 11px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 2;
}
.ph-gallery-formula__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(150deg, #1B7A8C, #7ABCC8);
  flex-shrink: 0;
}
.ph-gallery-formula__label { font-size: 10px; color: #8A9382; line-height: 1.3; }
.ph-gallery-formula__text  { font-size: 13px; color: #20261F; font-weight: 500; }

/* Thumbnails */
.ph-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.ph-gallery-thumb {
  flex: 1;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
  position: relative;
  background: linear-gradient(155deg, #d0eaf0, #a8d0da);
}
.ph-gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(85% 65% at 28% 14%, rgba(255,255,255,.22), transparent 55%);
  pointer-events: none;
}
.ph-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-gallery-thumb:hover  { border-color: rgba(32,38,31,.25); }
.ph-gallery-thumb.active { border-color: #1B7A8C; transform: scale(1.04); }

/* ── Product Info Column ────────────────────────────────── */
.ph-product-info { padding-top: 4px; }

/* Brand + badges row */
.ph-product-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}
.ph-product-brand {
  font-size: 13px;
  font-weight: 600;
  color: #1B7A8C;
  text-decoration: none;
  cursor: pointer;
}
.ph-product-brand:hover { text-decoration: underline; }
.ph-badge-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
}
.ph-badge-tag--orange { background: #FFF3EE; color: #E2734A; }
.ph-badge-tag--teal   { background: #E0F2F5; color: #1B7A8C; }

/* Title */
.ph-product-title {
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.25;
  color: #20261F;
  margin-bottom: 13px;
}

/* Rating row */
.ph-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.ph-rating-stars { color: #E2734A; font-size: 15px; letter-spacing: 1px; }
.ph-rating-avg   { font-size: 13.5px; font-weight: 600; color: #20261F; }
.ph-rating-count { font-size: 13px; color: #8A9382; }
.ph-rating-link  {
  font-size: 13px;
  color: #1B7A8C;
  text-decoration: none;
  border-bottom: 1px solid #1B7A8C;
  line-height: 1;
}
.ph-rating-link:hover { opacity: .75; }

/* ── Price Box ──────────────────────────────────────────── */
.ph-price-box {
  background: #F7F4EF;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* WC outputs .woocommerce-Price-amount inside del/ins */
.ph-price-box .price del,
.ph-price-box del {
  font-size: 12px;
  color: #A6AC9E;
  text-decoration: line-through;
  line-height: 1.4;
  display: block;
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 400;
}
.ph-price-box .price del .woocommerce-Price-amount,
.ph-price-box del .woocommerce-Price-amount { font-size: 12px; }

.ph-price-box .price ins,
.ph-price-box ins {
  text-decoration: none;
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: 32px;
  color: #1B7A8C;
  line-height: 1.15;
  display: block;
}
.ph-price-box .price ins .woocommerce-Price-amount,
.ph-price-box ins .woocommerce-Price-amount {
  font-family: 'Markazi Text', serif;
  font-size: 32px;
  color: #1B7A8C;
}
/* Simple price (no sale) */
.ph-price-box .price > .woocommerce-Price-amount:only-child,
.ph-price-box .price:not(:has(del)) .woocommerce-Price-amount {
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: 32px;
  color: #1B7A8C;
  line-height: 1.15;
  display: block;
}
.ph-discount-badge {
  background: #E2734A;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9px;
  flex-shrink: 0;
  white-space: nowrap;
}
.ph-price-saving {
  margin-right: auto;
  font-size: 12px;
  color: #8A9382;
  line-height: 1.6;
}

/* ── Variation Selectors (Color circles + Volume pills) ─── */
.ph-variation-group {
  margin-bottom: 20px;
}

.ph-variation-label {
  font-size: 13px;
  color: var(--ph-mid-green);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ph-variation-label strong {
  color: var(--ph-dark);
  font-weight: 600;
}

/* Color circles */
.ph-color-selectors {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ph-color-swatch-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  padding: 3px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.ph-color-swatch-btn--selected {
  border-color: var(--ph-teal);
}

.ph-color-swatch-btn:hover:not(.ph-color-swatch-btn--selected) {
  border-color: rgba(27,122,140,0.4);
}

.ph-color-swatch-inner {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* Volume pills */
.ph-volume-selectors {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.ph-volume-pill {
  padding: 9px 20px;
  border-radius: 10px;
  cursor: pointer;
  border: 1.5px solid rgba(32,38,31,0.16);
  background: var(--ph-white);
  transition: all 0.2s;
  text-align: center;
  font-family: var(--font-body);
  min-width: 80px;
}

.ph-volume-pill:hover:not(.ph-volume-pill--selected):not(.ph-volume-pill--unavail) {
  border-color: var(--ph-teal);
}

.ph-volume-pill--selected {
  background: var(--ph-dark);
  border-color: var(--ph-dark);
}

.ph-volume-pill--unavail {
  opacity: 0.45;
  cursor: not-allowed;
  position: relative;
}

.ph-volume-pill--unavail::after {
  content: '';
  position: absolute;
  inset: 50% 10% auto;
  height: 1.5px;
  background: rgba(32,38,31,0.3);
  transform: rotate(-15deg);
}

.ph-volume-pill__name {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ph-mid-green);
  line-height: 1.3;
}

.ph-volume-pill--selected .ph-volume-pill__name {
  color: var(--ph-white);
}

.ph-volume-pill__price {
  display: block;
  font-size: 11.5px;
  color: #A6AC9E;
  margin-top: 2px;
}

.ph-volume-pill--selected .ph-volume-pill__price {
  color: rgba(255,255,255,0.65);
}

/* Dynamic price box — shown when variation selected */
.ph-price-box .ph-price-orig {
  font-size: 12px;
  color: #A6AC9E;
  text-decoration: line-through;
  line-height: 1.4;
}

.ph-price-box .ph-price-sale {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 32px;
  color: var(--ph-teal);
  line-height: 1.15;
}

[x-cloak] { display: none !important; }

/* ── Qty + Add to Cart ──────────────────────────────────── */
.ph-qty-add {
  display: flex;
  gap: 11px;
  margin-bottom: 12px;
  align-items: stretch;
}
.ph-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(32,38,31,.14);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  height: 52px;
}
.ph-qty__btn {
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 20px;
  color: #5B6358;
  transition: background .2s;
  user-select: none;
  border: none;
  background: transparent;
  line-height: 1;
}
.ph-qty__btn:hover { background: #F1EBE0; }
.ph-qty__num {
  padding: 0 6px;
  font-size: 15px;
  font-weight: 500;
  min-width: 36px;
  text-align: center;
  color: #20261F;
}
.ph-btn-add-cart {
  flex: 1;
  background: #E2734A;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s;
  white-space: nowrap;
}
.ph-btn-add-cart:hover { background: #C9541F; }
.ph-btn-add-cart.ph-loading {
  opacity: .7;
  pointer-events: none;
  cursor: not-allowed;
}

/* Buy Now */
.ph-btn-buy-now {
  display: block;
  width: 100%;
  background: #20261F;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s;
  margin-bottom: 16px;
  text-align: center;
  text-decoration: none;
}
.ph-btn-buy-now:hover { background: #1B7A8C; color: #fff; }

/* Wishlist + Compare */
.ph-product-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.ph-product-actions .ph-action-btn,
.ph-product-actions a {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 13px;
  color: #5B6358;
  transition: color .2s;
  background: none;
  border: none;
  font-family: 'Vazirmatn', sans-serif;
  padding: 0;
  text-decoration: none;
}
.ph-product-actions .ph-action-btn:hover { color: #E2734A; }
.ph-product-actions .ph-compare-btn:hover { color: #1B7A8C; }
/* Hide YITH default button styling */
.ph-product-actions .yith-wcwl-add-to-wishlist { margin: 0 !important; }
.ph-product-actions .yith-wcwl-add-to-wishlist .add_to_wishlist,
.ph-product-actions .yith-wcwl-add-to-wishlist a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #5B6358;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  transition: color .2s;
}
.ph-product-actions .yith-wcwl-add-to-wishlist a:hover { color: #E2734A; }
.ph-product-actions .yith-wcwl-add-to-wishlist .yith-wcwl-icon { display: none; }

/* Divider */
.ph-divider { height: 1px; background: rgba(32,38,31,.08); margin-bottom: 20px; }
.ph-divider--sm { margin-bottom: 18px; }

/* Delivery badges */
.ph-delivery-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.ph-delivery-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: #F7F4EF;
  border-radius: 11px;
  text-align: center;
}
.ph-delivery-badge svg { color: #1B7A8C; flex-shrink: 0; }
.ph-delivery-badge span { font-size: 11.5px; color: #5B6358; line-height: 1.4; }

/* Short description */
.ph-short-desc {
  font-size: 14px;
  line-height: 2;
  color: #5B6358;
  font-weight: 300;
}
.ph-short-desc p { margin-bottom: 10px; }
.ph-short-desc p:last-child { margin-bottom: 0; }

/* Hide WC's own add-to-cart form output — we use our custom one */
.ph-product-info form.cart { display: none !important; }
.ph-product-info .woocommerce-variation-add-to-cart { display: none !important; }

/* ── Details Tabs ───────────────────────────────────────── */
.ph-tabs-section { padding-top: 72px; }

.ph-tab-nav {
  border-bottom: 1px solid rgba(32,38,31,.1);
  display: flex;
  gap: 4px;
  margin-bottom: 36px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ph-tab-nav::-webkit-scrollbar { display: none; }

.ph-tab-btn {
  padding: 12px 24px;
  border: none;
  border-bottom: 2.5px solid transparent;
  background: none;
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #5B6358;
  transition: all .2s;
  white-space: nowrap;
  margin-bottom: -1px;
}
.ph-tab-btn:hover { color: #20261F; }
.ph-tab-btn.active {
  border-bottom-color: #1B7A8C;
  font-weight: 600;
  color: #1B7A8C;
}

.ph-tab-panel { display: none; max-width: 780px; animation: phFade .22s ease; }
.ph-tab-panel.active { display: block; }

/* Description tab */
.ph-tab-text {
  font-size: 15px;
  line-height: 2.1;
  color: #5B6358;
  font-weight: 300;
  margin-bottom: 18px;
}
.ph-ingredient-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.ph-ingredient-card {
  padding: 18px;
  border-radius: 13px;
}
.ph-ingredient-card.teal   { background: #F0FAFB; border-right: 3px solid #1B7A8C; }
.ph-ingredient-card.orange { background: #FFF3EE; border-right: 3px solid #E2734A; }
.ph-ingredient-card__name { font-weight: 600; color: #20261F; margin-bottom: 4px; font-size: 14px; }
.ph-ingredient-card__desc { font-size: 13px; color: #5B6358; line-height: 1.7; }

/* Ingredients tab */
.ph-ingredients-block {
  background: #F7F4EF;
  border-radius: 14px;
  padding: 22px;
  font-size: 14px;
  color: #5B6358;
  line-height: 2.2;
  direction: ltr;
  text-align: left;
  font-family: monospace;
}
.ph-ingredients-note {
  margin-top: 18px;
  padding: 14px 18px;
  background: #E0F2F5;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  color: #1B7A8C;
  line-height: 1.6;
}
.ph-ingredients-note svg { flex-shrink: 0; }

/* How to use tab */
.ph-howto-step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(32,38,31,.07);
}
.ph-howto-step:last-of-type { border-bottom: none; }
.ph-howto-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B7A8C, #7ABCC8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}
.ph-howto-title { font-size: 14.5px; font-weight: 500; color: #20261F; margin-bottom: 4px; }
.ph-howto-body  { font-size: 13.5px; color: #5B6358; line-height: 1.8; font-weight: 300; }
.ph-howto-tip {
  margin-top: 20px;
  padding: 14px 18px;
  background: #FFF3EE;
  border-radius: 11px;
  font-size: 13px;
  color: #C9541F;
  line-height: 1.7;
}

/* ── Reviews ────────────────────────────────────────────── */
.ph-reviews-section { padding-top: 72px; }

.ph-reviews-eyebrow { font-size: 13px; color: #E2734A; margin-bottom: 5px; }
.ph-reviews-title {
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.3;
  color: #20261F;
  margin-bottom: 36px;
}

.ph-reviews-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px;
  align-items: start;
}

/* Score card (sticky) */
.ph-score-card {
  background: #fff;
  border: 1px solid rgba(32,38,31,.08);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  position: sticky;
  top: 156px;
}
.ph-score-num {
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: 68px;
  color: #20261F;
  line-height: 1.1;
}
.ph-score-stars {
  color: #E2734A;
  font-size: 22px;
  letter-spacing: 2px;
  margin: 6px 0;
}
.ph-score-count {
  font-size: 13px;
  color: #8A9382;
  margin-bottom: 24px;
}
.ph-rating-bars { display: flex; flex-direction: column; gap: 8px; }
.ph-rating-bar-row { display: flex; align-items: center; gap: 10px; }
.ph-rating-bar-label {
  font-size: 12.5px;
  color: #5B6358;
  flex-shrink: 0;
  min-width: 22px;
  text-align: left;
}
.ph-rating-bar-track {
  flex: 1;
  height: 6px;
  background: #F0EDE8;
  border-radius: 6px;
  overflow: hidden;
}
.ph-rating-bar-fill {
  height: 100%;
  background: linear-gradient(to right, #E2734A, #F0A77E);
  border-radius: 6px;
  transition: width .4s;
}
.ph-rating-bar-pct {
  font-size: 11.5px;
  color: #A6AC9E;
  flex-shrink: 0;
  min-width: 26px;
  text-align: left;
}

/* Review cards */
.ph-reviews-list { display: flex; flex-direction: column; gap: 20px; }
.ph-review-card {
  background: #fff;
  border: 1px solid rgba(32,38,31,.08);
  border-radius: 14px;
  padding: 24px;
}
.ph-review-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.ph-review-author { display: flex; align-items: center; gap: 12px; }
.ph-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B7A8C, #7ABCC8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.ph-review-name      { font-size: 14px; font-weight: 500; color: #20261F; }
.ph-review-meta      { display: flex; align-items: center; gap: 8px; }
.ph-review-stars     { color: #E2734A; font-size: 12px; }
.ph-review-verified  {
  font-size: 11px;
  color: #1B7A8C;
  background: #E0F2F5;
  padding: 2px 7px;
  border-radius: 5px;
}
.ph-review-date  { font-size: 12px; color: #A6AC9E; white-space: nowrap; }
.ph-review-title { font-size: 14.5px; font-weight: 500; color: #20261F; margin-bottom: 7px; }
.ph-review-body  { font-size: 14px; color: #5B6358; line-height: 1.85; font-weight: 300; }
.ph-review-helpful {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #A6AC9E;
}
.ph-review-helpful button {
  background: #F7F4EF;
  border: none;
  border-radius: 6px;
  padding: 4px 11px;
  font-size: 12px;
  cursor: pointer;
  color: #5B6358;
  font-family: 'Vazirmatn', sans-serif;
  transition: background .2s;
}
.ph-review-helpful button:hover   { background: #E8E2D8; }
.ph-review-helpful button:disabled {
  background: #E0F2F5;
  color: #1B7A8C;
  cursor: default;
  font-weight: 500;
}

/* Review form */
.ph-review-form-wrap { margin-top: 20px; }
.ph-review-form-wrap h3 {
  font-family: 'Markazi Text', serif;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #20261F;
}
.ph-review-form-wrap textarea,
.ph-review-form-wrap input[type="text"],
.ph-review-form-wrap input[type="email"] {
  width: 100%;
  border: 1.5px solid rgba(32,38,31,.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  color: #20261F;
  background: #fff;
  resize: vertical;
  transition: border-color .2s;
  direction: rtl;
}
.ph-review-form-wrap textarea:focus,
.ph-review-form-wrap input:focus {
  outline: none;
  border-color: #1B7A8C;
}
.ph-review-form-wrap p { margin-bottom: 14px; }
.ph-review-form-wrap label {
  display: block;
  font-size: 13px;
  color: #5B6358;
  margin-bottom: 6px;
}

/* ── Related Products ───────────────────────────────────── */
.ph-related-section { padding-top: 72px; padding-bottom: 80px; }

.ph-related-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 12px;
}
.ph-related-eyebrow { font-size: 13px; color: #E2734A; margin-bottom: 5px; }
.ph-related-title {
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.3;
  color: #20261F;
  margin: 0;
}
.ph-carousel-nav { display: flex; gap: 7px; align-items: center; }
.ph-carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(32,38,31,.12);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1B7A8C;
  transition: all .25s;
}
.ph-carousel-btn:hover {
  border-color: #1B7A8C;
  background: #1B7A8C;
  color: #fff;
}

.ph-related-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  cursor: grab;
  scrollbar-width: none;
  padding: 4px 2px 12px;
  scroll-behavior: smooth;
}
.ph-related-carousel::-webkit-scrollbar { display: none; }
.ph-related-carousel:active { cursor: grabbing; }

/* Related product card */
.ph-rel-card {
  flex: 0 0 230px;
  background: #fff;
  border: 1px solid rgba(32,38,31,.07);
  border-radius: 13px;
  padding: 11px;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  display: block;
}
.ph-rel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -18px rgba(32,38,31,.3);
}
.ph-rel-card__img {
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, #C4E8F0, #8ABFC9);
  margin-bottom: 0;
}
.ph-rel-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(85% 65% at 28% 14%, rgba(255,255,255,.26), transparent 55%);
  pointer-events: none;
}
.ph-rel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-rel-card__body { padding: 10px 3px 3px; }
.ph-rel-card__brand { font-size: 10.5px; color: #8A9382; }
.ph-rel-card__name {
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  color: #20261F;
  margin-top: 2px;
}
.ph-rel-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7px;
}
.ph-rel-card__price { font-size: 13px; color: #1B7A8C; font-weight: 600; }
.ph-rel-card__add {
  background: #F1EBE0;
  border: none;
  color: #1B7A8C;
  font-size: 12px;
  border-radius: 16px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  transition: all .25s;
}
.ph-rel-card__add:hover { background: #E2734A; color: #fff; }

/* ── Sticky CTA Bar ─────────────────────────────────────── */
.ph-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: rgba(251,249,245,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid rgba(32,38,31,.1);
  box-shadow: 0 4px 20px -8px rgba(32,38,31,.2);
  animation: phSlideDown .28s cubic-bezier(.22,1,.36,1);
}
.ph-sticky-bar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 32px;
  flex-wrap: wrap;
}
.ph-sticky-bar__info { flex: 1; min-width: 0; overflow: hidden; }
.ph-sticky-bar__brand { font-size: 10.5px; color: #8A9382; }
.ph-sticky-bar__name {
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: 20px;
  color: #20261F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ph-sticky-bar__price {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ph-sticky-bar__price del {
  font-size: 12px;
  color: #A6AC9E;
  text-decoration: line-through;
}
.ph-sticky-bar__price .amount {
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  font-size: 22px;
  color: #1B7A8C;
}
.ph-sticky-bar__qty {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(32,38,31,.14);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  height: 40px;
}
.ph-sticky-bar__qty-btn {
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #5B6358;
  font-size: 16px;
  background: none;
  border: none;
  font-family: 'Vazirmatn', sans-serif;
  transition: background .2s;
}
.ph-sticky-bar__qty-btn:hover { background: #F1EBE0; }
.ph-sticky-bar__qty-num { padding: 0 4px; font-size: 14px; min-width: 28px; text-align: center; }
.ph-sticky-bar__add {
  background: #E2734A;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  flex-shrink: 0;
  transition: background .2s;
  height: 40px;
  white-space: nowrap;
}
.ph-sticky-bar__add:hover { background: #C9541F; }

/* Back to top */
.ph-back-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 82;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #20261F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 13px 26px -11px rgba(20,26,18,.5);
  animation: phRise .3s ease;
  transition: background .25s;
  border: none;
}
.ph-back-top:hover { background: #E2734A; }

/* ── Out of stock ───────────────────────────────────────── */
.ph-out-of-stock {
  background: #FFF3EE;
  border: 1px solid #F0A77E;
  border-radius: 10px;
  padding: 14px 18px;
  color: #C9541F;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ph-product-section { grid-template-columns: 1fr; gap: 32px; }
  .ph-product-gallery { position: static; }
  .ph-reviews-layout  { grid-template-columns: 1fr; }
  .ph-score-card      { position: static; }
}
@media (max-width: 768px) {
  .ph-tabs-section,
  .ph-reviews-section,
  .ph-related-section { padding-top: 48px; }
  .ph-tab-btn    { padding: 10px 16px; font-size: 13px; }
  .ph-delivery-badges { grid-template-columns: 1fr 1fr; }
  .ph-ingredient-cards { grid-template-columns: 1fr; }
  .ph-sticky-bar__inner { padding: 8px 16px; gap: 10px; }
  .ph-sticky-bar__info  { display: none; }
  .ph-related-section { padding-bottom: 48px; }
}
