/*
 * Beauty Bundle Carousel – scoped styles (1.1.0).
 * Every selector is limited to this widget (.bbcn / .elementor-widget-bbcn_bundle_carousel).
 * Nothing here touches Elementor globals, other carousels or other widgets' .swiper classes.
 * Elementor Style-tab controls override these defaults (they use more specific selectors).
 */

/* Keep the widget inside its column / flex container (no horizontal page overflow). */
.elementor-widget-bbcn_bundle_carousel {
	min-width: 0;
	max-width: 100%;
}
.e-con > .elementor-widget-bbcn_bundle_carousel:not([class*="elementor-widget__width-"]),
.e-con > .e-con-inner > .elementor-widget-bbcn_bundle_carousel:not([class*="elementor-widget__width-"]) {
	width: 100%;
}

.bbcn {
	--bbcn-spv: 3;
	--bbcn-gap: 20px;
	--bbcn-arrow-size: 44px;
	--bbcn-arrow-offset: 10px;
	--bbcn-dot-size: 7px;
	--bbcn-badge-offset: 14px;
	--bbcn-transition: 350ms;
	--bbcn-ink: #241f1c;
	--bbcn-muted: #766c66;
	--bbcn-line: #ebe5e0;
	--bbcn-soft: #f7f3f0;
	--bbcn-warm: #9a7b66;
	--bbcn-sage: #4f7259;
	--bbcn-sage-soft: #ecf2ed;
	--bbcn-pop-bg: #fff;
	position: relative;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	color: var(--bbcn-ink);
}
.bbcn *,
.bbcn *::before,
.bbcn *::after {
	box-sizing: border-box;
}
.bbcn .bbcn-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ================= Carousel frame ================= */
.bbcn .bbcn-stage {
	position: relative;
	min-width: 0;
}
.bbcn .bbcn-viewport {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-width: 0;
	padding: 6px 4px 22px;
}
.bbcn .bbcn-track {
	align-items: stretch;
}
.bbcn .bbcn-slide {
	height: auto;
	display: flex;
	min-width: 0;
}

/* Before Elementor's Swiper starts (or if it never does) the same layout is drawn with CSS. */
.bbcn:not(.bbcn--ready) .bbcn-track {
	display: flex;
	gap: var(--bbcn-gap);
}
.bbcn:not(.bbcn--ready) .bbcn-slide {
	flex: 0 0 calc((100% - (var(--bbcn-spv) - 1) * var(--bbcn-gap)) / var(--bbcn-spv));
	max-width: calc((100% - (var(--bbcn-spv) - 1) * var(--bbcn-gap)) / var(--bbcn-spv));
}

/* ================= Arrows ================= */
.bbcn .bbcn-arrow {
	position: absolute;
	top: var(--bbcn-arrow-top, 50%);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--bbcn-arrow-size);
	height: var(--bbcn-arrow-size);
	margin: 0;
	padding: 0;
	border: 1px solid var(--bbcn-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: var(--bbcn-ink);
	box-shadow: 0 6px 18px -8px rgba(36, 31, 28, 0.25);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s, color 0.2s, opacity 0.2s, border-color 0.2s;
	line-height: 1;
}
.bbcn .bbcn-arrow:hover,
.bbcn .bbcn-arrow:focus-visible {
	background: var(--bbcn-ink);
	border-color: var(--bbcn-ink);
	color: #fff;
}
.bbcn .bbcn-arrow:focus-visible {
	outline: 2px solid var(--bbcn-ink);
	outline-offset: 2px;
}
.bbcn .bbcn-arrow svg {
	display: block;
	width: 18px;
	height: 18px;
}
[dir="rtl"] .bbcn .bbcn-arrow svg {
	transform: scaleX(-1);
}
.bbcn .bbcn-arrow--prev {
	inset-inline-start: var(--bbcn-arrow-offset);
}
.bbcn .bbcn-arrow--next {
	inset-inline-end: var(--bbcn-arrow-offset);
}
.bbcn .bbcn-arrow.bbcn-arrow--disabled {
	opacity: 0;
	pointer-events: none;
}
.bbcn .bbcn-arrow.bbcn-arrow--lock,
.bbcn:not(.bbcn--ready) .bbcn-arrow {
	display: none;
}
.bbcn-arrows-v-card .bbcn .bbcn-arrow {
	top: 50%;
}
.bbcn-arrows-outside .bbcn .bbcn-stage {
	padding-inline: calc(var(--bbcn-arrow-size) + var(--bbcn-arrow-offset));
}
.bbcn-arrows-outside .bbcn .bbcn-arrow--prev {
	inset-inline-start: 0;
}
.bbcn-arrows-outside .bbcn .bbcn-arrow--next {
	inset-inline-end: 0;
}
.bbcn-arrows-outside .bbcn .bbcn-arrow.bbcn-arrow--disabled,
.bbcn-arrows-bottom .bbcn .bbcn-arrow.bbcn-arrow--disabled {
	opacity: 0.35;
}
.bbcn-arrows-bottom .bbcn .bbcn-stage {
	padding-bottom: calc(var(--bbcn-arrow-size) + 6px);
}
.bbcn-arrows-bottom .bbcn .bbcn-arrow {
	top: auto;
	bottom: 0;
	transform: none;
}
.bbcn-arrows-bottom .bbcn .bbcn-arrow--prev {
	inset-inline-start: calc(50% - var(--bbcn-arrow-size) - 6px);
}
.bbcn-arrows-bottom .bbcn .bbcn-arrow--next {
	inset-inline-end: calc(50% - var(--bbcn-arrow-size) - 6px);
}

