.bisbar-dp{font-size:var(--bdp-font);color:var(--bdp-text);background:var(--bdp-page);padding:8px}.bdp-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;margin-bottom:12px}.bdp-toolbar input,.bdp-toolbar select{width:100%;box-sizing:border-box;min-height:44px;padding:0 12px;border:1px solid var(--bdp-border);border-radius:9px;background:#fff;color:var(--bdp-text)}.bdp-meta{display:flex;justify-content:space-between;min-height:22px;margin-bottom:8px;color:var(--bdp-muted);font-size:12px}.bdp-grid{display:grid;grid-template-columns:repeat(var(--bdp-cols),minmax(0,1fr));gap:var(--bdp-gap)}.bdp-card{overflow:hidden;background:var(--bdp-card);border:var(--bdp-border-w) solid var(--bdp-border);border-radius:var(--bdp-radius);box-shadow:var(--bdp-shadow)}.bdp-image{position:relative;aspect-ratio:var(--bdp-ratio);background:#eef1f4;overflow:hidden}.bdp-image img{width:100%;height:100%;object-fit:cover;display:block}.bdp-badges{position:absolute;top:10px;left:10px;display:flex;flex-wrap:wrap;gap:5px}.bdp-badge{background:var(--bdp-badge-bg);color:var(--bdp-badge-color);padding:5px 8px;border-radius:6px;font-size:11px;font-weight:700}.bdp-body{padding:12px}.bdp-payment{font-size:12px;color:var(--bdp-muted);margin-bottom:5px}.bdp-title{font-size:var(--bdp-title);font-weight:600;line-height:1.45;min-height:calc(var(--bdp-title) * 2.9);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.bdp-price{font-size:var(--bdp-price);font-weight:800;color:var(--bdp-price-color);margin:10px 0}.bdp-benefits{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}.bdp-benefit{background:var(--bdp-benefit-bg);color:var(--bdp-benefit-color);padding:5px 8px;border-radius:6px;font-size:11px;font-weight:600}.bdp-actions{display:flex;gap:8px}.bdp-btn{flex:1;min-height:var(--bdp-btn-height);border:0;border-radius:var(--bdp-btn-radius);display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;font-size:13px}.bdp-detail{background:var(--bdp-detail-bg);color:var(--bdp-detail-color)}.bdp-checkout{background:var(--bdp-checkout-bg);color:var(--bdp-checkout-color)}.bdp-loader,.bdp-empty{text-align:center;padding:30px;color:var(--bdp-muted)}.bdp-more-wrap{text-align:center;margin-top:18px}.bdp-more-wrap button{padding:11px 20px;border:0;border-radius:8px;background:var(--bdp-detail-bg);color:var(--bdp-detail-color);font-weight:700;cursor:pointer}@media(max-width:900px){.bdp-grid{grid-template-columns:repeat(var(--bdp-cols-tab),minmax(0,1fr))}.bdp-toolbar{grid-template-columns:1fr 1fr}}@media(max-width:600px){.bdp-grid{grid-template-columns:repeat(var(--bdp-cols-mob),minmax(0,1fr))}.bdp-toolbar{grid-template-columns:1fr}.bdp-body{padding:10px}.bdp-title{min-height:calc(var(--bdp-title) * 2.9)}.bdp-actions{flex-direction:column}}

.bdp-no-image{display:flex;align-items:center;justify-content:center;min-height:220px;padding:20px;text-align:center;font-weight:700;color:#64748b;background:linear-gradient(135deg,#f8fafc,#eef2f7);border-bottom:1px solid rgba(15,23,42,.06)}

.bdp-add-cart{background:var(--bdp-add-cart-bg);color:var(--bdp-add-cart-color);cursor:pointer}.bdp-smart-cart{position:fixed;right:22px;bottom:22px;z-index:99999}.bdp-cart-fab{position:relative;width:58px;height:58px;border:0;border-radius:50%;font-size:22px;box-shadow:0 10px 30px rgba(0,0,0,.18);cursor:pointer}.bdp-cart-fab span{position:absolute;top:-5px;right:-4px;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#d33;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}.bdp-cart-panel{position:absolute;right:0;bottom:70px;width:min(380px,calc(100vw - 32px));background:#fff;border:1px solid var(--bdp-border);border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.2);padding:16px;color:var(--bdp-text)}.bdp-cart-head,.bdp-cart-total{display:flex;justify-content:space-between;align-items:center}.bdp-cart-head button{border:0;background:none;font-size:24px;cursor:pointer}.bdp-cart-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--bdp-border)}.bdp-cart-row strong,.bdp-cart-row small{display:block}.bdp-cart-row small{color:var(--bdp-muted);margin-top:3px}.bdp-cart-qty{display:flex;align-items:center;gap:8px}.bdp-cart-qty button{width:28px;height:28px;border:1px solid var(--bdp-border);background:#fff;border-radius:7px;cursor:pointer}.bdp-cart-total{padding:15px 0;font-size:16px}.bdp-cart-checkout{width:100%;min-height:44px;border:0;border-radius:var(--bdp-btn-radius);background:var(--bdp-checkout-bg);color:var(--bdp-checkout-color);font-weight:800;cursor:pointer}@media(max-width:600px){.bdp-smart-cart{right:14px;bottom:14px}.bdp-cart-panel{bottom:66px}}

/* Smart Cart: desktop/tablet action hierarchy */
.bdp-actions{display:grid;grid-template-columns:minmax(74px,1fr) minmax(96px,1.18fr) minmax(82px,1fr);gap:8px;align-items:stretch}
.bdp-btn{min-width:0;white-space:nowrap;padding:0 12px;font-weight:700;transition:transform .15s ease,filter .15s ease}
.bdp-btn:hover{transform:translateY(-1px);filter:brightness(.98)}
.bdp-add-cart{gap:6px}
.bdp-add-cart:before{display:none!important;content:none!important}
@media (min-width:768px){
 .bdp-card .bdp-actions .bdp-btn{font-size:13px}
 .bdp-card .bdp-actions .bdp-checkout{padding-left:10px;padding-right:10px}
}
@media (max-width:767px){
 .bdp-actions{display:flex}
 .bdp-add-cart:before{display:none}
}
.bdp-cart-checkout[disabled]{opacity:.7;cursor:wait}

/* Smart Cart action layout v1.3.5: balanced on desktop/tablet, stacked on mobile. */
@media (min-width: 601px){
 .bdp-actions{display:grid;grid-template-columns:minmax(72px,.9fr) minmax(108px,1.35fr) minmax(82px,1fr);gap:8px}
 .bdp-actions .bdp-btn{padding:0 10px;letter-spacing:-.1px}
 .bdp-add-cart{box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
}
@media (min-width: 601px) and (max-width: 1050px){
 .bdp-actions{grid-template-columns:1fr 1.2fr 1fr;gap:6px}
 .bdp-card .bdp-actions .bdp-btn{font-size:12px;padding:0 7px}
}
@media (max-width: 600px){
 .bdp-actions{display:flex}
}
/* v1.3.6 Smart Cart refinements */
@media (min-width:601px){
 .bdp-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%}
 .bdp-actions .bdp-btn{width:100%;min-width:0;padding:0 8px}
 .bdp-add-cart .bdp-add-label{display:none}
 .bdp-add-cart .bdp-add-icon{font-size:17px;line-height:1}
 .bdp-add-cart{gap:0!important}
}
@media (max-width:600px){.bdp-add-cart{display:flex;align-items:center;justify-content:center;gap:6px}.bdp-add-cart .bdp-add-icon{display:inline-flex;font-size:14px;line-height:1}.bdp-add-cart .bdp-add-label{display:inline}.bdp-add-cart:before{display:none!important;content:none!important}}
.bdp-cart-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}.bdp-cart-remove{width:30px;height:30px;border:1px solid var(--bdp-border);background:#fff;border-radius:7px;cursor:pointer;font-size:15px;display:flex;align-items:center;justify-content:center}.bdp-cart-remove:hover{filter:brightness(.96)}
.bdp-shortcode-cart{position:relative;display:inline-block}.bdp-shortcode-cart .bdp-smart-cart{position:relative;right:auto;bottom:auto}.bdp-shortcode-cart [data-bdp-cart]{position:relative;right:auto;bottom:auto}.bdp-shortcode-cart-icon .bdp-cart-panel{position:fixed;top:76px;right:22px;bottom:auto;width:min(380px,calc(100vw - 32px));z-index:2147483647}.bdp-shortcode-cart-full{display:block;width:100%}.bdp-shortcode-cart-full .bdp-cart-fab{display:none}.bdp-shortcode-cart-full .bdp-cart-panel{position:relative;right:auto;bottom:auto;width:100%;box-sizing:border-box;display:block!important}.bdp-shortcode-add{cursor:pointer}.bdp-shortcode-cart .bdp-cart-row{align-items:center}.bdp-shortcode-cart .bdp-cart-info{min-width:0;flex:1}

/* v1.3.8: definitive cart-button rendering */
/* Hide every label node on desktop/tablet and force exactly one icon. */
@media (min-width:601px){
 .bdp-card .bdp-actions .bdp-add-cart{display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important}
 .bdp-card .bdp-actions .bdp-add-cart .bdp-add-label{display:none!important}
 .bdp-card .bdp-actions .bdp-add-cart .bdp-add-icon{display:block!important;font-size:17px!important;line-height:1!important;width:auto!important;height:auto!important}
 .bdp-card .bdp-actions .bdp-add-cart::before,.bdp-card .bdp-actions .bdp-add-cart::after{content:none!important;display:none!important}
}
/* Mobile keeps the word Tambah and one proportional cart icon. */
@media (max-width:600px){
 .bdp-card .bdp-actions .bdp-add-cart{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}
 .bdp-card .bdp-actions .bdp-add-cart .bdp-add-icon{display:inline-flex!important;font-size:14px!important;line-height:1!important;width:auto!important;height:auto!important}
 .bdp-card .bdp-actions .bdp-add-cart .bdp-add-label{display:inline!important}
 .bdp-card .bdp-actions .bdp-add-cart::before,.bdp-card .bdp-actions .bdp-add-cart::after{content:none!important;display:none!important}
}

/* v1.4.0 Smart Cart shortcode + customization */
.bdp-cart-panel{background:var(--bdp-cart-bg,#fff);color:var(--bdp-cart-text,var(--bdp-text));}
.bdp-cart-head strong{color:var(--bdp-cart-title,var(--bdp-text));font-size:18px}
.bdp-cart-checkout{background:var(--bdp-cart-btn-bg,var(--bdp-checkout-bg));color:var(--bdp-cart-btn-color,var(--bdp-checkout-color));}
.bdp-shortcode-cart-icon{display:inline-flex!important;align-items:center;justify-content:center;position:relative}
.bdp-shortcode-cart-icon .bdp-cart-fab{width:auto;height:auto;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;font-size:24px;line-height:1;color:inherit}
.bdp-shortcode-cart-icon .bdp-cart-fab span{top:-8px;right:-10px}
.bdp-shortcode-cart-full{max-width:100%;}
.bdp-shortcode-cart-full .bdp-cart-panel{border-radius:16px;padding:20px;box-shadow:0 12px 35px rgba(0,0,0,.08)}
.bdp-shortcode-add{width:100%;min-height:var(--bdp-btn-height);gap:7px;background:var(--bdp-checkout-bg);color:var(--bdp-checkout-color);}
.bdp-shortcode-add .bdp-add-icon{font-size:15px;line-height:1}

/* v1.4.2: separate cart popup placement. Both popups share identical cart markup/data. */
.bdp-shortcode-cart-icon .bdp-cart-panel-icon{z-index:2147483647;}
.bdp-smart-cart .bdp-cart-panel-floating{z-index:2147483647;}
@media(max-width:600px){.bdp-shortcode-cart-icon .bdp-cart-panel{top:64px;right:14px;width:calc(100vw - 28px);}}


/* v1.4.3: standalone shortcode add-to-cart button */
.bdp-shortcode-add{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;width:100%;min-height:var(--bdp-btn-height);padding:0 16px;border:0;border-radius:var(--bdp-btn-radius);background:var(--bdp-shortcode-add-bg,var(--bdp-checkout-bg))!important;color:var(--bdp-shortcode-add-color,var(--bdp-checkout-color))!important;cursor:pointer;box-sizing:border-box;font-weight:700;line-height:1.2;text-decoration:none}
.bdp-shortcode-add .bdp-add-icon{display:inline-flex!important;align-items:center;justify-content:center;font-size:16px;line-height:1;flex:0 0 auto}
.bdp-shortcode-add .bdp-add-label{display:inline!important;white-space:nowrap;line-height:1.2}
.bdp-shortcode-add:hover{filter:brightness(.96);transform:translateY(-1px)}
.bdp-shortcode-add:disabled{opacity:.7;cursor:wait;transform:none}

/* v1.4.4 shortcode Add to Cart styling */
.bdp-shortcode-add{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  min-height:var(--bdp-btn-height)!important;
  height:auto!important;
  padding:0 var(--bdp-btn-padding)!important;
  border:var(--bdp-shortcode-add-border-width,0px) solid var(--bdp-shortcode-add-border-color,transparent)!important;
  border-radius:var(--bdp-shortcode-add-radius,var(--bdp-btn-radius))!important;
  background:var(--bdp-shortcode-add-bg,var(--bdp-checkout-bg))!important;
  color:var(--bdp-shortcode-add-color,var(--bdp-checkout-color))!important;
  gap:8px!important;
  box-shadow:none!important;
  font:inherit;
  font-weight:700!important;
  line-height:1.2!important;
  cursor:pointer!important;
  text-decoration:none!important;
}
.bdp-shortcode-add:hover,
.bdp-shortcode-add:focus,
.bdp-shortcode-add:active{
  background:var(--bdp-shortcode-add-bg,var(--bdp-checkout-bg))!important;
  color:var(--bdp-shortcode-add-color,var(--bdp-checkout-color))!important;
  border-color:var(--bdp-shortcode-add-border-color,transparent)!important;
}
.bdp-shortcode-add .bdp-add-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  font-size:16px!important;
  line-height:1!important;
}
.bdp-shortcode-add .bdp-add-label{
  display:inline!important;
  white-space:nowrap!important;
  margin:0!important;
  line-height:1.2!important;
}
@media(max-width:600px){
 .bdp-shortcode-add{width:auto!important;min-width:0!important}
}

/* v1.4.5: standalone [bisbar_add_to_cart] definitive styling.
   Designed to match the standard full-width Smart Cart Add button.
   Background, text color and padding may be overridden per shortcode.
   Radius and height follow global Bisbar Display Pro settings. */
.bdp-shortcode-add{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:var(--bdp-btn-height,42px)!important;
  height:auto!important;
  padding:var(--bdp-shortcode-add-padding,var(--bdp-btn-padding,12px))!important;
  margin:0!important;
  border:0!important;
  border-radius:var(--bdp-btn-radius,9px)!important;
  background:var(--bdp-shortcode-add-bg,var(--bdp-checkout-bg,#0f766e))!important;
  color:var(--bdp-shortcode-add-color,var(--bdp-checkout-color,#fff))!important;
  font:inherit!important;
  font-weight:700!important;
  font-size:13px!important;
  line-height:1.2!important;
  text-decoration:none!important;
  cursor:pointer!important;
  gap:6px!important;
  box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.bdp-shortcode-add:hover,
.bdp-shortcode-add:focus,
.bdp-shortcode-add:active{
  background:var(--bdp-shortcode-add-bg,var(--bdp-checkout-bg,#0f766e))!important;
  color:var(--bdp-shortcode-add-color,var(--bdp-checkout-color,#fff))!important;
  border:0!important;
  outline:none!important;
  filter:brightness(.96);
  transform:none!important;
}
.bdp-shortcode-add .bdp-add-label{
  display:inline!important;
  order:1!important;
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
  line-height:1.2!important;
}
.bdp-shortcode-add .bdp-add-icon{
  display:inline-flex!important;
  order:2!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
  line-height:1!important;
}
.bdp-shortcode-add{
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease,opacity .18s ease!important;
  will-change:transform;
}
.bdp-shortcode-add:hover:not(:disabled){
  filter:brightness(1.035)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 4px 10px rgba(20,30,50,.12)!important;
}
.bdp-shortcode-add:focus-visible{
  outline:2px solid currentColor!important;
  outline-offset:2px!important;
}
.bdp-shortcode-add:active:not(:disabled){
  transform:translateY(0)!important;
  box-shadow:none!important;
}
.bdp-shortcode-add:disabled{opacity:.72!important;cursor:wait!important}


/* v1.4.6: standalone [bisbar_add_to_cart] customization panel + icon-left layout. */
.bdp-shortcode-add{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:var(--bdp-btn-height,42px)!important;
  height:auto!important;
  margin:0!important;
  padding:var(--bdp-shortcode-add-padding,var(--bdp-add-cart-padding,var(--bdp-btn-padding,12px)))!important;
  border:0!important;
  border-radius:var(--bdp-btn-radius,9px)!important;
  background:var(--bdp-shortcode-add-bg,var(--bdp-add-cart-bg,var(--bdp-checkout-bg,#193b70)))!important;
  color:var(--bdp-shortcode-add-color,var(--bdp-add-cart-color,var(--bdp-checkout-color,#fff)))!important;
  font-family:inherit!important;
  font-weight:700!important;
  font-size:13px!important;
  line-height:1.2!important;
  text-decoration:none!important;
  cursor:pointer!important;
  gap:7px!important;
  box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  text-align:center!important;
}
.bdp-shortcode-add .bdp-add-icon{
  order:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  font-size:15px!important;
  line-height:1!important;
}
.bdp-shortcode-add .bdp-add-label{
  order:2!important;
  display:inline!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  white-space:nowrap!important;
  line-height:1.2!important;
}
.bdp-shortcode-add:hover,
.bdp-shortcode-add:focus,
.bdp-shortcode-add:active{
  background:var(--bdp-shortcode-add-bg,var(--bdp-add-cart-bg,var(--bdp-checkout-bg,#193b70)))!important;
  color:var(--bdp-shortcode-add-color,var(--bdp-add-cart-color,var(--bdp-checkout-color,#fff)))!important;
  border:0!important;
  outline:none!important;
  filter:brightness(.96);
  transform:none!important;
}
.bdp-shortcode-add:disabled{opacity:.7!important;cursor:wait!important;transform:none!important}


/* v1.4.7: Sejoli-style product/checkout shortcodes. */
.bdp-shortcode-quantity{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;box-sizing:border-box!important;border:1px solid var(--bdp-qty-border,#d1d5db)!important;border-radius:var(--bdp-qty-radius,9px)!important;background:var(--bdp-qty-input-bg,#fff)!important;overflow:hidden!important;vertical-align:middle!important;width:max-content!important;max-width:100%!important}
.bdp-shortcode-quantity button{width:42px!important;min-width:42px!important;height:42px!important;border:0!important;border-radius:0!important;background:var(--bdp-qty-btn-bg,#f3f4f6)!important;color:var(--bdp-qty-btn-color,#1f2937)!important;font-size:22px!important;font-weight:700!important;line-height:1!important;padding:0!important;margin:0!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important;box-shadow:none!important}
.bdp-shortcode-quantity button:hover,.bdp-shortcode-quantity button:focus{background:var(--bdp-qty-btn-bg,#f3f4f6)!important;color:var(--bdp-qty-btn-color,#1f2937)!important;filter:brightness(.97)!important;outline:none!important}
.bdp-shortcode-quantity input{width:var(--bdp-qty-input-width,64px)!important;min-width:var(--bdp-qty-input-width,64px)!important;height:42px!important;border:0!important;border-left:1px solid var(--bdp-qty-border,#d1d5db)!important;border-right:1px solid var(--bdp-qty-border,#d1d5db)!important;border-radius:0!important;background:var(--bdp-qty-input-bg,#fff)!important;color:var(--bdp-qty-input-color,#1f2937)!important;text-align:center!important;font-size:16px!important;font-weight:700!important;padding:var(--bdp-qty-padding,6px)!important;margin:0!important;box-sizing:border-box!important;box-shadow:none!important;outline:none!important;appearance:textfield!important;-moz-appearance:textfield!important}
.bdp-shortcode-quantity input::-webkit-outer-spin-button,.bdp-shortcode-quantity input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}
.bdp-shortcode-product-title,.bdp-shortcode-product-price,.bdp-shortcode-product-subtotal,.bdp-shortcode-cart-count,.bdp-shortcode-cart-total{display:inline-block}
.bdp-shortcode-product-price,.bdp-shortcode-product-subtotal,.bdp-shortcode-cart-total{font-weight:700}

/* v1.6.6: subtle hover feedback for standalone [bisbar_add_to_cart]. */
.bdp-shortcode-add{
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease,opacity .18s ease!important;
  will-change:transform;
}
.bdp-shortcode-add:hover:not(:disabled){
  filter:brightness(1.035)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 4px 10px rgba(20,30,50,.12)!important;
}
.bdp-shortcode-add:focus-visible{
  outline:2px solid currentColor!important;
  outline-offset:2px!important;
}
.bdp-shortcode-add:active:not(:disabled){
  transform:translateY(0)!important;
  box-shadow:none!important;
}
.bdp-shortcode-add:disabled{
  opacity:.72!important;
  cursor:wait!important;
  transform:none!important;
}

.bdp-variant-modal{position:fixed;inset:0;z-index:2147483647}.bdp-variant-modal[hidden]{display:none!important}.bdp-variant-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.48)}.bdp-variant-dialog{position:relative;width:min(460px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:auto;margin:7vh auto 0;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.28);padding:22px;color:var(--bdp-text,#1f2937);box-sizing:border-box}.bdp-variant-close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:28px;line-height:1;cursor:pointer}.bdp-variant-title{font-size:20px;font-weight:800;padding-right:32px;margin-bottom:18px}.bdp-variant-field{display:block;margin:0 0 14px}.bdp-variant-field>span{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.bdp-variant-field select{width:100%;min-height:42px;border:1px solid #d7dce3;border-radius:10px;padding:8px 10px;background:#fff}.bdp-variant-error{min-height:20px;color:#b42318;font-size:13px;margin:6px 0}.bdp-variant-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:12px}.bdp-variant-actions button{border:0;border-radius:10px;min-height:42px;padding:0 16px;font-weight:700;cursor:pointer}.bdp-variant-cancel{background:#eef1f4}.bdp-variant-confirm{background:var(--bdp-checkout-bg,#0f766e);color:var(--bdp-checkout-color,#fff)}

/* v1.7.0: flexible product information / social proof row. */
.bdp-category{display:inline-flex;align-items:center;max-width:100%;margin:0 0 7px;padding:4px 9px;border-radius:999px;background:#f3f6f8;color:var(--bdp-muted,#6b7280);font-size:11px;font-weight:700;line-height:1.2;box-sizing:border-box}
.bdp-info-row{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 0}
.bdp-info-chip{display:inline-flex;align-items:center;min-height:23px;padding:3px 8px;border-radius:999px;background:#f5f7f9;color:var(--bdp-muted,#6b7280);font-size:11px;font-weight:700;line-height:1.1;box-sizing:border-box}
.bdp-stats{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:8px 0 0;color:var(--bdp-muted,#6b7280);font-size:11px;line-height:1.3}
.bdp-stat{white-space:nowrap}
.bdp-stat-sep{opacity:.55}
.bdp-rating{display:flex;align-items:center;gap:7px;margin:3px 0 7px;min-height:19px;color:var(--bdp-muted,#6b7280);font-size:12px;line-height:1}
.bdp-rating b{color:var(--bdp-text,#182033);font-size:12px}
.bdp-stars{position:relative;display:inline-block;letter-spacing:1px;font-size:15px;line-height:1;width:84px;height:16px;overflow:hidden}
.bdp-stars-base,.bdp-stars-fill{position:absolute;left:0;top:0;white-space:nowrap}
.bdp-stars-base{color:#d7dce2}
.bdp-stars-fill{color:#f4b740;overflow:hidden;z-index:1}
@media(max-width:520px){.bdp-stats{font-size:10px}.bdp-info-chip{font-size:10px}.bdp-stars{font-size:14px;width:79px}}


/* v1.7.0 card layout revision: metadata -> title -> rating -> price -> benefits -> location -> actions. */
.bdp-card{display:flex;flex-direction:column;min-width:0}
.bdp-image{flex:0 0 auto}
.bdp-body{display:flex;flex-direction:column;flex:1;min-width:0;padding:12px}
.bdp-info-row{order:1;display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0 0 7px;padding:0}
.bdp-info-chip{margin:0;white-space:normal}
.bdp-title{order:2;margin:0;min-height:calc(var(--bdp-title) * 2.9)}
.bdp-social-row{order:3;display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:19px;margin:5px 0 0}
.bdp-social-row .bdp-rating{margin:0}
.bdp-social-row .bdp-stats{margin:0}
.bdp-price{order:4;margin:9px 0 8px}
.bdp-benefits{order:5;margin:0 0 8px}
.bdp-origin{order:6;display:flex;align-items:center;gap:4px;min-height:17px;margin:0 0 10px;color:var(--bdp-muted,#6b7280);font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bdp-origin-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;font-size:12px;line-height:1}
.bdp-origin>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.bdp-actions{order:7;margin-top:auto;width:100%}
@media(max-width:520px){
 .bdp-body{padding:10px}
 .bdp-info-row{gap:4px;margin-bottom:6px}
 .bdp-social-row{gap:6px}
 .bdp-origin{font-size:10px;margin-bottom:9px}
}


/* v1.7.0 card layout revision: metadata -> title -> rating -> price -> benefits -> location -> actions. */
.bdp-card{display:flex;flex-direction:column;min-width:0}
.bdp-image{flex:0 0 auto}
.bdp-body{display:flex;flex-direction:column;flex:1;min-width:0;padding:12px}
.bdp-info-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0 0 7px;padding:0}
.bdp-info-chip{margin:0;white-space:normal}
.bdp-title{margin:0;min-height:calc(var(--bdp-title) * 2.9)}
.bdp-social-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:19px;margin:5px 0 0}
.bdp-social-row .bdp-rating{margin:0}
.bdp-social-row .bdp-stats{margin:0}
.bdp-price{margin:9px 0 8px}
.bdp-benefits{margin:0 0 8px}
.bdp-origin{display:flex;align-items:center;gap:4px;min-height:17px;margin:0 0 10px;color:var(--bdp-muted,#6b7280);font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bdp-origin-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;font-size:12px;line-height:1}
.bdp-origin>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.bdp-actions{margin-top:auto;width:100%}
@media(max-width:520px){
 .bdp-body{padding:10px}
 .bdp-info-row{gap:4px;margin-bottom:6px}
 .bdp-social-row{gap:6px}
 .bdp-origin{font-size:10px;margin-bottom:9px}
}

.bdp-shortcode-checkout{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:6px;
 box-sizing:border-box;
 min-height:42px;
 padding:var(--bdp-shortcode-checkout-padding,12px 20px);
 border:0;
 border-radius:var(--bdp-button-radius,8px);
 background:var(--bdp-shortcode-checkout-bg,var(--bdp-checkout-bg,#218567));
 color:var(--bdp-shortcode-checkout-color,var(--bdp-checkout-color,#fff));
 font:inherit;
 font-weight:600;
 line-height:1.2;
 text-align:center;
 text-decoration:none;
 cursor:pointer;
 transition:opacity .2s ease,filter .2s ease;
}
.bdp-shortcode-checkout:hover{
 filter:brightness(.94);
}
.bdp-shortcode-checkout:disabled{
 opacity:.65;
 cursor:wait;
}
.bdp-shortcode-checkout .bdp-checkout-label{
 display:inline-block;
}


/* BDP shortcode direct checkout full width */
.bdp-shortcode-checkout{
  display:flex;
  width:100%;
  box-sizing:border-box;
}

/* =========================================================
   BDP PRODUCT CARD POLISH
   Metadata / Title / Rating / Price / Benefit / Origin / CTA
   ========================================================= */

.bdp-card{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.bdp-body{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-width:0;
    padding:12px;
}

.bdp-info-row{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    gap:5px;
    width:100%;
    min-width:0;
    margin:0 0 7px;
    padding:0;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
}

.bdp-info-row::-webkit-scrollbar{
    display:none;
}

.bdp-info-chip{
    flex:0 0 auto;
    white-space:nowrap;
    margin:0;
}

.bdp-title{
    flex:0 0 auto;
    width:100%;
    min-width:0;
    min-height:calc(var(--bdp-title) * 2.9);
    max-height:calc(var(--bdp-title) * 2.9);
    margin:0;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    overflow:hidden;
    text-overflow:ellipsis;
    word-break:break-word;
}

.bdp-social-row{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    width:100%;
    min-width:0;
    min-height:19px;
    margin:5px 0 0;
}

.bdp-social-row .bdp-rating,
.bdp-social-row .bdp-stats{
    margin:0;
}

.bdp-price{
    flex:0 0 auto;
    margin:9px 0 8px;
}

.bdp-benefits{
    flex:0 0 auto;
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin:0 0 8px;
}

.bdp-origin{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:4px;
    width:100%;
    min-width:0;
    min-height:17px;
    margin:0 0 10px;
    color:var(--bdp-muted,#6b7280);
    font-size:11px;
    line-height:1.35;
    white-space:nowrap;
    overflow:hidden;
}

.bdp-origin-icon{
    flex:0 0 auto;
}

.bdp-origin>span:last-child{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.bdp-actions{
    flex:0 0 auto;
    width:100%;
    margin-top:auto;
}

@media(max-width:520px){
    .bdp-body{
        padding:10px;
    }

    .bdp-info-row{
        gap:4px;
        margin-bottom:6px;
    }

    .bdp-social-row{
        gap:6px;
    }

    .bdp-origin{
        font-size:10px;
        margin-bottom:9px;
    }
}

/* PRODUCT CARD — lock price/origin/action block to card bottom */
.bdp-body > .bdp-price{
    margin-top:auto;
}

.bdp-body > .bdp-price + .bdp-benefits{
    flex:0 0 auto;
}

.bdp-body > .bdp-origin{
    flex:0 0 auto;
}

.bdp-body > .bdp-actions{
    flex:0 0 auto;
    margin-top:0;
}

/* =========================================================
   BDP SMART CART — RESPONSIVE POPUP
   Header / total / checkout stay fixed.
   Product list scrolls inside the popup.
   Scope: Smart Cart + Floating Cart popup only.
   ========================================================= */

.bdp-cart-panel-icon,
.bdp-cart-panel-floating{
    display:flex;
    flex-direction:column;
    box-sizing:border-box;
    max-height:70vh;
    min-height:0;
}

.bdp-cart-panel-icon .bdp-cart-head,
.bdp-cart-panel-floating .bdp-cart-head{
    flex:0 0 auto;
}

.bdp-cart-panel-icon .bdp-cart-items,
.bdp-cart-panel-floating .bdp-cart-items{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
}

.bdp-cart-panel-icon .bdp-cart-total,
.bdp-cart-panel-floating .bdp-cart-total{
    flex:0 0 auto;
}

.bdp-cart-panel-icon .bdp-cart-checkout,
.bdp-cart-panel-floating .bdp-cart-checkout{
    flex:0 0 auto;
}

@media(max-width:900px){
    .bdp-cart-panel-icon,
    .bdp-cart-panel-floating{
        max-height:72vh;
    }
}

@media(max-width:600px){
    .bdp-cart-panel-icon,
    .bdp-cart-panel-floating{
        max-height:75vh;
    }

    .bdp-cart-panel-floating{
        width:calc(100vw - 28px);
        max-width:calc(100vw - 28px);
    }

    .bdp-cart-panel-icon{
        width:calc(100vw - 28px);
        max-width:calc(100vw - 28px);
    }

    .bdp-cart-panel-icon .bdp-cart-items,
    .bdp-cart-panel-floating .bdp-cart-items{
        max-height:none;
    }
}

/* BDP SMART CART — RESTORE HIDDEN STATE */
.bdp-cart-panel-icon[hidden],
.bdp-cart-panel-floating[hidden]{
    display:none !important;
}

/* BDP PRODUCT STATS — CARD + SHORTCODE */
.bdp-social-row{
    flex-wrap:nowrap;
    width:100%;
    min-width:0;
}

.bdp-social-row .bdp-rating{
    flex:0 0 auto;
    min-width:0;
}

.bdp-social-row .bdp-stats{
    flex:0 1 auto;
    min-width:0;
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:nowrap;
    gap:5px;
    overflow:hidden;
    white-space:nowrap;
    text-align:right;
}

.bdp-social-row .bdp-stat{
    flex:0 0 auto;
    white-space:nowrap;
}

.bdp-shortcode-product-stats{
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    width:100%;
    min-width:0;
    box-sizing:border-box;
    color:var(--bdp-muted,#6b7280);
    font-size:12px;
    line-height:1.35;
}

.bdp-shortcode-product-stats .bdp-stat{
    flex:0 0 auto;
    white-space:nowrap;
}

.bdp-shortcode-product-stats .bdp-stat-sep{
    flex:0 0 auto;
    margin:0 5px;
    opacity:.55;
}

.bdp-shortcode-product-stats .bdp-stats-empty,
.bdp-shortcode-product-stats .bdp-stats-loading{
    color:var(--bdp-muted,#6b7280);
}

@media(max-width:520px){
    .bdp-social-row{
        gap:5px;
    }

    .bdp-social-row .bdp-rating{
        font-size:11px;
        gap:5px;
    }

    .bdp-social-row .bdp-stats{
        gap:4px;
        font-size:10px;
    }

    .bdp-shortcode-product-stats{
        font-size:11px;
    }
}

/* BDP PRODUCT STATS — ICON SPACING */
.bdp-rating-star,
.bdp-stat-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
}

.bdp-rating-star{
    margin-right:3px;
}

.bdp-stat-icon{
    margin-right:2px;
}

.bdp-shortcode-product-stats .bdp-stat{
    display:inline-flex;
    align-items:center;
}

/* BDP card action revision: Checkout left + compact Cart right */
.bdp-card-link{
  display:block;
  color:inherit;
  text-decoration:none;
}

.bdp-card-link:hover{
  color:inherit;
  text-decoration:none;
}

.bdp-card .bdp-actions{
  display:flex!important;
  align-items:stretch!important;
  gap:8px!important;
  width:100%!important;
  margin-top:auto!important;
}

.bdp-card .bdp-actions .bdp-checkout{
  flex:1 1 auto!important;
  min-width:0!important;
  order:1!important;
}

.bdp-card .bdp-actions .bdp-add-cart{
  flex:0 0 42px!important;
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  padding:0!important;
  order:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
}

.bdp-card .bdp-actions .bdp-add-cart .bdp-add-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:17px!important;
  line-height:1!important;
}

.bdp-card .bdp-actions .bdp-add-cart .bdp-add-label{
  display:none!important;
}

/* Smart Cart OFF: Checkout uses full width */
.bdp-card .bdp-actions:has(.bdp-checkout):not(:has(.bdp-add-cart)) .bdp-checkout{
  flex:1 1 100%!important;
}

/* Never show an empty action area */
.bdp-card .bdp-actions:empty{
  display:none!important;
}

@media(max-width:600px){
  .bdp-card .bdp-actions{
    flex-direction:row!important;
    gap:7px!important;
  }

  .bdp-card .bdp-actions .bdp-add-cart{
    flex-basis:40px!important;
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
  }

  .bdp-card .bdp-actions .bdp-add-cart .bdp-add-icon{
    font-size:16px!important;
  }
}

/* BDP card: action spacing mengikuti padding body */
.bdp-card .bdp-card-link{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-width:0!important;
}

.bdp-card .bdp-actions{
  margin:0 12px 12px!important;
  width:auto!important;
}

@media(max-width:520px){
  .bdp-card .bdp-actions{
    margin:0 10px 10px!important;
  }
}

.bdp-price{
    display:flex;
    align-items:baseline;
    gap:10px;
    flex-wrap:wrap;
}
.bdp-price-active{
    font-weight:700;
}
.bdp-price-sale{
    font-size:.82em;
    font-weight:500;
    color:#9ca3af;
    text-decoration:line-through;
}

.bdp-price{
    display:flex;
    align-items:baseline;
    gap:10px;
    flex-wrap:wrap;
}
.bdp-price-active{
    font-weight:700;
}
.bdp-price-sale{
    font-size:.82em;
    font-weight:500;
    color:#9ca3af;
    text-decoration:line-through;
}

.bdp-card .bdp-price{
    margin-top:4px!important;
    margin-bottom:4px!important;
}
.bdp-card .bdp-benefits{
    margin-top:4px!important;
    margin-bottom:4px!important;
}
.bdp-card .bdp-origin{
    margin-top:4px!important;
    margin-bottom:0!important;
}

/* Rapikan blok info card agar selalu menempel ke bawah */
.bdp-card .bdp-body{
    justify-content:flex-end;
}

.bdp-card .bdp-body > .bdp-price{
    margin-top:9px!important;
}

.bdp-card .bdp-body > .bdp-benefits{
    margin-bottom:4px!important;
}

.bdp-card .bdp-body > .bdp-origin{
    margin-bottom:0!important;
}

/* Struktur card: identitas produk di atas, harga/info rapat di bawah */
.bdp-card .bdp-body{
    justify-content:flex-start!important;
}

.bdp-card .bdp-body > .bdp-price{
    margin-top:auto!important;
    margin-bottom:4px!important;
}

.bdp-card .bdp-body > .bdp-benefits{
    margin-top:0!important;
    margin-bottom:4px!important;
}

.bdp-card .bdp-body > .bdp-origin{
    margin-top:0!important;
    margin-bottom:0!important;
}

/* BDP BRAND — carousel horizontal */
.bdp-brand-product-catalog .bdp-brand-carousel{
    display:block!important;
    width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}

.bdp-brand-product-catalog .bdp-brand-carousel::-webkit-scrollbar{
    display:none;
}

.bdp-brand-product-catalog .bdp-brand-carousel-grid{
    display:grid!important;
    grid-template-columns:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:calc((100% - 16px) / 2.2)!important;
    gap:16px!important;
    width:max-content!important;
    min-width:100%!important;
}

.bdp-brand-product-catalog .bdp-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
}

.bdp-brand-product-catalog .bdp-brand-category-grid{
    display:grid!important;
    grid-template-columns:repeat(var(--bdp-cols),minmax(0,1fr))!important;
    gap:var(--bdp-gap,16px)!important;
    width:100%!important;
    min-width:0!important;
}

@media(max-width:1000px){
    .bdp-brand-product-catalog .bdp-brand-carousel-grid{
        grid-auto-columns:calc((100% - 32px) / 3.2)!important;
    }

    .bdp-brand-product-catalog .bdp-brand-category-grid{
        grid-template-columns:repeat(var(--bdp-cols-tab,3),minmax(0,1fr))!important;
    }
}

@media(max-width:700px){
    .bdp-brand-product-catalog .bdp-brand-carousel-grid{
        grid-auto-columns:calc((100% - 12px) / 2.2)!important;
        gap:12px!important;
    }

    .bdp-brand-product-catalog .bdp-brand-category-grid{
        grid-template-columns:repeat(var(--bdp-cols-mob,2),minmax(0,1fr))!important;
    }
}


/* BDP BRAND — DESKTOP: Produk Terbaru + Produk Terlaris sejajar */
@media (min-width:1001px){
    .bdp-brand-product-catalog{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
        grid-template-rows:auto auto!important;
        column-gap:28px!important;
        row-gap:0!important;
        align-items:start!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest{
        grid-column:1!important;
        grid-row:1!important;
        display:block!important;
        margin-top:30px!important;
        width:100%!important;
        min-width:0!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-best{
        grid-column:2!important;
        grid-row:1!important;
        display:block!important;
        margin-top:30px!important;
        width:100%!important;
        min-width:0!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-category{
        grid-column:1 / -1!important;
        grid-row:2!important;
        width:100%!important;
        min-width:0!important;
    }
}

/* BDP BRAND FIX — desktop 2 section sejajar */
@media (min-width:1001px){
    .bdp-brand-product-catalog{
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
        grid-template-rows:auto auto!important;
        gap:28px!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest{
        grid-column:1!important;
        grid-row:1!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-best{
        grid-column:2!important;
        grid-row:1!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-category{
        grid-column:1 / 3!important;
        grid-row:2!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest,
    .bdp-brand-product-catalog > .bdp-brand-section-best{
        display:block!important;
        width:100%!important;
        min-width:0!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest .bdp-brand-carousel,
    .bdp-brand-product-catalog > .bdp-brand-section-best .bdp-brand-carousel{
        width:100%!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest .bdp-brand-carousel-grid,
    .bdp-brand-product-catalog > .bdp-brand-section-best .bdp-brand-carousel-grid{
        display:grid!important;
        grid-template-columns:none!important;
        grid-auto-flow:column!important;
        grid-auto-columns:calc((100% - 16px) / 2.2)!important;
        width:max-content!important;
        min-width:100%!important;
        gap:16px!important;
    }
}

/* BDP BRAND FIX — 2 card penuh + sebagian card ke-3 */
@media (min-width:1001px){
    .bdp-brand-product-catalog > .bdp-brand-section-latest .bdp-brand-carousel-grid,
    .bdp-brand-product-catalog > .bdp-brand-section-best .bdp-brand-carousel-grid{
        display:grid!important;
        grid-template-columns:none!important;
        grid-auto-flow:column!important;
        grid-auto-columns:40%!important;
        gap:16px!important;
        width:100%!important;
        min-width:0!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest .bdp-card,
    .bdp-brand-product-catalog > .bdp-brand-section-best .bdp-card{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}

/* BDP BRAND — container section */
@media (min-width:1001px){
    .bdp-brand-product-catalog{
        background:#f1f3f6!important;
        border:1px solid #e1e5ea!important;
        border-radius:18px!important;
        padding:24px!important;
        box-sizing:border-box!important;
        column-gap:28px!important;
        row-gap:24px!important;
        box-shadow:0 2px 10px rgba(20,30,50,.04)!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest,
    .bdp-brand-product-catalog > .bdp-brand-section-best{
        margin-top:0!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-category{
        background:#f8f9fb!important;
        border:1px solid #e5e8ed!important;
        border-radius:14px!important;
        padding:20px!important;
        box-sizing:border-box!important;
    }
}

/* BDP BRAND — individual section containers */
.bdp-brand-product-catalog{
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    padding:0!important;
}

/* 3 section = 3 container */
.bdp-brand-product-catalog > .bdp-brand-section-latest,
.bdp-brand-product-catalog > .bdp-brand-section-best,
.bdp-brand-product-catalog > .bdp-brand-section-category{
    background:#f1f3f6!important;
    border:1px solid #dfe3e8!important;
    border-radius:16px!important;
    box-shadow:0 3px 12px rgba(20,30,50,.05)!important;
    box-sizing:border-box!important;
    padding:20px!important;
}

/* Desktop: dua section atas sejajar */
@media (min-width:1001px){
    .bdp-brand-product-catalog{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
        grid-template-rows:auto auto!important;
        column-gap:20px!important;
        row-gap:20px!important;
        align-items:start!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest{
        grid-column:1!important;
        grid-row:1!important;
        margin:0!important;
        width:100%!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-best{
        grid-column:2!important;
        grid-row:1!important;
        margin:0!important;
        width:100%!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-category{
        grid-column:1 / 3!important;
        grid-row:2!important;
        width:100%!important;
        margin:0!important;
    }
}

/* Carousel tetap 2 card penuh + sebagian card ke-3 */
@media (min-width:1001px){
    .bdp-brand-product-catalog > .bdp-brand-section-latest .bdp-brand-carousel-grid,
    .bdp-brand-product-catalog > .bdp-brand-section-best .bdp-brand-carousel-grid{
        grid-auto-columns:40%!important;
        gap:16px!important;
        width:max-content!important;
        min-width:100%!important;
    }
}

/* Tablet & mobile: section ditumpuk */
@media (max-width:1000px){
    .bdp-brand-product-catalog{
        display:block!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest,
    .bdp-brand-product-catalog > .bdp-brand-section-best,
    .bdp-brand-product-catalog > .bdp-brand-section-category{
        width:100%!important;
        margin:0 0 16px!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-category{
        margin-bottom:0!important;
    }
}

/* Mobile: padding container sedikit lebih kecil */
@media (max-width:700px){
    .bdp-brand-product-catalog > .bdp-brand-section-latest,
    .bdp-brand-product-catalog > .bdp-brand-section-best,
    .bdp-brand-product-catalog > .bdp-brand-section-category{
        padding:14px!important;
        border-radius:14px!important;
    }
}


/* BDP BRAND FINAL — section container + compact carousel */
.bdp-brand-product-catalog > .bdp-brand-section-latest,
.bdp-brand-product-catalog > .bdp-brand-section-best,
.bdp-brand-product-catalog > .bdp-brand-section-category{
    box-sizing:border-box!important;
    background:#f1f3f5!important;
    border:1px solid #dde2e7!important;
    border-radius:14px!important;
    padding:16px!important;
    min-width:0!important;
}

/* Latest + Best: carousel compact */
.bdp-brand-product-catalog .bdp-brand-carousel{
    width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch;
}

.bdp-brand-product-catalog .bdp-brand-carousel::-webkit-scrollbar{
    display:none!important;
}

.bdp-brand-product-catalog .bdp-brand-carousel-grid{
    display:grid!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:calc((100% - 16px) / 2.2)!important;
    gap:16px!important;
    width:max-content!important;
    min-width:100%!important;
}

.bdp-brand-product-catalog .bdp-brand-carousel-grid .bdp-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
}

/* Tablet */
@media (max-width:1000px){
    .bdp-brand-product-catalog .bdp-brand-carousel-grid{
        grid-auto-columns:calc((100% - 12px) / 2.2)!important;
        gap:12px!important;
    }
}

/* Mobile */
@media (max-width:700px){
    .bdp-brand-product-catalog > .bdp-brand-section-latest,
    .bdp-brand-product-catalog > .bdp-brand-section-best,
    .bdp-brand-product-catalog > .bdp-brand-section-category{
        padding:12px!important;
        border-radius:12px!important;
    }

    .bdp-brand-product-catalog .bdp-brand-carousel-grid{
        grid-auto-columns:calc((100% - 12px) / 2.2)!important;
        gap:12px!important;
    }
}

/* Category catalog: tetap 1 container */
.bdp-brand-product-catalog > .bdp-brand-section-category{
    width:100%!important;
}


/* BDP BRAND — FINAL CAROUSEL SIZE */
@media (min-width:1001px){
    .bdp-brand-product-catalog > .bdp-brand-section-latest .bdp-brand-carousel-grid,
    .bdp-brand-product-catalog > .bdp-brand-section-best .bdp-brand-carousel-grid{
        display:grid!important;
        grid-template-columns:none!important;
        grid-template-rows:none!important;
        grid-auto-flow:column!important;
        grid-auto-columns:40%!important;
        gap:16px!important;
        width:100%!important;
        min-width:100%!important;
        max-width:none!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest .bdp-card,
    .bdp-brand-product-catalog > .bdp-brand-section-best .bdp-card{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}


/* BDP BRAND — softer near-white section containers */
.bdp-brand-product-catalog > .bdp-brand-section-latest,
.bdp-brand-product-catalog > .bdp-brand-section-best,
.bdp-brand-product-catalog > .bdp-brand-section-category{
    background:#f7f8fa!important;
}


/* BDP BRAND RESPONSIVE — tablet 3 card + partial 4, mobile 2 card + partial 3 */

/* TABLET */
@media (min-width:701px) and (max-width:1000px){
    .bdp-brand-product-catalog .bdp-brand-carousel-grid{
        grid-auto-columns:calc((100% - 24px) / 3.2)!important;
        gap:12px!important;
        width:max-content!important;
        min-width:100%!important;
    }

    .bdp-brand-product-catalog .bdp-brand-carousel-grid .bdp-card{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}

/* MOBILE */
@media (max-width:700px){
    .bdp-brand-product-catalog .bdp-brand-carousel-grid{
        grid-auto-columns:calc((100% - 12px) / 2.2)!important;
        gap:12px!important;
        width:max-content!important;
        min-width:100%!important;
    }

    .bdp-brand-product-catalog .bdp-brand-carousel-grid .bdp-card{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}


/* =========================================================
   BDP BRAND RESPONSIVE FINAL
   Desktop (>1000px) TIDAK DISENTUH.
   Tablet  : 3 card penuh + sebagian card ke-4
   Mobile  : 2 card penuh + sebagian card ke-3
   ========================================================= */

/* TABLET */
@media (min-width:701px) and (max-width:1000px){
    .bdp-brand-product-catalog{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:16px!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest,
    .bdp-brand-product-catalog > .bdp-brand-section-best,
    .bdp-brand-product-catalog > .bdp-brand-section-category{
        width:100%!important;
        min-width:0!important;
        box-sizing:border-box!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest,
    .bdp-brand-product-catalog > .bdp-brand-section-best{
        grid-column:1!important;
        grid-row:auto!important;
    }

    .bdp-brand-product-catalog .bdp-brand-carousel{
        width:100%!important;
        min-width:0!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
    }

    .bdp-brand-product-catalog .bdp-brand-carousel-grid{
        display:grid!important;
        grid-template-columns:none!important;
        grid-template-rows:none!important;
        grid-auto-flow:column!important;
        grid-auto-columns:calc((100% - 32px) / 3.25)!important;
        gap:16px!important;
        width:100%!important;
        min-width:100%!important;
    }

    .bdp-brand-product-catalog .bdp-brand-carousel-grid > .bdp-card{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}

/* MOBILE */
@media (max-width:700px){
    .bdp-brand-product-catalog{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:12px!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest,
    .bdp-brand-product-catalog > .bdp-brand-section-best,
    .bdp-brand-product-catalog > .bdp-brand-section-category{
        width:100%!important;
        min-width:0!important;
        box-sizing:border-box!important;
    }

    .bdp-brand-product-catalog > .bdp-brand-section-latest,
    .bdp-brand-product-catalog > .bdp-brand-section-best{
        grid-column:1!important;
        grid-row:auto!important;
    }

    .bdp-brand-product-catalog .bdp-brand-carousel{
        width:100%!important;
        min-width:0!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        scrollbar-width:none!important;
        -webkit-overflow-scrolling:touch;
    }

    .bdp-brand-product-catalog .bdp-brand-carousel::-webkit-scrollbar{
        display:none!important;
    }

    .bdp-brand-product-catalog .bdp-brand-carousel-grid{
        display:grid!important;
        grid-template-columns:none!important;
        grid-template-rows:none!important;
        grid-auto-flow:column!important;
        grid-auto-columns:calc((100% - 12px) / 2.2)!important;
        gap:12px!important;
        width:100%!important;
        min-width:100%!important;
    }

    .bdp-brand-product-catalog .bdp-brand-carousel-grid > .bdp-card{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}


/* BDP BRAND — container color only */
.bdp-brand-product-catalog > .bdp-brand-section-latest,
.bdp-brand-product-catalog > .bdp-brand-section-best,
.bdp-brand-product-catalog > .bdp-brand-section-category{
    background:#f8f9fa!important;
}

