/*
Theme Name: Crazy Sun
Theme URI: https://crazysun.com.tr
Author: Mert Öge
Description: Crazy Sun solaryum merkezi teması. Fiyat listesi, üyelik sistemi, üye numarası ve QR kart, paket ve seans takibi, resepsiyon paneli içerir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: crazysun
*/

:root {
	--plum: #2B0F2E;
	--plum-2: #4A1842;
	--dusk: #8C2546;
	--sunset: #FF5E3A;
	--amber: #FFB627;
	--pale-sun: #FFE3A1;
	--blush: #FCEBE4;
	--paper: #FFF7F2;
	--line: rgba(43, 15, 46, .14);
	--muted: #6E5468;
	--ok: #1F7A4D;
	--err: #B42318;

	--f-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
	--f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1180px;
	--gutter: clamp(20px, 4vw, 40px);
	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 28px;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--plum);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--sunset); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: var(--plum); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Butonlar ---------- */
.btn {
	--bg: var(--plum); --fg: #fff; --bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font: 600 1rem/1 var(--f-body);
	padding: .95em 1.5em;
	border-radius: 999px;
	border: 1.5px solid var(--bd);
	background: var(--bg); color: var(--fg);
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn--sun { --bg: var(--amber); --fg: var(--plum); }
.btn--sun:hover { --bg: var(--pale-sun); }
.btn--dark { --bg: var(--plum); --fg: var(--pale-sun); }
.btn--dark:hover { --bg: var(--plum-2); }
.btn--line { --bg: transparent; --fg: var(--plum); --bd: var(--plum); }
.btn--line:hover { --bg: var(--plum); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: #FFF1E2; --bd: rgba(255, 241, 226, .55); }
.btn--ghost:hover { --bg: rgba(255, 241, 226, .12); --bd: #FFF1E2; }
.btn--lg { font-size: 1.0625rem; padding: 1.05em 1.8em; }
.btn--sm { font-size: .9rem; padding: .7em 1.15em; }
.btn--block { width: 100%; }
.inline-form { margin: 0; display: inline; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--plum); color: #FFF1E2;
	transition: background-color .3s, box-shadow .3s;
}
.site-header.is-over-hero { position: fixed; left: 0; right: 0; background: transparent; }
.site-header.is-over-hero.is-scrolled,
.site-header.is-open { background: rgba(43, 15, 46, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.35rem/1 var(--f-display); letter-spacing: -.03em; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { width: 30px; height: 30px; color: var(--amber); flex: none; }
.brand-logo { max-height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .88; }
.nav-list a:hover { opacity: 1; color: var(--amber); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-login { text-decoration: none; font-weight: 600; }
.nav-login:hover { color: var(--amber); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, opacity .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 8px;
		padding: 8px var(--gutter) 24px;
		background: rgba(43, 15, 46, .97);
		display: none;
	}
	.site-header.is-open .site-nav { display: flex; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.nav-actions { padding-top: 14px; justify-content: space-between; }
}

/* ---------- Hero: yükselen güneş ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: max(640px, 100svh);
	display: grid; align-items: end;
	color: #FFF1E2;
	background: linear-gradient(180deg, #1F0A22 0%, var(--plum) 34%, var(--plum-2) 62%, var(--dusk) 86%, #C2413F 100%);
}
.hero__sky { position: absolute; inset: 0; z-index: -1; }
.hero__sun {
	position: absolute; left: 50%; bottom: 0;
	width: min(92vw, 760px); aspect-ratio: 1;
	translate: -50% 46%;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, #FFF4C9 0%, var(--pale-sun) 22%, var(--amber) 48%, var(--sunset) 78%, #E2483A 100%);
	box-shadow: 0 0 120px 40px rgba(255, 140, 50, .35), 0 0 320px 120px rgba(255, 94, 58, .22);
	animation: sunrise 2.2s cubic-bezier(.2, .7, .1, 1) both;
}
.hero__rays {
	position: absolute; left: 50%; bottom: 0;
	width: 220vmax; aspect-ratio: 1;
	translate: -50% 50%;
	background: repeating-conic-gradient(from 0deg, rgba(255, 227, 161, .07) 0deg 4deg, transparent 4deg 15deg);
	mask: radial-gradient(circle, #000 18%, transparent 58%);
	-webkit-mask: radial-gradient(circle, #000 18%, transparent 58%);
	animation: rays 2.6s ease-out both;
}
@keyframes sunrise { from { translate: -50% 100%; filter: saturate(.6) brightness(.8); } to { translate: -50% 46%; filter: none; } }
@keyframes rays { from { opacity: 0; } to { opacity: 1; } }
.hero__inner { position: relative; text-align: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(150px, 26vh, 260px); }
.hero__title {
	font-size: clamp(4.2rem, 15vw, 12.5rem);
	font-weight: 800; line-height: .86; letter-spacing: -.055em;
	margin: 0 auto .22em;
	font-variation-settings: "opsz" 96;
	text-shadow: 0 6px 40px rgba(43, 15, 46, .35);
	animation: title-in 1.4s .5s cubic-bezier(.2, .7, .1, 1) both;
}
.hero__text { max-width: 34ch; margin: 0 auto 2rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #FFE6D3; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 244, 201, .7); box-shadow: 0 0 24px 4px rgba(255, 227, 161, .6); }
@keyframes title-in { from { opacity: 0; transform: translateY(24px); letter-spacing: -.02em; } to { opacity: 1; transform: none; } }

/* ---------- Bölümler ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--light { background: var(--blush); }
.section--pricing { background: var(--paper); }
.section--night { background: var(--plum); color: #FFF1E2; }
.section--contact { background: var(--blush); }
.display { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); max-width: 48ch; margin: 0; font-size: 1.1rem; }
.section-head--light p { color: #E8CFE0; }
.section-head .display { margin: 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.services { list-style: none; margin: 0; padding: 0; }
.services li { padding: 26px 0; border-top: 1.5px solid var(--plum); display: grid; grid-template-columns: minmax(150px, .8fr) 1.2fr; gap: 8px 32px; }
.services li:last-child { border-bottom: 1.5px solid var(--plum); }
.services h3 { font-size: 1.45rem; margin: 0; }
.services p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .services li { grid-template-columns: 1fr; } }

/* ---------- Fiyat tahtası ---------- */
.price-board { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--plum); }
.price-row {
	display: grid;
	grid-template-columns: minmax(180px, 1.5fr) minmax(130px, .9fr) minmax(150px, 1fr) minmax(130px, .8fr) auto;
	gap: 16px 28px; align-items: center;
	padding: 28px 8px;
	border-bottom: 1px solid var(--line);
}
.price-row__name h3 { font-size: 1.6rem; margin: 0 0 .15em; }
.price-row__name p { margin: 0; color: var(--muted); font-size: .98rem; }
.price-row__amount { display: flex; align-items: baseline; gap: 6px; }
.price-row__amount .num { font: 800 clamp(2.6rem, 4.6vw, 3.6rem)/.9 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.price-row__amount .unit { font-weight: 600; color: var(--muted); }
.price-row__valid { display: flex; flex-direction: column; font-weight: 500; }
.price-row__valid .muted { font-size: .9rem; font-weight: 400; }
.price-row__price { display: flex; flex-direction: column; align-items: flex-start; }
.price-row__price strong { font: 700 1.6rem/1.1 var(--f-display); letter-spacing: -.02em; }
.price-row__price s { color: var(--muted); font-size: .95rem; }
.price-row__cta { justify-self: end; }
.price-row.is-featured {
	position: relative;
	margin: 10px -16px;
	padding: 34px 24px;
	border-radius: var(--r-lg);
	border-bottom: 0;
	background: linear-gradient(105deg, var(--amber) 0%, #FF8A35 55%, var(--sunset) 100%);
	box-shadow: 0 22px 50px -24px rgba(255, 94, 58, .75);
}
.price-row.is-featured .muted, .price-row.is-featured .price-row__name p, .price-row.is-featured .unit, .price-row.is-featured s { color: rgba(43, 15, 46, .72); }
@media (max-width: 900px) {
	.price-row { grid-template-columns: 1fr auto; padding: 26px 4px; }
	.price-row__name { grid-column: 1 / -1; }
	.price-row__valid { grid-column: 1; }
	.price-row__price { grid-column: 2; grid-row: 2; align-items: flex-end; }
	.price-row__amount { grid-column: 1; grid-row: 2; }
	.price-row__valid { grid-row: 3; }
	.price-row__cta { grid-column: 2; grid-row: 3; }
	.price-row.is-featured { margin-inline: -10px; padding: 28px 18px; }
}

/* ---------- Adımlar ---------- */
.steps { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 0 28px 0 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid rgba(255, 241, 226, .16); }
.steps__n { display: block; font: 800 clamp(4rem, 8vw, 6.5rem)/1 var(--f-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--amber); margin-bottom: 18px; }
.steps h3 { font-size: 1.4rem; color: #FFF1E2; }
.steps p { color: #E3C9DA; margin: 0; }
@media (max-width: 900px) {
	.steps { grid-template-columns: 1fr 1fr; gap: 44px 0; }
	.steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
	.steps { grid-template-columns: 1fr; }
	.steps li, .steps li + li { padding: 0; border-left: 0; }
}

/* ---------- SSS ---------- */
.faq details { border-top: 1.5px solid var(--plum); }
.faq details:last-child { border-bottom: 1.5px solid var(--plum); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 1.2rem/1.3 var(--f-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--plum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23FFB627' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 56px 24px 0; color: var(--muted); }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.hours { margin: 0 0 28px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours--big { max-width: 440px; font-size: 1.08rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__map iframe, .map-empty { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--r-lg); }
.map-empty { background: linear-gradient(180deg, var(--plum) 0%, var(--dusk) 100%); position: relative; overflow: hidden; }
.map-empty__sun { position: absolute; left: 50%; bottom: -30%; width: 70%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, var(--pale-sun), var(--amber) 50%, var(--sunset)); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: #E3C9DA; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h2 { font-size: 1.05rem; color: #FFF1E2; margin-bottom: 14px; letter-spacing: 0; }
.footer-brand .brand { color: #FFF1E2; margin-bottom: 14px; }
.site-footer .hours div { border-color: rgba(255, 241, 226, .12); padding: 7px 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid rgba(255, 241, 226, .12); font-size: .9rem; }
.footer-bottom a { text-decoration: none; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 40;
	width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center;
	background: #25D366; color: #fff;
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* ---------- İç sayfalar ---------- */
.page-band { position: relative; height: 150px; background: linear-gradient(180deg, var(--plum) 0%, var(--plum-2) 70%, var(--dusk) 100%); overflow: hidden; }
.sun-sliver { position: absolute; right: 8%; bottom: -170px; width: 280px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--pale-sun), var(--amber) 50%, var(--sunset)); box-shadow: 0 0 80px 20px rgba(255, 140, 50, .35); }
.page-body { padding-block: 56px 96px; }
.page-body--app { margin-top: -96px; position: relative; }
.page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; }
.entry { max-width: 72ch; }
.page-body--app .entry { max-width: none; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-list h2 { font-size: 1.6rem; margin: 0; }
.post-list a { text-decoration: none; }

/* ---------- Formlar ---------- */
.auth { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(43, 15, 46, .45); }
.auth--narrow { grid-template-columns: .9fr 1fr; max-width: 940px; margin-inline: auto; }
.auth__intro { background: var(--plum); color: #FFF1E2; padding: clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.auth__intro::after { content: ""; position: absolute; left: -20%; bottom: -55%; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 227, 161, .9), rgba(255, 182, 39, .75) 40%, rgba(255, 94, 58, .6) 65%, transparent 70%); pointer-events: none; }
.auth__intro > * { position: relative; z-index: 1; }
.auth__intro h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.045em; }
.auth__intro p { color: #E8CFE0; max-width: 36ch; }
.auth__intro .muted { color: #E8CFE0; }
.auth__intro a { color: var(--amber); }
.auth__pkg { display: grid; gap: 2px; margin: 24px 0; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 241, 226, .08); border: 1px solid rgba(255, 241, 226, .18); }
.auth__pkg span { font-size: .85rem; color: #E3C9DA; }
.auth__pkg strong { font: 700 1.2rem/1.2 var(--f-display); }
.auth__pkg em { font-style: normal; color: var(--amber); font-weight: 700; }
@media (max-width: 860px) { .auth, .auth--narrow { grid-template-columns: 1fr; } .auth__intro::after { bottom: -85%; } }

.cs-form { padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-content: start; }
.cs-form--compact { padding: 0; gap: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select {
	width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--plum);
	padding: 13px 14px; border-radius: var(--r-sm);
	border: 1.5px solid rgba(43, 15, 46, .2); background: var(--paper);
	transition: border-color .2s, background-color .2s;
	min-height: 50px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--sunset); background: #fff; box-shadow: 0 0 0 4px rgba(255, 94, 58, .14); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--sunset); }
.check--inline { align-items: center; }
.form-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .95rem; }
.pw summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.pw[open] { display: grid; gap: 14px; }

.cs-notice { padding: 14px 18px; border-radius: var(--r-sm); font-size: .97rem; border-left: 4px solid; }
.cs-notice ul { margin: 0; padding-left: 18px; }
.cs-notice--error { background: #FDECEA; border-color: var(--err); color: #7A1A12; }
.cs-notice--success { background: #E7F5EE; border-color: var(--ok); color: #124A2F; }
.cs-notice--info { background: #FFF3D6; border-color: var(--amber); color: #6B4300; }
.panel > .cs-notice { margin-bottom: 16px; }

/* ---------- Üye paneli ---------- */
.panel__grid { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .panel__grid { grid-template-columns: 1fr; } }
.panel__side { display: grid; gap: 16px; }
.panel__main { display: grid; gap: 28px; }
.panel__box { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 1px 0 var(--line), 0 24px 50px -36px rgba(43, 15, 46, .4); }
.panel__box h2 { font-size: 1.5rem; letter-spacing: -.03em; }
.logout { display: inline-block; margin-top: 18px; font-size: .95rem; color: var(--muted); }

.member-card {
	position: relative; overflow: hidden;
	border-radius: 24px;
	padding: 22px 24px 20px;
	color: var(--plum);
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(255, 244, 201, .9) 0%, transparent 55%),
		linear-gradient(135deg, var(--amber) 0%, #FF8A35 50%, var(--sunset) 100%);
	box-shadow: 0 30px 60px -28px rgba(255, 94, 58, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.member-card::before { content: ""; position: absolute; right: -60px; bottom: -90px; width: 220px; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(43, 15, 46, .15); box-shadow: 0 0 0 26px rgba(43, 15, 46, .04), 0 0 0 54px rgba(43, 15, 46, .03); }
.member-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; }
.member-card__brand { display: inline-flex; align-items: center; gap: 8px; font: 800 1.1rem/1 var(--f-display); letter-spacing: -.03em; }
.member-card__brand .brand-mark { width: 22px; height: 22px; color: var(--plum); }
.member-card__since { font-weight: 600; opacity: .75; }
.member-card__body { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 26px 0 18px; }
.member-card__label { display: block; font-size: .85rem; font-weight: 600; opacity: .7; }
.member-card__id { display: block; font: 800 clamp(2rem, 4vw, 2.5rem)/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.member-card__name { display: block; font-weight: 600; font-size: 1.05rem; }
.member-card__qr { flex: none; width: 120px; height: 120px; padding: 8px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.member-card__qr svg { width: 104px; height: 104px; display: block; }
.member-card__balance { position: relative; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 14px; border-top: 1.5px dashed rgba(43, 15, 46, .3); font-weight: 600; }
.member-card__balance strong { font: 800 1.35rem/1 var(--f-display); }

.mp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mp { padding: 18px 20px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.mp--finished, .mp--expired, .mp--cancelled, .mp--rejected { opacity: .62; }
.mp__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.mp__head h3 { margin: 0; font-size: 1.2rem; }
.mp__meter { height: 10px; border-radius: 99px; background: rgba(43, 15, 46, .1); overflow: hidden; }
.mp__meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sunset), var(--amber)); transition: width .8s cubic-bezier(.2, .7, .1, 1); }
.mp__nums { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .95rem; color: var(--muted); }
.mp__nums strong { color: var(--plum); font: 800 1.3rem/1 var(--f-display); }
.mp .muted { margin: 0; font-size: .95rem; }
.chip { display: inline-block; padding: 4px 11px; border-radius: 99px; font-size: .8rem; font-weight: 700; background: rgba(43, 15, 46, .08); white-space: nowrap; }
.chip--active { background: var(--amber); color: var(--plum); }
.chip--pending { background: #EAE3FF; color: #42308A; }
.chip--expired { background: #FDE0DC; color: #8F1D13; }

.empty { padding: 20px; border-radius: var(--r-md); border: 1.5px dashed var(--line); color: var(--muted); }
.empty p { margin: 0; }

.table-wrap { overflow-x: auto; }
.cs-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.cs-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .88rem; padding: 0 12px 10px 0; border-bottom: 1.5px solid var(--plum); }
.cs-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }

.mini-packs { list-style: none; margin: 0; padding: 0; }
.mini-packs li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-packs li:last-child { border-bottom: 0; }
.mini-packs strong { display: block; font: 700 1.1rem/1.2 var(--f-display); }
.mini-packs span { color: var(--muted); font-size: .92rem; }
.mini-packs em { font-style: normal; font-weight: 700; }
.mini-packs li.is-featured strong::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 8px; border-radius: 50%; background: var(--sunset); vertical-align: middle; }
@media (max-width: 520px) { .mini-packs li { grid-template-columns: 1fr auto; } .mini-packs .inline-form, .mini-packs .btn { grid-column: 1 / -1; } }

/* ---------- Hareket tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* WordPress hizalama sınıfları */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .9rem; color: var(--muted); }
