/* =========================================================
   DWK – Mijn Smaak + Wine Match Frontend
   Pad: /assets/css/dwk-my-taste-frontend.css
   ========================================================= */

.dwk-my-taste-page {
	max-width: 940px;
	margin: 0 auto;
}

.dwk-my-taste-page__intro {
	max-width: 940px;
	margin: 18px auto 24px;
}

.dwk-my-taste-onboarding {
	max-width: 940px;
	margin: 18px auto 24px;
	display: grid;
	gap: 20px;
}

.dwk-my-taste-onboarding__hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at top right, rgba(122, 34, 50, 0.08), transparent 34%),
		linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
}

.dwk-my-taste-onboarding__eyebrow {
	margin-bottom: 10px;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8b7d6f;
}

.dwk-my-taste-onboarding__title {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.02;
	font-weight: 800;
	color: #1f2937;
	max-width: 12ch;
}

.dwk-my-taste-onboarding__lead {
	margin: 0;
	max-width: 760px;
	font-size: 1.04rem;
	line-height: 1.75;
	color: #4b5563;
}

.dwk-my-taste-onboarding__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.dwk-my-taste-onboarding__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.dwk-my-taste-onboarding__card {
	padding: 22px;
}

.dwk-my-taste-onboarding__card-label {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	margin-bottom: 12px;
	border-radius: 999px;
	background: #f6efe6;
	color: #7a2232;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dwk-my-taste-onboarding__card h3 {
	margin: 0 0 10px;
	font-size: 1.12rem;
	line-height: 1.25;
	font-weight: 800;
	color: #1f2937;
}

.dwk-my-taste-onboarding__card p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.7;
	color: #6b7280;
}

.dwk-my-taste-form-wrap,
.dwk-match-results-wrap {
	max-width: 940px;
	margin: 0 auto 32px;
}

.dwk-taste-card {
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 22px;
	padding: 28px;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.dwk-taste-card__head {
	margin-bottom: 22px;
}

.dwk-taste-hero {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.dwk-taste-hero__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dwk-taste-hero__media:hover {
	transform: translateY(-2px);
}

.dwk-taste-hero__media img {
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid rgba(122, 34, 50, 0.08);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.dwk-taste-hero__content {
	min-width: 0;
}

.dwk-taste-hero__content .dwk-taste-subtitle {
	max-width: none;
}

.dwk-taste-title {
	margin: 0 0 8px;
	font-size: clamp(1.6rem, 2vw, 2rem);
	line-height: 1.15;
	font-weight: 700;
	color: #1f2937;
}

.dwk-taste-subtitle {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: #6b7280;
	max-width: 760px;
}

.dwk-taste-subtitle--intro {
	margin-bottom: 8px;
	color: #374151;
}

.dwk-taste-notice {
	margin: 0 0 18px;
	padding: 16px 18px;
	border-radius: 16px;
	line-height: 1.6;
}

.dwk-taste-notice p {
	margin: 0 0 10px;
}

.dwk-taste-notice p:last-child {
	margin-bottom: 0;
}

.dwk-taste-notice--warning {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
}

.dwk-my-taste-form {
	display: block;
}

.dwk-taste-type-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 20px;
}

.dwk-taste-type-tab {
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid rgba(17, 24, 39, 0.1);
	background: #f6f1ea;
	color: #4b5563;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dwk-taste-type-tab:hover {
	transform: translateY(-1px);
}

.dwk-taste-type-tab.is-active {
	background: #7a2232;
	color: #ffffff;
	border-color: #7a2232;
	box-shadow: 0 10px 22px rgba(122, 34, 50, 0.18);
}

.dwk-taste-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.dwk-taste-field {
	background: linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
	border: 1px solid rgba(122, 34, 50, 0.08);
	border-radius: 18px;
	padding: 18px 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 142px;
}

.dwk-taste-field--full {
	margin-top: 18px;
	min-height: auto;
}

.dwk-taste-label {
	display: block;
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1f2937;
}

.dwk-range-input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, #d9cfc2 0%, #7a2232 100%);
	outline: none;
	margin: 6px 0 2px;
}

.dwk-range-input::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, #d9cfc2 0%, #7a2232 100%);
}

