/* ==========================================================================
   SpeltaVita – WooCommerce: termékoldal, kapcsolódó termékek, alapelemek
   ========================================================================== */

body.sv.woocommerce .shop-container,
body.sv.woocommerce-page .shop-container {
	max-width: var(--sv-wrap);
	width: 100%;
	padding: 28px var(--sv-gutter) 0;
}

/* --- Morzsamenü ----------------------------------------------------------- */
body.sv .woocommerce-breadcrumb {
	margin: 0 0 24px;
	font-family: var(--sv-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sv-soft);
}

body.sv .woocommerce-breadcrumb a {
	color: var(--sv-soft);
	text-decoration: none;
}

body.sv .woocommerce-breadcrumb .nv-breadcrumb-delimiter {
	margin: 0 6px;
}

/* --- Felső rész: galéria + vásárlódoboz ----------------------------------- */
body.sv.single-product div.product .nv-single-product-top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 56px;
	margin-bottom: 96px;
}

body.sv.single-product div.product .woocommerce-product-gallery,
body.sv.single-product div.product div.images {
	flex: 1.1 1 480px;
	width: auto !important;
	max-width: none;
	min-width: 0;
	float: none;
	margin: 0;
}

body.sv.single-product div.product div.summary {
	flex: 1 1 440px;
	width: auto !important;
	min-width: 0;
	float: none;
	margin: 0;
	padding: 8px 0 0;
}

body.sv.single-product div.product .flex-viewport,
body.sv.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child {
	border-radius: var(--sv-radius);
	background: var(--sv-cream);
	overflow: hidden;
}

body.sv.single-product div.product .woocommerce-product-gallery__image img {
	mix-blend-mode: multiply;
}

body.sv.single-product div.product ol.flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

body.sv.single-product div.product ol.flex-control-thumbs li {
	width: auto;
	float: none;
	margin: 0;
	list-style: none;
	border-radius: 12px;
	background: var(--sv-cream);
	overflow: hidden;
}

body.sv.single-product div.product ol.flex-control-thumbs li img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	padding: 8px;
	border: 1px solid transparent;
	border-radius: 12px;
	opacity: 1;
	mix-blend-mode: multiply;
	cursor: pointer;
}

body.sv.single-product div.product ol.flex-control-thumbs li img.flex-active {
	border-color: var(--sv-deep);
}

/* --- Vásárlódoboz ---------------------------------------------------------- */
body.sv .sv-product__tags--single {
	margin-top: 0;
}

body.sv.single-product div.product h1.product_title {
	margin: 16px 0 0;
	font-size: clamp(38px, 4.2vw, 60px);
}

body.sv.single-product div.product p.price,
body.sv.single-product div.product p.price .amount {
	font-size: 30px;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--sv-deep);
}

body.sv.single-product div.product p.price {
	margin: 16px 0 0;
}

body.sv.single-product div.product .woocommerce-product-details__short-description {
	margin-top: 18px;
	max-width: 560px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--sv-muted);
}

body.sv.single-product div.product .woocommerce-product-details__short-description p {
	margin: 0 0 12px;
}

body.sv.single-product div.product .woocommerce-product-details__short-description p:first-child {
	font-size: 19px;
	line-height: 1.5;
	color: var(--sv-deep);
}

body.sv.single-product div.product .woocommerce-product-details__short-description ul {
	margin: 0 0 12px;
	padding-left: 18px;
}

body.sv.single-product div.product .woocommerce-product-details__short-description li {
	margin: 0 0 4px;
}

body.sv.single-product div.product p.stock {
	margin: 18px 0 0;
	font-family: var(--sv-mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sv-olive);
}

body.sv.single-product div.product p.stock::before {
	content: "● ";
}

body.sv.single-product div.product p.stock.out-of-stock {
	color: var(--sv-soft);
}

body.sv.single-product div.product p.stock.out-of-stock::before {
	content: "○ ";
}

body.sv.single-product div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 0;
}

body.sv.single-product div.product form.cart div.quantity {
	float: none;
	margin: 0;
}

body.sv.single-product div.product form.cart input.qty {
	width: 104px;
	height: 58px;
	padding: 0 12px;
	border: 1px solid rgba(32, 39, 23, 0.4);
	border-radius: 999px;
	background: var(--sv-white);
	font-family: var(--sv-sans);
	font-size: 17px;
	color: var(--sv-deep);
	text-align: center;
}

