/* Buyer-facing examples in the supplier product editor. */
body[data-supplier-page="panel"] .sp-editor-top-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
body[data-supplier-page="panel"] .sp-editor-top-actions .sp-editor-back{margin:0}
body[data-supplier-page="panel"] .sp-preview-jump{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 16px;border:1px solid #e9afbd;border-radius:11px;background:#fff2f5;color:#ae1539;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer;transition:transform .2s,background .2s,box-shadow .2s}
body[data-supplier-page="panel"] .sp-preview-jump:hover{background:#ffe7ed;box-shadow:0 8px 18px #9e18351a;transform:translateY(-2px)}
body[data-supplier-page="panel"] .sp-preview-jump:focus-visible{outline:3px solid #d5395a;outline-offset:3px}
body[data-supplier-page="panel"] .sp-preview-jump .sp-icon{width:17px;height:17px}
body[data-supplier-page="panel"] .sp-product-preview{grid-column:1/-1;min-width:0;padding:28px;border-color:#dce6f0;border-radius:21px;scroll-margin-top:20px}
body[data-supplier-page="panel"] .sp-product-preview .sp-editor-card-head{margin-bottom:20px}
body[data-supplier-page="panel"] .sp-preview-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
body[data-supplier-page="panel"] .sp-preview-panel{min-width:0;padding:20px;border:1px solid #e0e6ed;border-radius:16px;background:linear-gradient(145deg,#f7f9fc,#fff)}
body[data-supplier-page="panel"] .sp-preview-kicker{display:block;margin-bottom:13px;color:#a7193c;font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
body[data-supplier-page="panel"] .sp-preview-list{display:grid;grid-template-columns:56px minmax(0,1fr) 105px 125px 102px;align-items:center;gap:13px;min-width:0;min-height:104px;padding:15px;border:1px solid #e1e5ea;border-radius:13px;background:#fff;box-shadow:0 6px 20px #17304b0b}
body[data-supplier-page="panel"] .sp-preview-list-image{display:grid;place-items:center;width:56px;height:56px;overflow:hidden;border-radius:12px;background:#f1f5f9;color:#ba173b}
body[data-supplier-page="panel"] .sp-preview-list-image img{display:block;width:100%;height:100%;object-fit:contain;padding:5px}
body[data-supplier-page="panel"] .sp-preview-list-image .sp-icon{width:27px;height:27px}
body[data-supplier-page="panel"] .sp-preview-list-copy{display:grid;gap:6px;min-width:0}
body[data-supplier-page="panel"] .sp-preview-list-copy strong{color:#20324a;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
body[data-supplier-page="panel"] .sp-preview-list-copy small{color:#8296ad;font-size:12px}
body[data-supplier-page="panel"] .sp-preview-stat{display:grid;align-content:center;gap:4px;min-width:0;min-height:58px;padding:9px;border:1px solid #dcebe3;border-radius:10px;background:#f1faf5;text-align:center}
body[data-supplier-page="panel"] .sp-preview-stat small{color:#6f9382;font-size:10px}
body[data-supplier-page="panel"] .sp-preview-stat strong{color:#127447;font-size:14px;overflow-wrap:anywhere}
body[data-supplier-page="panel"] .sp-preview-stat.is-empty{border-color:#e3e8ed;background:#f6f8fa}
body[data-supplier-page="panel"] .sp-preview-stat.is-empty strong{color:#788b9f}
body[data-supplier-page="panel"] .sp-preview-price{border-color:#e1e6ed;background:#f5f7fa}
body[data-supplier-page="panel"] .sp-preview-price small{color:#8292a7}
body[data-supplier-page="panel"] .sp-preview-price strong{color:#21344d}
body[data-supplier-page="panel"] .sp-preview-cart,body[data-supplier-page="panel"] .sp-preview-buy-button{display:grid;place-items:center;min-height:46px;padding:8px 11px;border-radius:10px;background:#c50e37;color:#fff;font-size:12px;font-weight:800;text-align:center}
body[data-supplier-page="panel"] .sp-preview-detail{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:15px;min-width:0}
body[data-supplier-page="panel"] .sp-preview-detail-main,.sp-preview-buy{min-width:0;padding:23px;border:1px solid #e4e8ed;border-radius:14px;background:#fff}
body[data-supplier-page="panel"] .sp-preview-detail-main{min-height:290px}
body[data-supplier-page="panel"] .sp-preview-category{display:inline-block;max-width:100%;padding:6px 11px;border-radius:99px;background:#fff0f3;color:#ac1938;font-size:12px;font-weight:750;overflow-wrap:anywhere}
body[data-supplier-page="panel"] .sp-preview-detail-main h4{margin:18px 0 14px;color:#29394c;font-size:clamp(21px,2vw,27px);line-height:1.35;overflow-wrap:anywhere}
body[data-supplier-page="panel"] .sp-preview-detail-main p{margin:0;color:#4b596b;font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
body[data-supplier-page="panel"] .sp-preview-buy{display:grid;align-content:start;gap:0}
body[data-supplier-page="panel"] .sp-preview-detail-image{display:grid;place-items:center;height:160px;margin-bottom:15px;border-radius:12px;background:#f6f8fa;color:#ba173b}
body[data-supplier-page="panel"] .sp-preview-detail-image img{display:block;width:min(105px,70%);height:110px;object-fit:contain}
body[data-supplier-page="panel"] .sp-preview-detail-image .sp-icon{width:55px;height:55px}
body[data-supplier-page="panel"] .sp-preview-buy-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid #edf0f3;color:#6d7f92;font-size:13px}
body[data-supplier-page="panel"] .sp-preview-buy-row strong{color:#263d54;font-size:15px;text-align:right;overflow-wrap:anywhere}
body[data-supplier-page="panel"] .sp-preview-buy-button{margin-top:13px}
body[data-supplier-page="panel"] .sp-preview-note{margin:16px 0 0;color:#687f98;font-size:13px;line-height:1.55}
@media(max-width:1120px){body[data-supplier-page="panel"] .sp-preview-list{grid-template-columns:56px minmax(0,1fr) 105px 112px;gap:9px}body[data-supplier-page="panel"] .sp-preview-cart{grid-column:3/-1;width:100%}body[data-supplier-page="panel"] .sp-preview-list-copy{grid-row:1/3}}
@media(max-width:760px){body[data-supplier-page="panel"] .sp-editor-top-actions{justify-content:flex-start}body[data-supplier-page="panel"] .sp-product-preview{padding:18px}body[data-supplier-page="panel"] .sp-preview-panel{padding:14px}body[data-supplier-page="panel"] .sp-preview-detail{grid-template-columns:minmax(0,1fr)}body[data-supplier-page="panel"] .sp-preview-detail-main{min-height:0}body[data-supplier-page="panel"] .sp-preview-buy{grid-template-columns:92px minmax(0,1fr);column-gap:14px;align-items:center}body[data-supplier-page="panel"] .sp-preview-detail-image{grid-row:1/4;width:92px;height:92px;margin:0}body[data-supplier-page="panel"] .sp-preview-detail-image img{width:75px;height:75px}body[data-supplier-page="panel"] .sp-preview-buy-button{grid-column:1/-1}}
@media(max-width:540px){body[data-supplier-page="panel"] .sp-preview-list{grid-template-columns:48px minmax(0,1fr) minmax(0,1fr);gap:9px;padding:11px}body[data-supplier-page="panel"] .sp-preview-list-image{width:48px;height:48px}body[data-supplier-page="panel"] .sp-preview-list-copy{grid-column:2/-1;grid-row:1}body[data-supplier-page="panel"] .sp-preview-list-copy strong{font-size:14px}body[data-supplier-page="panel"] .sp-preview-stat{grid-row:2}body[data-supplier-page="panel"] .sp-preview-list .sp-preview-stat:not(.sp-preview-price){grid-column:1/3}body[data-supplier-page="panel"] .sp-preview-price{grid-column:3}body[data-supplier-page="panel"] .sp-preview-cart{grid-column:1/-1;grid-row:3}body[data-supplier-page="panel"] .sp-preview-detail-main,.sp-preview-buy{padding:16px}body[data-supplier-page="panel"] .sp-preview-detail-main p{font-size:14px}body[data-supplier-page="panel"] .sp-preview-jump{white-space:normal;text-align:center}}
@media(max-width:370px){body[data-supplier-page="panel"] .sp-editor-top-actions{display:grid;grid-template-columns:minmax(0,1fr)}body[data-supplier-page="panel"] .sp-preview-jump,body[data-supplier-page="panel"] .sp-editor-top-actions .sp-editor-back{width:100%}}
@media(prefers-reduced-motion:reduce){body[data-supplier-page="panel"] .sp-preview-jump{transition:none}}