.dwk-range-input::-moz-range-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, #d9cfc2 0%, #7a2232 100%);
	border: none;
}

.dwk-range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ffffff;
	border: 3px solid #7a2232;
	box-shadow: 0 4px 10px rgba(122, 34, 50, 0.22);
	cursor: pointer;
	margin-top: -7px;
}

.dwk-range-input::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ffffff;
	border: 3px solid #7a2232;
	box-shadow: 0 4px 10px rgba(122, 34, 50, 0.22);
	cursor: pointer;
}

.dwk-range-meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.dwk-range-help {
	display: block;
	font-size: 0.94rem;
	line-height: 1.55;
	color: #6b7280;
	max-width: calc(100% - 52px);
}

.dwk-range-value {
	flex: 0 0 auto;
	min-width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #7a2232;
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(122, 34, 50, 0.22);
}

#dwk-notes {
	width: 100%;
	min-height: 132px;
	padding: 16px 18px;
	border: 1px solid rgba(17, 24, 39, 0.12);
	border-radius: 16px;
	background: #ffffff;
	font: inherit;
	font-size: 1rem;
	line-height: 1.6;
	color: #1f2937;
	resize: vertical;
	box-sizing: border-box;
}

#dwk-notes:focus,
.dwk-range-input:focus {
	outline: none;
}

#dwk-notes:focus {
	border-color: rgba(122, 34, 50, 0.4);
	box-shadow: 0 0 0 4px rgba(122, 34, 50, 0.08);
}

.dwk-taste-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

.dwk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	font-size: 0.98rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

@media (max-width: 640px) {
	.dwk-my-taste-onboarding__title {
		max-width: none;
	}

	.dwk-my-taste-onboarding__grid {
		grid-template-columns: 1fr;
	}

	.dwk-taste-hero {
		grid-template-columns: 1fr;
		justify-items: start;
	}

	.dwk-taste-hero__media,
	.dwk-taste-hero__media img {
		width: 84px;
		height: 84px;
	}
}

.dwk-btn:hover {
	transform: translateY(-1px);
}

.dwk-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.dwk-btn--primary {
	background: #7a2232;
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(122, 34, 50, 0.22);
}

.dwk-btn--secondary {
	background: #f3efe8;
	color: #1f2937;
	border: 1px solid rgba(17, 24, 39, 0.08);
}

.dwk-taste-status {
	min-height: 24px;
	margin-top: 14px;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.5;
}

.dwk-taste-status.is-success {
	color: #166534;
}

.dwk-taste-status.is-error {
	color: #b91c1c;
}

.dwk-taste-status.is-loading {
	color: #6b7280;
}

.dwk-taste-next-step {
	margin-top: 18px;
	padding: 20px 22px;
	border: 1px solid rgba(122, 34, 50, 0.12);
	border-radius: 18px;
	background:
		radial-gradient(circle at top right, rgba(122, 34, 50, 0.08), transparent 36%),
		linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
	box-shadow: 0 12px 28px rgba(122, 34, 50, 0.08);
}

.dwk-taste-next-step__eyebrow {
	margin-bottom: 8px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8b7d6f;
}

.dwk-taste-next-step h3 {
	margin: 0 0 10px;
	font-size: 1.24rem;
	line-height: 1.2;
	font-weight: 800;
	color: #1f2937;
}

.dwk-taste-next-step p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.7;
	color: #4b5563;
	max-width: 700px;
}

.dwk-taste-next-step__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.dwk-taste-next-step__benefits {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.dwk-taste-next-step__benefits li {
	position: relative;
	padding-left: 18px;
	font-size: 0.94rem;
	line-height: 1.65;
	color: #5b4637;
}

.dwk-taste-next-step__benefits li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #7a2232;
	transform: translateY(-50%);
}

.dwk-match-results {
	margin-top: 6px;
}

.dwk-match-groups {
	display: grid;
	gap: 24px;
}

.dwk-match-group {
	padding: 18px 18px 8px;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 20px;
	background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
}

.dwk-match-group__head {
	margin-bottom: 16px;
}

.dwk-match-group__eyebrow {
	margin-bottom: 6px;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8b7d6f;
}