body.sv.single-product div.product form.cart .single_add_to_cart_button {
	flex: 1 1 240px;
	float: none;
	min-height: 58px;
	font-size: 14px;
	background: var(--sv-gold);
	border-color: var(--sv-gold);
	color: var(--sv-deep);
}

body.sv.single-product div.product form.cart .single_add_to_cart_button:hover {
	background: var(--sv-gold-dark);
	border-color: var(--sv-gold-dark);
	color: var(--sv-deep);
}

body.sv .sv-assure {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 20px 0 0;
	padding: 0;
	font-size: 14.5px;
	color: var(--sv-muted);
}

body.sv .sv-assure li {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	list-style: none;
}

body.sv .sv-assure svg {
	color: var(--sv-olive);
}

body.sv.single-product div.product .product_meta {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--sv-line);
	font-family: var(--sv-mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sv-soft);
}

body.sv.single-product div.product .product_meta a {
	color: var(--sv-muted);
}

/* --- Fülek: Leírás / További információk ------------------------------------ */
body.sv.single-product div.product .woocommerce-tabs {
	clear: both;
	margin: 0;
	padding: 96px 0;
	background: var(--sv-cream);
	box-shadow: 0 0 0 100vmax var(--sv-cream);
	clip-path: inset(0 -100vmax);
}

body.sv.single-product div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0 0 36px;
	padding: 0;
	border-bottom: 1px solid rgba(32, 39, 23, 0.2);
	list-style: none;
	overflow: visible;
}

body.sv.single-product div.product .woocommerce-tabs ul.tabs::before,
body.sv.single-product div.product .woocommerce-tabs ul.tabs::after,
body.sv.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.sv.single-product div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

body.sv.single-product div.product .woocommerce-tabs ul.tabs li {
	margin: 0 0 -1px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	list-style: none;
}

body.sv.single-product div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 0;
	border-bottom: 2.5px solid transparent;
	font-size: 14.5px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sv-soft);
	text-decoration: none;
}

body.sv.single-product div.product .woocommerce-tabs ul.tabs li.active a {
	border-bottom-color: var(--sv-gold);
	color: var(--sv-deep);
}

/* A fül tartalma a fülek vonalának teljes szélességéig fut. */
body.sv.single-product div.product .woocommerce-tabs .panel {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.sv.single-product div.product .woocommerce-tabs .panel::after {
	content: "";
	display: table;
	clear: both;
}

body.sv.single-product div.product .woocommerce-tabs .panel h2 {
	margin: 40px 0 14px;
	font-size: 32px;
}

body.sv.single-product div.product .woocommerce-tabs .panel h2:first-child {
	margin-top: 0;
}

body.sv.single-product div.product .woocommerce-tabs .panel p {
	margin: 0 0 12px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--sv-muted);
}

body.sv.single-product div.product table.shop_attributes {
	width: 100%;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--sv-deep);
	border-collapse: collapse;
	background: none;
}

body.sv.single-product div.product table.shop_attributes th,
body.sv.single-product div.product table.shop_attributes td {
	padding: 17px 0;
	border: 0;
	border-bottom: 1px solid rgba(32, 39, 23, 0.16);
	background: none;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	text-align: left;
}

body.sv.single-product div.product table.shop_attributes th {
	width: 40%;
	color: var(--sv-muted);
}

body.sv.single-product div.product table.shop_attributes td {
	text-align: right;
	color: var(--sv-ink);
}

body.sv.single-product div.product table.shop_attributes td p {
	margin: 0;
	padding: 0;
	font-size: 18px;
	color: var(--sv-ink);
}

/* --- Kapcsolódó termékek ----------------------------------------------------- */
body.sv .sv-related {
	clear: both;
	padding: 104px 0;
}

body.sv .sv-related > h2 {
	margin: 0 0 44px;
	font-size: clamp(34px, 3.9vw, 56px);
}

body.sv .sv-related .sv-products {
	grid-template-columns: repeat(auto-fit, minmax(260px, 420px));
}

/* A sablon saját kapcsolódó listája, ha mégis megjelenne. */
body.sv.single-product section.related.products {
	display: none;
}

