/**
 * Path: wp-content/plugins/bb-membership/assets/bbm.css  (REPLACES existing file)
 * Provider dashboard, listing form, toast messages, VIP / TOP badges.
 */

.bbm {
	--bbm-brand: #a3195b;
	--bbm-brand-dark: #82124a;
	--bbm-soft: #fbeff4;
	--bbm-line: #ecdfe5;
	--bbm-ink: #2b2b2b;
	--bbm-muted: #6b6b6b;
	--bbm-ok: #1a7f44;
	--bbm-warn: #b7791f;
	--bbm-bad: #b32d2e;
	--bbm-gold: #c99a2e;
	color: var(--bbm-ink);
	font-size: 15px;
	line-height: 1.5;
}
.bbm *, .bbm *::before, .bbm *::after { box-sizing: border-box; }
.bbm h3 { margin: 0 0 8px; font-size: 22px; }
.bbm h4 { margin: 0 0 6px; font-size: 17px; }
.bbm-muted { color: var(--bbm-muted); font-size: 14px; }
.bbm-center { text-align: center; }
.bbm-icon { font-size: 40px; line-height: 1; margin-bottom: 8px; }

.bbm-card {
	background: #fff;
	border: 1px solid var(--bbm-line);
	border-radius: 14px;
	padding: 20px;
	margin: 0 0 18px;
}
.bbm-section { margin: 28px 0; }
.bbm-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }

/* Buttons */
.bbm-btn, .bbm a.bbm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--bbm-brand); color: #fff !important; border: 1px solid var(--bbm-brand);
	border-radius: 10px; padding: 10px 18px; font-weight: 600; font-size: 15px;
	text-decoration: none !important; cursor: pointer; line-height: 1.2; transition: background .2s;
}
.bbm-btn:hover { background: var(--bbm-brand-dark); border-color: var(--bbm-brand-dark); }
.bbm-btn--ghost, .bbm a.bbm-btn--ghost { background: #fff; color: var(--bbm-brand) !important; }
.bbm-btn--ghost:hover { background: var(--bbm-soft); }
.bbm-btn--sm { padding: 7px 12px; font-size: 14px; border-radius: 8px; }
.bbm-btn.is-disabled, .bbm-btn:disabled { background: #e7e1e4; border-color: #e7e1e4; color: #8a8a8a !important; cursor: not-allowed; }
.bbm-link { background: none; border: 0; padding: 0; color: var(--bbm-brand); text-decoration: underline; cursor: pointer; font-size: 14px; }
.bbm-link:disabled { color: #aaa; cursor: not-allowed; }
.bbm-link--danger { color: var(--bbm-bad); }
.bbm-inline { display: inline; margin: 0; }

/* Alerts */
.bbm-alert { border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; }
.bbm-alert ul { margin: 6px 0 0 18px; padding: 0; }
.bbm-alert--error { background: #fdecec; border: 1px solid #f3c2c2; color: #7a1c1c; }
.bbm-note { background: #fff7e6; border: 1px solid #f2dfb1; border-radius: 8px; padding: 6px 10px; font-size: 13px; margin-top: 6px; }

/* Header */
.bbm-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, #fff 0%, var(--bbm-soft) 100%); }
.bbm-head__plan { font-size: 28px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.bbm-head__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Badges */
.bbm-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; color: #fff; background: var(--bbm-brand); vertical-align: middle; }
.bbm-badge--business { background: linear-gradient(135deg, #d4a73c, #a97b17); }

/* Stats */
.bbm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.bbm-stat { background: #fff; border: 1px solid var(--bbm-line); border-radius: 12px; padding: 14px; }
.bbm-stat__label { font-size: 13px; color: var(--bbm-muted); }
.bbm-stat__value { font-size: 26px; font-weight: 700; }
.bbm-stat__value small { font-size: 15px; color: var(--bbm-muted); font-weight: 500; }
.bbm-bar { height: 6px; background: #f1e7ec; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.bbm-bar span { display: block; height: 100%; background: var(--bbm-brand); }

/* Listings */
.bbm-listings { display: grid; gap: 12px; }
.bbm-listing { display: flex; gap: 14px; background: #fff; border: 1px solid var(--bbm-line); border-radius: 12px; padding: 12px; }
.bbm-listing__img { width: 110px; min-width: 110px; height: 110px; border-radius: 10px; background: #f3edf0 center / cover no-repeat; }
.bbm-listing__body { flex: 1; min-width: 0; }
.bbm-listing__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 17px; }
.bbm-listing__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.bbm-pill { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.bbm-pill--live { background: #e3f5ea; color: var(--bbm-ok); }
.bbm-pill--pending { background: #fff3dc; color: var(--bbm-warn); }
.bbm-pill--hidden { background: #eee; color: #666; }
.bbm-empty { border: 2px dashed var(--bbm-line); border-radius: 12px; padding: 22px; text-align: center; }

/* Extras */
.bbm-extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bbm-extra { background: #fff; border: 1px solid var(--bbm-line); border-radius: 12px; padding: 16px; }
.bbm-extra__title { font-weight: 700; font-size: 16px; }
.bbm-extra__price { font-size: 22px; font-weight: 700; color: var(--bbm-brand); }
.bbm-extra__price > span { font-size: 13px; color: var(--bbm-muted); font-weight: 500; }
.bbm-extra p { margin: 6px 0; }
.bbm-extra__form { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.bbm-extra__form select { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--bbm-line); min-width: 64px; }

/* Plans */
.bbm-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bbm-plan { background: #fff; border: 1px solid var(--bbm-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; }
.bbm-plan.is-current { border: 2px solid var(--bbm-brand); background: var(--bbm-soft); }
.bbm-plan.is-popular { border: 2px solid var(--bbm-brand); }
.bbm-plan__name { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bbm-brand); }
.bbm-plan__price { font-size: 30px; font-weight: 800; margin: 4px 0 8px; }
.bbm-plan__price > span { font-size: 14px; color: var(--bbm-muted); font-weight: 500; margin-left: 4px; }
.bbm-plan__price .woocommerce-Price-amount, .bbm-plan__price .woocommerce-Price-amount *,
.bbm-extra__price .woocommerce-Price-amount, .bbm-extra__price .woocommerce-Price-amount * { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; margin: 0 !important; }
.bbm-plan ul { list-style: none; margin: 0 0 14px; padding: 0; flex: 1; }
.bbm-plan li { padding: 4px 0 4px 22px; position: relative; font-size: 14px; }
.bbm-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--bbm-brand); font-weight: 700; }
.bbm-plan form { margin: 0; }
.bbm-plan .bbm-btn { width: 100%; }

/* Form */
.bbm-form .bbm-card h4 { display: flex; align-items: center; gap: 10px; }
.bbm-field { display: block; margin: 0 0 12px; }
.bbm-field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.bbm-field input, .bbm-field textarea {
	width: 100%; border: 1px solid #d9cdd3; border-radius: 10px; padding: 10px 12px; font-size: 15px; background: #fff;
}
.bbm-field input:focus, .bbm-field textarea:focus { outline: none; border-color: var(--bbm-brand); box-shadow: 0 0 0 3px rgba(163, 25, 91, .12); }
.bbm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.bbm-counter { font-size: 13px; font-weight: 600; color: var(--bbm-brand); background: var(--bbm-soft); padding: 2px 8px; border-radius: 999px; }
.bbm-counter.is-over { color: #fff; background: var(--bbm-bad); }
.bbm-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.bbm-check { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ddd0d6; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 14px; user-select: none; }
.bbm-check input { margin: 0; accent-color: var(--bbm-brand); }
.bbm-check:has(input:checked) { background: var(--bbm-soft); border-color: var(--bbm-brand); color: var(--bbm-brand); font-weight: 600; }
.bbm-check.is-off { opacity: .45; cursor: not-allowed; }
.bbm-images { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.bbm-image { width: 120px; border: 1px solid var(--bbm-line); border-radius: 10px; overflow: hidden; background: #fff; font-size: 12px; }
.bbm-image img { width: 120px; height: 100px; object-fit: cover; display: block; }
.bbm-image label { display: flex; align-items: center; gap: 4px; padding: 3px 6px; cursor: pointer; }
.bbm-image.is-removed img { opacity: .3; }
.bbm-upload { display: inline-block; cursor: pointer; }
.bbm-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bbm-upload span { display: inline-block; border: 2px dashed var(--bbm-brand); color: var(--bbm-brand); border-radius: 10px; padding: 12px 18px; font-weight: 600; }
.bbm-upload:focus-within span { box-shadow: 0 0 0 3px rgba(163, 25, 91, .2); }
.bbm-form__footer { display: flex; align-items: center; gap: 16px; margin: 8px 0 20px; }

/* Toast */
.bbm-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; z-index: 99999;
	display: flex; align-items: flex-start; gap: 12px; max-width: min(560px, calc(100vw - 32px));
	background: #2b2b2b; color: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
	font-size: 15px; line-height: 1.4; transition: all .35s ease;
}
.bbm-toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.bbm-toast--success { background: #1a7f44; }
.bbm-toast--error { background: #b32d2e; }
.bbm-toast--info { background: #a3195b; }
.bbm-toast button { background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }

/* VIP / TOP badges on listing cards (Elementor loop items) */
.e-loop-item.bbm-has-badge { position: relative; }
.e-loop-item.bbm-tier-business::before,
.e-loop-item.bbm-tier-premium::before {
	position: absolute; top: 12px; left: 12px; z-index: 5;
	font: 800 11px/1 "Outfit", sans-serif; letter-spacing: .08em; color: #fff;
	padding: 6px 10px; border-radius: 999px; border: 1.5px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); pointer-events: none;
}
.e-loop-item.bbm-tier-business::before { content: "VIP"; background: linear-gradient(135deg, #d4a73c, #a97b17); }
.e-loop-item.bbm-tier-premium::before { content: "TOP"; background: #a3195b; }

/* Responsive */
@media (max-width: 900px) {
	.bbm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bbm-extras, .bbm-plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.bbm-grid-2 { grid-template-columns: 1fr; }
	.bbm-listing { flex-direction: column; }
	.bbm-listing__img { width: 100%; height: 160px; }
	.bbm-head__plan { font-size: 24px; }
	.bbm-card { padding: 16px; }
}

/* ===================== v1.1.0 ===================== */

/* Header: user menu instead of Login / Register when logged in */
body.bbm-logged-in [data-elementor-type="header"] .elementor-widget-button:has(a[href*="/login/"]),
body.bbm-logged-in [data-elementor-type="header"] .elementor-widget-button:has(a[href*="/register/"]) { display: none !important; }
@media (max-width: 767px) {
	body.bbm-logged-in .bbm-um-host.elementor-hidden-mobile { display: flex !important; }
}
.bbm-um { position: relative; font-family: inherit; line-height: 1.3; }
.bbm-um button.bbm-um__btn {
	display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #ecdfe5; border-radius: 999px; height: auto; min-height: 0;
	padding: 5px 12px 5px 5px; margin: 0; cursor: pointer; color: #2b2b2b; font-size: 15px; font-weight: 600; line-height: 1.2; text-transform: none; white-space: nowrap; transition: border-color .2s, box-shadow .2s;
}
.bbm-um button.bbm-um__btn:hover, .bbm-um button.bbm-um__btn:focus, .bbm-um.is-open button.bbm-um__btn { border-color: #a3195b; box-shadow: 0 0 0 3px rgba(163, 25, 91, .1); background: #fff; color: #2b2b2b; outline: none; }
.bbm-um__avatar {
	width: 36px; height: 36px; border-radius: 50%; background: #a3195b; color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; overflow: hidden; flex: none;
}
.bbm-um__avatar img { width: 100%; height: 100%; object-fit: cover; }
.bbm-um__caret { transition: transform .2s; }
.bbm-um.is-open .bbm-um__caret { transform: rotate(180deg); }
.bbm-um__drop {
	position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; background: #fff; border: 1px solid #ecdfe5;
	border-radius: 14px; box-shadow: 0 14px 36px rgba(0, 0, 0, .14); padding: 8px; display: none; z-index: 9999; text-align: left;
}
.bbm-um.is-open .bbm-um__drop { display: block; }
.bbm-um__head { padding: 10px 12px 12px; border-bottom: 1px solid #f1e7ec; margin-bottom: 6px; display: flex; flex-direction: column; gap: 2px; }
.bbm-um__head strong { font-size: 15px; color: #2b2b2b; }
.bbm-um__head span { font-size: 13px; color: #6b6b6b; word-break: break-all; }
.bbm-um__plan { font-style: normal; font-size: 12px; font-weight: 700; color: #a3195b; margin-top: 4px; }
.bbm-um__drop a { display: block; padding: 9px 12px; border-radius: 8px; color: #2b2b2b !important; text-decoration: none !important; font-size: 15px; }
.bbm-um__drop a:hover { background: #fbeff4; color: #a3195b !important; }
.bbm-um__drop a.bbm-um__logout { border-top: 1px solid #f1e7ec; margin-top: 6px; border-radius: 0 0 8px 8px; color: #b32d2e !important; }
@media (max-width: 767px) {
	.bbm-um__name, .bbm-um__caret { display: none; }
	.bbm-um button.bbm-um__btn { padding: 3px; }
}

/* My Account layout */
body.woocommerce-account .page-content > .woocommerce,
body.woocommerce-account .entry-content > .woocommerce {
	display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; margin: 10px auto 60px;
}
body.woocommerce-account .page-header,
body.woocommerce-account .page-content > .woocommerce,
body.woocommerce-account .entry-content > .woocommerce { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
body.woocommerce-account .woocommerce::before, body.woocommerce-account .woocommerce::after { display: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; margin: 0 !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid #ecdfe5; border-radius: 14px; position: sticky; top: 110px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block; padding: 11px 14px; border-radius: 10px; color: #2b2b2b; text-decoration: none; font-weight: 500; font-size: 15px; transition: background .15s;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: #fbeff4; color: #a3195b; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: #a3195b; color: #fff; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid #f1e7ec; margin-top: 6px !important; padding-top: 6px !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a { color: #b32d2e; }
body.woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }
body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea {
	width: 100%; border: 1px solid #d9cdd3; border-radius: 10px; padding: 10px 12px; font-size: 15px; background: #fff;
}
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button.woocommerce-Button,
body.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-button {
	background: #a3195b; color: #fff; border: 0; border-radius: 10px; padding: 10px 18px; font-weight: 600; text-decoration: none; display: inline-block;
}
body.woocommerce-account .woocommerce-MyAccount-content .button:hover { background: #82124a; color: #fff; }
body.woocommerce-account table.shop_table, body.woocommerce-account .woocommerce-MyAccount-content table {
	width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #ecdfe5; border-radius: 12px; overflow: hidden; background: #fff;
}
body.woocommerce-account .woocommerce-MyAccount-content table th { background: #fbeff4; font-weight: 600; }
body.woocommerce-account .woocommerce-MyAccount-content table th,
body.woocommerce-account .woocommerce-MyAccount-content table td { padding: 12px 14px; border: 0; border-bottom: 1px solid #f1e7ec; text-align: left; }
body.woocommerce-account .woocommerce-MyAccount-content fieldset { border: 1px solid #ecdfe5; border-radius: 12px; padding: 16px; margin: 16px 0; }
body.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
body.woocommerce-account .woocommerce-Address { background: #fff; border: 1px solid #ecdfe5; border-radius: 12px; padding: 16px; width: auto !important; float: none !important; }
@media (max-width: 900px) {
	body.woocommerce-account .page-content > .woocommerce,
	body.woocommerce-account .entry-content > .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	body.woocommerce-account .woocommerce-MyAccount-navigation { min-width: 0; }
	body.woocommerce-account .woocommerce-MyAccount-navigation ul { position: static; display: flex; gap: 6px; overflow-x: auto; white-space: nowrap; }
	body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { border-top: 0; margin: 0 !important; padding: 0 !important; }
	body.woocommerce-account .woocommerce-MyAccount-content table { display: block; overflow-x: auto; }
}

/* Checkout: no product image, cleaner summary */
body.woocommerce-checkout .wc-block-components-order-summary-item__image { display: none !important; }
body.woocommerce-checkout .wc-block-components-order-summary-item__description { padding-left: 0 !important; }
body.woocommerce-checkout .wc-block-components-order-summary-item { padding: 6px 0; }
body.woocommerce-checkout .wc-block-components-product-name { font-weight: 700; font-size: 15px; }
body.woocommerce-checkout .wc-block-checkout__add-note { display: none; }
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-panel,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block { border-radius: 14px; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: #a3195b !important; color: #fff !important; border-radius: 12px !important; font-weight: 700; min-height: 54px;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background: #82124a !important; }

/* ===================== v1.2.0 ===================== */

/* Page banner (same look as the Locations page) */
.bbm-banner {
	min-height: 300px; display: flex; align-items: center; justify-content: center; text-align: center;
	background-color: #f6ece5; background-size: cover; background-position: 50% 100%; background-repeat: no-repeat; margin: 0 0 40px;
}
.bbm-banner__inner { max-width: 1140px; width: 100%; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bbm-banner__title {
	font-family: "Playfair Display", Georgia, serif !important; font-size: 45px; font-weight: 600; line-height: 1.1; color: #000; margin: 0; padding: 0;
}
.bbm-banner__crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.bbm-banner__crumbs li { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 500; color: #000; }
.bbm-banner__crumbs a { color: #000 !important; text-decoration: none !important; }
.bbm-banner__crumbs a:hover { color: #aa1e5b !important; }
.bbm-banner__crumbs svg { fill: #aa1e5b; width: 14px; height: 14px; flex: none; }
body.woocommerce-account .page-header, body.woocommerce-checkout .page-header { display: none; }
@media (max-width: 767px) {
	.bbm-banner { min-height: 200px; margin-bottom: 24px; }
	.bbm-banner__title { font-size: 32px; }
	.bbm-banner__crumbs li { font-size: 14px; }
}

/* Checkout: monthly renewal box (from the subscription plugin) */
body.woocommerce-checkout .wps_recurring_bifurcation_wrapper {
	margin-top: 16px; background: #fbeff4; border: 1px solid #f0d9e3; border-radius: 14px; padding: 16px 18px;
}
body.woocommerce-checkout .wps_recurring_bifurcation_wrapper h4 {
	margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b6b6b; line-height: 1.4;
}
body.woocommerce-checkout .wps_recurring_bifurcation_wrapper h4 a,
body.woocommerce-checkout .wps_recurring_bifurcation_wrapper h4 .bbm-renew-plan {
	display: block; margin-top: 2px; font-size: 16px; letter-spacing: 0; text-transform: none; color: #a3195b; text-decoration: none; pointer-events: none;
}
body.woocommerce-checkout .wps_recurring_bifurcation_wrapper h4 br { display: none; }
body.woocommerce-checkout .wps_recurring_bifurcation_wrapper ul { list-style: none; margin: 0; padding: 0; }
body.woocommerce-checkout .wps_recurring_bifurcation_wrapper li {
	display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; margin: 0; font-size: 14px; color: #2b2b2b;
}
body.woocommerce-checkout .wps_recurring_bifurcation_wrapper li + li { border-top: 1px solid #efd7e1; font-weight: 700; font-size: 15px; }
body.woocommerce-checkout .wps_recurring_bifurcation_wrapper label { font-weight: inherit; margin: 0; }
body.woocommerce-checkout .wps_recurring_bifurcation_wrapper .wps_sfw_interval { color: #6b6b6b; font-weight: 500; }

/* Listing sent back by admin */
.bbm-pill--rejected { background: #fde8e8; color: #b32d2e; }
body.woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-metadata { display: none; }

/* ===================== v1.3.0 — Order confirmation ===================== */
.bbm-ty { max-width: 1040px; margin: 0 auto 60px; color: #2b2b2b; font-size: 15px; line-height: 1.55; }
.bbm-ty * { box-sizing: border-box; }
.bbm-ty__hero {
	text-align: center; padding: 44px 24px 36px; border-radius: 20px; margin-bottom: 18px;
	background: linear-gradient(160deg, #fff 0%, #fbeff4 100%); border: 1px solid #f0dbe5;
}
.bbm-ty__hero.is-bad { background: linear-gradient(160deg, #fff 0%, #fdecec 100%); border-color: #f3c9c9; }
.bbm-ty__hero.is-wait { background: linear-gradient(160deg, #fff 0%, #fff6e6 100%); border-color: #f2dfb1; }
.bbm-ty__icon { width: 76px; height: 76px; margin: 0 auto 14px; }
.bbm-ty__icon svg { width: 76px; height: 76px; }
.bbm-ty__icon circle { stroke: #1a7f44; stroke-width: 2; fill: #e3f5ea; stroke-dasharray: 160; stroke-dashoffset: 160; animation: bbm-ty-draw .7s ease-out forwards; }
.bbm-ty__icon path { stroke: #1a7f44; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: bbm-ty-draw .45s .55s ease-out forwards; }
.bbm-ty__hero.is-bad .bbm-ty__icon circle { stroke: #b32d2e; fill: #fde8e8; }
.bbm-ty__hero.is-bad .bbm-ty__icon path { stroke: #b32d2e; }
.bbm-ty__hero.is-wait .bbm-ty__icon circle { stroke: #b7791f; fill: #fff3dc; }
.bbm-ty__hero.is-wait .bbm-ty__icon path { stroke: #b7791f; }
@keyframes bbm-ty-draw { to { stroke-dashoffset: 0; } }
.bbm-ty__hello { margin: 0 0 4px; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #a3195b; }
.bbm-ty__title { margin: 0 0 8px; font-family: "Playfair Display", Georgia, serif; font-size: 36px; font-weight: 600; line-height: 1.15; color: #111; }
.bbm-ty__sub { margin: 0 auto 6px; max-width: 560px; font-size: 16px; color: #4a4549; }
.bbm-ty__mail { margin: 0 0 20px; font-size: 14px; color: #6b6b6b; }
.bbm-ty__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bbm-ty__btn, .bbm-ty a.bbm-ty__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 12px;
	background: #a3195b; color: #fff !important; font-weight: 700; text-decoration: none !important; border: 1px solid #a3195b; transition: background .2s, transform .2s;
}
.bbm-ty__btn:hover { background: #82124a; transform: translateY(-1px); }
.bbm-ty__btn.is-ghost, .bbm-ty a.bbm-ty__btn.is-ghost { background: #fff; color: #a3195b !important; }
.bbm-ty__btn.is-ghost:hover { background: #fbeff4; }
.bbm-ty__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 18px; }
.bbm-ty__meta > div { background: #fff; border: 1px solid #ecdfe5; border-radius: 14px; padding: 14px 16px; }
.bbm-ty__meta span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a8287; margin-bottom: 4px; }
.bbm-ty__meta strong { font-size: 16px; color: #111; }
.bbm-ty__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.bbm-ty__card { background: #fff; border: 1px solid #ecdfe5; border-radius: 16px; padding: 22px 24px; margin-bottom: 18px; }
.bbm-ty__grid .bbm-ty__card { margin-bottom: 0; }
.bbm-ty__card h3 { margin: 0 0 16px; font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 600; color: #111; }
.bbm-ty__steps { list-style: none; margin: 0; padding: 0; position: relative; }
.bbm-ty__steps li { position: relative; display: flex; gap: 14px; padding: 0 0 20px; margin: 0; }
.bbm-ty__steps li:last-child { padding-bottom: 0; }
.bbm-ty__steps li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: #efe3e9; }
.bbm-ty__steps li:last-child::before { display: none; }
.bbm-ty__dot { width: 24px; height: 24px; border-radius: 50%; flex: none; border: 2px solid #d9cdd3; background: #fff; position: relative; z-index: 1; margin-top: 1px; }
.bbm-ty__steps li.is-done .bbm-ty__dot { background: #1a7f44; border-color: #1a7f44; }
.bbm-ty__steps li.is-done .bbm-ty__dot::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bbm-ty__steps li.is-done::before { background: #bfe3cd; }
.bbm-ty__steps li.is-now .bbm-ty__dot { border-color: #a3195b; box-shadow: 0 0 0 5px rgba(163, 25, 91, .12); }
.bbm-ty__steps li.is-now .bbm-ty__dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #a3195b; }
.bbm-ty__steps strong { display: block; font-size: 15px; color: #111; }
.bbm-ty__steps p { margin: 2px 0 0; font-size: 14px; color: #6b6b6b; }
.bbm-ty__steps li.is-next strong { color: #6b6b6b; }
.bbm-ty__table { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
.bbm-ty__table td, .bbm-ty__table th { padding: 11px 0; border: 0; border-bottom: 1px solid #f1e7ec; text-align: left; vertical-align: top; background: none; }
.bbm-ty__table .bbm-ty__num { text-align: right; white-space: nowrap; font-weight: 600; }
.bbm-ty__table .bbm-ty__fee td { color: #1a7f44; font-size: 14px; }
.bbm-ty__table tfoot th, .bbm-ty__table tfoot td { border-bottom: 0; padding-top: 14px; font-size: 18px; font-weight: 800; color: #111; }
.bbm-ty__qty { color: #8a8287; font-weight: 500; margin-left: 4px; }
.bbm-ty__renew { margin-top: 14px; background: #fbeff4; border: 1px solid #f0d9e3; border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; }
.bbm-ty__renew span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a3195b; }
.bbm-ty__renew strong { font-size: 18px; color: #111; }
.bbm-ty__renew small { color: #6b6b6b; font-size: 13px; }
.bbm-ty__addr { margin-top: 16px; }
.bbm-ty__addr span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a8287; margin-bottom: 4px; }
.bbm-ty__addr address { font-style: normal; color: #4a4549; font-size: 14px; line-height: 1.6; }
.bbm-ty__pay { border-color: #f2dfb1; background: #fffbf2; }
.bbm-ty__pay h2, .bbm-ty__pay h3 { font-size: 18px; }
.bbm-ty__more { margin-top: 18px; }
.bbm-ty__help { text-align: center; margin: 24px 0 0; color: #6b6b6b; font-size: 14px; }
.bbm-ty__help a { color: #a3195b; font-weight: 600; }
@media (max-width: 860px) {
	.bbm-ty__grid { grid-template-columns: 1fr; }
	.bbm-ty__title { font-size: 28px; }
	.bbm-ty__hero { padding: 32px 18px 28px; }
}
.bbm-ty .woocommerce-Price-amount, .bbm-ty .woocommerce-Price-amount bdi, .bbm-ty .woocommerce-Price-currencySymbol {
	display: inline !important; font-size: inherit !important; font-weight: inherit !important; color: inherit !important; white-space: nowrap; margin: 0 !important; padding: 0 !important;
}
.bbm-ty__table tr, .bbm-ty__table td, .bbm-ty__table th, .bbm-ty__table tbody tr:nth-child(odd) td { background: transparent !important; }

/* v1.3.1 — theme button styles were overriding ours (empty Save button, pink "Hide" hover) */
button.bbm-btn, button.bbm-btn[type="submit"], .bbm button.bbm-btn {
	background: var(--bbm-brand) !important; color: #fff !important; border: 1px solid var(--bbm-brand) !important;
	border-radius: 10px !important; padding: 10px 18px !important; font-weight: 600 !important; font-size: 15px !important;
	line-height: 1.2 !important; text-transform: none !important; box-shadow: none !important;
}
button.bbm-btn:hover, button.bbm-btn:focus, button.bbm-btn[type="submit"]:hover, button.bbm-btn[type="submit"]:focus {
	background: var(--bbm-brand-dark) !important; border-color: var(--bbm-brand-dark) !important; color: #fff !important;
}
button.bbm-btn.bbm-btn--sm { padding: 8px 14px !important; font-size: 14px !important; border-radius: 8px !important; }
button.bbm-btn:disabled, button.bbm-btn.is-disabled { background: #e7e1e4 !important; border-color: #e7e1e4 !important; color: #8a8a8a !important; }
button.bbm-link, button.bbm-link:hover, button.bbm-link:focus, button.bbm-link:active {
	background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important;
	color: var(--bbm-brand) !important; text-decoration: underline !important; font-size: 14px !important; font-weight: 400 !important; text-transform: none !important;
}
button.bbm-link:hover { color: var(--bbm-brand-dark) !important; }
button.bbm-link.bbm-link--danger, button.bbm-link.bbm-link--danger:hover, button.bbm-link.bbm-link--danger:focus { color: var(--bbm-bad) !important; }
button.bbm-link:disabled { color: #aaa !important; }
/* Buy row: quantity box and Buy button same height, side by side */
.bbm-extra__form { align-items: stretch !important; }
.bbm-extra__form select { flex: 1 1 auto; height: 40px !important; min-height: 40px !important; padding: 0 10px !important; margin: 0 !important; font-size: 15px; background-color: #fff; }
.bbm-extra__form button.bbm-btn { flex: 0 0 auto; height: 40px !important; min-height: 40px; padding: 0 16px !important; }