/* ================= Pagination ================= */
.bbcn .bbcn-footer {
	margin-top: 2px;
}
.bbcn .bbcn-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--bbcn-dot-size);
}
.bbcn .bbcn-pagination.bbcn-pagination--lock,
.bbcn:not(.bbcn--ready) .bbcn-pagination {
	display: none;
}
.bbcn .bbcn-dot {
	display: block;
	width: var(--bbcn-dot-size);
	height: var(--bbcn-dot-size);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #d9d0ca;
	cursor: pointer;
	transition: width 0.3s, background-color 0.3s;
}
.bbcn .bbcn-dot.bbcn-dot--active {
	width: calc(var(--bbcn-dot-size) * 3.4);
	background: var(--bbcn-ink);
}
.bbcn .bbcn-dot:focus-visible {
	outline: 2px solid var(--bbcn-ink);
	outline-offset: 2px;
}

/* ================= Card ================= */
.bbcn .bbcn-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--bbcn-line);
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(36, 31, 28, 0.04);
	transition: transform var(--bbcn-transition) cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow var(--bbcn-transition), background-color var(--bbcn-transition), border-color var(--bbcn-transition);
}
.bbcn .bbcn-card:hover {
	box-shadow: 0 18px 38px -18px rgba(36, 31, 28, 0.28);
	transform: translateY(-3px);
}
.bbcn .bbcn-card__media {
	position: relative;
	flex: 0 0 auto;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--bbcn-soft);
}
.bbcn .bbcn-card__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transition: transform calc(var(--bbcn-transition) * 2) cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bbcn .bbcn-card:hover .bbcn-card__img {
	transform: scale(1.04);
}
.bbcn .bbcn-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	padding: 20px 22px 22px;
	overflow-wrap: anywhere;
}
.bbcn .bbcn-card__main {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}
.bbcn .bbcn-card__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--bbcn-ink);
	transition: color 0.2s;
}
.bbcn .bbcn-card__subtitle {
	margin: -4px 0 0;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bbcn-warm);
}
.bbcn .bbcn-card__desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--bbcn-muted);
}

/* Badge */
.bbcn .bbcn-badge {
	position: absolute;
	top: var(--bbcn-badge-offset);
	inset-inline-start: var(--bbcn-badge-offset);
	z-index: 2;
	max-width: calc(100% - 2 * var(--bbcn-badge-offset));
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--bbcn-ink);
	box-shadow: 0 2px 10px -4px rgba(36, 31, 28, 0.25);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.bbcn-badge-end .bbcn .bbcn-badge {
	inset-inline-start: auto;
	inset-inline-end: var(--bbcn-badge-offset);
}
.bbcn-badge-center .bbcn .bbcn-badge {
	inset-inline-start: auto;
	left: 50%;
	transform: translateX(-50%);
}
.bbcn .bbcn-card__media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #cfc4bc;
}
.bbcn .bbcn-card__placeholder {
	width: 22%;
	max-width: 72px;
	height: auto;
}

