.hbm-qo-open{overflow:hidden!important}.hbm-qo-backdrop[hidden]{display:none!important}.hbm-qo-backdrop{position:fixed;inset:0;z-index:999999;background:rgba(18,15,12,.57);display:flex;align-items:center;justify-content:center;padding:18px}.hbm-qo-panel{position:relative;width:min(520px,100%);max-height:min(85vh,850px);background:#fff;color:#26211d;box-shadow:0 14px 65px rgba(0,0,0,.25);border-radius:13px;display:flex;flex-direction:column;outline:none}.hbm-qo-close{position:absolute;z-index:2;top:8px;right:12px;background:#fff!important;border:0!important;color:#453a30!important;font-size:29px!important;line-height:32px;padding:0 7px!important;cursor:pointer}.hbm-qo-body{padding:22px 20px 6px;overflow-y:auto;overscroll-behavior:contain}.hbm-qo-head{display:flex;gap:13px;align-items:center;padding-right:24px;margin-bottom:17px}.hbm-qo-product-photo{width:78px!important;height:78px!important;object-fit:cover;border-radius:6px}.hbm-qo-head h3{font-size:17px;line-height:1.35;font-weight:650;margin:0 0 7px}.hbm-qo-head p{margin:0 0 5px;font-size:13px;color:#936737}.hbm-qo-head small{font-size:11px;color:#777}.hbm-qo-item{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #eeeae6;padding:10px 0}.hbm-qo-color{display:flex;gap:11px;align-items:center;min-width:0}.hbm-qo-color img,.hbm-qo-dot{width:34px!important;height:34px!important;object-fit:cover;border-radius:50%;border:1px solid #ded6cf;flex-shrink:0}.hbm-qo-dot{background:#eee2d7}.hbm-qo-color-name{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hbm-qo-controls{display:flex;gap:0;align-items:center;background:#f3f2ef;border-radius:25px;flex-shrink:0;overflow:hidden}.hbm-qo-controls button{appearance:none;background:transparent!important;color:#292521!important;border:0!important;box-shadow:none!important;padding:0!important;width:32px;height:34px;line-height:34px;font-size:20px;cursor:pointer}.hbm-qo-controls button:disabled{opacity:.35}.hbm-qo-qty{width:38px!important;min-width:38px!important;max-width:38px!important;text-align:center!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;appearance:textfield;background:transparent!important;color:#292521!important;height:34px!important;font-size:14px!important}.hbm-qo-qty::-webkit-inner-spin-button,.hbm-qo-qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.hbm-qo-footer{display:grid;grid-template-columns: 1fr 1.45fr;align-items:stretch;background:#f6f5f3;border-radius:0 0 13px 13px;overflow:hidden;margin-top:auto}.hbm-qo-count{padding:13px 10px;text-align:center;font-size:13px;display:flex;flex-direction:column;justify-content:center}.hbm-qo-count strong{font-size:19px}.hbm-qo-count small{font-size:12px;color:#83674e}.hbm-qo-submit{border:0!important;border-radius:0!important;background:#966837!important;color:#fff!important;font-weight:600;min-height:55px;padding:9px!important;font-size:13px;cursor:pointer}.hbm-qo-submit:hover{background:#74491f!important}.hbm-qo-submit:disabled{opacity:.55;cursor:not-allowed}.hbm-qo-message{background:#e7f5e7;color:#26532b;border-radius:5px;padding:10px 12px;font-size:13px}.hbm-qo-message.is-error{background:#fbe8e5;color:#942f2e}.hbm-qo-view{display:inline-block;margin:9px 0 14px;color:#845526!important;font-weight:600;text-decoration:underline}.hbm-qo-launch{background:#98662f!important;color:#fff!important;border:0!important;cursor:pointer}.hbm-qo-single{display:block;margin:0 0 15px!important}@media(max-width:600px){.hbm-qo-backdrop{padding:0;align-items:flex-end}.hbm-qo-panel{width:100%;max-height:89dvh;border-radius:17px 17px 0 0}.hbm-qo-body{padding:20px 16px 4px}.hbm-qo-footer{border-radius:0}.hbm-qo-item{padding:8px 0}.hbm-qo-color-name{font-size:14px}}


/* HBM 1.1 - Consistent product-grid quick-color call to action. */
.hbm-qo-managed .hbm-qo-card-action {
  display:block !important; position:relative !important; width:100% !important;
  clear:both; margin:12px 0 4px; opacity:1 !important; visibility:visible !important;
  transform:none !important; pointer-events:auto !important; z-index:2;
}
.hbm-qo-managed .hbm-qo-card-button {
  display:block !important; width:100% !important; max-width:100%;
  position:relative !important; visibility:visible !important; opacity:1 !important;
  transform:none !important; white-space:normal !important;
  background:#98662f !important; color:#fff !important;
  padding:12px 9px !important; border:0 !important; font-size:13px !important;
  font-weight:650 !important; line-height:1.3 !important; border-radius:3px !important;
  height:auto !important; min-height:42px !important;
}
.hbm-qo-managed .hbm-qo-card-button:hover {background:#74491f !important;color:#fff !important;}
/* Image-safe strategy: never hide Woodmart card layout, gallery,
   hover-action wrappers or quick-shop wrappers: some designs include the
   product thumbnail inside them. Hide only the actual variation FORM that
   Woodmart inserts in the product information section. */
.hbm-qo-managed .product-element-bottom > form.variations_form,
.hbm-qo-managed .wd-product-footer > form.variations_form,
.hbm-qo-managed .product-info > form.variations_form,
.hbm-qo-managed .product-details > form.variations_form {
  display:none !important;
}
@media(max-width:767px) {
  .hbm-qo-managed .hbm-qo-card-action,
  .hbm-qo-managed .hbm-qo-card-button { display:block !important; opacity:1 !important; visibility:visible !important; transform:none !important; }
  .hbm-qo-managed .hbm-qo-card-button { font-size:12px !important; padding:11px 6px !important; }
}

/* 1.1.2: hide ONLY the redundant variation dropdown on eligible catalogue cards.
   Never hide photo/gallery/hover/quick-shop wrappers. */
.hbm-qo-managed .hbm-qo-hidden-variation,
.hbm-qo-managed table.variations,
.hbm-qo-managed select[name^="attribute_"],
.hbm-qo-managed .wd-swatches-select,
.hbm-qo-managed .variations_form select {
  display:none !important;
}
