:root {
	--debc-pink: #daacaf;
	--debc-pink-soft: #fbf3f4;
	--debc-teal: #40c3b1;
	--debc-grey: #818c8e;
	--debc-text: #596164;
	--debc-white: #ffffff;
	--debc-silver: #e8e8e6;
	--debc-gold: #c9b27d;
	--debc-border: rgba(218, 172, 175, .34);
	--debc-shadow: 0 10px 30px rgba(82, 90, 92, .06);
}

.debc-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--debc-white);
	border: 1px solid var(--debc-border);
	border-radius: 18px;
	box-shadow: var(--debc-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}

.debc-product-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--debc-pink), transparent);
	z-index: 4;
}

.debc-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 38px rgba(82, 90, 92, .09);
}

.debc-product-card__visual-wrap {
	position: relative;
}

.debc-product-card__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 235px;
	padding: 28px;
	text-decoration: none !important;
}

.debc-product-card--image-auto .debc-product-card__visual {
	background: linear-gradient(145deg, #fff 30%, var(--debc-pink-soft) 100%);
}

.debc-product-card--image-white .debc-product-card__visual {
	background: var(--debc-white);
}

.debc-product-card--image-pink .debc-product-card__visual {
	background: var(--debc-pink-soft);
}

.debc-product-card--image-transparent .debc-product-card__visual {
	background: transparent;
}

.debc-product-card__image {
	display: block;
	width: 100%;
	max-width: 190px;
	height: 190px;
	object-fit: contain;
	transition: transform .3s ease;
}

.debc-product-card--image-blend .debc-product-card__image {
	mix-blend-mode: multiply;
}

.debc-product-card:hover .debc-product-card__image {
	transform: scale(1.018);
}

.debc-product-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 24px 25px 26px;
}

.debc-product-card__role {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	margin: 0 0 16px;
	color: var(--debc-grey);
	font-family: Poppins, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .075em;
	text-transform: uppercase;
}

.debc-product-card__role-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--debc-teal);
	background: var(--debc-white);
	border: 1px solid rgba(218, 172, 175, .68);
	border-radius: 50%;
	box-shadow: 0 3px 10px rgba(82, 90, 92, .04);
}

.debc-product-card__role-icon svg {
	width: 19px;
	height: 19px;
}

.debc-product-card__recommendation {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin: 0 0 14px;
	padding: 5px 10px 5px 7px;
	color: var(--debc-grey);
	background: rgba(251, 243, 244, .92);
	border: 1px solid rgba(218, 172, 175, .42);
	border-radius: 999px;
	font-family: Poppins, sans-serif;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.2;
}

.debc-product-card__recommendation-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 18px;
}

.debc-product-card__recommendation-icon svg {
	max-width: 28px;
	max-height: 18px;
}

.debc-product-card__brand {
	margin: 0 0 6px;
	color: var(--debc-grey);
	font-family: Poppins, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .03em;
}

.debc-product-card__title {
	margin: 0 0 12px;
	color: var(--debc-text);
	font-family: Poppins, sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.35;
}

.debc-product-card__description {
	margin: 0 0 20px;
	color: var(--debc-grey);
	font-size: 14px;
	line-height: 1.72;
}

.debc-product-card__description p {
	margin: 0;
}

.debc-product-card__price {
	margin: 0 0 12px;
	color: var(--debc-text);
	font-family: Poppins, sans-serif;
	font-size: 15px;
	font-weight: 600;
}

.debc-product-card__price del {
	margin-right: 8px;
	color: #a8adae;
	font-size: 13px;
	font-weight: 400;
}

.debc-product-card__price ins {
	color: var(--debc-pink);
	text-decoration: none;
}

.debc-product-card__stock {
	margin: 0 0 12px;
	color: var(--debc-grey);
	font-size: 12px;
}

.debc-product-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	align-self: flex-start;
	min-height: 36px;
	margin-top: auto;
	padding: 7px 14px;
	border-radius: 999px;
	font-family: Poppins, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
	transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.debc-product-card__cta--text {
	min-height: auto;
	padding: 0;
	color: var(--debc-pink) !important;
	background: transparent;
	border: 0;
}

.debc-product-card__cta--text:hover {
	color: var(--debc-teal) !important;
}