/* Benefits */
.bbcn .bbcn-benefits {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--bbcn-ink);
}
.bbcn .bbcn-benefits__item {
	display: flex;
	align-items: flex-start;
	justify-content: var(--bbcn-justify, flex-start);
	gap: 9px;
	margin: 0;
	padding: 0;
	text-align: start;
}
.bbcn .bbcn-benefits__item::before {
	content: none;
}
.bbcn .bbcn-benefits__icon {
	--bbcn-icon: 11px;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--bbcn-icon) + 8px);
	height: calc(var(--bbcn-icon) + 8px);
	margin-top: 0.1em;
	border-radius: 50%;
	background: var(--bbcn-sage-soft);
	color: var(--bbcn-sage);
	font-size: var(--bbcn-icon);
	line-height: 1;
}
.bbcn .bbcn-benefits__icon svg {
	display: block;
	width: var(--bbcn-icon);
	height: var(--bbcn-icon);
	fill: currentColor;
}
.bbcn .bbcn-benefits__icon > svg[viewBox="0 0 24 24"] {
	fill: none;
}

/* Included products summary */
.bbcn .bbcn-components {
	--bbcn-cthumb: 36px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-top: 2px;
}
.bbcn .bbcn-components__label {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bbcn-muted);
}
.bbcn .bbcn-components__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: var(--bbcn-justify, flex-start);
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bbcn .bbcn-components__chip,
.bbcn .bbcn-components__more {
	margin: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--bbcn-soft);
	color: var(--bbcn-ink);
	font-size: 0.75rem;
	line-height: 1.35;
	max-width: 100%;
}
.bbcn .bbcn-components__more {
	font-weight: 600;
}
.bbcn .bbcn-components--thumbs .bbcn-components__list {
	gap: 0;
}
.bbcn .bbcn-components__thumb {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--bbcn-cthumb);
	height: var(--bbcn-cthumb);
	margin: 0;
	margin-inline-end: -8px;
	overflow: hidden;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--bbcn-soft);
	font-size: 0.8rem;
	font-weight: 600;
}
.bbcn .bbcn-components__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.bbcn .bbcn-components--thumbs .bbcn-components__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--bbcn-cthumb);
	height: var(--bbcn-cthumb);
	border: 2px solid #fff;
	padding: 0 8px;
}

/* Footer: price + buttons (aligned to the bottom when card heights are equal) */
.bbcn .bbcn-card__main:not(:last-child) {
	margin-bottom: 18px;
}
.bbcn .bbcn-card__footer {
	display: flex;
	flex-direction: column;
	margin-top: auto;
	border-top: 0 solid var(--bbcn-line);
}
.bbcn .bbcn-card__footer.has-price {
	padding-top: 16px;
	border-top-width: 1px;
}
.bbcn .bbcn-price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}
.bbcn .bbcn-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0 8px;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--bbcn-ink);
}
.bbcn .bbcn-price del,
.bbcn .bbcn-value del {
	font-size: 0.82em;
	font-weight: 400;
	color: var(--bbcn-muted);
	opacity: 0.85;
}
.bbcn .bbcn-price ins {
	text-decoration: none;
	background: none;
}
.bbcn .bbcn-save {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--bbcn-sage-soft);
	color: var(--bbcn-sage);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
}

/* ================= Buttons ================= */
.bbcn .bbcn-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.bbcn .bbcn-actions__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.bbcn .bbcn-actions__row .bbcn-btn {
	flex: 1 1 0;
	min-width: max-content;
}
.bbcn .bbcn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	margin: 0;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.bbcn .bbcn-btn:focus-visible {
	outline: 2px solid var(--bbcn-ink);
	outline-offset: 2px;
}
.bbcn .bbcn-btn--cart {
	width: 100%;
	background: var(--bbcn-ink);
	border-color: var(--bbcn-ink);
	color: #fff;
}
.bbcn .bbcn-btn--cart:hover,
.bbcn .bbcn-btn--cart:focus-visible {
	background: #000;
	border-color: #000;
	color: #fff;
}
.bbcn .bbcn-btn--howto,
.bbcn .bbcn-btn--details {
	min-height: 40px;
	padding: 8px 14px;
	background: transparent;
	border-color: var(--bbcn-line);
	color: var(--bbcn-ink);
	font-size: 0.82rem;
}
.bbcn .bbcn-btn--howto:hover,
.bbcn .bbcn-btn--howto:focus-visible,
.bbcn .bbcn-btn--details:hover,
.bbcn .bbcn-btn--details:focus-visible {
	background: var(--bbcn-soft);
	border-color: var(--bbcn-ink);
	color: var(--bbcn-ink);
}
.bbcn .bbcn-btn.loading {
	opacity: 0.6;
	pointer-events: none;
}
.bbcn .bbcn-btn.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.bbcn .bbcn-actions .added_to_cart {
	display: block;
	text-align: center;
	font-size: 0.82rem;
	color: var(--bbcn-ink);
	text-decoration: underline;
}

