/* Hypno Séances — affichage public */

.hs-grid {
	display: grid;
	gap: 24px;
	margin: 24px 0;
}
.hs-cols-1 { grid-template-columns: 1fr; }
.hs-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hs-cols-3 { grid-template-columns: repeat(3, 1fr); }
.hs-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
	.hs-cols-3, .hs-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.hs-grid { grid-template-columns: 1fr !important; }
}

.hs-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eae7e1;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
	transition: transform .15s ease, box-shadow .15s ease;
}
.hs-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .09);
}

.hs-card-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: #f5f2ec;
	overflow: hidden;
}
.hs-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hs-noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 42px;
	opacity: .5;
}
.hs-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(0, 0, 0, .65);
	color: #fff;
	font-size: 12px;
	padding: 4px 9px;
	border-radius: 999px;
}
.hs-badge.hs-owned,
.hs-badge.hs-expired {
	left: auto;
	right: 10px;
}
.hs-badge.hs-owned { background: #2f7d32; }
.hs-badge.hs-expired { background: #9a6a1e; }

.hs-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
}
.hs-card-title {
	margin: 0;
	font-size: 19px;
	line-height: 1.3;
}
.hs-card-title a {
	text-decoration: none;
	color: inherit;
}
.hs-card-excerpt {
	color: #6b6b6b;
	font-size: 14px;
	line-height: 1.5;
	flex: 1;
}
.hs-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}
.hs-price {
	font-weight: 700;
	font-size: 18px;
	color: #1f1f1f;
}
.hs-access {
	font-size: 13px;
	color: #8a7a5c;
	background: #f6f1e7;
	padding: 3px 9px;
	border-radius: 999px;
}
.hs-btn {
	display: inline-block;
	text-align: center;
	background: #6c4f9c;
	color: #fff;
	text-decoration: none;
	padding: 11px 16px;
	border-radius: 10px;
	font-weight: 600;
	transition: background .15s ease;
}
.hs-btn:hover {
	background: #583f80;
	color: #fff;
}

.hs-empty {
	padding: 20px;
	background: #f6f1e7;
	border-radius: 10px;
	text-align: center;
	color: #6b6b6b;
}

.hs-single-buy {
	margin-top: 24px;
	padding: 18px 20px;
	border: 1px solid #eae7e1;
	border-radius: 14px;
	background: #faf8f4;
}
.hs-single-info {
	display: flex;
	gap: 14px;
	align-items: center;
	flex-wrap: wrap;
}
.hs-single-info .hs-type {
	font-size: 13px;
	color: #6b6b6b;
}
.hs-soon {
	margin: 10px 0 0;
	color: #8a7a5c;
	font-size: 14px;
}

/* --- Espace client --- */
.hs-account { max-width: 980px; margin: 0 auto; }
.hs-auth { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .hs-auth { grid-template-columns: 1fr; } }
.hs-panel { border: 1px solid #eae7e1; border-radius: 12px; padding: 22px; background: #fff; }
.hs-panel h3 { margin-top: 0; }
.hs-field-row { margin: 0 0 14px; }
.hs-field-row > label { display: block; font-weight: 600; margin-bottom: 4px; }
.hs-field-row input[type="text"],
.hs-field-row input[type="email"],
.hs-field-row input[type="password"] { width: 100%; padding: 10px 12px; border: 1px solid #cfcac1; border-radius: 8px; }
.hs-lost { margin-top: 12px; }
.hs-lost summary { cursor: pointer; color: #6c4f9c; font-size: 14px; }
.hs-notice { padding: 11px 15px; border-radius: 8px; margin: 0 0 16px; }
.hs-notice.error { background: #fbeaea; color: #8a1f1f; }
.hs-notice.success { background: #e9f6ec; color: #1f6b2e; }

.hs-dashboard .hs-logout { float: right; font-size: 14px; color: #6c4f9c; text-decoration: none; }
.hs-tiles { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0 28px; }
.hs-tile { flex: 1; min-width: 140px; border: 1px solid #eae7e1; border-radius: 12px; padding: 16px; background: #faf8f4; }
.hs-tile .n { font-size: 28px; font-weight: 700; line-height: 1.1; }
.hs-dash-section { margin: 0 0 32px; }
.hs-dash-section h2 { border-bottom: 2px solid #f0ece4; padding-bottom: 6px; }
.hs-list { display: grid; gap: 14px; }
.hs-row { display: flex; gap: 14px; align-items: center; border: 1px solid #eae7e1; border-radius: 12px; padding: 12px; background: #fff; flex-wrap: wrap; }
.hs-row .thumb { width: 84px; height: 60px; border-radius: 8px; overflow: hidden; flex: none; background: #f5f2ec; }
.hs-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hs-row .info { flex: 1; min-width: 160px; }
.hs-row .info .t { font-weight: 600; }
.hs-row .info .d { font-size: 13px; color: #6b6b6b; }
.hs-remaining { font-size: 13px; background: #f6f1e7; color: #8a7a5c; padding: 3px 9px; border-radius: 999px; }
.hs-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.hs-table th, .hs-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #f0ece4; font-size: 14px; }
.hs-empty-note { color: #6b6b6b; font-style: italic; padding: 8px 0; }
.hs-btn.small { padding: 8px 12px; font-size: 14px; }

/* --- Panier --- */
.hs-add-form { margin: 0; }
.hs-btn-incart { background: #2f7d32; }
.hs-btn-incart:hover { background: #276a29; color: #fff; }
.hs-remove { background: none; border: none; color: #b02a2a; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.hs-cart-total { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; padding: 14px 16px; border-top: 2px solid #f0ece4; font-size: 18px; }
.hs-cart-total strong { font-size: 22px; }
.hs-cart-actions { text-align: right; }
.hs-btn-checkout { padding: 14px 22px; font-size: 16px; }

/* --- Paiement --- */
.hs-pay-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0 10px; }
.hs-btn-pay { padding: 14px 22px; font-size: 16px; }
.hs-pay-stripe { background: #635bff; }
.hs-pay-stripe:hover { background: #4f47e0; color: #fff; }
.hs-pay-paypal { background: #ffc439; color: #14315b; }
.hs-pay-paypal:hover { background: #f0b72e; color: #14315b; }
.hs-payment .hs-help { color: #6b6b6b; font-size: 13px; }

/* --- Lecteur sécurisé --- */
.hs-player-wrap { margin: 20px 0; }
.hs-player { width: 100%; border-radius: 10px; display: block; }
audio.hs-player { height: 54px; }
video.hs-player { background: #000; max-height: 70vh; }
.hs-instructions { background: #faf8f4; border: 1px solid #eae7e1; border-radius: 12px; padding: 14px 18px; margin: 16px 0; }
.hs-instructions h3 { margin: 0 0 6px; font-size: 16px; }
