/* ── Product Detail Page ── */
.product-detail-main {
  min-height: 100vh;
  padding-top: 80px;
}

.pageContainer {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.product-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

@media (min-width: 900px) {
  .product-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: start;
  }
}

/* ── Gallery ── */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mainImgWrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #f5f5f5;
  box-shadow: var(--shadow-sm);
}

.mainImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.saleBadge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #e33;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.outOfStockOverlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  background: #f5f5f5;
  transition: border-color 0.2s, transform 0.2s;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  transform: translateY(-2px);
}

.thumb.active {
  border-color: var(--gold);
}

/* ── Product Info ── */
.info {
  display: flex;
  flex-direction: column;
}

.categoryLabel {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.productName {
  font-size: 2.25rem;
  font-family: var(--font-heading);
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .productName {
    font-size: 1.8rem;
  }
}

.priceRow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.salePrice {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
}

.originalPrice {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.savingsBadge {
  background-color: rgba(201, 162, 39, 0.15);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.regularPrice {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--charcoal);
}

.socialProof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background-color: rgba(201, 162, 39, 0.08);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.socialProof svg {
  color: var(--gold);
}

.divider {
  height: 1px;
  background-color: var(--border);
  margin-bottom: 1.5rem;
}

.stockRow {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.stockIn {
  color: var(--success);
}

.stockLow {
  color: #d97706;
}

.stockOut {
  color: var(--danger);
}

.description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.qtyRow {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.qtyLabel {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}

.qtyControl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--white);
}

.qtyBtn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: background-color 0.2s;
}

.qtyBtn:hover:not(:disabled) {
  background-color: #f0f0f0;
}

.qtyBtn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qtyVal {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.ctaStack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .ctaStack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  /* WhatsApp button spans full width below the 2-col grid */
  .ctaStack .whatsappProductBtn {
    grid-column: 1 / -1;
  }
}

.videoBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: #ff0000;
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.2s;
}

.videoBtn:hover {
  opacity: 0.9;
  color: #fff;
  transform: translateY(-2px);
}

.videoBtnTiktok {
  background: #000000;
}

.videoBtnInstagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.addToCartBtn {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1.5px solid var(--charcoal);
  background-color: transparent;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.addToCartBtn:hover:not(:disabled) {
  background-color: var(--charcoal);
  color: var(--white);
}

.addToCartBtn.addedState {
  background-color: var(--success);
  border-color: var(--success);
  color: #fff;
}

.addToCartBtn.disabledBtn,
.addToCartBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #ccc;
  color: #888;
}

.buyNowBtn {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: var(--charcoal);
  color: var(--white);
  border: 1.5px solid var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.buyNowBtn:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.whatsappProductBtn {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.whatsappProductBtn:hover {
  background-color: #20BA5A;
  color: #fff;
  transform: translateY(-2px);
}

.deliveryInfo {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.deliveryRow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--charcoal);
}

.deliveryRow svg {
  color: var(--gold);
  flex-shrink: 0;
}

.trustRow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

@media (min-width: 640px) {
  .trustRow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trustItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.trustItem svg {
  color: var(--gold);
}

.trustItem span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Specifications Block ── */
.specsBlock {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}

.specsHeader {
  margin-bottom: 2rem;
}

.specsTitle {
  font-size: 2rem;
  margin-top: 0.35rem;
  margin-bottom: 0;
  font-family: var(--font-heading);
  color: var(--charcoal);
  font-weight: 600;
}

.specsGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .specsGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .specsGrid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.specCard {
  background-color: var(--white);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.specCard:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.specKey {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.specVal {
  font-size: 1rem;
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

/* ── Related Products & Reviews ── */
.relatedSection,
.reviewsSection {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.relatedHeader,
.reviewsHeader {
  text-align: center;
  margin-bottom: 3rem;
}

.relatedTitle,
.reviewsTitle {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  color: var(--charcoal);
  font-weight: 400;
}

/* ── CUSTOMER REVIEWS MARQUEE GALLERY ── */
.marqueeRoot {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviewMarqueeTrack {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: reviewMarquee 40s linear infinite;
}

.reviewMarqueeTrack:hover {
  animation-play-state: paused;
}

@keyframes reviewMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reviewMarqueeItem {
  position: relative;
  width: 220px;
  height: 280px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 640px) {
  .reviewMarqueeItem {
    width: 260px;
    height: 330px;
  }
}

.reviewMarqueeItem:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.reviewMarqueeImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Product Page Payment Teaser Buttons (Green + Black) ── */
.productPaymentTeaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 1.1rem 0 1.25rem 0;
}

@media (max-width: 480px) {
  .productPaymentTeaser {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

.paymentTeaserCard {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  /* button resets */
  cursor: pointer;
  border: none;
  text-align: left;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.paymentTeaserCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.paymentTeaserCard:active {
  transform: translateY(-1px);
}

/* 🟢 PREPAY — Dark Emerald Green */
.paymentTeaserCard.prepayTeaser {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 60%, #047857 100%);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.45);
}

/* ⚫ COD — Luxury Black */
.paymentTeaserCard.codTeaser {
  background: linear-gradient(135deg, #0a0a0a 0%, #111827 60%, #1f2937 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* Shimmer overlay on hover */
.paymentTeaserCard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.paymentTeaserCard:hover::before { opacity: 1; }

.teaserTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}

.teaserBadge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* 💳 10% OFF pill — prepay */
.teaserSavePill {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* 🚚 COD pill — cod */
.teaserCodPill {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255,255,255,0.9);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.teaserPriceRow {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.teaserPrice {
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.teaserStrike {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: line-through;
}

.teaserNote {
  font-size: 0.71rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
  margin: 0.1rem 0 0 0;
}

/* ── Product Trust & Risk Reversal Card ── */
.productTrustCard {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 1.35rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.pTrustCardHeader {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pTrustCardBody {
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pTrustCardBody {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 1.25rem;
  }
}

.pTrustItem {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pTrustIconWrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pTrustItemContent {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pTrustItemContent strong {
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.pTrustItemContent span {
  color: #64748b;
  font-size: 0.74rem;
  line-height: 1.35;
}

/* ── Trust Badges Strip ── */
.trustRow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .trustRow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trustItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 0.85rem 0.6rem;
  background: #fdfdfd;
  border: 1px dashed #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.trustItem:hover {
  background: #ffffff;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.trustItem svg {
  color: var(--gold);
}

.trustItem span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