/* A Solace a kosár, a pénztár és a fiók gombjait saját változókból színezi (!important-tal),
   ezért a változókat állítjuk át az arculat színeire. */
html body.sv {
	--sol-color-button-initial: var(--sv-gold);
	--sol-color-button-hover: var(--sv-gold-dark);
	--sol-cart-button-color-bg: var(--sv-gold);
	--sol-cart-button-color-bg-hover: var(--sv-gold-dark);
	--sol-cart-button-color: var(--sv-deep);
	--sol-cart-button-color-hover: var(--sv-deep);
	--sol-checkout-button-color-bg: var(--sv-gold);
	--sol-checkout-button-color-bg-hover: var(--sv-gold-dark);
	--sol-checkout-button-color: var(--sv-deep);
	--sol-checkout-button-color-hover: var(--sv-deep);
	--sol-account-button-color-bg: var(--sv-deep);
	--sol-account-button-color-bg-hover: var(--sv-olive);
	--sol-account-button-color: var(--sv-cream);
	--sol-account-button-color-hover: var(--sv-cream);
}

/* --- Gombok az áruház oldalain (lista, kosár, pénztár) ------------------------ */
body.sv.woocommerce a.button,
body.sv.woocommerce button.button,
body.sv.woocommerce-page a.button,
body.sv.woocommerce-page button.button,
body.sv .wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--sv-sans);
	font-size: 13.5px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
	padding: 15px 30px;
	border: 1px solid var(--sv-deep);
	border-radius: 999px;
	background: var(--sv-deep);
	color: var(--sv-cream);
	box-shadow: none;
}

body.sv.woocommerce a.button:hover,
body.sv.woocommerce button.button:hover,
body.sv.woocommerce-page a.button:hover,
body.sv.woocommerce-page button.button:hover {
	background: var(--sv-olive);
	border-color: var(--sv-olive);
	color: var(--sv-cream);
}

body.sv .wc-block-cart__submit-button,
body.sv .wc-block-components-checkout-place-order-button,
body.sv.woocommerce a.button.alt,
body.sv.woocommerce-page a.button.alt,
body.sv.woocommerce-page button.button.alt,
body.sv.woocommerce a.checkout-button {
	min-height: 58px;
	background: var(--sv-gold) !important;
	border-color: var(--sv-gold) !important;
	color: var(--sv-deep) !important;
}

body.sv .wc-block-cart__submit-button,
body.sv .wc-block-components-checkout-place-order-button {
	border-radius: 999px !important;
}

body.sv .wc-block-cart__submit-button .wc-block-components-button__text,
body.sv .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	color: var(--sv-deep) !important;
}

body.sv .wc-block-cart__submit-button:hover,
body.sv .wc-block-components-checkout-place-order-button:hover {
	background: var(--sv-gold-dark) !important;
	border-color: var(--sv-gold-dark) !important;
}

/* --- Áruházi terméklista (/shop/, kategóriák) ---------------------------------- */
body.sv.woocommerce ul.products li.product .sp-product-image .img-wrap,
body.sv.woocommerce-page ul.products li.product .sp-product-image .img-wrap {
	position: relative;
	border-radius: var(--sv-radius);
	background: var(--sv-cream);
	overflow: hidden;
}

body.sv.woocommerce ul.products li.product .img-wrap img,
body.sv.woocommerce-page ul.products li.product .img-wrap img {
	mix-blend-mode: multiply;
}

body.sv.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.sv.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	margin: 16px 0 4px;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--sv-deep);
}

body.sv.woocommerce ul.products li.product .price,
body.sv.woocommerce ul.products li.product .price .amount,
body.sv.woocommerce-page ul.products li.product .price,
body.sv.woocommerce-page ul.products li.product .price .amount {
	font-size: 18px;
	font-weight: 400;
	color: var(--sv-deep);
}

body.sv.woocommerce ul.products li.product .out-of-stock-badge,
body.sv.woocommerce-page ul.products li.product .out-of-stock-badge {
	top: 14px;
	left: 14px;
	right: auto;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--sv-cream);
	color: var(--sv-deep);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* --- Áruházi értesítések ------------------------------------------------------ */
