/* MyBears Core */
:root {
	--mb-accent: #a50839;
	--mb-accent-dark: #8c0a35;
	--mb-ink: #2b2230;
	--mb-muted: #6b6170;
	--mb-line: #f0e2da;
	--mb-cream: #fbf4ec;
	--mb-blush: #fff0ef;
	--mb-green: #1d7a4c;
}
html body .mb-buybox, html body .mb-builder, html body .mb-tierbar{ font-family: Montserrat, Arial, sans-serif; color: var(--mb-ink); }
html body .mb-buybox *, html body .mb-builder *, html body .mb-tierbar *{ box-sizing: border-box; }
html body .mb-buybox button, html body .mb-builder button{ font-family: inherit; }

/* buttons */
html body .mb-cta { border: 0; cursor: pointer; background: var(--mb-accent); color: #fff; border-radius: 999px; min-height: 60px; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; transition: background .2s ease, transform .2s ease; }
html body .mb-cta:hover{ background: var(--mb-accent-dark); color: #fff; }
html body .mb-cta:disabled{ background: #d9c9cf; color: #fff; cursor: not-allowed; }
html body .mb-cta.is-loading{ opacity: .7; pointer-events: none; }
html body .mb-cta-ghost{ cursor: pointer; background: transparent; color: var(--mb-ink); border: 1.5px solid var(--mb-ink); border-radius: 999px; min-height: 60px; padding: 0 24px; font-size: 15px; font-weight: 600; }
html body .mb-cta-ghost:hover{ background: var(--mb-ink); color: #fff; }

/* buy box */
html body .mb-buybox { display: flex; flex-direction: column; gap: 22px; }
html body .mb-bb-head{ font-size: 14px; font-weight: 600; }
html body .mb-bb-head span{ font-weight: 400; color: var(--mb-muted); }
html body .mb-pkgs{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: -10px; }
html body .mb-pkg{ position: relative; display: flex; flex-direction: column; gap: 10px; text-align: left; border-radius: 20px; padding: 18px 16px 14px; cursor: pointer; color: var(--mb-ink); min-height: 100px; background: #fff; border: 2px solid #f0e2db; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
html body .mb-pkg:hover{ border-color: #e2c4cd; }
html body .mb-pkg.is-on{ background: var(--mb-blush); border-color: var(--mb-accent); box-shadow: 0 12px 26px rgba(165, 8, 57, .12); }
html body .mb-pkg.is-wide{ grid-column: 1 / -1; }
html body .mb-pkg-tag{ position: absolute; top: -11px; left: 14px; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 600; background: #ffe6c2; color: var(--mb-ink); }
html body .mb-pkg-tag.is-hot{ background: var(--mb-accent); color: #fff; }
html body .mb-pkg-top{ display: flex; justify-content: space-between; align-items: center; gap: 8px; }
html body .mb-pkg-label{ font-size: 15px; font-weight: 600; }
html body .mb-pkg-off{ background: var(--mb-accent); color: #fff; border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 600; }
html body .mb-pkg-price{ display: flex; flex-direction: column; gap: 2px; }
html body .mb-pkg-unit{ font-size: 18px; font-weight: 600; }
html body .mb-pkg-unit small{ font-size: 12px; font-weight: 400; color: var(--mb-muted); }
html body .mb-pkg-sub{ font-size: 12px; color: var(--mb-muted); }
html body .mb-pkg-ship{ display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--mb-green); }

html body .mb-rw-box{ background: #fff; border: 1px solid var(--mb-line); border-radius: 22px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 12px; }
html body .mb-rw-head{ display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
html body .mb-rw-next{ font-size: 12px; font-weight: 600; color: var(--mb-accent-dark); }
html body .mb-rw-next.is-max{ color: var(--mb-green); }
html body .mb-rw{ display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
html body .mb-rw-item{ display: flex; flex-direction: column; gap: 6px; text-align: center; }
html body .mb-rw-tile{ position: relative; height: 78px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: background .3s ease, border-color .3s ease; background: repeating-linear-gradient(135deg, #f8f1f2 0 8px, #efe5e8 8px 16px); border: 2px solid #e5d6db; color: #8a7f8c; }
html body .mb-rw-item.is-on .mb-rw-tile{ background: var(--mb-blush); border-color: var(--mb-accent); color: var(--mb-accent-dark); }
html body .mb-rw-item.is-cur .mb-rw-tile{ background: var(--mb-accent); border-color: var(--mb-accent); color: #fff; }
html body .mb-rw-check{ display: none; }
html body .mb-rw-item.is-on .mb-rw-check{ display: block; }
html body .mb-rw-item.is-on .mb-rw-lock{ display: none; }
html body .mb-rw-big{ font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
html body .mb-rw-lab{ font-size: 12px; line-height: 1.3; font-weight: 500; color: #8a7f8c; }
html body .mb-rw-item.is-on .mb-rw-lab{ font-weight: 600; color: var(--mb-ink); }
html body .mb-rw-bar{ position: relative; display: block; height: 6px; border-radius: 999px; background: #f3e6ea; overflow: hidden; }
html body .mb-rw-fill{ position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--mb-accent); transition: width .4s ease; width: 0; }
html body .mb-rw-ship{ display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #4f4554; }
html body .mb-rw-ship.is-ok{ color: var(--mb-green); font-weight: 600; }
html body .mb-rw-ship svg{ flex: none; }
html body .mb-rw-got{ background: #e9f6ee; border-radius: 14px; padding: 11px 14px; font-size: 13px; line-height: 1.5; color: #1f4d33; }
html body .mb-rw-got strong{ font-weight: 600; }
html body .mb-bb-cta{ display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
html body .mb-bb-cta .mb-add{ flex: 1 1 320px; }
html body .mb-bb-cta .mb-buynow{ flex: 0 1 auto; }
html body .mb-add-price{ display: flex; align-items: baseline; gap: 8px; }
html body .mb-add-price del{ font-size: 13px; font-weight: 400; opacity: .8; color: #fff; }
html body .mb-add-price del:empty{ display: none; }
html body .mb-bb-note{ font-size: 14px; font-weight: 600; color: var(--mb-accent-dark); margin-top: -10px; }
html body .mb-bb-note:empty{ display: none; }
html body .mb-bb-perks{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
html body .mb-bb-perks span{ background: #fff; border: 1px solid var(--mb-line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--mb-muted); }
html body .mb-bb-perks strong{ font-weight: 600; color: var(--mb-ink); }

/* tier bar (mini cart, cart) */
html body .mb-tierbar { display: flex; flex-direction: column; gap: 8px; background: var(--mb-blush); border-radius: 18px; padding: 14px 12px 12px; margin: 0 0 14px; }
html body .mb-tb-msg, html body .mb-bd-msg{ font-size: 14px; font-weight: 600; text-align: center; }
html body .mb-tb-track, html body .mb-bd-track{ position: relative; height: 74px; }
html body .mb-tb-rail{ position: absolute; left: 6%; right: 6%; top: 17px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .75); }
html body .mb-bd-track .mb-tb-rail{ background: #f3e6ea; }
html body .mb-tb-fill{ position: absolute; left: 6%; top: 17px; height: 8px; border-radius: 999px; background: var(--mb-accent); transition: width .4s ease; }
html body .mb-tb-mark{ position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; width: 66px; }
html body .mb-tb-dot{ position: relative; width: 42px; height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: -0.01em; background: #fff; color: #8a7f8c; border: 2px solid #eadbd3; }
html body .mb-tb-mark.is-on .mb-tb-dot{ background: var(--mb-accent); color: #fff; border-color: var(--mb-accent); }
html body .mb-tb-x{ position: absolute; right: -8px; top: -6px; background: var(--mb-ink); color: #fff; border-radius: 999px; padding: 1px 5px; font-size: 10px; font-weight: 600; }
html body .mb-tb-lab{ font-size: 11px; font-weight: 500; color: var(--mb-muted); text-align: center; white-space: nowrap; }
html body .mb-tb-mark.is-on .mb-tb-lab{ font-weight: 600; color: var(--mb-ink); }
html body .mb-tb-ship{ display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 500; color: #4f4554; }
html body .mb-tb-ship.is-ok{ color: var(--mb-green); font-weight: 600; }
html body .mb-tb-gift{ font-size: 12px; font-weight: 600; color: var(--mb-green); text-align: center; }
html body .mb-free{ color: var(--mb-green); font-weight: 600; text-decoration: none; }
html body .mb-qty-fixed{ display: inline-block; min-width: 32px; text-align: center; font-weight: 600; }
html body .mb-save-row th, html body .mb-save-row td{ color: var(--mb-green); }

/* builder */
html body .mb-builder { display: flex; flex-direction: column; gap: 22px; }
html body .mb-bd-steps{ display: flex; gap: 10px; flex-wrap: wrap; }
html body .mb-bd-step{ cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 18px; border-radius: 18px; background: #fff; border: 2px solid #f0e2db; color: var(--mb-ink); text-align: left; }
html body .mb-bd-step strong{ font-size: 15px; font-weight: 600; }
html body .mb-bd-step span{ font-size: 12px; font-weight: 600; color: var(--mb-green); }
html body .mb-bd-step.is-on{ border-color: var(--mb-accent); background: var(--mb-blush); }
html body .mb-bd-grid{ display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
html body .mb-bd-list{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
html body .mb-bd-item{ display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px 14px; align-items: center; background: #fff; border: 2px solid #f0e2db; border-radius: 22px; padding: 12px; }
html body .mb-bd-img{ grid-row: 1 / span 2; width: 76px; height: 76px; border-radius: 16px; background: var(--soft, #fbf4ec); overflow: hidden; display: block; }
html body .mb-bd-img img{ width: 100%; height: 100%; object-fit: contain; display: block; }
html body .mb-bd-txt{ display: flex; flex-direction: column; gap: 2px; }
html body .mb-bd-txt strong{ font-size: 16px; font-weight: 600; }
html body .mb-bd-txt span{ font-size: 12px; color: var(--mb-muted); }
html body .mb-bd-step-ctl{ display: flex; align-items: center; gap: 6px; }
html body .mb-bd-step-ctl button{ cursor: pointer; width: 38px; height: 38px; border-radius: 999px; border: 1.5px solid #e4d3ca; background: #fff; color: var(--mb-ink); font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; }
html body .mb-bd-step-ctl button:hover:not(:disabled){ border-color: var(--mb-accent); color: var(--mb-accent); }
html body .mb-bd-step-ctl button:disabled{ opacity: .4; cursor: not-allowed; }
html body .mb-bd-n{ min-width: 28px; text-align: center; font-size: 16px; font-weight: 700; }
html body .mb-bd-sum{ position: sticky; top: 110px; background: #fff; border: 1px solid var(--mb-line); border-radius: 28px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
html body .mb-bd-slots{ display: flex; flex-wrap: wrap; gap: 6px; }
html body .mb-slot{ width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--mb-ink); }
html body .mb-slot.is-gift{ background: var(--mb-accent); color: #fff; }
html body .mb-slot.is-empty{ border: 2px dashed #ddd0d6; }
html body .mb-bd-rows{ margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
html body .mb-bd-rows > div{ display: flex; justify-content: space-between; gap: 10px; }
html body .mb-bd-rows dt{ color: var(--mb-muted); }
html body .mb-bd-rows dd{ margin: 0; font-weight: 600; text-align: right; }
html body .mb-bd-rows .mb-bd-gifts{ color: var(--mb-green); }
html body .mb-bd-rows .is-total{ border-top: 1px solid var(--mb-line); padding-top: 10px; font-size: 18px; }
html body .mb-bd-rows .is-total dt{ color: var(--mb-ink); font-weight: 600; }
html body .mb-bd-rows del{ font-size: 13px; font-weight: 400; color: var(--mb-muted); }
html body .mb-bd-add{ justify-content: center; width: 100%; }
html body .mb-bd-hint{ margin: 0; font-size: 13px; line-height: 1.5; color: var(--mb-accent-dark); font-weight: 500; text-align: center; }

@media (max-width: 1024px) {
	html body .mb-bd-grid{ grid-template-columns: minmax(0, 1fr); }
	html body .mb-bd-sum{ position: static; }
}
@media (max-width: 767px) {
	html body .mb-pkgs{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body .mb-rw{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
	html body .mb-bb-perks{ grid-template-columns: minmax(0, 1fr); }
	html body .mb-bd-list{ grid-template-columns: minmax(0, 1fr); }
	html body .mb-bb-cta .mb-buynow{ flex: 1 1 100%; }
	html body .mb-tb-mark{ width: 54px; }
	html body .mb-tb-dot{ width: 36px; height: 36px; font-size: 11px; }
}

/* builder - closer to the design */
html body .mb-builder .mb-bd-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; }
html body .mb-builder .mb-bd-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
html body .mb-builder .mb-bd-item { display: flex; flex-direction: column; align-items: stretch; gap: 10px; border-radius: 24px; padding: 12px 12px 14px; border: 2px solid transparent; }
html body .mb-builder .mb-bd-item.is-on { border-color: var(--accent, #a50839); }
html body .mb-builder .mb-bd-img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 18px; }
html body .mb-builder .mb-bd-img img { object-fit: cover; }
html body .mb-builder .mb-bd-txt { padding: 0 4px; }
html body .mb-builder .mb-bd-step-ctl { justify-content: space-between; padding: 0 2px; }
html body .mb-builder .mb-bd-step-ctl button { width: 40px; height: 40px; }
html body .mb-builder .mb-bd-sum { border-radius: 28px; padding: 22px; }
@media (max-width: 1024px) { html body .mb-builder .mb-bd-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { html body .mb-builder .mb-bd-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html body .mb-builder { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 900px) { html body .mb-builder { padding: 0 16px; } }
/* WooCommerce adds a "View cart" link after AJAX buttons - the drawer opens instead */
html body .mb-builder .added_to_cart, html body .mb-buybox .added_to_cart, html body .mb-s .added_to_cart { display: none !important; }