.debc-product-card__cta--outline {
	color: var(--debc-pink) !important;
	background: transparent;
	border: 1px solid var(--debc-pink);
}

.debc-product-card__cta--outline:hover {
	color: var(--debc-white) !important;
	background: var(--debc-pink);
}

.debc-product-card__cta--filled {
	color: var(--debc-white) !important;
	background: var(--debc-pink);
	border: 1px solid var(--debc-pink);
}

.debc-product-card__cta--filled:hover {
	background: var(--debc-teal);
	border-color: var(--debc-teal);
}

.debc-product-card__cta-icon {
	display: inline-flex;
	width: 14px;
	height: 14px;
	transition: transform .2s ease;
}

.debc-product-card__cta-icon svg {
	width: 14px;
	height: 14px;
}

.debc-product-card__cta:hover .debc-product-card__cta-icon {
	transform: translateX(2px);
}

.debc-product-card__promo {
	position: absolute;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 31px;
	max-width: calc(100% - 32px);
	padding: 6px 11px;
	color: var(--debc-white);
	background: var(--debc-pink);
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 999px;
	box-shadow: 0 5px 16px rgba(82, 90, 92, .10);
	font-family: Poppins, sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: .02em;
	text-align: center;
}

.debc-product-card__promo--top-left {
	top: 16px;
	left: 16px;
}

.debc-product-card__promo--top-right {
	top: 16px;
	right: 16px;
}

.debc-product-card__promo--bottom-left {
	bottom: 16px;
	left: 16px;
}

.debc-product-card__promo--bottom-right {
	right: 16px;
	bottom: 16px;
}

.debc-product-card--compact .debc-product-card__visual {
	min-height: 180px;
	padding: 20px;
}

.debc-product-card--compact .debc-product-card__image {
	max-width: 145px;
	height: 145px;
}

.debc-product-card--compact .debc-product-card__body {
	padding: 19px 20px 21px;
}

.debc-product-card--compact .debc-product-card__title {
	font-size: 17px;
}

.debc-product-card--large .debc-product-card__visual {
	min-height: 290px;
}

.debc-product-card--large .debc-product-card__image {
	max-width: 235px;
	height: 235px;
}

.debc-product-card--large .debc-product-card__body {
	padding: 28px 30px 31px;
}

.debc-product-card--large .debc-product-card__title {
	font-size: 23px;
}

.debc-product-card__admin-notice {
	padding: 12px 14px;
	border: 1px solid #efc9c9;
	border-radius: 10px;
	background: #fff6f6;
	color: #8b4c4c;
	font-size: 13px;
}

@media (max-width: 767px) {
	.debc-product-card {
		border-radius: 15px;
	}

	.debc-product-card__visual {
		min-height: 205px;
		padding: 22px;
	}

	.debc-product-card__image {
		max-width: 165px;
		height: 165px;
	}

	.debc-product-card__body {
		padding: 21px 20px 23px;
	}

	.debc-product-card__title {
		font-size: 18px;
	}

	.debc-product-card__cta {
		min-height: 34px;
		padding: 6px 12px;
		font-size: 11.5px;
	}
}


/* =========================================================
   DEBC ROUTINE / PROTOCOL LIST
   ========================================================= */

.debc-routine {
	counter-reset: debc-routine-step;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--debc-border);
	border-radius: 18px;
	box-shadow: var(--debc-shadow);
}