body.sv .woocommerce-message,
body.sv .woocommerce-info,
body.sv .woocommerce-error {
	border: 0;
	border-radius: 12px;
	background: var(--sv-cream);
	color: var(--sv-deep);
}

body.sv .woocommerce-message::before,
body.sv .woocommerce-info::before {
	color: var(--sv-olive);
}

@media (max-width: 782px) {
	body.sv.single-product div.product .nv-single-product-top {
		gap: 32px;
		margin-bottom: 64px;
	}

	body.sv.single-product div.product .woocommerce-tabs {
		padding: 64px 0;
	}

	body.sv .sv-related {
		padding: 72px 0;
	}
}

/* ==========================================================================
   Fiók (Profil) oldal – [woocommerce_my_account]
   Belépés / regisztráció, vezérlőpult, rendelések, címek, fiókadatok.
   A mezők, kártyák és gombok a pénztár (blokkos checkout) méreteit követik:
   50 px magas, 4 px-es sarkú mezők; 20 px-es sarkú, halvány keretes kártyák.
   ========================================================================== */
body.sv.woocommerce-account {
	--sol-account-title-color: var(--sv-deep);
	--sv-acc-field-line: rgba(43, 45, 47, 0.8);
	--sv-acc-card-line: rgba(27, 33, 19, 0.2);
}

/* A szövegszerkesztő widget (wpautop) sortöréseket tesz a linkekbe és az űrlapokba. */
body.sv.woocommerce-account .woocommerce-MyAccount-navigation br,
body.sv.woocommerce-account .the-content .woocommerce form br,
body.sv.woocommerce-account .the-content .woocommerce a > br:first-child,
body.sv.woocommerce-account .the-content .woocommerce table.shop_table td > br,
body.sv.woocommerce-account .the-content .woocommerce table.shop_table th > br {
	display: none;
}

body.sv.woocommerce-account .the-content .woocommerce table.shop_table td > p,
body.sv.woocommerce-account .the-content .woocommerce table.shop_table th > p {
	margin: 0 !important;
}

body.sv.woocommerce-account .the-content .woocommerce table.shop_table td > p:empty,
body.sv.woocommerce-account .the-content .woocommerce table.shop_table th > p:empty {
	display: none;
}

body.sv.woocommerce-account .the-content .woocommerce,
body.sv.woocommerce-account .the-content .woocommerce p,
body.sv.woocommerce-account .the-content .woocommerce li,
body.sv.woocommerce-account .the-content .woocommerce td,
body.sv.woocommerce-account .the-content .woocommerce th,
body.sv.woocommerce-account .the-content .woocommerce label,
body.sv.woocommerce-account .the-content .woocommerce address,
body.sv.woocommerce-account .the-content .woocommerce input,
body.sv.woocommerce-account .the-content .woocommerce select,
body.sv.woocommerce-account .the-content .woocommerce textarea {
	font-family: var(--sv-sans);
}

body.sv.woocommerce-account .the-content .woocommerce {
	font-size: 16px;
	line-height: 1.6;
	color: var(--sv-ink);
}

body.sv.woocommerce-account .the-content .woocommerce p {
	color: var(--sv-muted);
}

body.sv.woocommerce-account .woocommerce-MyAccount-content a:where(:not(.button):not(.elementor-button)),
body.sv.woocommerce-account .the-content .woocommerce form a:where(:not(.button):not(.elementor-button)) {
	color: var(--sv-deep);
	text-decoration: underline;
	text-decoration-color: var(--sv-gold);
	text-underline-offset: 3px;
}

body.sv.woocommerce-account .the-content .woocommerce h2,
body.sv.woocommerce-account .the-content .woocommerce h3 {
	margin: 0 0 18px;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--sv-deep);
}

body.sv.woocommerce-account .the-content .woocommerce strong {
	font-weight: 600;
	color: var(--sv-deep);
}

/* --- Elrendezés: bal oldali navigáció + tartalom ------------------------------- */
body.sv.woocommerce-account .the-content .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	width: 100%;
	margin-top: 24px;
}

body.sv.woocommerce-account .woocommerce-MyAccount-navigation,
body.sv.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
}

