.dgsp-detail-payload,.dgsp-card-payload{display:none!important}

/* Product detail: keep the approved two-line structure. */
.dgsp-detail-rating-active{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:3px!important;
    margin-bottom:10px!important;
}
.dgsp-detail-primary-row{display:flex;align-items:center;gap:8px;min-width:0;line-height:1.2}
.dgsp-detail-primary-row .tp-product-details-rating{flex:0 0 auto;margin:0!important}
.dgsp-detail-primary-text{color:#6c757d;font-size:14px;line-height:1.2;font-weight:500;white-space:nowrap}
.dgsp-detail-secondary-row{color:#7d858e;font-size:13px;line-height:1.25;font-weight:400;white-space:normal}
.dgsp-inline-fallback{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin-top:8px;margin-bottom:10px}
.dgsp-fallback-stars{color:#f5a623;letter-spacing:1px;line-height:1}

/* Product cards/search:
   Row 1 remains the theme's own price/rating row: price left, rating right.
   Row 2 is social-proof metadata: reviews + sold. */
.dgsp-card-has-proof .tp-product-price-review{
    width:100%;
}
.dgsp-card-has-proof .tp-product-rating-simple,
.dgsp-card-has-proof .tp-product-rating{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    white-space:nowrap!important;
}
.dgsp-card-rating-star{
    color:#f5a623!important;
    font-size:13px!important;
    line-height:1!important;
}
.dgsp-card-rating-value{
    color:#626b75!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:600!important;
}
.dgsp-card-meta-row{
    display:block!important;
    width:100%!important;
    margin-top:3px!important;
    color:#7d858e!important;
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:500!important;
    min-height:15px;
    white-space:normal!important;
}
.dgsp-card-meta-row .dgsp-meta-separator{color:#a4aab1;margin:0 3px}
.dgsp-card-summary,.dgsp-card-sold{display:none!important}

@media(max-width:767.98px){
    .dgsp-detail-primary-row{gap:7px}
    .dgsp-detail-primary-text{font-size:13px}
    .dgsp-detail-secondary-row{font-size:12.5px;line-height:1.3}
    .dgsp-inline-fallback{margin-top:6px;margin-bottom:8px}

    .dgsp-card-rating-star{font-size:12.5px!important}
    .dgsp-card-rating-value,.dgsp-card-meta-row{font-size:11.5px!important}
    .dgsp-card-meta-row{margin-top:2px!important;line-height:1.2!important}
}

@media(max-width:390px){
    .dgsp-card-rating-value,.dgsp-card-meta-row{font-size:11px!important}
}


/* Marketplace review content imported by Digioto staff. */
.dgsp-marketplace-review-section{max-width:920px}
.dgsp-marketplace-review-heading{margin-bottom:22px}
.dgsp-marketplace-review-heading h3{font-size:24px;margin-bottom:6px}
.dgsp-marketplace-review-heading p{margin:0;color:#7d858e}
.dgsp-marketplace-review-list{display:grid;gap:12px}
.dgsp-marketplace-review-item{border:1px solid #e7e9ed;border-radius:10px;padding:16px;background:#fff}
.dgsp-marketplace-review-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:7px}
.dgsp-marketplace-review-top>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dgsp-marketplace-review-top time{font-size:12px;color:#8a919b;white-space:nowrap}
.dgsp-marketplace-source{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:600;background:#f2f4f7;color:#58616b}
.dgsp-marketplace-stars{font-size:14px;line-height:1;color:#f5a623;letter-spacing:1px;margin-bottom:9px}
.dgsp-marketplace-stars-empty{color:#d7dbe0}
.dgsp-marketplace-review-item p{margin:0;color:#3f4650;line-height:1.55;white-space:pre-line}
.dgsp-marketplace-review-note{margin-top:14px;color:#7d858e;font-size:12px}
@media(max-width:767.98px){
    .dgsp-marketplace-review-section{padding-left:2px;padding-right:2px}
    .dgsp-marketplace-review-heading h3{font-size:20px}
    .dgsp-marketplace-review-item{padding:13px}
    .dgsp-marketplace-review-top{flex-direction:column;gap:5px}
}

/* Native Shofy review tab uses the Social Proof total/rating without inventing star distribution. */
.dgsp-review-source-note{
    margin-top:10px;
    color:#7d858e;
    font-size:12px;
    line-height:1.45;
}
.dgsp-marketplace-total-note{
    margin-top:0!important;
    padding:12px 14px;
    border:1px solid #e7e9ed;
    border-radius:8px;
    background:#fafbfc;
    color:#6f7781!important;
    text-align:left!important;
}
