/*
Theme Name: ILockedYou Fizetés
Description: Egyszerű, mobilra szabott téma a fizetes.ilockedyou.hu oldalhoz, az új ilockedyou design rendszer (2026. szeptember) tokenjeivel. A fizetési űrlapot az lm-fizetes plugin adja.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: ilockedyou-fizetes
*/

/* Az ilockedyou tokens.css értékei (sötét neutrál + arany). */
:root {
	--bg: #121214;
	--surface: #1c1d21;
	--surface-2: #25262c;
	--header-bg: #18181c;
	--line: #2a2b30;
	--text: #ffffff;
	--muted: rgba(255, 255, 255, .72);
	--accent: #ffd700;
	--accent-strong: #ffcc00;
	--accent-soft: #ffe680;
	--accent-ring: rgba(255, 215, 0, .25);
	--accent-shadow: 0 0 24px rgba(255, 215, 0, .3);
	--on-accent: #121214;
	--danger: #ff8a7a;
	--danger-bg: #2c1515;
	--ok: #ffd700;
	--radius: 16px;
	--radius-input: 8px;
	--radius-button: 6px;
	--tap: 56px;
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--font-display: "Rubik Dirt", "Poppins", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
}

a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
img { max-width: 100%; height: auto; }

h1, h2, h3 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 .5em;
}
/* Főcím: Rubik Dirt, arany - mint az ilockedyou oldalon */
h1 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(32px, 9vw, 48px);
	line-height: 1;
	color: var(--accent);
	letter-spacing: .01em;
}
h2 { font-size: clamp(18px, 4.6vw, 22px); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* --- Fejléc, lábléc ------------------------------------------------------ */

.site-header {
	position: relative;
	background: var(--header-bg);
	border-bottom: 1px solid var(--line);
	padding: 12px 16px;
	text-align: center;
}

/* Nyelvválasztó */
.lmf-lang {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	display: flex;
	gap: 6px;
}
.lmf-lang a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-width: 44px;
	min-height: 44px;
	padding: 4px;
	border-radius: var(--radius-button);
	border: 1.5px solid transparent;
	color: var(--muted);
	text-decoration: none;
	font: 700 11px/1 var(--font-head);
	letter-spacing: .05em;
	opacity: .6;
	transition: opacity .15s, border-color .15s;
}
.lmf-lang a:hover,
.lmf-lang a:focus-visible { opacity: 1; }
.lmf-lang a.is-active {
	opacity: 1;
	color: var(--accent);
	border-color: var(--accent);
}
.lmf-flag {
	display: block;
	width: 28px;
	height: 19px;
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
}
.lmf-flag svg { display: block; width: 100%; height: 100%; }

@media (max-width: 420px) {
	.site-header { text-align: left; }
	.lmf-lang { right: 10px; gap: 4px; }
}
.site-header .custom-logo-link,
.site-header .site-title {
	display: inline-block;
	text-decoration: none;
}
.site-header .custom-logo {
	display: block;
	width: auto;
	height: 50px;
	margin: 11px 0;
}
.site-header .site-title {
	font-family: var(--font-display);
	font-size: 28px;
	color: var(--accent);
}

.site-main {
	flex: 1;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	padding: 28px 16px 48px;
}

.site-footer {
	padding: 20px 16px 28px;
	text-align: center;
	color: var(--muted);
	font-size: 13px;
	border-top: 1px solid var(--line);
}

/* --- Nyitóoldal: terméklista --------------------------------------------- */

.lmf-title { text-align: center; }
.lmf-lead { text-align: center; color: var(--muted); margin: 0 0 24px; }

.lmf-group-title {
	margin: 28px 0 12px;
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
}
.lmf-group-title:first-of-type { margin-top: 0; }

.lmf-products {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: grid;
	gap: 10px;
}
.lmf-products a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 68px;
	padding: 14px 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-input);
	color: var(--text);
	text-decoration: none;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.lmf-products a:hover,
.lmf-products a:focus-visible {
	border-color: var(--accent);
	background: var(--surface-2);
	box-shadow: var(--accent-shadow);
}
.lmf-products .lmf-p-name {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 16px;
}
.lmf-products .lmf-p-price {
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--accent);
	white-space: nowrap;
}
.lmf-products .lmf-p-custom .lmf-p-price { color: var(--accent-soft); font-weight: 600; }

/* --- Általános tartalom (pénztár, visszaigazolás) ------------------------ */

.entry-content { overflow-wrap: anywhere; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.entry-content th,
.entry-content td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { font-family: var(--font-head); font-size: 14px; }
.entry-content address { font-style: normal; color: var(--muted); }

.woocommerce-notice,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: var(--radius-input);
	background: var(--surface);
	border: 1px solid var(--line);
}
.woocommerce-error { background: var(--danger-bg); border-color: var(--danger); color: #fff; }
.woocommerce-notice--success,
.woocommerce-thankyou-order-received {
	font-family: var(--font-display);
	font-size: 28px;
	line-height: 1.1;
	color: var(--ok);
	text-align: center;
	background: none;
	border: 0;
	padding: 0;
}
ul.woocommerce-order-overview {
	list-style: none;
	padding: 16px;
	margin: 0 0 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-input);
	display: grid;
	gap: 8px;
}
ul.woocommerce-order-overview li { color: var(--muted); font-size: 14px; }
ul.woocommerce-order-overview strong { color: var(--text); display: block; font-family: var(--font-head); font-size: 16px; }
.woocommerce-customer-details,
.woocommerce-order-details { margin-top: 24px; }

.button,
button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--tap);
	padding: 0 24px;
	border: 0;
	border-radius: var(--radius-button);
	background: var(--accent);
	color: var(--on-accent);
	font: 700 16px/1 var(--font-head);
	text-transform: uppercase;
	letter-spacing: .04em;
	text-decoration: none;
	cursor: pointer;
}
.button:hover, button:hover { background: var(--accent-strong); color: var(--on-accent); }

/* order-pay oldal (ha egy fizetés félbemaradt) */
#order_review .shop_table { margin-bottom: 16px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; }
#payment ul.payment_methods li { padding: 12px 0; border-bottom: 1px solid var(--line); }
#payment .payment_box { color: var(--muted); font-size: 15px; }
#payment #place_order { width: 100%; }

/* --- A plugin űrlapjának finomhangolása az ilockedyou stílusra ----------- */

.lmf-head h1 { font-size: clamp(30px, 8vw, 42px); }
.lmf-price { font-family: var(--font-head); }
.lmf-form .lmf-amount input[type="text"] { font-family: var(--font-head); }
.lmf-field label,
.lmf-billing legend,
.lmf-gateways legend {
	font-family: var(--font-head);
}
.lmf-billing legend,
.lmf-gateways legend {
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
}
.lmf-field label { font-size: 13px; }
.lmf-submit { font-size: 18px; }