/* A clearfix álelemei rácselemmé válnának, és eltolnák a két hasábot. */
body.sv.woocommerce-account .the-content .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
body.sv.woocommerce-account .the-content .woocommerce:has(> .woocommerce-MyAccount-navigation)::after {
	display: none;
}

body.sv.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--sv-line);
}

body.sv.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--sv-line);
}

body.sv.woocommerce-account .woocommerce-MyAccount-navigation li::before,
body.sv.woocommerce-account .woocommerce-MyAccount-navigation li::marker {
	content: none;
}

body.sv.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 13px 14px 13px 16px;
	border-left: 2.5px solid transparent;
	font-size: 14px;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--sv-soft);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.sv.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: var(--sv-cream);
	color: var(--sv-deep);
}

body.sv.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	border-left-color: var(--sv-gold);
	background: var(--sv-cream);
	color: var(--sv-deep);
	font-weight: 600;
}

body.sv.woocommerce-account .woocommerce-MyAccount-content p {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.65;
}

/* --- Űrlapok (belépés, regisztráció, fiókadatok, címek szerkesztése) ------------ */
body.sv.woocommerce-account .the-content .woocommerce form .form-row {
	margin: 0 0 18px;
	padding: 0;
}

body.sv.woocommerce-account .the-content .woocommerce form .form-row label {
	display: block;
	margin: 0 0 6px;
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--sv-ink);
}

body.sv.woocommerce-account .the-content .woocommerce form .required {
	color: var(--sv-olive);
	text-decoration: none;
}

body.sv.woocommerce-account .the-content .woocommerce input.input-text,
body.sv.woocommerce-account .the-content .woocommerce input[type="text"],
body.sv.woocommerce-account .the-content .woocommerce input[type="email"],
body.sv.woocommerce-account .the-content .woocommerce input[type="tel"],
body.sv.woocommerce-account .the-content .woocommerce input[type="password"],
body.sv.woocommerce-account .the-content .woocommerce select,
body.sv.woocommerce-account .the-content .woocommerce textarea,
body.sv.woocommerce-account .the-content .woocommerce .select2-container .select2-selection--single {
	width: 100%;
	height: auto;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--sv-acc-field-line);
	border-radius: 4px;
	background-color: var(--sv-white);
	box-shadow: none;
	font-size: 16px;
	line-height: 1.5;
	color: var(--sv-ink);
}

body.sv.woocommerce-account .the-content .woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 24px;
	color: var(--sv-ink);
}

body.sv.woocommerce-account .the-content .woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
	top: 12px;
	right: 8px;
}

body.sv.woocommerce-account .the-content .woocommerce input.input-text:focus,
body.sv.woocommerce-account .the-content .woocommerce input[type="text"]:focus,
body.sv.woocommerce-account .the-content .woocommerce input[type="email"]:focus,
body.sv.woocommerce-account .the-content .woocommerce input[type="password"]:focus,
body.sv.woocommerce-account .the-content .woocommerce select:focus,
body.sv.woocommerce-account .the-content .woocommerce textarea:focus {
	outline: 2px solid var(--sv-gold);
	outline-offset: 1px;
	border-color: var(--sv-deep);
}

body.sv.woocommerce-account .the-content .woocommerce .password-input {
	display: block;
	position: relative;
}

body.sv.woocommerce-account .the-content .woocommerce form fieldset {
	margin: 28px 0 8px;
	padding: 22px 24px 6px;
	border: 1px solid var(--sv-acc-card-line);
	border-radius: var(--sv-radius);
}

body.sv.woocommerce-account .the-content .woocommerce form fieldset legend {
	padding: 0 8px;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sv-soft);
}

body.sv.woocommerce-account .the-content .woocommerce form .woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 15px;
	color: var(--sv-ink);
}

body.sv.woocommerce-account .the-content .woocommerce form .woocommerce-form__label-for-checkbox input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--sv-deep);
}

body.sv.woocommerce-account .the-content .woocommerce em,
body.sv.woocommerce-account .the-content .woocommerce form .form-row .description {
	font-size: 13.5px;
	font-style: normal;
	color: var(--sv-soft);
}

