/* =========================================================
   gem-stones-product.css
   CSS override for gemstone (Moti / Pearl / healing stones)
   product detail pages on VastuGuruji.
   Loads AFTER product.css — overrides only what it needs.
   Design: premium, luminous, editorial (aqua-pearl palette)
========================================================= */


/* =========================================================
   1. LOCAL DESIGN TOKENS
========================================================= */
:root {
  --gem-aqua:       #0891b2;
  --gem-aqua-deep:  #0e7490;
  --gem-navy:       #0c2340;
  --gem-navy-mid:   #0e3a6e;
  --gem-orange:     #c65d00;
  --gem-bg-pearl:   #f0f8ff;
  --gem-bg-ice:     #e8f4f8;
  --gem-border:     #e2ecf4;
  --gem-border-sky: #bae6fd;
  --gem-shadow:     0 20px 60px rgba(8, 80, 100, .10);
}


/* =========================================================
   2. PAGE WRAPPER
========================================================= */
.vgp-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 32px;
}


/* =========================================================
   3. GALLERY PANEL
========================================================= */
.vgp-card.vgp-gallery {
  border: none;
  background: #ffffff;
  box-shadow: var(--gem-shadow);
  border-radius: 20px;
  overflow: hidden;
  border-top: 3px solid var(--gem-aqua);
}


/* =========================================================
   4. HERO IMAGE VIEWER
========================================================= */
.vgp-hero {
  background: linear-gradient(145deg, #f0f8ff, #e8f4f8);
}


/* =========================================================
   5. HERO NAVIGATION ARROWS
========================================================= */
.vgp-hero-nav {
  background: rgba(8, 145, 178, .15);
  border: 1px solid rgba(8, 145, 178, .35);
  color: var(--gem-aqua-deep);
  border-radius: 50%;
  transition: background .2s, box-shadow .2s;
}

.vgp-hero-nav:hover {
  background: var(--gem-aqua);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(8, 145, 178, .30);
}


/* =========================================================
   6. ZOOM BUTTON
========================================================= */
.vgp-hero-zoom {
  background: rgba(8, 145, 178, .12);
  border: 1px solid rgba(8, 145, 178, .30);
  color: var(--gem-aqua-deep);
  border-radius: 8px;
  transition: background .2s;
}

.vgp-hero-zoom:hover {
  background: var(--gem-aqua);
  color: #ffffff;
}


/* =========================================================
   7. THUMBNAIL STRIP
========================================================= */
.vgp-thumb {
  border-radius: 10px;
  background: #f0f9ff;
  border: 2px solid transparent;
  transition: border-color .18s;
}

.vgp-thumb.is-active {
  border-color: var(--gem-aqua);
  box-shadow: 0 0 0 2px rgba(8, 145, 178, .18);
}

.vgp-thumb:hover:not(.is-active) {
  border-color: rgba(8, 145, 178, .45);
}


/* =========================================================
   8. INFO PANEL — strip the card look
========================================================= */
.vgp-card.vgp-info {
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  padding: 0 0 0 4px;
  overflow: visible;
}


/* =========================================================
   9. PRODUCT TITLE
========================================================= */
.vgp-title {
  color: var(--gem-navy);
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.25;
  padding-bottom: 14px;
  border-bottom: 2px solid #e0eff8;
  margin-bottom: 12px;
}


/* =========================================================
   10. TAGLINE
========================================================= */
.vgp-tagline {
  color: #374151;
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 14px;
}


/* =========================================================
   11. BADGES
========================================================= */
.vgp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.vgp-badge {
  background: rgba(8, 145, 178, .10);
  border: 1px solid rgba(8, 145, 178, .30);
  color: var(--gem-aqua-deep);
  border-radius: 999px;
  font-size: 13px;
  padding: 4px 12px;
  font-weight: 600;
  letter-spacing: .1px;
}


/* =========================================================
   12. SHORT DESCRIPTION
========================================================= */
.vgp-shortdesc {
  background: linear-gradient(135deg, #f0f9ff, #e8f4f8);
  border: 1px solid var(--gem-border-sky);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 17px;
  color: #1d3a4f;
  line-height: 1.85;
  margin-bottom: 18px;
}


/* =========================================================
   13. PRICE SECTION
========================================================= */
.vgp-pricebox {
  padding: 18px 0 14px;
  border-top: none;
  border-bottom: 1px solid #e0eff8;
  margin-bottom: 16px;
}

.vgp-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.vgp-price-now {
  color: var(--gem-orange);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.vgp-price-mrp {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 17px;
}

.vgp-badge-off {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1px;
}

.vgp-price-note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
}


/* =========================================================
   14. STOCK STATUS
========================================================= */
.vgp-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.vgp-stock.in {
  color: #047857;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.vgp-stock.out {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}


/* =========================================================
   15. EMOTION LINE (Hindi motivational text)
========================================================= */
.vgp-emotion-line {
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  border: 1px solid var(--gem-border-sky);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  color: #0c4a6e;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}


/* =========================================================
   16. BUY BOX
========================================================= */
.vgp-buybox {
  margin-bottom: 0;
}


/* =========================================================
   17. QUANTITY SELECTOR
========================================================= */
.vgp-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vgp-qtybtn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--gem-border-sky);
  background: #f0f9ff;
  color: var(--gem-aqua-deep);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
}

.vgp-qtybtn:hover {
  background: var(--gem-aqua);
  color: #ffffff;
  border-color: var(--gem-aqua);
}

.vgp-qtyinp {
  width: 54px;
  height: 40px;
  border: 1px solid var(--gem-border-sky);
  border-radius: 10px;
  background: #ffffff;
  color: var(--gem-navy);
  font-weight: 800;
  font-size: 16px;
  text-align: center;
  -moz-appearance: textfield;
}

.vgp-qtyinp::-webkit-inner-spin-button,
.vgp-qtyinp::-webkit-outer-spin-button {
  -webkit-appearance: none;
}


/* =========================================================
   18. CTA ROW — stacked full-width column layout
========================================================= */
.vgp-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  margin-top: 14px;
}

.vgp-cta-row .vgp-qty {
  align-self: flex-start;
}

/* Both CTA buttons fill full column width */
.vgp-cta-row .vgp-cta {
  width: 100%;
}


/* =========================================================
   19. ADD TO CART BUTTON
========================================================= */
.vgp-cta {
  min-height: 54px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 14px;
  letter-spacing: .2px;
  background: var(--gem-navy);
  border: 2px solid var(--gem-navy);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(12, 35, 64, .22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, box-shadow .2s, transform .15s;
}

.vgp-cta:hover {
  background: #0e3a6e;
  border-color: #0e3a6e;
  box-shadow: 0 16px 36px rgba(12, 35, 64, .30);
  transform: translateY(-1px);
}

.vgp-cta:active {
  transform: translateY(0);
}


/* =========================================================
   20. BUY NOW BUTTON (primary)
========================================================= */
.vgp-cta.vgp-cta-primary {
  background: var(--gem-orange);
  border-color: var(--gem-orange);
  box-shadow: 0 12px 28px rgba(198, 93, 0, .28);
}

.vgp-cta.vgp-cta-primary:hover {
  background: #a84d00;
  border-color: #a84d00;
  box-shadow: 0 16px 36px rgba(198, 93, 0, .36);
  transform: translateY(-1px);
}

.vgp-cta.vgp-cta-primary:active {
  transform: translateY(0);
}


/* =========================================================
   21. CHECKOUT NOTE
========================================================= */
.vgp-note {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  padding: 6px 0;
  margin-top: 4px;
}


/* =========================================================
   22. TRUST LIST
========================================================= */
.vgp-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--gem-border);
  border-radius: 14px;
  list-style: none;
}

