.bydp{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:24px;font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:#111;-webkit-font-smoothing:antialiased}
.bydp.is-open{display:flex}
.bydp *{box-sizing:border-box}
.bydp button{font:inherit;cursor:pointer}
.bydp-backdrop{position:absolute;inset:0;background:rgba(17,17,17,.72);backdrop-filter:blur(3px)}
.bydp-dialog{position:relative;width:min(1140px,100%);background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.45);outline:0}
.bydp-inner{display:grid;grid-template-columns:1.06fr 1fr;height:min(86vh,720px)}
.bydp .bydp-close{position:absolute;top:16px;right:16px;z-index:5;width:36px;height:36px;min-width:0;padding:0!important;margin:0;border:0;border-radius:50%;background:rgba(17,17,17,.08);color:#6b7280;font-size:0;line-height:0;display:flex;align-items:center;justify-content:center;transition:background .2s}
.bydp .bydp-close svg{display:block;width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;pointer-events:none}
.bydp-close:hover{background:rgba(17,17,17,.16)}
.bydp-media{display:flex;flex-direction:column;min-height:0;background:#0e0e0e;color:#fff}
.bydp-stage{position:relative;flex:1 1 auto;min-height:240px;background:#1a1a1a;overflow:hidden}
.bydp-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bydp-stage:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,0) 55%)}
.bydp-badge{position:absolute;z-index:2;top:20px;left:20px;padding:6px 14px;border-radius:999px;background:rgba(120,120,120,.55);backdrop-filter:blur(6px);color:#fff;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.bydp-cap{position:absolute;z-index:2;left:24px;right:24px;bottom:20px}
.bydp-title{margin:0;font-family:'Outfit','DM Sans',sans-serif;font-weight:800;font-size:clamp(28px,3vw,38px);line-height:1.1;color:#fff;letter-spacing:-.01em}
.bydp-tag{margin:6px 0 0;font-size:15px;color:rgba(255,255,255,.86)}
.bydp .bydp-nav{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:32px;height:32px;min-width:0;padding:0!important;margin:0;border:0;border-radius:50%;background:rgba(255,255,255,.22);color:#fff;font-size:0;line-height:0;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px)}
.bydp .bydp-nav svg{display:block;width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.bydp-nav:hover{background:rgba(255,255,255,.4)}
.bydp-prev{left:14px}.bydp-next{right:14px}
.bydp-thumbs{display:flex;gap:10px;padding:14px 22px;overflow-x:auto;scrollbar-width:none}
.bydp-thumbs::-webkit-scrollbar{display:none}
.bydp-thumb{flex:0 0 calc((100% - 20px)/3);aspect-ratio:16/10;padding:0;border:3px solid transparent;border-radius:14px;overflow:hidden;background:#222;opacity:.75;transition:opacity .2s,border-color .2s}
.bydp-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.bydp-thumb.is-active{border-color:#e31e24;opacity:1}
.bydp-price{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 26px 24px;border-top:1px solid rgba(255,255,255,.1)}
.bydp-price small{display:block;color:rgba(255,255,255,.7);font-size:13px}
.bydp-price strong{display:block;margin:2px 0;font-family:'Outfit','DM Sans',sans-serif;font-weight:800;font-size:clamp(24px,2.4vw,30px);line-height:1.1;color:#f0161f}
.bydp-price em{font-style:normal;color:rgba(255,255,255,.55);font-size:12px}
.bydp-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 20px;border-radius:14px;border:2px solid #e31e24;background:#e31e24;color:#fff!important;font-weight:700;font-size:15px;text-decoration:none!important;white-space:nowrap;transition:filter .2s,background .2s}
.bydp-btn:hover{filter:brightness(1.08)}
.bydp-btn svg{width:18px;height:18px;flex:none;fill:currentColor}
.bydp-btn.is-ghost{background:#fff;color:#e31e24!important}
.bydp-btn.is-ghost:hover{background:#fff5f5;filter:none}
.bydp-info{display:flex;flex-direction:column;min-height:0;background:#fff}
.bydp-body{flex:1 1 auto;overflow:auto;padding:34px 32px 20px 34px}
.bydp-desc{margin:0 52px 0 0;font-size:15px;line-height:1.7;color:#4b5563}
.bydp-tabs{display:flex;gap:28px;margin:22px 0 0;border-bottom:1px solid #eef0f3;overflow-x:auto;scrollbar-width:none}
.bydp-tabs::-webkit-scrollbar{display:none}
.bydp .bydp-tab{position:relative;margin:0;padding:12px 0;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;outline:0;color:#9ca3af;font-weight:700;font-size:15px;letter-spacing:0;text-transform:none;text-decoration:none;white-space:nowrap;-webkit-tap-highlight-color:transparent;transition:color .2s}
.bydp .bydp-tab:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:#e31e24;transform:scaleX(0);transform-origin:left;transition:transform .2s}
.bydp .bydp-tab:hover,.bydp .bydp-tab:focus,.bydp .bydp-tab:focus-visible,.bydp .bydp-tab:active,.bydp .bydp-tab.is-active{background:transparent!important;background-image:none!important;box-shadow:none!important;color:#e31e24!important;outline:0}
.bydp .bydp-tab:hover:after,.bydp .bydp-tab:focus-visible:after,.bydp .bydp-tab:active:after,.bydp .bydp-tab.is-active:after{transform:scaleX(1)}
/* lindungi tombol lain dari style hover/focus bawaan tema */
.bydp .bydp-nav,.bydp .bydp-nav:focus,.bydp .bydp-nav:active{background:rgba(255,255,255,.22)!important;color:#fff!important;box-shadow:none!important;border:0!important}
.bydp .bydp-nav:hover{background:rgba(255,255,255,.4)!important}
.bydp .bydp-close,.bydp .bydp-close:focus,.bydp .bydp-close:active{background:rgba(17,17,17,.08)!important;color:#6b7280!important;box-shadow:none!important;border:0!important}
.bydp .bydp-close:hover{background:rgba(17,17,17,.16)!important}
.bydp .bydp-thumb,.bydp .bydp-thumb:hover,.bydp .bydp-thumb:focus,.bydp .bydp-thumb:active{background:#222!important;box-shadow:none!important;padding:0!important}
.bydp-panel{display:none;padding-top:8px}
.bydp-panel.is-active{display:block}
.bydp-row{display:flex;justify-content:space-between;gap:24px;padding:14px 0;border-bottom:1px solid #f0f1f4;font-size:15px}
.bydp-row:last-child{border-bottom:0}
.bydp-row span{color:#9ca3af;flex:none;white-space:nowrap}
.bydp-row b{text-align:right;font-weight:700;color:#0b0b0b}
.bydp-note{margin:12px 0 0;font-size:12.5px;line-height:1.6;color:#9ca3af}
.bydp-feats{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:18px}
.bydp-feat{display:flex;align-items:center;gap:12px;padding:14px 14px;border-radius:14px;background:#f5f5f6;font-weight:500;font-size:14.5px;line-height:1.35}
.bydp-feat i{flex:none;width:24px;height:24px;border-radius:50%;background:#e31e24;display:grid;place-items:center}
.bydp-feat i svg{width:13px;height:13px;stroke:#fff;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bydp-colors-info{margin:16px 0 22px;font-size:14.5px;line-height:1.6;color:#9ca3af}
.bydp-swatches{display:flex;flex-wrap:wrap;gap:22px 26px}
.bydp-sw{width:84px;text-align:center;font-size:13px;color:#6b7280;line-height:1.3}
.bydp-sw i{display:block;width:40px;height:40px;margin:0 auto 10px;border-radius:50%;border:1px solid rgba(0,0,0,.12);box-shadow:0 0 0 4px #fff,0 0 0 5px rgba(0,0,0,.08)}
.bydp-var{padding:14px 0;border-bottom:1px solid #f0f1f4}
.bydp-var:last-child{border-bottom:0}
.bydp-var div{display:flex;justify-content:space-between;gap:16px;font-size:15px}
.bydp-var b{font-weight:700}.bydp-var strong{color:#e31e24;font-weight:700;white-space:nowrap}
.bydp-var small{display:block;margin-top:3px;color:#9ca3af;font-size:12.5px}
.bydp-empty{padding:26px 0;color:#9ca3af}
.bydp-foot{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px 32px 24px 34px;border-top:1px solid #eef0f3;background:#fff}
.bydp-foot .bydp-btn{padding:13px 12px}
body.bydp-lock{overflow:hidden}
@media (max-width:820px){
.bydp{padding:0;align-items:flex-end}
.bydp-dialog{width:100%;max-height:94vh;border-radius:28px 28px 0 0}
.bydp-inner{display:block;height:auto;max-height:94vh;overflow-y:auto;overscroll-behavior:contain}
.bydp .bydp-close,.bydp .bydp-close:hover,.bydp .bydp-close:focus{top:12px;right:12px;width:32px;height:32px;background:transparent!important;color:#fff!important}
.bydp .bydp-close svg{width:18px;height:18px}
.bydp-stage{min-height:0;height:min(62vw,330px);flex:none}
.bydp-badge{top:14px;left:14px;font-size:10.5px;padding:6px 12px}
.bydp-cap{left:18px;right:18px;bottom:14px}
.bydp-title{font-size:clamp(26px,7.5vw,32px)}
.bydp-tag{font-size:13.5px;margin-top:3px}
.bydp-thumbs{padding:12px 16px;gap:8px}
.bydp-thumb{flex-basis:calc((100% - 16px)/3);border-width:2px;border-radius:12px}
.bydp-price{background:#fff;color:#111;border-top:0;padding:16px 18px;border-bottom:1px solid #f0f1f4}
.bydp-price small{color:#6b7280}.bydp-price em{display:none}
.bydp-price strong{font-size:23px}
.bydp-price .bydp-btn{padding:11px 16px;font-size:14px;border-radius:12px}
.bydp-media{background:#0e0e0e}
.bydp-body{overflow:visible;padding:22px 18px 8px}
.bydp-desc{margin:0;font-size:14px;line-height:1.7}
.bydp-tabs{gap:22px}.bydp .bydp-tab{font-size:14px}
.bydp-row{font-size:14px;padding:12px 0;gap:14px}
.bydp-feats{grid-template-columns:1fr}
.bydp-foot{position:sticky;bottom:0;z-index:4;padding:14px 18px calc(16px + env(safe-area-inset-bottom));gap:12px;box-shadow:0 -8px 24px rgba(0,0,0,.06)}
.bydp-foot .bydp-btn{font-size:14px;border-radius:12px}
}