/* Belépés és regisztráció: kártyák, mint a pénztár összesítője. */
body.sv.woocommerce-account .the-content .woocommerce form.login,
body.sv.woocommerce-account .the-content .woocommerce form.register,
body.sv.woocommerce-account .the-content .woocommerce form.lost_reset_password {
	max-width: 520px;
	margin: 0 0 24px;
	padding: 32px;
	border: 1px solid var(--sv-acc-card-line);
	border-radius: 20px;
	background: var(--sv-white);
}

body.sv.woocommerce-account .the-content .woocommerce > h2,
body.sv.woocommerce-account .the-content .woocommerce > form.login,
body.sv.woocommerce-account .the-content .woocommerce > form.lost_reset_password,
body.sv.woocommerce-account .the-content .woocommerce > .woocommerce-notices-wrapper {
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

body.sv.woocommerce-account .the-content .woocommerce > h2 {
	margin-top: 24px;
}

body.sv.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
	max-width: 1120px;
	margin: 24px auto 0;
}

body.sv.woocommerce-account #customer_login::before,
body.sv.woocommerce-account #customer_login::after {
	display: none;
}

body.sv.woocommerce-account #customer_login > .u-column1,
body.sv.woocommerce-account #customer_login > .u-column2 {
	float: none;
	width: auto;
	max-width: none;
	padding: 0;
}

body.sv.woocommerce-account #customer_login form.login,
body.sv.woocommerce-account #customer_login form.register {
	max-width: none;
}

/* A Solace a belépő űrlap 3. sorát („Emlékezz rám") row-reverse flexszé teszi (:nth-child(3)).
   Ha az űrlap elejére egy bővítmény (pl. Google-belépés) is beszúr egy elemet, a 3. sor a jelszómező
   lesz, és a „Jelszó" felirat a mező mellé csúszik. A mezősorok ezért mindig blokkok. */
body.sv.woocommerce-account .the-content .woocommerce form .form-row.form-row-wide,
body.sv.woocommerce-account .the-content .woocommerce form .form-row.form-row-first,
body.sv.woocommerce-account .the-content .woocommerce form .form-row.form-row-last {
	display: block;
}

/* „Emlékezz rám" + Belépés gomb egy sorban. */
body.sv.woocommerce-account .the-content .woocommerce form.login > p.form-row:not(.form-row-wide) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	margin: 22px 0 0;
}

body.sv.woocommerce-account .the-content .woocommerce form.login .lost_password {
	margin: 18px 0 0;
	font-size: 14.5px;
}

/* --- Gombok: a sablon pirulagombja ------------------------------------------- */
body.sv.woocommerce-account .the-content .woocommerce .button,
body.sv.woocommerce-account .the-content .woocommerce button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	float: none;
	min-height: 50px;
	margin: 0;
	padding: 14px 30px;
	border: 1px solid var(--sv-deep);
	border-radius: 999px;
	background: var(--sv-deep);
	box-shadow: none;
	font-family: var(--sv-sans);
	font-size: 13.5px;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--sv-cream);
}

body.sv.woocommerce-account .the-content .woocommerce .button:hover,
body.sv.woocommerce-account .the-content .woocommerce button[type="submit"]:hover {
	border-color: var(--sv-olive);
	background: var(--sv-olive);
	color: var(--sv-cream);
}

/* Fő művelet (belépés, regisztráció, mentés): arany, mint a „Tovább a pénztárhoz". */
body.sv.woocommerce-account .the-content .woocommerce button.woocommerce-form-login__submit,
body.sv.woocommerce-account .the-content .woocommerce button.woocommerce-form-register__submit,
body.sv.woocommerce-account .the-content .woocommerce button[name="save_account_details"],
body.sv.woocommerce-account .the-content .woocommerce button[name="save_address"] {
	border-color: var(--sv-gold);
	background: var(--sv-gold);
	color: var(--sv-deep);
}

body.sv.woocommerce-account .the-content .woocommerce button.woocommerce-form-login__submit:hover,
body.sv.woocommerce-account .the-content .woocommerce button.woocommerce-form-register__submit:hover,
body.sv.woocommerce-account .the-content .woocommerce button[name="save_account_details"]:hover,
body.sv.woocommerce-account .the-content .woocommerce button[name="save_address"]:hover {
	border-color: var(--sv-gold-dark);
	background: var(--sv-gold-dark);
	color: var(--sv-deep);
}