.vgp-trust li {
  font-size: 14px;
  color: #1d3a4f;
  margin: 0;
  padding-left: 22px;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
}

.vgp-trust li::before {
  color: var(--gem-aqua);
}


/* =========================================================
   23. SHARE SECTION
========================================================= */
.vgp-share {
  background: #ffffff;
  border: 1px solid var(--gem-border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 20px;
}

.vgp-share-btn {
  background: #f0f9ff;
  border-color: var(--gem-border-sky);
  color: var(--gem-aqua-deep);
  border-radius: 8px;
  transition: background .18s, color .18s;
}

.vgp-share-btn:hover {
  background: var(--gem-aqua);
  color: #ffffff;
  border-color: var(--gem-aqua);
}


/* =========================================================
   24. CONTENT SECTIONS (below the two-col grid)
========================================================= */
.vgp-section {
  border-radius: 20px;
  border: 1px solid var(--gem-border);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(8, 80, 100, .06);
  margin-top: 28px;
}

.vgp-section h2 {
  color: var(--gem-navy);
  font-size: clamp(22px, 2.8vw, 28px);
  line-height: 1.3;
}


/* =========================================================
   25. STICKY MOBILE BOTTOM BAR
========================================================= */
.vgp-sticky-bar {
  background: linear-gradient(135deg, #0c2340, #0e3a6e);
  border-top: 2px solid var(--gem-aqua);
}

.vgp-sticky-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vgp-sticky-title {
  color: #e0f2fe;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.vgp-sticky-price {
  color: #7dd3fc;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.vgp-sticky-bar .vgp-cta {
  background: var(--gem-aqua);
  border-color: var(--gem-aqua);
  border-radius: 10px;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(8, 145, 178, .30);
}

.vgp-sticky-bar .vgp-cta:hover {
  background: #0e7490;
  border-color: #0e7490;
}


/* =========================================================
   26. RESPONSIVE — TABLET (≤ 900px)
========================================================= */
@media (max-width: 900px) {
  .vgp-grid {
    grid-template-columns: 1fr;
  }

  .vgp-card.vgp-info {
    padding: 0;
  }
}


/* =========================================================
   27. RESPONSIVE — MOBILE (≤ 640px)
========================================================= */
@media (max-width: 640px) {
  .vgp-trust {
    grid-template-columns: 1fr;
  }

  .vgp-price-now {
    font-size: 28px;
  }
}


/* =========================================================
   28. RESPONSIVE — SMALL MOBILE (≤ 520px)
========================================================= */
@media (max-width: 520px) {
  .vgp-title {
    font-size: 24px;
  }

  .vgp-cta {
    font-size: 15px;
    min-height: 48px;
  }
}


/* =========================================================
   29. REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
