/* Ajándékkártya – termékoldali űrlap és pénztári kódmező */
.sf-gc-form {
	--sf-gc-accent: #13aff0;
	margin: 0 0 1.75em; max-width: 620px;
	color: #fff; font-size: 16px; line-height: 1.5;
}
.sf-gc-group { border: 0; padding: 0; margin: 0 0 1.6em; min-width: 0; }
.sf-gc-group legend {
	float: none; width: auto; padding: 0; margin: 0 0 .7em; border: 0;
	color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.sf-gc-choices { display: flex; flex-wrap: wrap; gap: .6em; }
.sf-gc-choice { position: relative; margin: 0; cursor: pointer; }
.sf-gc-choice input { position: absolute; left: 50%; bottom: 0; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.sf-gc-choice span {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .6em 1.05em; border: 1px solid rgba(255, 255, 255, .4); border-radius: 10px;
	background: rgba(255, 255, 255, .04); color: #fff; font-weight: 600; line-height: 1.2;
	transition: border-color .15s, color .15s, box-shadow .15s, background-color .15s;
}
.sf-gc-choice:hover span { border-color: var(--sf-gc-accent); }
.sf-gc-choice input:checked + span {
	border-color: var(--sf-gc-accent); color: var(--sf-gc-accent);
	background: rgba(19, 175, 240, .1); box-shadow: 0 0 10px var(--sf-gc-accent);
}
.sf-gc-choice input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
/* A színválasztó dobozai egyforma szélesek, a felirat hosszától függetlenül. */
.sf-gc-designs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.sf-gc-designs .sf-gc-choice { display: block; }
.sf-gc-designs .sf-gc-choice span { display: flex; justify-content: center; width: 100%; box-sizing: border-box; padding-left: .5em; padding-right: .5em; }
.sf-gc-design i {
	width: 2.2em; height: .35em; border-radius: 1em;
	background: var(--sf-gc-color); box-shadow: 0 0 8px var(--sf-gc-color);
}
.sf-gc-design input:checked + span {
	border-color: var(--sf-gc-color); color: #fff;
	background: rgba(255, 255, 255, .06); box-shadow: 0 0 10px var(--sf-gc-color);
}
.sf-gc-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
.sf-gc-style { display: block; }
.sf-gc-style span {
	display: flex; flex-direction: column; align-items: stretch; gap: 0;
	padding: 0; overflow: hidden; text-align: center;
}
.sf-gc-style img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; margin: 0; border-radius: 0; }
.sf-gc-style b { display: block; padding: .45em .3em; font-size: 13px; font-weight: 600; }
.sf-gc-style span { border-width: 2px; }
.sf-gc-style input:checked + span { background: rgba(255, 255, 255, .06); }
@media (max-width: 480px) {
	.sf-gc-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sf-gc-form p { margin: 1em 0 0; }
.sf-gc-form label[for] { display: block; margin-bottom: .35em; color: #fff; font-size: 15px; }
.sf-gc-form abbr { color: var(--sf-gc-accent); text-decoration: none; border: 0; }
.sf-gc-form input[type="text"],
.sf-gc-form input[type="email"],
.sf-gc-form input[type="number"],
.sf-gc-form input[type="date"],
.sf-gc-form select,
.sf-gc-form textarea {
	width: 100%; max-width: 100%; box-sizing: border-box; min-height: 44px; padding: .55em .8em;
	border: 1px solid rgba(255, 255, 255, .4); border-radius: 10px;
	background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px; color-scheme: dark;
}
.sf-gc-form input[type="text"]:focus,
.sf-gc-form input[type="email"]:focus,
.sf-gc-form input[type="number"]:focus,
.sf-gc-form input[type="date"]:focus,
.sf-gc-form select:focus,
.sf-gc-form textarea:focus {
	border-color: var(--sf-gc-accent); box-shadow: 0 0 8px rgba(19, 175, 240, .6); outline: 0;
}
/* A sablon a kosárűrlap számmezőit mennyiségmezőnek formázza — az egyedi összegnek saját méret kell. */
.sf-gc-form input#sf_gc_custom_amount {
	width: 12em !important; max-width: 100% !important; min-height: 44px; height: auto !important;
	padding: .55em .8em !important; text-align: left !important;
	border: 1px solid rgba(255, 255, 255, .4) !important; border-radius: 10px !important;
	background: rgba(255, 255, 255, .08) !important; color: #fff !important; font-size: 16px !important;
}
.sf-gc-form input#sf_gc_custom_amount:focus { border-color: var(--sf-gc-accent) !important; }
.sf-gc-form .sf-gc-custom--error input#sf_gc_custom_amount { border-color: #f80404 !important; box-shadow: 0 0 8px rgba(248, 4, 4, .55); }
.sf-gc-form .sf-gc-custom__error { display: block; margin-top: .35em; color: #ff5a5a; font-weight: 600; }
.sf-gc-when { display: flex; gap: .8em; }
.sf-gc-when > p { flex: 1 1 0; min-width: 0; }
.sf-gc-when > p:last-child { flex: 0 0 8em; }
.sf-gc-form .sf-gc-when input[type="date"],
.sf-gc-form .sf-gc-when select { height: 46px; min-height: 0; }
/* iOS-en a natív dátummező saját szélességgel és magassággal rajzolódik, és kilóg a mellette lévő mezőbe. */
.sf-gc-form .sf-gc-when input[type="date"] {
	-webkit-appearance: none; appearance: none; display: block; min-width: 0; line-height: 1.5; text-align: left;
}
.sf-gc-form .sf-gc-when input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
/* iOS az üres dátummezőbe nem ír mintát; a többi böngésző igen, ott ez rejtve marad. */
.sf-gc-date { position: relative; }
.sf-gc-date__ph { display: none; }
@supports (-webkit-touch-callout: none) {
	.sf-gc-date--empty .sf-gc-date__ph {
		display: block; position: absolute; left: calc(.8em + 1px); bottom: 0; height: 46px; line-height: 46px;
		color: rgba(255, 255, 255, .55); font-size: 16px; pointer-events: none;
	}
}
.sf-gc-form select { height: auto; appearance: auto; }
.sf-gc-form .sf-gc-when select {
	-webkit-appearance: none; appearance: none; padding-right: 2em; line-height: 1.5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right .8em center; background-size: 12px 8px;
}
.sf-gc-form select option { color: #fff; background: #1a1a1a; }
.sf-gc-form select:disabled { opacity: .45; cursor: not-allowed; }
.sf-gc-form .sf-gc-when-note { margin-top: .2em; }
.sf-gc-form ::placeholder { color: rgba(255, 255, 255, .45); }
.sf-gc-form small { display: block; margin-top: .35em; color: rgba(255, 255, 255, .7); font-size: 13px; }
.sf-gc-form small.sf-gc-count { text-align: right; font-variant-numeric: tabular-nums; }
.sf-gc-form [hidden] { display: none !important; }
.sf-gc-form .sf-gc-preview-row { margin: 0 0 1.4em; }
.sf-gc-form .sf-gc-preview-btn {
	display: inline-flex; align-items: center; gap: .5em; padding: .65em 1.4em; cursor: pointer;
	border: 1px solid var(--sf-gc-accent); border-radius: 10px; background: transparent;
	color: var(--sf-gc-accent); font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	transition: background-color .15s, color .15s;
}
.sf-gc-form .sf-gc-preview-btn:hover,
.sf-gc-form .sf-gc-preview-btn:focus-visible { background: var(--sf-gc-accent); color: #000; }

.sf-gc-modal {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
	padding: 16px; background: rgba(0, 0, 0, .78); overflow-y: auto;
}
.sf-gc-modal[hidden] { display: none; }
.sf-gc-modal-open { overflow: hidden; }
.sf-gc-modal__box {
	position: relative; width: 100%; max-width: 560px; margin: auto; padding: 22px 22px 18px; box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; background: #121212; color: #fff;
	font-family: "PT Serif", Georgia, serif; font-size: 15px; line-height: 1.5;
}
.sf-gc-modal__close {
	position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; padding: 0; cursor: pointer;
	border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 26px; line-height: 1;
}
.sf-gc-modal__close:hover, .sf-gc-modal__close:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
.sf-gc-modal__title { margin: 0 40px 14px 0; font-size: 17px; font-weight: 700; }
.sf-gc-pv { overflow: hidden; border-radius: 10px; background: #0d0f14; border: 1px solid var(--sf-gc-color, #13aff0); }
/* A szövegek a kártyaképen ugyanott állnak, ahol a kész kártyán; a méretek a kép szélességéhez igazodnak. */
.sf-gc-pv__card { position: relative; container-type: inline-size; font-size: 12px; color: #fff; }
.sf-gc-pv__img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; background: #0d0f14; }
.sf-gc-pv__amount, .sf-gc-pv__code, .sf-gc-pv__fine {
	position: absolute; line-height: 1.1; text-shadow: 0 0 .35cqw #000;
	background: rgba(13, 15, 20, .6); box-shadow: 0 0 1.4cqw 1.4cqw rgba(13, 15, 20, .6);
}
.sf-gc-pv__amount:empty { display: none; }
.sf-gc-pv__amount { left: 4%; top: 76.6%; font-size: 3.83cqw; font-weight: 700; white-space: nowrap; }
.sf-gc-pv__code {
	left: 50%; top: 75.7%; transform: translateX(-50%); font-size: 3.17cqw; font-weight: 700; white-space: nowrap;
	line-height: 1; padding: .83cqw 1.67cqw; border-radius: 1cqw; background: #fff; color: #000; text-shadow: none; box-shadow: none;
}
.sf-gc-pv__fine { left: 4.5%; right: 4.5%; top: 90.2%; text-align: center; font-size: 1.75cqw; line-height: 1.38; color: #e2e5eb; }
.sf-gc-modal__note { margin: 12px 0 0; color: rgba(255, 255, 255, .75); font-size: 13px; }

.sf-gc-form ul.sf-gc-notes {
	margin: 0 !important; padding: 1.2em 1.4em !important; list-style: none !important;
	border: 1px solid rgba(19, 175, 240, .45); border-radius: 10px; background: rgba(19, 175, 240, .06);
}
.sf-gc-form ul.sf-gc-notes li { position: relative; margin: 0; padding: 0 0 0 1.4em; list-style: none; color: rgba(255, 255, 255, .9); font-size: 14px; }
.sf-gc-form ul.sf-gc-notes li + li { margin-top: .6em; }
.sf-gc-form ul.sf-gc-notes li::before {
	content: ""; position: absolute; left: 0; top: .55em; width: .5em; height: .5em;
	border-radius: 50%; background: var(--sf-gc-accent); box-shadow: 0 0 6px var(--sf-gc-accent);
}

/* A termékkép a hosszú űrlap mellett görgetéskor is látható marad (a sablon bal oszlopa). */
@media (min-width: 1025px) {
	.elementor-column.sf-gc-sticky { align-items: flex-start; }
	.elementor-column.sf-gc-sticky > .elementor-widget-wrap { position: sticky; top: 110px; }
}

/* A kosároldal a tételadatokat nagy kezdőbetűsre alakítja — e-mail-címnél, névnél, üzenetnél ez zavaró. */
dl.variation dd.variation-Cmzett,
dl.variation dd.variation-Felad,
dl.variation dd.variation-zenet { text-transform: none !important; }

.sf-gc-redeem { margin: 0 0 1.25em; }
.sf-gc-redeem__msg { margin: .5em 0 0; font-size: .9em; }
.sf-gc-redeem__msg.is-error { color: #c62828; }
.sf-gc-redeem__msg.is-ok { color: #2e7d32; }
.sf-gc-remove { margin-left: .4em; font-size: .85em; }

/* Köszönőoldal: a kártya adatai a kép és a név alatt, soronként. */
.wcf-ic-cart-order-item__content-wrapper:has(.sf-gc-item-mark) { flex-wrap: wrap; row-gap: 10px; min-width: 0; }
.wcf-ic-cart-order-item__content-wrapper:has(.sf-gc-item-mark) .wcf-product-image { flex: 0 0 100%; width: 100%; }
.wcf-ic-cart-order-item__content-wrapper:has(.sf-gc-item-mark) .wcf-ic-cart-image { flex: 0 0 auto; width: auto; }
.wcf-ic-cart-order-item__content-wrapper:has(.sf-gc-item-mark) .wcf-ic-cart-order-item__info-varient { display: block; flex: 0 0 100%; width: 100%; }
.wcf-ic-cart-order-item__info-varient:has(.sf-gc-item-mark) ul.wc-item-meta { margin: 0; padding: 0; list-style: none; }
.wcf-ic-cart-order-item__info-varient:has(.sf-gc-item-mark) ul.wc-item-meta li { display: block; margin: 0 0 4px; text-align: left; overflow-wrap: anywhere; }
.wcf-ic-cart-order-item__info-varient:has(.sf-gc-item-mark) ul.wc-item-meta li strong { display: inline; float: none; margin: 0 .35em 0 0; }
.wcf-ic-cart-order-item__info-varient:has(.sf-gc-item-mark) ul.wc-item-meta li p { display: inline; margin: 0; }