/* Kisebb, keretes gomb a táblázatokban („Megtekintés", „Fizetés", „Lemondás"). */
body.sv.woocommerce-account .the-content .woocommerce table .button {
	min-height: 0;
	margin: 2px 6px 2px 0;
	padding: 9px 18px;
	background: transparent;
	color: var(--sv-deep);
	font-size: 12px;
}

body.sv.woocommerce-account .the-content .woocommerce table .button:hover {
	border-color: var(--sv-deep);
	background: var(--sv-deep);
	color: var(--sv-cream);
}

/* --- Rendelések és rendelés részletei: táblázat ------------------------------- */
body.sv.woocommerce-account .the-content .woocommerce table.shop_table {
	width: 100%;
	margin: 0 0 28px;
	border: 0;
	border-top: 1px solid var(--sv-deep);
	border-radius: 0;
	border-collapse: collapse;
	background: none;
	font-size: 15.5px;
}

body.sv.woocommerce-account .the-content .woocommerce table.shop_table th,
body.sv.woocommerce-account .the-content .woocommerce table.shop_table td {
	padding: 14px 12px;
	border: 0;
	border-bottom: 1px solid rgba(32, 39, 23, 0.16);
	background: none;
	color: var(--sv-ink);
	text-align: left;
	vertical-align: middle;
}

body.sv.woocommerce-account .the-content .woocommerce table.shop_table th:first-child,
body.sv.woocommerce-account .the-content .woocommerce table.shop_table td:first-child {
	padding-left: 0;
}

body.sv.woocommerce-account .the-content .woocommerce table.shop_table thead th {
	font-family: var(--sv-mono);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sv-soft);
}

body.sv.woocommerce-account .the-content .woocommerce table.shop_table tfoot th {
	font-weight: 400;
	color: var(--sv-muted);
}

body.sv.woocommerce-account .the-content .woocommerce table.shop_table tfoot tr:last-child th,
body.sv.woocommerce-account .the-content .woocommerce table.shop_table tfoot tr:last-child td {
	font-weight: 600;
	color: var(--sv-deep);
}

