/* Option « Ajouter la tasse » sur la fiche d'un thé (includes/cups.php). */

.tcb-cupopt {
	display: flex;
	flex-basis: 100%;
	align-items: center;
	gap: 1rem;
	width: 100%;
	margin: 0 0 0.4rem;
	padding: 0.7rem 1rem 0.7rem 0.7rem;
	border: 1px solid var( --tc-sage-pale, #cde2dd );
	border-radius: 16px;
	background: #fff;
	text-align: left;
}

.tcb-cupopt__media {
	flex: none;
	width: 110px;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 12px;
	background: #f6f4f0;
}

.tcb-cupopt__media video,
.tcb-cupopt__media img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.tcb-cupopt__label {
	display: flex;
	flex: 1;
	align-items: flex-start;
	gap: 0.7rem;
	min-width: 0;
	margin: 0;
	cursor: pointer;
}

.tcb-cupopt__label input {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0.2rem 0 0;
	accent-color: var( --tc-sage-deep, #0e6b6e );
	cursor: pointer;
}

.tcb-cupopt__text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	line-height: 1.35;
}

.tcb-cupopt__title {
	color: var( --tc-title, #1d1714 );
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 600;
	font-size: 1.05rem;
}

.tcb-cupopt__price {
	color: var( --tc-sage-deep, #0e6b6e );
	font-weight: 600;
	font-size: 0.95rem;
}

.tcb-cupopt__hint {
	color: var( --tc-ink, #2e2623 );
	font-size: 0.85rem;
	opacity: 0.75;
}

.tcb-cupopt:has( input:checked ) {
	border-color: var( --tc-sage-deep, #0e6b6e );
	box-shadow: 0 0 0 1px var( --tc-sage-deep, #0e6b6e );
}

@media ( max-width: 480px ) {
	.tcb-cupopt__media {
		width: 88px;
	}
}
