/* Yes Station Subscriptions — front-end */
.yss-wrap {
	max-width: 920px;
	margin: 24px auto;
	font-family: Tahoma, "Segoe UI", Arial, sans-serif;
	color: #3a3a3a;
	line-height: 1.7;
}
.yss-wrap * { box-sizing: border-box; }

/* steps nav */
.yss-steps-nav {
	display: flex;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 26px;
}
.yss-step-dot {
	flex: 1;
	text-align: center;
	font-weight: 700;
	color: #c9b48d;
	border-top: 3px solid #eadfce;
	padding-top: 8px;
	font-size: 15px;
}
.yss-step-dot small { display: block; font-weight: 400; font-size: 12px; }
.yss-step-dot.active { color: #b8860b; border-color: #b8860b; }

/* steps */
.yss-step { display: none; }
.yss-step.active { display: block; animation: yssFade .3s ease; }
@keyframes yssFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.yss-step h2 { color: #b8860b; margin: 0 0 6px; }
.yss-muted { color: #999; font-size: 13px; }

/* fields */
.yss-field { margin-bottom: 14px; }
.yss-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.yss-field input,
.yss-field textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #e0d6c4;
	border-radius: 8px;
	font-size: 15px;
	background: #fffdf9;
}
.yss-invalid { border-color: #d9534f !important; background: #fdf3f3 !important; }

/* buttons */
.yss-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.yss-btn {
	background: #b8860b;
	color: #fff;
	border: none;
	padding: 12px 26px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: .2s;
}
.yss-btn:hover { background: #9c7109; }
.yss-btn.yss-ghost { background: transparent; color: #b8860b; border: 1px solid #b8860b; }
.yss-btn.yss-submit { background: #2e8b57; }
.yss-btn.yss-submit:hover { background: #256e45; }

/* plans */
.yss-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.yss-plan-card {
	border: 2px solid #eadfce;
	border-radius: 14px;
	padding: 16px;
	cursor: pointer;
	background: #fffdf9;
	transition: .2s;
}
.yss-plan-card:hover { border-color: #d9c49a; box-shadow: 0 4px 16px rgba(184,134,11,.12); }
.yss-plan-card.selected { border-color: #b8860b; box-shadow: 0 4px 18px rgba(184,134,11,.2); }
.yss-plan-img { height: 130px; border-radius: 10px; background-size: cover; background-position: center; margin-bottom: 10px; }
.yss-plan-card h3 { margin: 4px 0; color: #5a4a2a; font-size: 17px; }
.yss-plan-desc { font-size: 13px; color: #888; min-height: 36px; }
.yss-plan-prices { margin-top: 10px; }
.yss-price-opt { display: block; padding: 7px 0; font-size: 14px; cursor: pointer; }
.yss-price-opt b { color: #b8860b; }

/* badges */
.yss-badge { font-size: 11px; padding: 2px 8px; border-radius: 20px; color: #fff; vertical-align: middle; }
.yss-badge-vip { background: #b8860b; }
.yss-badge-vvip { background: #8e44ad; }
.yss-badge-special { background: #2e8b57; }
.yss-badge-normal { background: #aaa; }

/* quantity */
.yss-qty-box { margin: 18px 0; padding: 14px; border: 1px dashed #d9c49a; border-radius: 12px; background: #fffdf9; }
.yss-qty-box > label { display: block; font-weight: 700; color: #5a4a2a; margin-bottom: 8px; }
.yss-qty-control { display: inline-flex; align-items: center; gap: 0; border: 1px solid #e0d6c4; border-radius: 8px; overflow: hidden; }
.yss-qty-btn { width: 42px; height: 42px; border: none; background: #f3ead9; color: #b8860b; font-size: 22px; cursor: pointer; }
.yss-qty-btn:hover { background: #e9dcc2; }
.yss-qty-control input { width: 60px; height: 42px; text-align: center; border: none; border-left: 1px solid #e0d6c4; border-right: 1px solid #e0d6c4; font-size: 17px; font-weight: 700; background: #fff; }

/* subscription unit grouping */
.yss-unit { border: 2px solid #e0d6c4; border-radius: 14px; padding: 12px; margin-bottom: 18px; }
.yss-unit-head { font-weight: 700; color: #fff; background: #b8860b; padding: 8px 14px; border-radius: 8px; margin-bottom: 12px; font-size: 16px; }

/* sessions */
.yss-session { border: 1px solid #eadfce; border-radius: 12px; padding: 14px; margin-bottom: 14px; background: #fffdf9; }
.yss-session h4 { margin: 0 0 10px; color: #b8860b; }
.yss-cat-group { margin-bottom: 12px; }
.yss-cat-title { font-weight: 700; color: #5a4a2a; margin-bottom: 6px; border-bottom: 1px dashed #eadfce; padding-bottom: 4px; }
.yss-cat-hint { font-weight: 400; font-size: 12px; color: #b8860b; }
.yss-without-opt { display: inline-block; background: #f7f0e3; border-radius: 6px; padding: 4px 10px; margin-bottom: 6px; font-weight: 600; }

/* manage: mode tabs */
.yss-mode-tabs { display: flex; gap: 10px; margin: 14px 0; flex-wrap: wrap; }
.yss-mode-btn.active { background: #b8860b; color: #fff; }
.yss-mode { border: 1px solid #eadfce; border-radius: 12px; padding: 14px; background: #fffdf9; margin-bottom: 14px; }
.yss-lookup { max-width: 420px; }
.yss-prod-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px; }
.yss-prod { display: block; padding: 5px 8px; font-size: 14px; border-radius: 6px; cursor: pointer; }
.yss-prod:hover { background: #f7f0e3; }

/* review */
.yss-review-box { border: 1px solid #eadfce; border-radius: 12px; padding: 14px; margin-bottom: 14px; background: #fffdf9; }
.yss-review-box h3 { margin: 0 0 8px; color: #b8860b; }
.yss-review-session { margin-bottom: 8px; }
.yss-terms { display: block; margin: 12px 0; font-weight: 600; }
.yss-error { color: #d9534f; font-weight: 600; margin-top: 10px; }
.yss-ok { color: #2e8b57; font-weight: 600; margin-top: 10px; }

/* success ticket */
.yss-success { text-align: center; }
.yss-success h2 { color: #2e8b57; }
.yss-ticket {
	display: inline-block;
	border: 2px dashed #b8860b;
	border-radius: 14px;
	padding: 22px 30px;
	margin: 16px 0;
	background: #fffdf9;
}
.yss-ticket-num { font-size: 18px; margin-bottom: 12px; }
.yss-ticket-num strong { color: #b8860b; letter-spacing: 1px; }
.yss-qr { display: flex; justify-content: center; margin: 14px 0; }
.yss-qr img, .yss-qr canvas { margin: auto; }

/* manage page */
.yss-manage-head { background: #fffdf9; border: 1px solid #eadfce; border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.yss-manage-head div { margin-bottom: 4px; }
.yss-manage-note { background: #fbf6ec; border-right: 4px solid #b8860b; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; }

@media (max-width: 600px) {
	.yss-steps-nav { font-size: 12px; }
	.yss-actions { flex-direction: column; }
	.yss-btn { width: 100%; }
}