body.sv.woocommerce-account .the-content .woocommerce table.shop_table .woocommerce-orders-table__cell-order-actions {
	text-align: right;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-orders-table__cell-order-number a {
	font-weight: 600;
}

body.sv.woocommerce-account .the-content .woocommerce mark {
	text-decoration: none;
	padding: 1px 6px;
	border-radius: 4px;
	background: var(--sv-cream);
	color: var(--sv-deep);
	font-weight: 600;
}

/* --- Címek: kártyák ----------------------------------------------------------- */
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-Addresses,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-customer-details .addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	margin: 20px 0 0;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-Addresses::before,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-Addresses::after,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-customer-details .addresses::before,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-customer-details .addresses::after {
	display: none;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-Address,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-customer-details .woocommerce-column,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-customer-details > address {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 24px 26px;
	border: 1px solid var(--sv-acc-card-line);
	border-radius: 20px;
	background: var(--sv-white);
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
	margin: 0 0 14px;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-Address-title::before,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-Address-title::after {
	display: none;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-Address-title h2,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-Address-title h3,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-customer-details .woocommerce-column__title {
	margin: 0;
	font-size: 22px;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-Address-title .edit {
	float: none;
	font-family: var(--sv-mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.sv.woocommerce-account .the-content .woocommerce address {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-style: normal;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--sv-muted);
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-customer-details address p {
	margin: 8px 0 0;
	padding: 0;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-customer-details address p::before {
	display: none;
}

/* Címszerkesztő és fiókadatok: két mező egy sorban. */
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-address-fields__field-wrapper,
body.sv.woocommerce-account .the-content .woocommerce form.edit-account {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-address-fields__field-wrapper > *,
body.sv.woocommerce-account .the-content .woocommerce form.edit-account > * {
	float: none;
	width: auto;
	grid-column: 1 / -1;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-address-fields__field-wrapper > .form-row-first,
body.sv.woocommerce-account .the-content .woocommerce form.edit-account > .form-row-first {
	grid-column: 1;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-address-fields__field-wrapper > .form-row-last,
body.sv.woocommerce-account .the-content .woocommerce form.edit-account > .form-row-last {
	grid-column: 2;
}

body.sv.woocommerce-account .the-content .woocommerce form.edit-account > .clear {
	display: none;
}

/* --- Értesítések a fiókban ---------------------------------------------------- */
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-message,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-info,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-error {
	margin: 0 0 24px;
	font-size: 15.5px;
}

body.sv.woocommerce-account .the-content .woocommerce .woocommerce-info .button,
body.sv.woocommerce-account .the-content .woocommerce .woocommerce-message .button {
	min-height: 0;
	padding: 9px 18px;
	font-size: 12px;
}

/* --- Tablet / telefon ------------------------------------------------------------ */
@media (max-width: 900px) {
	body.sv.woocommerce-account .the-content .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	/* A navigáció tördelődő címkesor lesz. */
	body.sv.woocommerce-account .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
		border-top: 0;
	}

	body.sv.woocommerce-account .woocommerce-MyAccount-navigation li {
		border-bottom: 0;
	}

	body.sv.woocommerce-account .woocommerce-MyAccount-navigation a {
		padding: 9px 14px;
		border: 1px solid var(--sv-line);
		border-radius: 999px;
		font-size: 12px;
	}

	body.sv.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
		border-color: var(--sv-deep);
		background: var(--sv-deep);
		color: var(--sv-cream);
	}

	body.sv.woocommerce-account #customer_login {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

@media (max-width: 768px) {
	body.sv.woocommerce-account .the-content .woocommerce form.login,
	body.sv.woocommerce-account .the-content .woocommerce form.register,
	body.sv.woocommerce-account .the-content .woocommerce form.lost_reset_password {
		padding: 22px 18px;
	}

	body.sv.woocommerce-account .the-content .woocommerce .woocommerce-address-fields__field-wrapper,
	body.sv.woocommerce-account .the-content .woocommerce form.edit-account {
		grid-template-columns: minmax(0, 1fr);
	}

	body.sv.woocommerce-account .the-content .woocommerce .woocommerce-address-fields__field-wrapper > .form-row-last,
	body.sv.woocommerce-account .the-content .woocommerce form.edit-account > .form-row-last {
		grid-column: 1;
	}

	body.sv.woocommerce-account .the-content .woocommerce form fieldset {
		padding: 18px 16px 4px;
	}

	/* Rendelések: a WooCommerce reszponzív táblája soronként kártya lesz. */
	body.sv.woocommerce-account .the-content .woocommerce table.shop_table_responsive thead {
		display: none;
	}

	body.sv.woocommerce-account .the-content .woocommerce table.shop_table_responsive tr {
		display: block;
		padding: 10px 0;
		border-bottom: 1px solid rgba(32, 39, 23, 0.16);
	}

	body.sv.woocommerce-account .the-content .woocommerce table.shop_table_responsive tr td,
	body.sv.woocommerce-account .the-content .woocommerce table.shop_table_responsive tr th {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		padding: 6px 0 !important;
		border: 0;
		text-align: right !important;
	}

	body.sv.woocommerce-account .the-content .woocommerce table.shop_table_responsive tr td::before {
		content: attr(data-title);
		float: none;
		font-family: var(--sv-mono);
		font-size: 11.5px;
		font-weight: 500;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--sv-soft);
		text-align: left;
	}

	body.sv.woocommerce-account .the-content .woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions::before {
		content: none;
	}

	body.sv.woocommerce-account .the-content .woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions {
		justify-content: flex-start;
		padding-top: 10px;
	}
}

/* ==========================================================================
   Csomagpont-választó (Hungarian Pickup Points, blokkos pénztár)
   A Solace általános „.wrapper { display:flex; min-height:100vh; transition… }" szabálya
   a kereső legördülőjét (div.search-autocomplete > div.wrapper) képernyőmagas üres dobozzá
   nyújtotta, ami kitakarta a pénztárt.
   ========================================================================== */
.search-autocomplete > .wrapper {
	min-height: 0 !important;
	transition: none !important;
}

/* A térképes ablakban ugyanez az óvintézkedés, de alacsony specificitással (0,1,1): csak a Solace
   „.wrapper" szabályát írja felül, a bővítmény saját (legalább két osztályos) szabályait nem. */
:where(.vp-woo-pont-modal) div.wrapper {
	min-height: 0;
	transition: none;
}