.bbcn-empty {
	padding: 24px;
	border: 1px dashed #c9c0ba;
	text-align: center;
	color: #766c66;
}

/* ================= Popups (native <dialog>: top layer, unaffected by transforms or z-index) ================= */
.bbcn .bbcn-modal {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 24px;
	border: 0;
	background: transparent;
	color: var(--bbcn-ink);
	overflow: hidden;
}
.bbcn .bbcn-modal[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}
.bbcn .bbcn-modal::backdrop {
	background-color: rgba(24, 20, 18, 0.55);
	backdrop-filter: blur(2px);
}
.bbcn .bbcn-modal.bbcn-modal--fallback {
	z-index: 999999;
	background: rgba(24, 20, 18, 0.55);
}
.bbcn .bbcn-modal__box {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 680px;
	max-width: 100%;
	max-height: 100%;
	padding: 34px 36px 30px;
	border-radius: 24px;
	background: var(--bbcn-pop-bg);
	box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.35);
	animation: bbcn-pop 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bbcn .bbcn-modal--details .bbcn-modal__box {
	width: 960px;
}
.bbcn .bbcn-modal__content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	font-size: 0.95rem;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
.bbcn .bbcn-pop {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
.bbcn .bbcn-pop__head {
	flex: 0 0 auto;
	padding: 0 52px 20px 0;
	border-bottom: 1px solid var(--bbcn-line);
}
[dir="rtl"] .bbcn .bbcn-pop__head {
	padding: 0 0 20px 52px;
}
.bbcn .bbcn-pop__eyebrow {
	margin: 0 0 6px;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bbcn-warm);
}
.bbcn .bbcn-modal__title {
	margin: 0;
	font-size: 1.55rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--bbcn-ink);
}
.bbcn .bbcn-pop__subtitle {
	margin: 6px 0 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--bbcn-muted);
}
.bbcn .bbcn-pop__body {
	--bbcn-section-gap: 24px;
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	margin: 0 -8px;
	padding: 0 8px 4px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	color: var(--bbcn-ink);
}
.bbcn .bbcn-pop__body > :first-child {
	margin-top: 22px;
}
.bbcn .bbcn-pop__body > .bbcn-tabs-wrap:first-child {
	margin-top: 0;
	padding-top: 22px;
}
.bbcn .bbcn-pop__intro {
	margin-bottom: calc(var(--bbcn-section-gap) - 10px);
	color: var(--bbcn-muted);
}
.bbcn .bbcn-pop__section + .bbcn-pop__section {
	margin-top: var(--bbcn-section-gap);
}
.bbcn .bbcn-pop__h {
	margin: 0 0 12px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bbcn-muted);
}
.bbcn .bbcn-rich > :first-child {
	margin-top: 0;
}
.bbcn .bbcn-rich > :last-child {
	margin-bottom: 0;
}
.bbcn .bbcn-rich p {
	margin: 0 0 0.75em;
}
.bbcn .bbcn-modal__close {
	position: absolute;
	top: 22px;
	inset-inline-end: 22px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bbcn-soft);
	color: var(--bbcn-ink);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.bbcn .bbcn-modal__close:hover,
.bbcn .bbcn-modal__close:focus-visible {
	background: var(--bbcn-ink);
	color: #fff;
}
.bbcn .bbcn-modal__close:focus-visible {
	outline: 2px solid var(--bbcn-ink);
	outline-offset: 2px;
}
.bbcn .bbcn-modal__close svg {
	width: 18px;
	height: 18px;
}

