.bdsp-wrap,.bdsp-wrap *{font-family:'DM Sans',sans-serif;box-sizing:border-box}
.bdsp-wrap{width:100%}
.bdsp-wrap>*+*{margin-top:20px}
.is-hidden{display:none!important}

/* cards */
.bdsp,.bdsp-panel,.bdsp-related,.bdsp-tabs{background:#fff;border:1px solid #ececec;border-radius:8px}
.bdsp,.bdsp-panel,.bdsp-related{padding:24px}

/* top */
.bdsp{display:flex;flex-direction:row;gap:30px;align-items:flex-start}
.bdsp-gallery{flex:0 0 45%;max-width:45%;display:flex;gap:12px}
.bdsp-thumbs-bottom .bdsp-gallery{flex-direction:column-reverse}
.bdsp-thumbs{display:flex;flex-direction:column;gap:8px;width:64px;flex:0 0 64px}
.bdsp-thumbs-bottom .bdsp-thumbs{flex-direction:row;width:auto;flex:none;flex-wrap:wrap}
.bdsp-thumb{padding:2px;background:#fff;border:2px solid #e5e5e5;cursor:pointer;width:64px;height:64px;overflow:hidden;line-height:0}
.bdsp-thumb img{width:100%;height:100%;object-fit:cover}
.bdsp-thumb.is-active{border-color:#f47b20}

/* zoom */
.bdsp-main{flex:1;min-width:0;background:#fff;border:1px solid #eee;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.bdsp-main-img{width:100%;height:auto;display:block;object-fit:contain;transition:transform .2s ease-out;transform-origin:50% 50%;will-change:transform}
.bdsp-main.has-zoom{cursor:zoom-in}
.bdsp-main.has-zoom.is-zooming .bdsp-main-img{transform:scale(var(--bdsp-zoom,2));transition:transform .12s ease-out}
@media (hover:none){.bdsp-main.has-zoom{cursor:default}.bdsp-main.has-zoom.is-zooming .bdsp-main-img{transform:none}}

.bdsp-info{flex:1;min-width:0}
.bdsp-title{margin:0 0 10px;font-size:32px;line-height:1.25;font-weight:700;color:#1a1a1a}
.bdsp-price{margin:0 0 14px;font-size:20px;font-weight:600}
.bdsp-desc{margin:0 0 14px;font-size:15px;line-height:1.65}
.bdsp-desc p{margin:0 0 .6em}
.bdsp-phone{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;margin:0 0 14px;border-radius:4px;font-size:14px;font-weight:600}
.bdsp-phone a{text-decoration:none}
.bdsp-qty-row{display:flex;align-items:center;gap:12px;margin-bottom:12px;font-size:13px}
.bdsp-qty{display:inline-flex;border:1px solid #ddd;background:#fff;overflow:hidden}
.bdsp-qty button{width:30px;border:0;background:#f7f7f7;cursor:pointer;font-size:16px;padding:0}
.bdsp-qty input{width:46px;border:0;text-align:center;font-size:14px;padding:6px 0;-moz-appearance:textfield;background:#fff}
.bdsp-qty input::-webkit-outer-spin-button,.bdsp-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.bdsp-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;padding:8px 16px;margin:0 0 8px;border:0;cursor:pointer;text-decoration:none;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;transition:background .2s,color .2s}
.bdsp-form{display:grid;grid-template-columns:1fr 1fr;column-gap:8px}
.bdsp-form .bdsp-qty-row{grid-column:1/-1}
.bdsp-form .bdsp-btn--cart:only-of-type,.bdsp-form .bdsp-btn--buy:only-of-type{grid-column:1/-1}
.bdsp-contact-btns{display:flex;flex-direction:column}
.bdsp-brand{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:13px}
.bdsp-brand img{max-height:24px;width:auto}

/* tabs */
.bdsp-tabs{display:flex;gap:8px;padding:10px 14px}
.bdsp-tab{border:0;cursor:pointer;padding:8px 18px;border-radius:4px;background:#f6f6f6;color:#555;font-size:13px;font-weight:600;transition:all .2s}
.bdsp-tab.is-active{background:#f47b20;color:#fff}

/* sections */
.bdsp-sec-title{margin:0 0 14px;font-size:18px;font-weight:700;color:#1a1a1a;padding-bottom:8px;position:relative}
.bdsp-sec-title::after{content:"";position:absolute;left:0;bottom:0;width:36px;height:2px;background:#f47b20}
.bdsp-longdesc{font-size:14px;line-height:1.8;color:#333}
.bdsp-longdesc p{margin:0 0 1em}
.bdsp-longdesc img{max-width:100%;height:auto}

/* reviews */
.bdsp-reviews-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:40px}
.bdsp-stars{--r:0;--star-on:#f5a623;--star-off:#d9d9d9;display:inline-block;font-size:14px;line-height:1;letter-spacing:2px;white-space:nowrap;background:linear-gradient(90deg,var(--star-on) calc(var(--r)/5*100%),var(--star-off) 0);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.bdsp-stars::before{content:"★★★★★"}
.bdsp-avg-row{display:flex;align-items:center;gap:14px}
.bdsp-avg-num{font-size:44px;font-weight:700;line-height:1}
.bdsp-avg-label{font-size:13px;margin-top:4px;font-weight:600}
.bdsp-avg-count{font-size:12px;color:#777}
.bdsp-rec{margin:16px 0}
.bdsp-rec-num{font-size:22px;font-weight:700;margin-right:6px}
.bdsp-rec-label{font-size:12px;color:#777}
.bdsp-bar-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.bdsp-bar-row .bdsp-stars{font-size:11px;letter-spacing:1px;flex:0 0 70px}
.bdsp-bar{flex:1;height:6px;background:#eee;border-radius:3px;overflow:hidden}
.bdsp-bar-fill{display:block;height:100%;background:#f47b20}
.bdsp-bar-pct{width:34px;font-size:12px;color:#777;text-align:right}

.bdsp-note{font-size:12px;color:#555;margin:0 0 14px}
.bdsp-note span,.bdsp-label span{color:#d93025}
.bdsp-label{display:block;font-size:12px;font-weight:600;margin:14px 0 6px;color:#333}
.bdsp-review-form textarea,.bdsp-review-form select,.bdsp-fields-2 input{width:100%;border:1px solid #ddd;border-radius:4px;padding:10px 12px;font-size:13px;background:#fff;color:#333}
.bdsp-review-form textarea{resize:vertical;min-height:110px}
.bdsp-fields-2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:6px}
.bdsp-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.bdsp-drop{display:flex;flex-direction:column;align-items:center;gap:4px;padding:26px 16px;border:2px dashed #d5d5d5;border-radius:6px;text-align:center;cursor:pointer;font-size:12px;color:#777;transition:background .2s,border-color .2s}
.bdsp-drop svg{fill:#1a73e8}
.bdsp-drop strong{font-size:14px;color:#222}
.bdsp-drop.is-over{background:#fff7ef;border-color:#f47b20}
.bdsp-previews{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.bdsp-prev{position:relative;width:64px;height:64px;border-radius:4px;overflow:hidden;border:1px solid #ddd}
.bdsp-prev img{width:100%;height:100%;object-fit:cover}
.bdsp-prev button{position:absolute;top:0;right:0;width:20px;height:20px;border:0;background:rgba(0,0,0,.65);color:#fff;cursor:pointer;line-height:1;padding:0}
.bdsp-review-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:6px}
.bdsp-rating-field{width:260px;max-width:100%}
.bdsp-btn--submit{width:auto;margin:0;padding:8px 26px}
.bdsp-form-msg{margin-top:12px;font-size:13px}
.bdsp-form-msg.is-error{color:#d93025}
.bdsp-form-msg.is-ok{color:#2e9e5b}

.bdsp-review-list{margin-top:28px;border-top:1px solid #eee}
.bdsp-review{padding:16px 0;border-bottom:1px solid #f0f0f0}
.bdsp-review-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}
.bdsp-review-date{font-size:12px;color:#888}
.bdsp-review-text{font-size:14px;line-height:1.6;margin-top:6px}
.bdsp-review-imgs{display:flex;gap:8px;margin-top:8px}
.bdsp-review-imgs img{width:64px;height:64px;object-fit:cover;border-radius:4px}

/* related */
.bdsp-related-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.bdsp-related-title{margin:0;font-size:18px;font-weight:700}
.bdsp-viewall{font-size:13px;font-weight:600;color:#f47b20;text-decoration:none}
.bdsp-related-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.bdsp-rcard{display:flex;flex-direction:column;border:1px solid #e8e8e8;border-radius:6px;padding:10px;background:#fff}
.bdsp-rimg{position:relative;display:block;margin-bottom:10px}
.bdsp-rimg img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;display:block}
.bdsp-badge{position:absolute;top:4px;left:4px;z-index:2;padding:2px 8px;border-radius:3px;font-size:10px;font-weight:700;color:#fff;text-transform:uppercase}
.bdsp-badge--sale{background:#f47b20}
.bdsp-badge--new{background:#2e9e5b}
.bdsp-badge--out{background:#888}
.bdsp-rtitle{font-size:13px;line-height:1.4;color:#1a1a1a;text-decoration:none;font-weight:500;margin-bottom:6px;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bdsp-rprice{font-size:13px;font-weight:700;color:#f47b20;margin-bottom:10px}
.bdsp-rprice del{color:#999;font-weight:400;margin-right:4px}
.bdsp-rprice ins{text-decoration:none}
.bdsp-rbtn{margin-top:auto;display:block;text-align:center;padding:7px 8px;border:1px solid #f47b20;border-radius:4px;color:#f47b20;font-size:12px;font-weight:600;text-decoration:none;transition:all .2s}
.bdsp-rbtn:hover{background:#f47b20;color:#fff}

/* responsive */
@media (max-width:1024px){
 .bdsp-stack-tablet{flex-direction:column!important}
 .bdsp-stack-tablet .bdsp-gallery,.bdsp-stack-tablet .bdsp-info{flex:1 1 100%!important;max-width:100%!important;width:100%}
 .bdsp-reviews-grid{grid-template-columns:1fr;gap:24px}
}
@media (max-width:767px){
 .bdsp-stack-mobile{flex-direction:column!important}
 .bdsp-stack-mobile .bdsp-gallery,.bdsp-stack-mobile .bdsp-info{flex:1 1 100%!important;max-width:100%!important;width:100%}
 .bdsp-title{font-size:24px}
 .bdsp,.bdsp-panel,.bdsp-related{padding:16px}
 .bdsp-fields-2{grid-template-columns:1fr}
 .bdsp-review-foot{flex-direction:column;align-items:stretch}
 .bdsp-btn--submit{width:100%}
 .bdsp-rating-field{width:100%}
}