.dwk-match-group__title {
	margin: 0 0 6px;
	font-size: 1.4rem;
	line-height: 1.2;
	font-weight: 800;
	color: #1f2937;
}

.dwk-match-group__intro {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.6;
	color: #6b7280;
}

.dwk-match-group__lead {
	margin: 8px 0 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #374151;
	max-width: 720px;
}

.dwk-match-placeholder {
	padding: 22px;
	border: 1px dashed rgba(17, 24, 39, 0.14);
	border-radius: 18px;
	background: #faf7f2;
	color: #6b7280;
	line-height: 1.65;
}

.dwk-match-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.dwk-match-card {
	height: 100%;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 18px;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dwk-match-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.dwk-match-card--top {
	border-color: rgba(122, 34, 50, 0.18);
	box-shadow: 0 14px 34px rgba(122, 34, 50, 0.12);
}

.dwk-match-card__media {
	aspect-ratio: 5 / 3;
	background: linear-gradient(180deg, #faf7f2 0%, #f4eee5 100%);
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.dwk-match-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	padding: 10px;
}

.dwk-match-card__inner {
	padding: 20px;
	display: grid;
	gap: 12px;
	height: 100%;
}

.dwk-match-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dwk-match-card__badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.dwk-match-card__badge--trusted {
	background: #64748b;
	color: #ffffff;
}

.dwk-match-card__badge--review {
	background: #7a2232;
	color: #ffffff;
}

.dwk-match-card__badge--top {
	background: #ead9bf;
	color: #5f3d00;
}

.dwk-match-card__title {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.35;
	font-weight: 700;
	color: #1f2937;
}

.dwk-match-card__title a {
	color: inherit;
	text-decoration: none;
}

.dwk-match-card__title a:hover {
	color: #7a2232;
}

.dwk-match-card__meta {
	font-size: 0.9rem;
	line-height: 1.55;
	color: #6b7280;
}

.dwk-match-card__details {
	font-size: 0.94rem;
	line-height: 1.5;
	color: #374151;
	font-weight: 600;
}

.dwk-match-card__scorebox {
	display: inline-grid;
	justify-self: start;
	align-items: center;
	padding: 12px 14px;
	border-radius: 16px;
	background: #faf7f2;
	border: 1px solid rgba(17, 24, 39, 0.08);
}

.dwk-match-card__scorevalue {
	font-size: 1.5rem;
	line-height: 1;
	font-weight: 800;
	color: #1f2937;
}

.dwk-match-card__scorelabel {
	margin-top: 4px;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7c6f61;
}

.dwk-match-card__confidence,
.dwk-match-card__source {
	font-size: 0.83rem;
	line-height: 1.45;
	color: #8a8175;
}

.dwk-match-card__why {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.7;
	color: #374151;
}

.dwk-match-card__excerpt {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.7;
	color: #6b7280;
}

.dwk-match-card__footer {
	margin-top: auto;
	padding-top: 8px;
}

.dwk-match-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	background: #7a2232;
	color: #f8f5ef;
	text-decoration: none;
	font-size: 0.84rem;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(122, 34, 50, 0.18);
}

.dwk-match-card__cta:hover {
	background: #5f1a27;
	color: #ffffff;
}

@media (max-width: 1024px) {
	.dwk-taste-grid,
	.dwk-match-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.dwk-match-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.dwk-my-taste-page,
	.dwk-my-taste-page__intro,
	.dwk-my-taste-form-wrap,
	.dwk-match-results-wrap {
		max-width: 100%;
	}

	.dwk-taste-card {
		padding: 20px;
		border-radius: 18px;
	}

	.dwk-taste-grid,
	.dwk-match-grid {
		grid-template-columns: 1fr;
	}

	.dwk-match-group {
		padding: 16px 16px 6px;
	}

	.dwk-range-meta {
		flex-direction: column;
		align-items: flex-start;
	}

	.dwk-range-help {
		max-width: 100%;
	}

	.dwk-taste-actions {
		flex-direction: column;
	}

	.dwk-taste-next-step__actions {
		flex-direction: column;
	}

	.dwk-btn {
		width: 100%;
	}
}