/* ---------- Routine tabs (segmented control, stays visible while scrolling) ---------- */
.bbcn .bbcn-tabs-wrap {
	position: sticky;
	top: 0;
	z-index: 2;
	margin: 0 0 6px;
	padding: 10px 0 16px;
	background: var(--bbcn-pop-bg);
}
.bbcn .bbcn-tabs {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 4px;
	border-radius: 999px;
	background: var(--bbcn-soft);
}
.bbcn .bbcn-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 1 1 0;
	min-height: 42px;
	margin: 0;
	padding: 9px 16px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--bbcn-muted);
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0.01em;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.bbcn .bbcn-tab:hover {
	background: transparent;
	color: var(--bbcn-ink);
}
.bbcn .bbcn-tab[aria-selected="true"] {
	background: #fff;
	color: var(--bbcn-ink);
	box-shadow: 0 1px 2px rgba(36, 31, 28, 0.08), 0 4px 12px -6px rgba(36, 31, 28, 0.18);
}
.bbcn .bbcn-tab:focus-visible,
.bbcn .bbcn-tabpanel:focus-visible {
	outline: 2px solid var(--bbcn-ink);
	outline-offset: 2px;
}
.bbcn .bbcn-tab__icon {
	display: inline-flex;
}
.bbcn .bbcn-tab__icon:empty {
	display: none;
}
.bbcn .bbcn-tab svg,
.bbcn .bbcn-routine__title svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
}
.bbcn .bbcn-tabpanel {
	animation: bbcn-fade 0.25s ease-out;
}
.bbcn .bbcn-routine__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--bbcn-ink);
}

/* ---------- Numbered step cards with a vertical progression line ---------- */
.bbcn .bbcn-steps {
	--bbcn-num: 40px;
	--bbcn-step-gap: 14px;
	--bbcn-step-img: 68px;
	--bbcn-line-color: var(--bbcn-line);
	display: grid;
	gap: var(--bbcn-step-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.bbcn .bbcn-step {
	position: relative;
	display: grid;
	grid-template-columns: var(--bbcn-num) minmax(0, 1fr);
	column-gap: 16px;
	margin: 0;
	padding: 0;
}
.bbcn .bbcn-step::before,
.bbcn .bbcn-step::marker {
	content: none;
}
.bbcn .bbcn-step__marker {
	position: relative;
	padding-top: 12px;
}
.bbcn .bbcn-step:not(:last-child) .bbcn-step__marker::after {
	content: "";
	position: absolute;
	top: calc(12px + var(--bbcn-num) + 6px);
	bottom: calc(6px - var(--bbcn-step-gap) - 12px);
	left: calc(var(--bbcn-num) / 2 - 0.5px);
	width: 1px;
	background: var(--bbcn-line-color);
}
.bbcn .bbcn-step__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--bbcn-num);
	height: var(--bbcn-num);
	border: 1px solid var(--bbcn-line);
	border-radius: 50%;
	background: #fff;
	color: var(--bbcn-ink);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}
.bbcn .bbcn-step__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	min-width: 0;
	padding: 16px 18px;
	border: 1px solid var(--bbcn-line);
	border-radius: 16px;
	background: #fcfaf8;
}
.bbcn .bbcn-step__card.has-media {
	grid-template-columns: var(--bbcn-step-img) minmax(0, 1fr);
}
.bbcn .bbcn-step__media {
	width: var(--bbcn-step-img);
	height: var(--bbcn-step-img);
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--bbcn-line);
}
.bbcn .bbcn-step__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.bbcn .bbcn-step__text {
	min-width: 0;
}
.bbcn .bbcn-step__product {
	margin: 0 0 3px;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bbcn-warm);
}
.bbcn .bbcn-step__title {
	margin: 0 0 4px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--bbcn-ink);
}
.bbcn .bbcn-step__desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--bbcn-muted);
}
.bbcn .bbcn-step__tip {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f4eee8;
	color: var(--bbcn-ink);
	font-size: 0.84rem;
	line-height: 1.5;
}
.bbcn .bbcn-step__tip-label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 700;
	color: #8a6548;
}
.bbcn .bbcn-step__tip-label svg {
	width: 15px;
	height: 15px;
	align-self: center;
}

