
/* SG Trade Pro unified product page contrast — detail content only */
.product-page-pro .product-intro h1{color:#182c3d!important}
.product-page-pro .product-intro .lead{color:#536777!important;font-weight:550!important}
.current-chart-title{color:#263b4d!important}
.current-chart-subtitle{color:#607587!important}

#productTranslateBar .panel,
.sg-translate-panel{
  background:rgba(255,255,255,.94)!important;
  border:1px solid #d8e3e9!important;
  box-shadow:0 8px 26px rgba(31,55,73,.06)!important;
}
.sg-translate-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 18px!important}
.sg-translate-panel strong{display:block;color:#1c3345!important}
.sg-translate-panel .muted{color:#617586!important}

#productTranslateContent h2,
#productTranslateContent h3{color:#203547!important}
#productTranslateContent .prose,
#productTranslateContent .feature-list,
#productTranslateContent .feature-list li{color:#42596a!important}
#productTranslateContent .muted{color:#607586!important}
#productTranslateContent .panel{
  background:rgba(255,255,255,.96)!important;
  border:1px solid #d8e3e9!important;
  box-shadow:0 10px 30px rgba(32,55,73,.07)!important;
}
#productTranslateContent .feature-list li::marker{color:#15927d!important}

.buy-section .buy-card{
  background:linear-gradient(145deg,#0d1b24,#112b36)!important;
  border:1px solid #234453!important;
  box-shadow:0 20px 48px rgba(16,37,50,.22)!important;
}
.buy-section .buy-card h2{color:#f0fbfb!important}
.buy-section .buy-card>.muted,
.buy-section .small-note{color:#aac0ca!important}
.buy-section .price{color:#ffffff!important}
.sg-risk-panel,.sg-payment-status{
  margin:18px 0!important;
  text-align:left!important;
  background:rgba(255,255,255,.07)!important;
  border:1px solid rgba(150,210,219,.17)!important;
}
.sg-risk-panel strong,.sg-payment-status strong{color:#eafafa!important}
.sg-risk-panel .muted,.sg-payment-status .muted{color:#b6c8d0!important}
.sg-market-checkout{width:100%;max-width:760px}
.sg-market-checkout .purchase-ack{background:rgba(255,255,255,.07)!important;border-color:rgba(150,210,219,.17)!important}
.sg-market-checkout .purchase-ack-head strong{color:#eafafa!important}
.sg-market-checkout .purchase-ack-head p,
.sg-market-checkout .purchase-ack-text{color:#c4d3d9!important}
.sg-market-checkout .purchase-ack-text a{color:#70ddd3!important}


/* OFFICIAL / ADMIN PRODUCT PAGE — MATCH SELLER PAGE COLOR STANDARD */
.official-product-standard .product-intro h1{
  color:#173044!important;
}
.official-product-standard .product-intro .lead{
  color:#4e6475!important;
  font-weight:550!important;
}
.official-product-standard .product-intro .muted{
  color:#617687!important;
}

.official-product-content{
  color:#40586a!important;
}
.official-product-content h2,
.official-product-content h3{
  color:#1d3447!important;
}
.official-product-content .section-head h2{
  color:#1d3447!important;
}
.official-product-content .kicker{
  color:#138b90!important;
}
.official-product-content .prose{
  color:#425b6d!important;
  font-weight:500!important;
  line-height:1.72!important;
}
.official-product-content .muted{
  color:#607687!important;
}
.official-product-content .feature-list,
.official-product-content .feature-list li{
  color:#3d5769!important;
}
.official-product-content .feature-list li::marker{
  color:#15927d!important;
}

.official-product-content .panel{
  background:rgba(255,255,255,.97)!important;
  border:1px solid #d6e2e8!important;
  box-shadow:0 10px 30px rgba(31,55,73,.08)!important;
}

.official-product-content .official-how-box{
  background:rgba(255,255,255,.97)!important;
  color:#3f5869!important;
  border:1px solid #d6e2e8!important;
  box-shadow:0 10px 30px rgba(31,55,73,.07)!important;
  border-radius:18px!important;
  padding:24px!important;
  line-height:1.72!important;
  white-space:pre-line!important;
}

/* Remove old dark how-box look only on official product pages */
.official-product-content .how-box{
  background:rgba(255,255,255,.97)!important;
  color:#3f5869!important;
}
.official-product-content .how-box strong{
  color:#1d3447!important;
}

/* Requirements / version columns: same readable contrast as seller page */
.official-product-content .detail-grid > div:not(.panel){
  color:#40586a!important;
}
.official-product-content .detail-grid > div:not(.panel) strong{
  color:#263e50!important;
}

/* Translation strip should visually match seller page */
.official-product-standard + #productTranslateBar .panel,
#productTranslateBar .panel{
  background:rgba(255,255,255,.96)!important;
  border:1px solid #d6e2e8!important;
  box-shadow:0 8px 24px rgba(31,55,73,.06)!important;
}
#productTranslateBar strong{
  color:#1d3447!important;
}
#productTranslateBar .muted{
  color:#617687!important;
}

/* ADMIN PRODUCT COLOR FIX v3 — cache-proof */
.official-product-standard .how-box,
.official-product-standard .official-how-box {
    background: #ffffff !important;
    color: #243746 !important;
    border: 1px solid #d5e1e7 !important;
    box-shadow: 0 10px 28px rgba(26,48,64,.09) !important;
}
.official-product-standard .how-box *,
.official-product-standard .official-how-box * {
    color: #243746 !important;
}

/* Catch the final purchase box regardless of its existing class styling */
.official-product-standard .final-cta,
.official-product-standard .purchase-box,
.official-product-standard .purchase-card,
.official-product-standard .buy-card,
.official-product-standard .checkout-card,
.official-product-standard .buy-panel,
.official-product-standard .cta-card {
    background: #ffffff !important;
    color: #243746 !important;
    border: 1px solid #d5e1e7 !important;
    box-shadow: 0 12px 30px rgba(26,48,64,.10) !important;
}
.official-product-standard .final-cta *,
.official-product-standard .purchase-box *,
.official-product-standard .purchase-card *,
.official-product-standard .buy-card *,
.official-product-standard .checkout-card *,
.official-product-standard .buy-panel *,
.official-product-standard .cta-card * {
    color: #344f61;
}
.official-product-standard .price,
.official-product-standard .sale-price {
    color: #07866f !important;
}


/* SG LIGHT CONTRAST STANDARD V4
   Applies to BOTH official/admin-created product pages and seller product pages.
   No black content blocks. */

.product-page-pro,
#productTranslateContent,
.buy-section{
  color:#2f4658!important;
}

/* Operating logic / How It Works: narrower, readable, light-blue card */
.how-box,
.official-how-box,
#productTranslateContent .how-box,
.official-product-content .how-box,
.official-product-content .official-how-box{
  width:min(100%,980px)!important;
  max-width:980px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  padding:28px 32px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#f6fbff 0%,#edf7fc 100%)!important;
  color:#2f495c!important;
  border:1px solid #bfd8e6!important;
  box-shadow:0 10px 28px rgba(42,83,112,.08)!important;
  font-size:15px!important;
  line-height:1.72!important;
  white-space:normal!important;
}
.how-box *,
.official-how-box *,
#productTranslateContent .how-box *,
.official-product-content .how-box *,
.official-product-content .official-how-box *{
  color:#2f495c!important;
}
.how-box br,
.official-how-box br{
  line-height:1.25!important;
}

/* All readable content panels */
#productTranslateContent .panel,
.official-product-content .panel{
  background:#ffffff!important;
  border:1px solid #d3e2ea!important;
  color:#314c5e!important;
  box-shadow:0 9px 26px rgba(41,72,94,.07)!important;
}
#productTranslateContent h2,
#productTranslateContent h3,
.official-product-content h2,
.official-product-content h3{
  color:#1e374b!important;
}
#productTranslateContent .prose,
#productTranslateContent .muted,
#productTranslateContent .feature-list,
#productTranslateContent .feature-list li,
.official-product-content .prose,
.official-product-content .muted,
.official-product-content .feature-list,
.official-product-content .feature-list li{
  color:#425e70!important;
}

/* Purchase area: BLUE, never black */
.buy-section .buy-card,
.official-product-standard .buy-card,
.official-product-content .buy-card{
  background:linear-gradient(145deg,#d8edf8 0%,#e7f3fb 52%,#dcecf8 100%)!important;
  color:#1e3b50!important;
  border:1px solid #a9cddd!important;
  box-shadow:0 18px 42px rgba(44,86,113,.15)!important;
}
.buy-section .buy-card h2,
.official-product-standard .buy-card h2,
.official-product-content .buy-card h2{
  color:#17384f!important;
}
.buy-section .buy-card>.muted,
.buy-section .buy-card .small-note,
.official-product-standard .buy-card p,
.official-product-content .buy-card p{
  color:#4b697c!important;
}
.buy-section .price,
.official-product-standard .price,
.official-product-content .price,
.sale-price-public{
  color:#07866f!important;
}

/* Trading notice inside purchase card: clear white card with dark text */
.sg-risk-panel,
.sg-payment-status,
.buy-section .trading-notice,
.buy-section .risk-notice,
.buy-section .notice{
  background:#ffffff!important;
  border:1px solid #bdd5e2!important;
  color:#29475a!important;
  box-shadow:0 6px 18px rgba(42,82,108,.07)!important;
}
.sg-risk-panel strong,
.sg-payment-status strong,
.buy-section .trading-notice strong,
.buy-section .risk-notice strong,
.buy-section .notice strong{
  color:#19384d!important;
}
.sg-risk-panel .muted,
.sg-payment-status .muted,
.buy-section .trading-notice *,
.buy-section .risk-notice *,
.buy-section .notice *{
  color:#3f5f73!important;
}

/* Purchase acknowledgement panel */
.sg-market-checkout .purchase-ack{
  background:#f7fbfe!important;
  border:1px solid #bdd5e2!important;
}
.sg-market-checkout .purchase-ack-head strong{
  color:#19384d!important;
}
.sg-market-checkout .purchase-ack-head p,
.sg-market-checkout .purchase-ack-text{
  color:#3f5f73!important;
}
.sg-market-checkout .purchase-ack-text a{
  color:#087f8a!important;
}

@media(max-width:800px){
  .how-box,
  .official-how-box,
  #productTranslateContent .how-box,
  .official-product-content .how-box,
  .official-product-content .official-how-box{
    padding:22px 20px!important;
    font-size:14px!important;
    line-height:1.65!important;
  }
}

.sg-auth-checkout-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.sg-auth-checkout-actions button{cursor:pointer;font-family:inherit}
