/* ===== BD Product Cards ===== */
.bdpc-grid{--bdpc-cols:2;--bdpc-orange:#f58220;--bdpc-orange-dark:#dc7013;--bdpc-green:#c6e03b;--bdpc-ink:#1f2933;
  display:grid;grid-template-columns:repeat(var(--bdpc-cols),minmax(0,1fr));gap:24px;width:100%}
.bdpc-grid,.bdpc-grid *{font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif!important;box-sizing:border-box}

.bdpc-grid .bdpc-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:24px;
  background:#fff;border:1px solid #f1ede5;border-radius:10px;padding:32px;min-height:330px;margin:0}

.bdpc-grid .bdpc-ribbon{position:absolute;top:0;right:0;display:inline-flex;align-items:center;gap:5px;background:#ff3b30;color:#fff;
  font-size:13px;font-weight:700;line-height:1;padding:8px 10px;border-radius:0 0 0 8px;z-index:2}

.bdpc-grid .bdpc-thumb{display:flex;align-items:center;justify-content:center;margin:0;padding:0;border:0;box-shadow:none}
.bdpc-grid .bdpc-thumb img{width:100%!important;max-width:260px!important;height:auto!important;max-height:270px!important;
  object-fit:contain;display:block;margin:0 auto!important;border:0;box-shadow:none}

.bdpc-grid .bdpc-info{min-width:0}
.bdpc-grid .bdpc-title{margin:0 0 8px!important;padding:0;font-size:24px!important;line-height:1.25!important;font-weight:500!important;
  color:var(--bdpc-ink)!important;text-transform:none!important;letter-spacing:0!important}
.bdpc-grid .bdpc-title a{color:inherit!important;text-decoration:none!important;font-weight:inherit}

.bdpc-grid .bdpc-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 18px;margin:0 0 10px}
.bdpc-grid .bdpc-now,.bdpc-grid .bdpc-now *{color:var(--bdpc-orange)!important;font-size:22px!important;font-weight:700!important;background:none;text-decoration:none!important}
.bdpc-grid .bdpc-was,.bdpc-grid .bdpc-was *{color:#8b8b8b!important;font-size:19px!important;font-weight:500!important;text-decoration:line-through!important;background:none}

.bdpc-grid .bdpc-save{display:inline-block;background:var(--bdpc-green);color:var(--bdpc-ink);font-size:14px;font-weight:600;line-height:1;padding:6px 11px;border-radius:999px}
.bdpc-grid .bdpc-save *{color:inherit!important;font-size:inherit!important;font-weight:600!important}

/* actions: always one row */
.bdpc-grid .bdpc-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;margin:28px 0 0;padding:0}
.bdpc-grid .bdpc-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:auto!important;min-width:0;margin:0!important;
  height:44px;padding:0 16px!important;border-radius:5px!important;font-size:16px!important;font-weight:600!important;line-height:1!important;
  text-decoration:none!important;white-space:nowrap;cursor:pointer;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;
  transition:background .15s,color .15s,border-color .15s}
.bdpc-grid .bdpc-btn svg{flex:none}
.bdpc-grid .bdpc-btn-outline{background:#fff!important;color:var(--bdpc-orange)!important;border:1px solid var(--bdpc-orange)!important}
.bdpc-grid .bdpc-btn-outline:hover{background:#fff4ea!important}
.bdpc-grid .bdpc-btn-solid{background:var(--bdpc-orange)!important;color:#fff!important;border:1px solid var(--bdpc-orange)!important}
.bdpc-grid .bdpc-btn-solid:hover{background:var(--bdpc-orange-dark)!important;border-color:var(--bdpc-orange-dark)!important}
.bdpc-grid .bdpc-btn:focus-visible,.bdpc-grid .bdpc-qty button:focus-visible,.bdpc-grid .bdpc-qty input:focus-visible{outline:2px solid var(--bdpc-ink);outline-offset:2px}
.bdpc-grid .bdpc-btn.is-busy{opacity:.6;pointer-events:none}

/* quantity stepper (shown after Add To Cart) */
.bdpc-grid .bdpc-qty{display:none;align-items:stretch;height:44px;margin:0;border-radius:5px;overflow:hidden;background:var(--bdpc-orange);flex:none}
.bdpc-grid .is-in-cart .bdpc-add{display:none!important}
.bdpc-grid .is-in-cart .bdpc-qty{display:inline-flex}
.bdpc-grid .bdpc-qty button{width:44px;height:44px;min-width:0;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:var(--bdpc-orange)!important;
  color:#fff!important;font-size:22px!important;line-height:1!important;cursor:pointer;box-shadow:none!important;display:flex;align-items:center;justify-content:center}
.bdpc-grid .bdpc-qty button:hover{background:var(--bdpc-orange-dark)!important}
.bdpc-grid .bdpc-qty input{width:58px;height:44px;min-height:0;margin:0!important;padding:0!important;border:1px solid var(--bdpc-orange)!important;border-radius:0!important;
  background:#fff!important;color:var(--bdpc-ink)!important;font-size:16px!important;font-weight:600!important;text-align:center;box-shadow:none!important;-moz-appearance:textfield}
.bdpc-grid .bdpc-qty input::-webkit-outer-spin-button,.bdpc-grid .bdpc-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

@media (max-width:900px){.bdpc-grid{grid-template-columns:1fr}}
@media (max-width:520px){
  .bdpc-grid .bdpc-card{grid-template-columns:1fr;padding:24px 18px}
  .bdpc-grid .bdpc-thumb img{max-width:200px!important}
  .bdpc-grid .bdpc-actions{flex-wrap:wrap}
}