/* ---------- Details popup ---------- */
.bbcn .bbcn-details {
	--bbcn-gallery-w: 46%;
	display: block;
}
.bbcn .bbcn-details.has-gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}
@media (min-width: 768px) {
	.bbcn .bbcn-details.has-gallery {
		grid-template-columns: minmax(0, var(--bbcn-gallery-w)) minmax(0, 1fr);
		column-gap: 36px;
	}
	.bbcn .bbcn-gallery {
		position: sticky;
		top: 0;
		align-self: start;
	}
}
.bbcn .bbcn-gallery__main {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 18px;
	background: var(--bbcn-soft);
}
.bbcn .bbcn-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	animation: bbcn-fade 0.3s ease-out;
}
.bbcn .bbcn-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}
.bbcn .bbcn-thumb {
	width: 64px;
	height: 64px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 12px;
	background: var(--bbcn-soft);
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 0.2s, border-color 0.2s;
}
.bbcn .bbcn-thumb:hover,
.bbcn .bbcn-thumb[aria-pressed="true"] {
	opacity: 1;
}
.bbcn .bbcn-thumb[aria-pressed="true"] {
	border-color: var(--bbcn-ink);
}
.bbcn .bbcn-thumb:focus-visible {
	outline: 2px solid var(--bbcn-ink);
	outline-offset: 2px;
}
.bbcn .bbcn-thumb__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.bbcn .bbcn-details__info {
	min-width: 0;
}
.bbcn .bbcn-details .bbcn-rich {
	color: var(--bbcn-muted);
}
.bbcn .bbcn-dbenefits {
	display: grid;
	gap: 9px;
	margin: 0;
	font-size: 0.9rem;
}
.bbcn .bbcn-dbenefits .bbcn-benefits__item {
	justify-content: flex-start;
}
.bbcn .bbcn-comp-list {
	--bbcn-comp-img: 56px;
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bbcn .bbcn-comp {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--bbcn-line);
}
.bbcn .bbcn-comp:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}
.bbcn .bbcn-comp__media {
	flex: 0 0 var(--bbcn-comp-img);
	width: var(--bbcn-comp-img);
	height: var(--bbcn-comp-img);
	overflow: hidden;
	border-radius: 12px;
	background: var(--bbcn-soft);
}
.bbcn .bbcn-comp__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.bbcn .bbcn-comp__text {
	display: grid;
	gap: 3px;
	min-width: 0;
}
.bbcn .bbcn-comp__name {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--bbcn-ink);
}
.bbcn .bbcn-comp__desc,
.bbcn .bbcn-comp__usage {
	font-size: 0.86rem;
	line-height: 1.55;
	color: var(--bbcn-muted);
}
.bbcn .bbcn-comp__usage em {
	font-style: normal;
	font-weight: 600;
	color: var(--bbcn-ink);
}

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
	.bbcn .bbcn-modal {
		padding: 10px;
	}
	.bbcn .bbcn-modal__box {
		padding: 24px 18px 18px;
		border-radius: 20px;
	}
	.bbcn .bbcn-modal__close {
		top: 14px;
		inset-inline-end: 14px;
		width: 36px;
		height: 36px;
	}
	.bbcn .bbcn-modal__title {
		font-size: 1.3rem;
	}
	.bbcn .bbcn-pop__head {
		padding-inline-end: 44px;
		padding-bottom: 16px;
	}
	.bbcn .bbcn-pop__body > :first-child {
		margin-top: 18px;
	}
	.bbcn .bbcn-pop__body > .bbcn-tabs-wrap:first-child {
		margin-top: 0;
		padding-top: 18px;
	}
	.bbcn .bbcn-tab {
		padding: 9px 10px;
		font-size: 0.82rem;
	}
	.bbcn .bbcn-steps {
		--bbcn-num: 32px;
		--bbcn-step-img: 52px;
	}
	.bbcn .bbcn-step {
		column-gap: 10px;
	}
	.bbcn .bbcn-step__marker {
		padding-top: 14px;
	}
	.bbcn .bbcn-step:not(:last-child) .bbcn-step__marker::after {
		top: calc(14px + var(--bbcn-num) + 6px);
		bottom: calc(6px - var(--bbcn-step-gap) - 14px);
	}
	.bbcn .bbcn-step__card {
		padding: 14px;
		gap: 12px;
	}
}

@keyframes bbcn-pop {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes bbcn-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bbcn .bbcn-card,
	.bbcn .bbcn-card__img,
	.bbcn .bbcn-dot,
	.bbcn .bbcn-btn {
		transition: none;
	}
	.bbcn .bbcn-card:hover,
	.bbcn .bbcn-card:hover .bbcn-card__img {
		transform: none;
	}
	.bbcn .bbcn-modal__box,
	.bbcn .bbcn-tabpanel,
	.bbcn .bbcn-gallery__img {
		animation: none;
	}
}