.debc-routine__header {
	padding: 26px 28px 22px;
	border-bottom: 1px solid var(--debc-silver);
	background: linear-gradient(135deg, #fff 45%, var(--debc-pink-soft) 100%);
}

.debc-routine__eyebrow {
	margin: 0 0 7px;
	color: var(--debc-pink);
	font-family: Poppins, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.debc-routine__title {
	margin: 0;
	color: var(--debc-text);
	font-family: Poppins, sans-serif;
	font-size: 23px;
	font-weight: 500;
	line-height: 1.3;
}

.debc-routine__subtitle {
	max-width: 760px;
	margin-top: 9px;
	color: var(--debc-grey);
	font-size: 14px;
	line-height: 1.65;
}

.debc-routine__subtitle p {
	margin: 0;
}

.debc-routine-item {
	counter-increment: debc-routine-step;
	position: relative;
	border-bottom: 1px solid var(--debc-silver);
}

.debc-routine-item:last-child {
	border-bottom: 0;
}

.debc-routine-item__toggle {
	position: relative;
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 58px 24px;
	align-items: center;
	gap: 13px;
	width: 100%;
	min-height: 94px;
	padding: 13px 20px 13px 17px;
	color: inherit;
	background: #fff;
	border: 0;
	cursor: pointer;
	text-align: left;
	transition: background .2s ease;
}

.debc-routine-item:first-child .debc-routine-item__toggle {
	background: linear-gradient(90deg, var(--debc-pink-soft), #fff);
}

.debc-routine-item__toggle:hover,
.debc-routine-item.is-open .debc-routine-item__toggle {
	background: var(--debc-pink-soft);
}

.debc-routine-item__timeline {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
}

.debc-routine-item__timeline::after {
	content: "";
	position: absolute;
	top: 48px;
	left: 50%;
	width: 1px;
	height: 47px;
	background: repeating-linear-gradient(
		to bottom,
		rgba(218, 172, 175, .8) 0,
		rgba(218, 172, 175, .8) 4px,
		transparent 4px,
		transparent 8px
	);
	transform: translateX(-50%);
}

.debc-routine-item:last-child .debc-routine-item__timeline::after {
	display: none;
}

.debc-routine-item__role-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--debc-teal);
	background: #fff;
	border: 1px solid rgba(218, 172, 175, .58);
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(82, 90, 92, .06);
}

.debc-routine-item__role-icon svg {
	width: 23px;
	height: 23px;
}

.debc-routine-item__number::before {
	content: counter(debc-routine-step, decimal-leading-zero);
	position: absolute;
	top: -8px;
	right: -5px;
	z-index: 2;
	min-width: 21px;
	padding: 2px 4px;
	color: var(--debc-pink);
	background: #fff;
	border-radius: 999px;
	font-family: Poppins, sans-serif;
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
}

.debc-routine[data-show-numbers="no"] .debc-routine-item__number {
	display: none;
}

.debc-routine-item__summary {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.debc-routine-item__role {
	margin-bottom: 3px;
	color: var(--debc-pink);
	font-family: Poppins, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .065em;
	text-transform: uppercase;
}

.debc-routine-item__name {
	overflow: hidden;
	color: var(--debc-text);
	font-family: Poppins, sans-serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.debc-routine-item__thumb {
	display: block;
	width: 52px;
	height: 62px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.debc-routine-item__chevron {
	color: var(--debc-grey);
	font-size: 23px;
	font-weight: 300;
	line-height: 1;
	transform: rotate(-90deg);
	transition: transform .25s ease, color .2s ease;
}

.debc-routine-item.is-open .debc-routine-item__chevron {
	color: var(--debc-pink);
	transform: rotate(0deg);
}

.debc-routine-item__panel {
	background: #fcfbfb;
}

.debc-routine-item__panel[hidden] {
	display: none;
}

.debc-routine-item__panel-inner {
	max-width: 440px;
	padding: 5px 24px 28px 88px;
}

.debc-routine-item__panel .debc-product-card {
	box-shadow: none;
}

@media (max-width: 767px) {
	.debc-routine {
		border-radius: 15px;
	}

	.debc-routine__header {
		padding: 21px 20px 18px;
	}

	.debc-routine__title {
		font-size: 20px;
	}

	.debc-routine-item__toggle {
		grid-template-columns: 50px minmax(0, 1fr) 47px 18px;
		gap: 10px;
		min-height: 82px;
		padding: 10px 14px 10px 11px;
	}

	.debc-routine-item__timeline {
		width: 42px;
		height: 42px;
	}

	.debc-routine-item__role-icon {
		width: 39px;
		height: 39px;
	}

	.debc-routine-item__role-icon svg {
		width: 20px;
		height: 20px;
	}

	.debc-routine-item__timeline::after {
		top: 42px;
		height: 40px;
	}

	.debc-routine-item__name {
		font-size: 15px;
	}

	.debc-routine-item__thumb {
		width: 43px;
		height: 52px;
	}

	.debc-routine-item__panel-inner {
		max-width: none;
		padding: 4px 12px 20px;
	}

	.debc-routine--mobile-closed .debc-routine-item.is-open .debc-routine-item__panel {
		/* JS induláskor bezárja; ez csak villanáscsökkentés. */
	}
}
