/*
 * Poharam Shop – WooCommerce felületek (Poharam Webshop design).
 *
 * Minden szabály a body.poharam-shop scope alatt van; ezt az osztályt csak a
 * WooCommerce felületek kapják (lásd inc/setup.php), így az Elementor oldalak,
 * a header és a footer érintetlen.
 *
 * Tartalom
 *   0. Tokenek és alapok          8. Termékoldal
 *   1. Layout, morzsamenü, cím    9. Fülek + ajánlatkérés
 *   2. Gombok                    10. Glass Designer környezete
 *   3. Űrlapmezők                11. Kosár
 *   4. Értesítések               12. Pénztár
 *   5. Hero                      13. Visszaigazolás
 *   6. Toolbar + chipek          14. Reszponzív
 *   7. Termékkártyák + lapozás
 */

/* ------------------------------------------------------------------ 0. Tokenek */

body.poharam-shop {
	--ph-pink: #EC008C;
	--ph-pink-dark: #C60077;
	--ph-pink-light: #F9439F;
	--ph-pink-soft: #FFE6F4;
	--ph-pink-soft-2: #FFF3F9;
	--ph-teal: #00BFB3;
	--ph-teal-text: #009C93;
	--ph-teal-dark: #007A73;
	--ph-teal-soft: #E0F8F6;
	--ph-ink: #16161A;
	--ph-ink-2: #2E2F36;
	--ph-ink-mute: #C9CAD1;
	--ph-text-2: #5F6168;
	--ph-mute: #8E8F98;
	--ph-line: #EBEBEF;
	--ph-soft: #F6F6F8;

	--ph-display: "Archivo", "Arial Narrow", sans-serif;
	--ph-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

	--ph-max: 1550px;
	--ph-gutter: 44px;
	--ph-h1: 52px;
	--ph-sticky-top: 150px;

	--ph-ring: 0 0 0 1px var(--ph-line);
	--ph-ring-card: 0 2px 0 0 var(--ph-line), 0 0 0 1px var(--ph-line);
	--ph-hover: 0 18px 40px rgba(236, 0, 140, 0.16), 0 0 0 1px var(--ph-pink-light);
	--ph-stripes: repeating-linear-gradient(135deg, var(--ph-pink-soft) 0 10px, var(--ph-pink-soft-2) 10px 20px);

	/* Hello Elementor / WooCommerce gyári színek felülírása a shop felületeken. */
	color: var(--ph-ink);
	background: #fff;
	font-family: var(--ph-body);
	-webkit-font-smoothing: antialiased;
}

body.poharam-shop .site-main,
body.poharam-shop .site-main input,
body.poharam-shop .site-main select,
body.poharam-shop .site-main textarea,
body.poharam-shop .site-main button {
	font-family: var(--ph-body);
}

/* Alacsony specificitás (:where), hogy a gomb- és kártyalinkek saját színe mindig nyerjen. */
body.poharam-shop :where(.site-main) a { color: var(--ph-pink); text-decoration: none; }
body.poharam-shop :where(.site-main) a:hover { color: var(--ph-pink-dark); }
body.poharam-shop .site-main img { max-width: 100%; height: auto; }

body.poharam-shop .ph-display,
body.poharam-shop .site-main h1,
body.poharam-shop .site-main h2,
body.poharam-shop .site-main h3 {
	font-family: var(--ph-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	color: inherit;
}

/* ------------------------------------------------------------ 1. Layout */

body.poharam-shop main.site-main {
	width: 100%;
	max-width: var(--ph-max);
	margin-inline: auto;
	padding: 28px var(--ph-gutter) 0;
}

body.poharam-shop #primary.content-area { width: 100%; }

body.poharam-shop main.site-main .page-header .entry-title {
	max-width: none;
	margin: 0 0 28px;
	padding: 0;
	font-size: var(--ph-h1);
	line-height: 0.96;
	letter-spacing: -0.02em;
}

body.poharam-shop main.site-main .page-content { margin: 0; }

body.poharam-shop .woocommerce-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--ph-ink);
}

body.poharam-shop .woocommerce-breadcrumb a { color: var(--ph-mute); }
body.poharam-shop .woocommerce-breadcrumb a:hover { color: var(--ph-pink); }
body.poharam-shop .woocommerce-breadcrumb .ph-crumb-sep { color: var(--ph-mute); }

body.poharam-shop .ph-anchor { display: block; position: relative; top: calc(var(--ph-sticky-top) * -1); visibility: hidden; }

body.poharam-shop .site-main .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; width: 1px; overflow: hidden; position: absolute !important; }

/* ------------------------------------------------------------ 2. Gombok */

body.poharam-shop .ph-btn,
body.poharam-shop .site-main a.button,
body.poharam-shop .site-main button.button,
body.poharam-shop .site-main input.button,
body.poharam-shop .site-main #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	margin: 0;
	padding: 14px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--ph-pink);
	color: #fff;
	font-family: var(--ph-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

body.poharam-shop .ph-btn:hover,
body.poharam-shop .ph-btn:focus-visible,
body.poharam-shop .site-main a.button:hover,
body.poharam-shop .site-main button.button:hover,
body.poharam-shop .site-main input.button:hover,
body.poharam-shop .site-main #respond input#submit:hover {
	background: var(--ph-ink);
	color: #fff;
}

body.poharam-shop .site-main a.button::after,
body.poharam-shop .site-main button.button::after { display: none; }

body.poharam-shop .site-main .button:disabled,
body.poharam-shop .site-main .button.disabled,
body.poharam-shop .site-main .button:disabled[disabled] {
	opacity: 0.45;
	padding: 14px 26px;
	cursor: not-allowed;
}

/* A WooCommerce a letiltott .alt gombot saját (lila) színnel festi – a design pinkje marad, csak halványan. */
body.poharam-shop .site-main a.button.alt.disabled,
body.poharam-shop .site-main a.button.alt.disabled:hover,
body.poharam-shop .site-main button.button.alt.disabled,
body.poharam-shop .site-main button.button.alt.disabled:hover,
body.poharam-shop .site-main button.button.alt:disabled,
body.poharam-shop .site-main button.button.alt:disabled:hover,
body.poharam-shop .site-main button.button.alt:disabled[disabled],
body.poharam-shop .site-main button.button.alt:disabled[disabled]:hover {
	background: var(--ph-pink);
	color: #fff;
	opacity: 0.45;
}

body.poharam-shop .site-main a.button.alt,
body.poharam-shop .site-main button.button.alt,
body.poharam-shop .site-main input.button.alt { background: var(--ph-pink); color: #fff; }
body.poharam-shop .site-main a.button.alt:hover,
body.poharam-shop .site-main button.button.alt:hover,
body.poharam-shop .site-main input.button.alt:hover { background: var(--ph-ink); color: #fff; }

body.poharam-shop .ph-btn--dark { background: var(--ph-ink); }
body.poharam-shop .ph-btn--dark:hover { background: var(--ph-pink); color: #fff; }
body.poharam-shop .ph-btn--white,
body.poharam-shop .site-main a.ph-btn--white { background: #fff; color: var(--ph-pink); }
body.poharam-shop .ph-btn--white:hover,
body.poharam-shop .site-main a.ph-btn--white:hover { background: var(--ph-ink); color: #fff; }
body.poharam-shop .ph-btn--ghost,
body.poharam-shop .site-main a.ph-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); }
body.poharam-shop .ph-btn--ghost:hover,
body.poharam-shop .site-main a.ph-btn--ghost:hover { background: #fff; color: var(--ph-pink); box-shadow: inset 0 0 0 2px #fff; }

body.poharam-shop .site-main .button.loading { opacity: 0.6; }
body.poharam-shop .site-main .button.loading::after {
	display: inline-block;
	position: static;
	margin-left: 8px;
	font-family: WooCommerce;
	content: "\e01c";
	animation: spin 2s linear infinite;
}

/* ----------------------------------------------------------- 3. Űrlapmezők */

body.poharam-shop .site-main input[type="text"],
body.poharam-shop .site-main input[type="email"],
body.poharam-shop .site-main input[type="tel"],
body.poharam-shop .site-main input[type="number"],
body.poharam-shop .site-main input[type="password"],
body.poharam-shop .site-main input[type="search"],
body.poharam-shop .site-main input[type="url"],
body.poharam-shop .site-main input[type="date"],
body.poharam-shop .site-main textarea,
body.poharam-shop .site-main select,
body.poharam-shop .site-main .select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 52px;
	padding: 14px 18px;
	border: 1px solid var(--ph-line);
	border-radius: 16px;
	background: #fff;
	color: var(--ph-ink);
	font-size: 14px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.poharam-shop .site-main textarea { min-height: 120px; }

body.poharam-shop .site-main input:focus,
body.poharam-shop .site-main textarea:focus,
body.poharam-shop .site-main select:focus,
body.poharam-shop .site-main .select2-container--focus .select2-selection--single,
body.poharam-shop .site-main .select2-container--open .select2-selection--single {
	border-color: var(--ph-pink);
	outline: none;
	box-shadow: 0 0 0 3px rgba(236, 0, 140, 0.12);
}

body.poharam-shop .site-main select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 44px;
	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 1.5l5 5 5-5' fill='none' stroke='%2316161A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
}

body.poharam-shop .site-main .select2-container--default .select2-selection--single { display: flex; align-items: center; height: auto; }
body.poharam-shop .site-main .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--ph-ink); }
body.poharam-shop .site-main .select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; right: 14px; transform: translateY(-50%); }
body.poharam-shop .select2-dropdown { border-color: var(--ph-line); border-radius: 16px; overflow: hidden; }
body.poharam-shop .select2-container--default .select2-results__option--highlighted[aria-selected],
body.poharam-shop .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ph-pink); }

body.poharam-shop .site-main form .form-row { margin: 0; padding: 0; }

body.poharam-shop .site-main form .form-row label,
body.poharam-shop .site-main .ph-label {
	display: block;
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--ph-mute);
}

body.poharam-shop .site-main form .form-row label.checkbox,
body.poharam-shop .site-main form .form-row label.woocommerce-form__label-for-checkbox,
body.poharam-shop .site-main form .form-row .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.6;
	text-transform: none;
	color: var(--ph-text-2);
	cursor: pointer;
}

body.poharam-shop .site-main input[type="checkbox"],
body.poharam-shop .site-main input[type="radio"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--ph-pink);
}

body.poharam-shop .site-main form .form-row .required { color: var(--ph-pink); text-decoration: none; border: 0; }
body.poharam-shop .site-main form .form-row.woocommerce-invalid input.input-text,
body.poharam-shop .site-main form .form-row.woocommerce-invalid select,
body.poharam-shop .site-main form .form-row.woocommerce-invalid .select2-selection { border-color: #d6336c; }
body.poharam-shop .site-main form .form-row.woocommerce-validated input.input-text { border-color: var(--ph-line); }
body.poharam-shop .site-main .woocommerce-input-wrapper { display: block; }
body.poharam-shop .site-main form .form-row .description { margin-top: 6px; font-size: 12px; color: var(--ph-mute); }

/* -------------------------------------------------------- 4. Értesítések */

body.poharam-shop .woocommerce-message,
body.poharam-shop .woocommerce-info,
body.poharam-shop .woocommerce-error,
body.poharam-shop .woocommerce-notice.woocommerce-info {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	padding: 16px 20px 16px 52px;
	border: 0;
	border-radius: 18px;
	background: var(--ph-soft);
	color: var(--ph-ink);
	font-size: 14px;
	line-height: 1.55;
	list-style: none;
}

body.poharam-shop .woocommerce-message { background: var(--ph-teal-soft); color: var(--ph-teal-dark); }
body.poharam-shop .woocommerce-error { background: var(--ph-pink-soft); color: var(--ph-pink-dark); }
body.poharam-shop .woocommerce-message::before,
body.poharam-shop .woocommerce-info::before,
body.poharam-shop .woocommerce-error::before { top: 50%; left: 20px; transform: translateY(-50%); color: inherit; }
body.poharam-shop .woocommerce-error li { margin: 0; }
body.poharam-shop .woocommerce-message .button,
body.poharam-shop .woocommerce-info .button,
body.poharam-shop .woocommerce-error .button { order: 2; min-height: 40px; margin-left: auto; padding: 10px 18px; float: none; }
body.poharam-shop .woocommerce-message a:not(.button),
body.poharam-shop .woocommerce-info a:not(.button) { color: inherit; font-weight: 600; text-decoration: underline; }

/* ---------------------------------------------------------------- 5. Hero */

body.poharam-shop .ph-hero {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 30px;
	align-items: center;
	margin: 0;
	padding: 46px 44px;
	border-radius: 32px;
	background: var(--ph-pink);
	color: #fff;
}

body.poharam-shop .ph-hero--media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

body.poharam-shop .ph-hero__eyebrow {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}

body.poharam-shop .site-main .ph-hero__title {
	max-width: 14ch;
	margin: 18px 0 14px;
	font-size: var(--ph-h1);
	line-height: 0.94;
	letter-spacing: -0.02em;
	color: #fff;
	text-wrap: balance;
}

body.poharam-shop .ph-hero__eyebrow + .ph-hero__title { margin-top: 18px; }
body.poharam-shop .ph-hero__text > .ph-hero__title:first-child { margin-top: 0; }

body.poharam-shop .ph-hero__desc { max-width: 460px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.9); }
body.poharam-shop .ph-hero__desc p { margin: 0 0 10px; }
body.poharam-shop .ph-hero__desc p:last-child { margin-bottom: 0; }
body.poharam-shop .ph-hero__desc a { color: #fff; text-decoration: underline; }
body.poharam-shop .ph-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
body.poharam-shop .ph-hero__actions .ph-btn { padding: 15px 28px; }

body.poharam-shop .ph-hero__media {
	position: relative;
	overflow: hidden;
	min-height: 240px;
	height: 100%;
	border-radius: 26px;
	background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 10px, rgba(255, 255, 255, 0.08) 10px 20px);
}

body.poharam-shop .ph-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* A core archívum fejléc (cím a heróban van) – üresen ne foglaljon helyet; a Shop oldal tartalma, ha van, megmarad. */
body.poharam-shop .woocommerce-products-header:not(:has(*)) { display: none; }
body.poharam-shop .woocommerce-products-header .page-description { margin-top: 26px; font-size: 15px; line-height: 1.7; color: var(--ph-text-2); }

/* ------------------------------------------------------ 6. Toolbar + chipek */

body.poharam-shop .ph-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 34px 0 0;
}

body.poharam-shop .ph-toolbar::before,
body.poharam-shop .ph-toolbar::after { display: none; }

body.poharam-shop .ph-toolbar__side { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-left: auto; }

body.poharam-shop .ph-chips { display: flex; flex-wrap: wrap; gap: 8px; }

body.poharam-shop .site-main a.ph-chip {
	padding: 11px 18px;
	border-radius: 999px;
	background: var(--ph-soft);
	color: var(--ph-ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	transition: background-color 160ms ease, color 160ms ease;
}

body.poharam-shop .site-main a.ph-chip:hover { background: var(--ph-pink-soft); color: var(--ph-pink); }
body.poharam-shop .site-main a.ph-chip.is-active { background: var(--ph-ink); color: #fff; font-weight: 700; }

body.poharam-shop .woocommerce-result-count,
body.poharam-shop .site-main .woocommerce-result-count {
	float: none;
	margin: 0;
	font-size: 13px;
	color: var(--ph-text-2);
}

body.poharam-shop .woocommerce-ordering,
body.poharam-shop .site-main .woocommerce-ordering { float: none; margin: 0; }

body.poharam-shop .site-main .woocommerce-ordering select.orderby {
	width: auto;
	min-width: 220px;
	min-height: 46px;
	padding: 12px 44px 12px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

/* ------------------------------------------------ 7. Termékkártyák + lapozás */

body.poharam-shop .site-main ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

body.poharam-shop .site-main ul.products::before,
body.poharam-shop .site-main ul.products::after { display: none; content: none; }

body.poharam-shop .site-main ul.products li.product,
body.poharam-shop .site-main ul.products[class*="columns-"] li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	clear: none;
	width: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 26px;
	background: #fff;
	box-shadow: var(--ph-ring-card);
	text-align: left;
	transition: box-shadow 160ms ease, transform 160ms ease;
}

body.poharam-shop .site-main ul.products li.product:hover { box-shadow: var(--ph-hover); transform: translateY(-3px); }

body.poharam-shop .site-main ul.products li.product a.woocommerce-LoopProduct-link { display: block; color: inherit; }

body.poharam-shop .ph-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3.4;
	background: var(--ph-stripes);
}

body.poharam-shop .site-main ul.products li.product .ph-card__media img {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 18px;
	object-fit: contain;
	box-shadow: none;
	border-radius: 0;
	transition: transform 240ms ease;
}

body.poharam-shop .site-main ul.products li.product:hover .ph-card__media img { transform: scale(1.03); }

body.poharam-shop .ph-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 7px 13px;
	border-radius: 999px;
	background: var(--ph-teal);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

body.poharam-shop .ph-badge--sale { background: var(--ph-pink); }
body.poharam-shop .ph-badge--muted { background: var(--ph-ink); }

body.poharam-shop .ph-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 20px 22px; }

body.poharam-shop .ph-card__eyebrow,
body.poharam-shop .ph-cart-row__eyebrow {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--ph-teal-text);
}

body.poharam-shop .site-main a.ph-card__link { color: var(--ph-ink); }

body.poharam-shop .site-main ul.products li.product .woocommerce-loop-product__title,
body.poharam-shop .site-main ul.products li.product h2,
body.poharam-shop .site-main ul.products li.product h3 {
	margin: 0;
	padding: 0;
	font-family: var(--ph-body);
	font-size: 17px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
	text-transform: none;
	color: var(--ph-ink);
	transition: color 160ms ease;
}

body.poharam-shop .site-main a.ph-card__link:hover .woocommerce-loop-product__title { color: var(--ph-pink); }

body.poharam-shop .ph-card__note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ph-text-2); }

body.poharam-shop .site-main ul.products li.product .star-rating { margin: 0; font-size: 12px; color: var(--ph-pink); }

body.poharam-shop .ph-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 12px; }

body.poharam-shop .site-main ul.products li.product .price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	margin: 0;
	font-family: var(--ph-display);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--ph-ink);
}

body.poharam-shop .site-main ul.products li.product .price del { font-size: 15px; font-weight: 600; color: var(--ph-mute); opacity: 1; }
body.poharam-shop .site-main ul.products li.product .price ins { color: var(--ph-pink); text-decoration: none; }
body.poharam-shop .ph-unit { font-size: 12px; color: var(--ph-mute); }
body.poharam-shop .ph-from { white-space: nowrap; }

body.poharam-shop .site-main ul.products li.product .button {
	width: 100%;
	margin-top: 4px;
	padding: 14px 20px;
}

body.poharam-shop .site-main ul.products li.product a.added_to_cart {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	color: var(--ph-text-2);
}

body.poharam-shop .site-main ul.products li.product a.added_to_cart:hover { color: var(--ph-pink); }
body.poharam-shop .site-main ul.products li.product .onsale { display: none; }

body.poharam-shop .woocommerce-no-products-found .woocommerce-info { margin-top: 26px; }

body.poharam-shop .site-main nav.woocommerce-pagination { margin: 40px 0 0; text-align: center; }

body.poharam-shop .site-main nav.woocommerce-pagination ul {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

body.poharam-shop .site-main nav.woocommerce-pagination ul li { float: none; margin: 0; border: 0; overflow: visible; }

body.poharam-shop .site-main nav.woocommerce-pagination ul li a,
body.poharam-shop .site-main nav.woocommerce-pagination ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--ph-soft);
	color: var(--ph-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

body.poharam-shop .site-main nav.woocommerce-pagination ul li a:hover { background: var(--ph-pink-soft); color: var(--ph-pink); }
body.poharam-shop .site-main nav.woocommerce-pagination ul li span.current { background: var(--ph-pink); color: #fff; font-weight: 700; }

/* ------------------------------------------------------------ 8. Termékoldal */

body.poharam-shop.single-product div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	column-gap: 44px;
	row-gap: 0;
	align-items: start;
	margin: 0;
}

body.poharam-shop.single-product div.product::before,
body.poharam-shop.single-product div.product::after { display: none; }

body.poharam-shop.single-product div.product > * { grid-column: 1 / -1; min-width: 0; }
body.poharam-shop.single-product div.product > .woocommerce-product-gallery { grid-column: 1; }
body.poharam-shop.single-product div.product > .summary { grid-column: 2; }
body.poharam-shop.single-product div.product > .clear { display: none; }

body.poharam-shop.single-product div.product > span.onsale {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 9;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--ph-pink);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

/* Galéria */

body.poharam-shop.single-product div.product div.images,
body.poharam-shop.single-product div.product .woocommerce-product-gallery {
	position: relative;
	float: none;
	width: 100%;
	margin: 0;
}

body.poharam-shop.single-product div.product .woocommerce-product-gallery .flex-viewport,
body.poharam-shop.single-product div.product .woocommerce-product-gallery__wrapper {
	overflow: hidden;
	border-radius: 30px;
	background: var(--ph-soft);
}

body.poharam-shop.single-product div.product .woocommerce-product-gallery__image a { display: block; }
body.poharam-shop.single-product div.product .woocommerce-product-gallery__image img,
body.poharam-shop.single-product div.product div.images img { width: 100%; border-radius: 0; box-shadow: none; }

body.poharam-shop.single-product div.product .woocommerce-product-gallery__trigger {
	top: 18px;
	right: 18px;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(22, 22, 26, 0.1);
	font-size: 0;
}

body.poharam-shop.single-product div.product .woocommerce-product-gallery__trigger::before { top: 12px; left: 12px; border-color: var(--ph-ink); }
body.poharam-shop.single-product div.product .woocommerce-product-gallery__trigger::after { top: 25px; left: 26px; background: var(--ph-ink); }

body.poharam-shop.single-product div.product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 14px 0 0;
	padding: 0;
}

body.poharam-shop.single-product div.product div.images .flex-control-thumbs li { width: auto; float: none; margin: 0; }

body.poharam-shop.single-product div.product div.images .flex-control-thumbs li img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 18px;
	background: var(--ph-soft);
	opacity: 1;
	transition: box-shadow 160ms ease;
}

body.poharam-shop.single-product div.product div.images .flex-control-thumbs li img:hover { box-shadow: 0 0 0 2px var(--ph-pink-light); }
body.poharam-shop.single-product div.product div.images .flex-control-thumbs li img.flex-active { box-shadow: 0 0 0 2px var(--ph-pink); }

/* Summary */

body.poharam-shop.single-product div.product .summary,
body.poharam-shop.single-product div.product div.summary {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.poharam-shop .ph-pill {
	display: inline-block;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--ph-teal-soft);
	color: var(--ph-teal-text);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

body.poharam-shop .ph-pill--back { background: #FFF6DC; color: #8A6100; }
body.poharam-shop .ph-pill--out { background: var(--ph-soft); color: var(--ph-mute); }

body.poharam-shop.single-product div.product .product_title {
	margin: 16px 0 12px;
	font-size: var(--ph-h1);
	line-height: 0.96;
	letter-spacing: -0.02em;
	color: var(--ph-ink);
	overflow-wrap: anywhere;
}

body.poharam-shop.single-product div.product .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; }
body.poharam-shop.single-product div.product .woocommerce-product-rating .star-rating { margin: 0; color: var(--ph-pink); }
body.poharam-shop.single-product div.product .woocommerce-review-link { color: var(--ph-text-2); }

body.poharam-shop .ph-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 0 0 16px; }

body.poharam-shop.single-product div.product .summary p.price,
body.poharam-shop.single-product div.product .summary span.price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	font-family: var(--ph-display);
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
	color: var(--ph-pink);
}

body.poharam-shop.single-product div.product .summary p.price del { font-size: 20px; color: var(--ph-mute); opacity: 1; }
body.poharam-shop.single-product div.product .summary p.price ins { text-decoration: none; }
body.poharam-shop .ph-price-row .ph-unit { font-size: 13px; }

body.poharam-shop.single-product div.product .woocommerce-product-details__short-description {
	max-width: 520px;
	margin: 0 0 26px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ph-text-2);
}

body.poharam-shop.single-product div.product .woocommerce-product-details__short-description > :last-child { margin-bottom: 0; }

/* Kosárba doboz */

body.poharam-shop.single-product div.product form.cart {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 24px;
	border-radius: 24px;
	background: var(--ph-soft);
}

body.poharam-shop.single-product div.product form.cart::before,
body.poharam-shop.single-product div.product form.cart::after { display: none; }

body.poharam-shop.single-product div.product form.cart:not(.variations_form):not(.grouped_form),
body.poharam-shop.single-product div.product .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	width: 100%;
}

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

/* Minden, ami nem a mennyiség / gomb / rejtett mező (pl. bővítmények blokkjai), teljes szélességet kap. */
body.poharam-shop.single-product div.product form.cart:not(.variations_form):not(.grouped_form) > :not(.quantity):not(.single_add_to_cart_button):not(input[type="hidden"]),
body.poharam-shop.single-product div.product .woocommerce-variation-add-to-cart > :not(.quantity):not(.single_add_to_cart_button):not(input[type="hidden"]) {
	flex: 1 1 100%;
	min-width: 0;
}

body.poharam-shop.single-product div.product form.cart .button.single_add_to_cart_button,
body.poharam-shop.single-product div.product form.cart .single_add_to_cart_button {
	flex: 1 1 220px;
	float: none;
	min-height: 56px;
	padding: 17px 28px;
	font-size: 13px;
}

body.poharam-shop.single-product div.product form.cart .single_add_to_cart_button:not(.disabled):hover { background: var(--ph-ink); }

body.poharam-shop .ph-minqty { display: block; font-size: 12px; line-height: 1.5; color: var(--ph-mute); }

/* Variációk */

body.poharam-shop.single-product div.product form.cart table.variations,
body.poharam-shop.single-product div.product form.cart table.variations tbody { display: block; width: 100%; margin: 0; border: 0; background: transparent; }

body.poharam-shop.single-product div.product form.cart table.variations tr { display: block; margin: 0 0 18px; }
body.poharam-shop.single-product div.product form.cart table.variations tr:last-child { margin-bottom: 0; }

body.poharam-shop.single-product div.product form.cart table.variations th,
body.poharam-shop.single-product div.product form.cart table.variations td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	line-height: 1.4;
	text-align: left;
}

body.poharam-shop.single-product div.product form.cart table.variations th.label { margin-bottom: 10px; }

body.poharam-shop.single-product div.product form.cart table.variations th label {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ph-mute);
}

body.poharam-shop.single-product div.product form.cart table.variations td.value { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
body.poharam-shop.single-product div.product form.cart table.variations td.value select { max-width: 360px; margin: 0; background-color: #fff; }

body.poharam-shop.single-product div.product form.cart .reset_variations {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--ph-mute);
	text-decoration: underline;
}

body.poharam-shop.single-product div.product form.cart .reset_variations:hover { color: var(--ph-pink); }

/* A select a DOM-ban marad (WooCommerce + bővítmények ezt olvassák), a pirulák vezérlik. */
body.poharam-shop.single-product div.product form.cart select.ph-swatch-source {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 1px !important;
	min-width: 0 !important; /* a WooCommerce min-width: 75%-ot ad a variáció selectre */
	max-width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

body.poharam-shop .ph-swatch { display: flex; flex-wrap: wrap; gap: 8px; }

body.poharam-shop .site-main button.ph-swatch__opt {
	min-height: 0;
	margin: 0;
	padding: 11px 18px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--ph-text-2);
	font-family: var(--ph-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
	transition: box-shadow 160ms ease, color 160ms ease;
}

body.poharam-shop .site-main button.ph-swatch__opt:hover,
body.poharam-shop .site-main button.ph-swatch__opt:focus-visible { background: #fff; color: var(--ph-ink); box-shadow: 0 0 0 1px var(--ph-pink-light); outline: none; }
body.poharam-shop .site-main button.ph-swatch__opt.is-active { background: #fff; color: var(--ph-ink); font-weight: 600; box-shadow: 0 0 0 2px var(--ph-pink); }
body.poharam-shop .site-main button.ph-swatch__opt:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; box-shadow: none; }

body.poharam-shop.single-product div.product .single_variation_wrap { display: grid; gap: 14px; }
body.poharam-shop.single-product div.product .woocommerce-variation:empty { display: none !important; }
body.poharam-shop.single-product div.product .woocommerce-variation-description { font-size: 13px; line-height: 1.6; color: var(--ph-text-2); }
body.poharam-shop.single-product div.product .woocommerce-variation-description p { margin: 0; }

body.poharam-shop.single-product div.product .woocommerce-variation-price .price {
	font-family: var(--ph-display);
	font-size: 24px;
	font-weight: 800;
	color: var(--ph-pink);
}

body.poharam-shop.single-product div.product .stock,
body.poharam-shop.single-product div.product .woocommerce-variation-availability p { margin: 0; font-size: 12px; font-weight: 600; color: var(--ph-teal-text); }
body.poharam-shop.single-product div.product .stock.out-of-stock { color: var(--ph-pink-dark); }

/* Mennyiség stepper */

body.poharam-shop .site-main .quantity.ph-qty {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 8px;
	border-radius: 999px;
	background: #fff;
}

body.poharam-shop .site-main .quantity .qty {
	width: 56px;
	min-height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
	box-shadow: none;
}

body.poharam-shop .site-main .quantity .qty:focus { box-shadow: none; }
body.poharam-shop .site-main .quantity .qty::-webkit-inner-spin-button,
body.poharam-shop .site-main .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

body.poharam-shop .site-main .quantity:not(.ph-qty) .qty { min-height: 52px; border: 1px solid var(--ph-line); border-radius: 999px; background: #fff; }

body.poharam-shop .site-main button.ph-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	min-height: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ph-pink);
	font-family: var(--ph-body);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	box-shadow: none;
	cursor: pointer;
}

body.poharam-shop .site-main button.ph-qty__btn:hover,
body.poharam-shop .site-main button.ph-qty__btn:focus-visible { background: var(--ph-pink-soft); color: var(--ph-pink); outline: none; }

/* Termék meta + tény-kártyák */

body.poharam-shop.single-product div.product .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 18px 0 0;
	padding: 0;
	border: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--ph-mute);
}

body.poharam-shop.single-product div.product .product_meta > span { display: inline-block; }
body.poharam-shop.single-product div.product .product_meta .sku,
body.poharam-shop.single-product div.product .product_meta a { color: var(--ph-ink); font-weight: 600; }
body.poharam-shop.single-product div.product .product_meta a:hover { color: var(--ph-pink); }

body.poharam-shop .ph-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
body.poharam-shop .ph-fact { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--ph-ring); }
body.poharam-shop .ph-fact__value { font-family: var(--ph-display); font-size: 20px; font-weight: 800; line-height: 1.15; color: var(--ph-pink); overflow-wrap: anywhere; }
body.poharam-shop .ph-fact__label { font-size: 12px; color: var(--ph-text-2); }

/* ------------------------------------------------- 9. Fülek + ajánlatkérés */

body.poharam-shop .ph-details {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.85fr);
	gap: 26px;
	align-items: start;
	margin-top: 54px;
}

body.poharam-shop .ph-details > * { min-width: 0; }
body.poharam-shop .ph-details > .ph-cta:only-child { grid-column: 1 / -1; }

/* Ha a Glass Designer szerkesztő fül jelen van, a fülek teljes szélességet kapnak (a szerkesztőnek hely kell). */
body.poharam-shop .ph-details:has(.gdfw_designer_tab),
body.poharam-shop .ph-details:has(#tab-gdfw_designer) { grid-template-columns: minmax(0, 1fr); }

body.poharam-shop .ph-details:has(.gdfw_designer_tab) .ph-cta,
body.poharam-shop .ph-details:has(#tab-gdfw_designer) .ph-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 26px;
}

body.poharam-shop .ph-details:has(.gdfw_designer_tab) .ph-cta .ph-btn,
body.poharam-shop .ph-details:has(#tab-gdfw_designer) .ph-cta .ph-btn { grid-column: 2; grid-row: 1 / span 2; }

body.poharam-shop.single-product div.product .woocommerce-tabs { margin: 0; padding: 0; }

body.poharam-shop.single-product div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	margin: 0 0 20px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--ph-line);
	list-style: none;
	overflow: visible;
}

body.poharam-shop.single-product div.product .woocommerce-tabs ul.tabs::before,
body.poharam-shop.single-product div.product .woocommerce-tabs ul.tabs::after { display: none; content: none; }

body.poharam-shop.single-product div.product .woocommerce-tabs ul.tabs li {
	position: static;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

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

body.poharam-shop.single-product div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	margin: 0 0 -15px;
	padding: 0 0 14px;
	border-bottom: 2px solid transparent;
	color: var(--ph-mute);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
	transition: color 160ms ease, border-color 160ms ease;
}

body.poharam-shop.single-product div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--ph-ink); }
body.poharam-shop.single-product div.product .woocommerce-tabs ul.tabs li.active a { border-bottom-color: var(--ph-pink); color: var(--ph-pink); font-weight: 700; }

body.poharam-shop.single-product div.product .woocommerce-tabs .panel {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--ph-text-2);
}

body.poharam-shop.single-product div.product .woocommerce-Tabs-panel--description > *,
body.poharam-shop.single-product div.product .woocommerce-Tabs-panel--additional_information > *,
body.poharam-shop.single-product div.product .woocommerce-Tabs-panel--reviews > * { max-width: 680px; }

body.poharam-shop.single-product div.product .woocommerce-tabs .panel > h2:first-child:empty { display: none; }

body.poharam-shop.single-product div.product table.shop_attributes {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
}

body.poharam-shop.single-product div.product table.shop_attributes tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

body.poharam-shop.single-product div.product table.shop_attributes tr {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 18px;
	border-radius: 16px;
	background: var(--ph-soft);
	font-size: 13px;
}

body.poharam-shop.single-product div.product table.shop_attributes th,
body.poharam-shop.single-product div.product table.shop_attributes td {
	width: auto;
	padding: 0;
	border: 0;
	background: transparent;
	font-style: normal;
	line-height: 1.5;
}

body.poharam-shop.single-product div.product table.shop_attributes th { font-weight: 400; color: var(--ph-mute); }
body.poharam-shop.single-product div.product table.shop_attributes td { font-weight: 600; color: var(--ph-ink); text-align: right; }
body.poharam-shop.single-product div.product table.shop_attributes td p { margin: 0; padding: 0; }
body.poharam-shop.single-product div.product table.shop_attributes tr:nth-child(even) th,
body.poharam-shop.single-product div.product table.shop_attributes tr:nth-child(even) td { background: transparent; }

/* Vélemények */

body.poharam-shop #reviews h2,
body.poharam-shop #reviews .comment-reply-title { display: block; margin: 0 0 14px; font-size: 20px; color: var(--ph-ink); }
body.poharam-shop #reviews #comments ol.commentlist { margin: 0 0 26px; padding: 0; }
body.poharam-shop #reviews #comments ol.commentlist li { margin: 0 0 14px; }
body.poharam-shop #reviews #comments ol.commentlist li .comment-text { margin-left: 64px; padding: 16px 18px; border: 0; border-radius: 18px; background: var(--ph-soft); }
body.poharam-shop #reviews #comments ol.commentlist li img.avatar { width: 48px; padding: 0; border: 0; border-radius: 999px; background: transparent; }
body.poharam-shop #reviews .star-rating,
body.poharam-shop #reviews p.stars a { color: var(--ph-pink); }
body.poharam-shop #review_form #respond { padding: 24px; border-radius: 24px; background: var(--ph-soft); }
body.poharam-shop #review_form #respond p { margin: 0 0 14px; }
body.poharam-shop #review_form #respond label { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ph-mute); }
body.poharam-shop .woocommerce-noreviews { margin: 0 0 18px; }

/* Ajánlatkérés kártya */

body.poharam-shop .ph-cta {
	margin: 0;
	padding: 26px;
	border-radius: 26px;
	background: var(--ph-ink);
	color: #fff;
}

body.poharam-shop .site-main .ph-cta__title { margin: 0 0 12px; font-size: 22px; line-height: 1.05; color: #fff; }
body.poharam-shop .ph-cta__text { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: var(--ph-ink-mute); }
body.poharam-shop .ph-cta .ph-btn { padding: 14px 24px; }
body.poharam-shop .ph-cta .ph-btn:hover { background: #fff; color: var(--ph-pink); }

/* Kapcsolódó termékek */

body.poharam-shop.single-product div.product section.related,
body.poharam-shop.single-product div.product section.upsells { margin: 0; padding: 0; }

body.poharam-shop.single-product div.product section.related > h2,
body.poharam-shop.single-product div.product section.upsells > h2 {
	margin: 56px 0 22px;
	font-size: 26px;
	letter-spacing: -0.01em;
	color: var(--ph-ink);
}

body.poharam-shop.single-product div.product section.related ul.products,
body.poharam-shop.single-product div.product section.upsells ul.products { margin-top: 0; }

/* --------------------------------------------- 10. Glass Designer környezete */
/*
 * A bővítmény markupja, JS-e és logikája érintetlen. Itt csak a kosárba doboz
 * rácsába illesztjük, és a design tipográfiáját/színeit adjuk neki. Rejtett
 * állapotait ([hidden]) mindig tiszteletben tartjuk.
 */

body.poharam-shop .gdfw-launcher [hidden],
body.poharam-shop .gdfw-artwork [hidden],
body.poharam-shop .gdfw-launcher[hidden],
body.poharam-shop .gdfw-artwork[hidden] { display: none !important; }

body.poharam-shop.single-product div.product form.cart .gdfw-launcher,
body.poharam-shop.single-product div.product form.cart .gdfw-artwork { margin: 0; }

body.poharam-shop.single-product div.product .gdfw-launcher {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 14px;
	border-radius: 20px;
	background: #fff;
}

body.poharam-shop.single-product div.product .gdfw-launcher__preview { gap: 12px; margin: 0; }

body.poharam-shop.single-product div.product .gdfw-launcher__preview img {
	flex: none;
	width: 56px;
	height: 56px;
	object-fit: contain;
	border: 0;
	border-radius: 14px;
	background: var(--ph-stripes);
}

body.poharam-shop.single-product div.product .gdfw-launcher__attached { font-size: 13px; line-height: 1.45; color: var(--ph-text-2); opacity: 1; }

body.poharam-shop .site-main button.gdfw-launcher__remove,
body.poharam-shop .site-main .gdfw-artwork__remove {
	flex: none;
	width: 34px;
	min-height: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--ph-soft);
	color: var(--ph-mute);
	box-shadow: none;
}

body.poharam-shop .site-main .gdfw-artwork__remove { width: auto; padding: 0 14px; font-size: 12px; font-weight: 600; }

body.poharam-shop .site-main button.gdfw-launcher__remove:hover,
body.poharam-shop .site-main .gdfw-artwork__remove:hover { background: var(--ph-pink-soft); color: var(--ph-pink); }

body.poharam-shop .site-main button.gdfw-launcher__button.button,
body.poharam-shop .site-main button.gdfw-launcher__button.button.alt {
	width: 100%;
	background: var(--ph-ink);
	color: #fff;
}

body.poharam-shop .site-main button.gdfw-launcher__button.button:hover,
body.poharam-shop .site-main button.gdfw-launcher__button.button.alt:hover { background: var(--ph-pink); color: #fff; }

body.poharam-shop.single-product div.product .gdfw-artwork__label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ph-mute); }
body.poharam-shop.single-product div.product .gdfw-artwork__hint,
body.poharam-shop.single-product div.product .gdfw-artwork__status { font-size: 12px; color: var(--ph-mute); opacity: 1; }
body.poharam-shop.single-product div.product .gdfw-artwork__status--error { color: var(--ph-pink-dark); }
body.poharam-shop.single-product div.product .gdfw-artwork__preview { border: 0; border-radius: 14px; background: var(--ph-stripes); }

/* Ajánlatkérés gomb (a kosárba doboz alatt). */
body.poharam-shop.single-product div.product .gdfw-quote { margin: 14px 0 0; }

body.poharam-shop .site-main .gdfw-quote-open.button {
	margin: 0;
	background: transparent;
	color: var(--ph-pink);
	box-shadow: inset 0 0 0 2px var(--ph-pink);
}

body.poharam-shop .site-main .gdfw-quote-open.button:hover { background: var(--ph-pink); color: #fff; }

/* Ártáblázat (ha a bővítmény kiírja). */
body.poharam-shop.single-product div.product .gdfw-tiers { font-size: 13px; }
body.poharam-shop.single-product div.product .gdfw-tiers caption { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ph-mute); }
body.poharam-shop.single-product div.product .gdfw-tiers th,
body.poharam-shop.single-product div.product .gdfw-tiers td { border-color: var(--ph-line); }

/* Dialógusok: csak tipográfia – a megjelenítést (open/close) a böngésző és a bővítmény kezeli. */
body.poharam-shop .gdfw-dialog { border-radius: 24px; font-family: var(--ph-body); color: var(--ph-ink); }
body.poharam-shop .site-main .gdfw-dialog .gdfw-dialog__title { font-size: 20px; }
body.poharam-shop .gdfw-dialog .gdfw-dialog__actions .button { min-height: 44px; padding: 12px 20px; }
body.poharam-shop .gdfw-dialog .gdfw-dialog__actions .button:not(.alt) { background: var(--ph-soft); color: var(--ph-ink); }
body.poharam-shop .gdfw-dialog .gdfw-dialog__actions .button:not(.alt):hover { background: var(--ph-ink); color: #fff; }
body.poharam-shop .gdfw-quote-form label { font-size: 12px; letter-spacing: 0.04em; }

/* „Design your glass” fül: a szerkesztő a panel teljes szélességét kapja. */
body.poharam-shop.single-product div.product .woocommerce-Tabs-panel--gdfw_designer { max-width: none; }
body.poharam-shop .gdfw-inline__slot { overflow: hidden; border: 0; border-radius: 24px; box-shadow: var(--ph-ring); }
body.poharam-shop .gdfw-inline--expanded .gdfw-inline__slot,
body.poharam-shop .gdfw-inline--bleed .gdfw-inline__slot { border-radius: 0; }

/* Kosár: a bővítmény "terv szerkesztése" linkje. */
body.poharam-shop .gdfw-cart-edit { font-size: 12px; font-weight: 600; }

/* ---------------------------------------------------------------- 11. Kosár */

body.poharam-shop .ph-cart {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.85fr);
	gap: 26px;
	align-items: start;
}

body.poharam-shop .ph-cart > * { min-width: 0; }

body.poharam-shop .site-main table.shop_table.cart,
body.poharam-shop .site-main table.shop_table.cart tbody {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.poharam-shop .site-main table.shop_table.cart thead { display: none; }
body.poharam-shop .site-main table.shop_table.cart tbody { display: flex; flex-direction: column; gap: 14px; }

body.poharam-shop .site-main table.shop_table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto minmax(110px, auto) 34px;
	grid-template-areas:
		"thumb name  qty sub remove"
		"thumb price qty sub remove";
	column-gap: 18px;
	row-gap: 4px;
	align-items: center;
	padding: 16px;
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--ph-ring);
}

body.poharam-shop .site-main table.shop_table.cart td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
}

body.poharam-shop .site-main table.shop_table.cart td::before { display: none; content: none; }

body.poharam-shop .site-main table.shop_table.cart td.product-thumbnail { grid-area: thumb; width: 92px; }
body.poharam-shop .site-main table.shop_table.cart td.product-name { grid-area: name; align-self: end; }
body.poharam-shop .site-main table.shop_table.cart td.product-price { grid-area: price; align-self: start; font-size: 12px; color: var(--ph-mute); }
body.poharam-shop .site-main table.shop_table.cart td.product-quantity { grid-area: qty; }
body.poharam-shop .site-main table.shop_table.cart td.product-subtotal { grid-area: sub; text-align: right; }
body.poharam-shop .site-main table.shop_table.cart td.product-remove { grid-area: remove; }

body.poharam-shop .site-main table.shop_table.cart td.product-thumbnail a { display: block; }

body.poharam-shop .site-main table.shop_table.cart td.product-thumbnail img {
	display: block;
	width: 92px;
	height: 92px;
	padding: 6px;
	object-fit: contain;
	border-radius: 18px;
	background: var(--ph-stripes);
	box-shadow: none;
}

body.poharam-shop .ph-cart-row__eyebrow { margin: 0 0 6px; }

body.poharam-shop .site-main table.shop_table.cart td.product-name,
body.poharam-shop .site-main table.shop_table.cart td.product-name a {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ph-ink);
}

body.poharam-shop .site-main table.shop_table.cart td.product-name a:hover { color: var(--ph-pink); }

body.poharam-shop .ph-cart-row__meta,
body.poharam-shop .site-main table.shop_table.cart td.product-name dl.variation {
	margin: 4px 0 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ph-mute);
}

body.poharam-shop .site-main dl.variation { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 4px 0 0; }
body.poharam-shop .site-main dl.variation dt,
body.poharam-shop .site-main dl.variation dd { float: none; margin: 0; padding: 0; font-weight: 400; }
body.poharam-shop .site-main dl.variation dd { margin-right: 8px; }
body.poharam-shop .site-main dl.variation dd p { margin: 0; }

body.poharam-shop .site-main table.shop_table.cart .quantity.ph-qty { background: var(--ph-soft); }

body.poharam-shop .site-main table.shop_table.cart td.product-subtotal {
	font-family: var(--ph-display);
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.01em;
	white-space: nowrap;
	color: var(--ph-ink);
}

body.poharam-shop .site-main table.shop_table.cart a.remove,
body.poharam-shop .site-main a.remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: var(--ph-soft);
	color: var(--ph-mute) !important;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
}

body.poharam-shop .site-main table.shop_table.cart a.remove:hover,
body.poharam-shop .site-main a.remove:hover { background: var(--ph-pink); color: #fff !important; }

/* Kupon + frissítés sor */

body.poharam-shop .site-main table.shop_table.cart tr:not(.cart_item) { display: block; }

body.poharam-shop .site-main table.shop_table.cart td.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 18px;
	border-radius: 24px;
	background: var(--ph-soft);
	text-align: left;
}

body.poharam-shop .site-main table.shop_table.cart td.actions .coupon {
	display: flex;
	flex: 1 1 320px;
	flex-wrap: wrap;
	gap: 12px;
	float: none;
	padding: 0;
	border: 0;
}

body.poharam-shop .site-main table.shop_table.cart td.actions .coupon .input-text {
	flex: 1 1 180px;
	width: auto;
	min-height: 48px;
	margin: 0;
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	background: #fff;
}

body.poharam-shop .site-main table.shop_table.cart td.actions .coupon .button { background: var(--ph-ink); }
body.poharam-shop .site-main table.shop_table.cart td.actions .coupon .button:hover { background: var(--ph-pink); }
body.poharam-shop .site-main table.shop_table.cart td.actions > .button { float: none; margin-left: auto; background: transparent; color: var(--ph-text-2); box-shadow: inset 0 0 0 1px var(--ph-line); }
body.poharam-shop .site-main table.shop_table.cart td.actions > .button:not(:disabled):hover { background: var(--ph-ink); color: #fff; }

/* JS mellett a mennyiség változása magától frissít (assets/js/shop.js) – a gomb ilyenkor rejtett. */
html.ph-js body.poharam-shop .site-main table.shop_table.cart td.actions > button[name="update_cart"] { display: none; }

/* Összegzés */

body.poharam-shop .ph-cart__aside,
body.poharam-shop .site-main .cart-collaterals {
	position: sticky;
	top: var(--ph-sticky-top);
	width: 100%;
}

body.poharam-shop .site-main .cart-collaterals .cart_totals,
body.poharam-shop .site-main .cart-collaterals .cross-sells { float: none; width: 100%; }

body.poharam-shop .site-main .cart_totals {
	padding: 28px;
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--ph-ring);
}

body.poharam-shop .site-main .cart_totals > h2 { margin: 0 0 20px; font-size: 20px; color: var(--ph-ink); }

body.poharam-shop .site-main .cart_totals table.shop_table,
body.poharam-shop .site-main .cart_totals table.shop_table tbody {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
}

body.poharam-shop .site-main .cart_totals table.shop_table tr {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 12px;
	padding: 6px 0;
}

body.poharam-shop .site-main .cart_totals table.shop_table th,
body.poharam-shop .site-main .cart_totals table.shop_table td {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
	background: transparent !important;
	font-size: 14px;
	line-height: 1.5;
	text-align: right !important;
}

body.poharam-shop .site-main .cart_totals table.shop_table th { font-weight: 400; color: var(--ph-text-2); text-align: left !important; }
body.poharam-shop .site-main .cart_totals table.shop_table td { font-weight: 600; color: var(--ph-ink); }
body.poharam-shop .site-main .cart_totals table.shop_table td::before { display: none; content: none; }
body.poharam-shop .site-main .cart_totals table.shop_table small { font-weight: 400; color: var(--ph-mute); }

body.poharam-shop .site-main .cart_totals tr.order-total { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--ph-line); }
body.poharam-shop .site-main .cart_totals tr.order-total th { font-weight: 600; color: var(--ph-ink); }

body.poharam-shop .site-main .cart_totals tr.order-total td strong,
body.poharam-shop .site-main .cart_totals tr.order-total td .amount {
	font-family: var(--ph-display);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--ph-pink);
}

body.poharam-shop .site-main .cart_totals tr.order-total td small .amount { font-family: var(--ph-body); font-size: 12px; font-weight: 400; color: var(--ph-mute); }

/* Szállítási módok (kosár összegzés és pénztár) */

body.poharam-shop .site-main tr.woocommerce-shipping-totals,
body.poharam-shop .site-main .cart_totals table.shop_table tr.woocommerce-shipping-totals { flex-direction: column; align-items: stretch; }
body.poharam-shop .site-main .cart_totals tr.woocommerce-shipping-totals td { text-align: left !important; }

body.poharam-shop .site-main ul#shipping_method,
body.poharam-shop .site-main ul.woocommerce-shipping-methods {
	display: grid;
	gap: 8px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

body.poharam-shop .site-main ul#shipping_method li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--ph-soft);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	text-indent: 0;
}

body.poharam-shop .site-main ul#shipping_method li:has(input:checked),
body.poharam-shop .site-main ul#shipping_method li:only-child { background: #fff; box-shadow: 0 0 0 2px var(--ph-pink); }
body.poharam-shop .site-main ul#shipping_method li input { margin: 0; }
body.poharam-shop .site-main ul#shipping_method li label { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin: 0; cursor: pointer; }
body.poharam-shop .site-main .woocommerce-shipping-destination,
body.poharam-shop .site-main .woocommerce-shipping-calculator { margin: 8px 0 0; font-size: 12px; font-weight: 400; color: var(--ph-mute); }
body.poharam-shop .site-main .shipping-calculator-button { font-weight: 600; }
body.poharam-shop .site-main .shipping-calculator-form { display: grid; gap: 10px; margin-top: 10px; }

body.poharam-shop .site-main .wc-proceed-to-checkout { margin: 0; padding: 22px 0 0; }

body.poharam-shop .site-main .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 17px;
	font-size: 13px;
}

body.poharam-shop .site-main .wc-proceed-to-checkout a.checkout-button:hover { background: var(--ph-ink); }

body.poharam-shop .site-main a.ph-continue { display: block; margin-top: 14px; font-size: 13px; font-weight: 600; text-align: center; color: var(--ph-text-2); }
body.poharam-shop .site-main a.ph-continue:hover { color: var(--ph-pink); }

body.poharam-shop .ph-note {
	margin-top: 22px;
	padding: 16px;
	border-radius: 18px;
	font-size: 12px;
	line-height: 1.6;
}

body.poharam-shop .ph-note--teal { background: var(--ph-teal-soft); color: var(--ph-teal-dark); }
body.poharam-shop .ph-note .amount { font-weight: 700; }

body.poharam-shop .site-main .cross-sells { margin-top: 26px; }
body.poharam-shop .site-main .cross-sells > h2 { margin: 0 0 16px; font-size: 20px; }
body.poharam-shop .site-main .cross-sells ul.products { grid-template-columns: minmax(0, 1fr); margin: 0; }

/* Üres kosár */

body.poharam-shop .site-main .cart-empty.woocommerce-info { justify-content: center; padding: 40px 24px; font-size: 16px; font-weight: 600; text-align: center; }
body.poharam-shop .site-main .cart-empty.woocommerce-info::before { display: none; }
body.poharam-shop .site-main .return-to-shop { margin: 0; text-align: center; }

/* ------------------------------------------------------------- 12. Pénztár */

body.poharam-shop .ph-steps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

body.poharam-shop .ph-step {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--ph-ink);
	white-space: nowrap;
}

body.poharam-shop .ph-step:last-child { flex: 0 0 auto; }
body.poharam-shop .ph-step:not(:last-child)::after { content: ""; flex: 1; min-width: 20px; height: 1px; margin-left: 4px; background: var(--ph-line); }

body.poharam-shop .ph-step__dot {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: var(--ph-soft);
	font-size: 12px;
}

body.poharam-shop .ph-step.is-done { color: var(--ph-mute); }
body.poharam-shop .ph-step.is-done .ph-step__dot { background: var(--ph-teal-soft); color: var(--ph-teal-text); }
body.poharam-shop .ph-step.is-active .ph-step__dot { background: var(--ph-pink); color: #fff; }
body.poharam-shop .ph-step.is-todo { color: var(--ph-ink-mute); }

body.poharam-shop .site-main .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 14px; }

body.poharam-shop .site-main form.checkout_coupon,
body.poharam-shop .site-main form.woocommerce-form-login {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	margin: 0 0 22px;
	padding: 18px;
	border: 0;
	border-radius: 24px;
	background: var(--ph-soft);
}

body.poharam-shop .site-main form.checkout_coupon > p:not(.form-row) { flex: 1 1 100%; margin: 0; font-size: 13px; color: var(--ph-text-2); }
body.poharam-shop .site-main form.checkout_coupon .form-row { float: none; width: auto; }
body.poharam-shop .site-main form.checkout_coupon .form-row-first { flex: 1 1 220px; }
body.poharam-shop .site-main form.checkout_coupon .input-text { border: 0; border-radius: 999px; }
body.poharam-shop .site-main form.checkout_coupon .button { background: var(--ph-ink); }
body.poharam-shop .site-main form.checkout_coupon .clear { display: none; }

body.poharam-shop .site-main form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.85fr);
	column-gap: 26px;
	row-gap: 0;
	align-items: start;
}

body.poharam-shop .site-main form.checkout::before,
body.poharam-shop .site-main form.checkout::after { display: none; }

body.poharam-shop .site-main form.checkout > * { grid-column: 1; min-width: 0; }
body.poharam-shop .site-main form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
body.poharam-shop .site-main form.checkout > #customer_details { grid-row: 1 / span 20; }
body.poharam-shop .site-main form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; }
body.poharam-shop .site-main form.checkout > #order_review { grid-column: 2; grid-row: 2; }
body.poharam-shop .site-main form.checkout:has(> .woocommerce-NoticeGroup) > #customer_details { grid-row: 2 / span 20; }
body.poharam-shop .site-main form.checkout:has(> .woocommerce-NoticeGroup) > #order_review_heading { grid-row: 2; }
body.poharam-shop .site-main form.checkout:has(> .woocommerce-NoticeGroup) > #order_review { grid-row: 3; }

/* Bal oldal: kártyák */

body.poharam-shop .site-main #customer_details.col2-set,
body.poharam-shop .site-main .col2-set { display: flex; flex-direction: column; gap: 18px; width: 100%; float: none; }
body.poharam-shop .site-main .col2-set::before,
body.poharam-shop .site-main .col2-set::after { display: none; }
body.poharam-shop .site-main .col2-set .col-1,
body.poharam-shop .site-main .col2-set .col-2 { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: none; float: none; margin: 0; padding: 0; }

body.poharam-shop .site-main .woocommerce-billing-fields,
body.poharam-shop .site-main .woocommerce-shipping-fields:has(*),
body.poharam-shop .site-main .woocommerce-additional-fields:has(.form-row),
body.poharam-shop .site-main .woocommerce-account-fields:has(.form-row) {
	padding: 26px;
	border-radius: 26px;
	background: #fff;
	box-shadow: var(--ph-ring);
}

body.poharam-shop .site-main .woocommerce-billing-fields > h3,
body.poharam-shop .site-main .woocommerce-shipping-fields > h3,
body.poharam-shop .site-main .woocommerce-additional-fields > h3 { margin: 0 0 20px; font-size: 20px; line-height: 1.2; color: var(--ph-ink); }

body.poharam-shop .site-main #ship-to-different-address { margin: 0; font-family: var(--ph-body); font-size: 14px; font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; }
body.poharam-shop .site-main #ship-to-different-address label { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
body.poharam-shop .site-main .shipping_address { margin-top: 20px; }

body.poharam-shop .site-main .woocommerce-billing-fields__field-wrapper,
body.poharam-shop .site-main .woocommerce-shipping-fields__field-wrapper,
body.poharam-shop .site-main .woocommerce-additional-fields__field-wrapper,
body.poharam-shop .site-main .woocommerce-account-fields .create-account {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

body.poharam-shop .site-main form.checkout .form-row { grid-column: 1 / -1; float: none; width: auto; margin: 0; padding: 0; }
body.poharam-shop .site-main form.checkout .form-row.form-row-first,
body.poharam-shop .site-main form.checkout .form-row.form-row-last { grid-column: span 1; }
body.poharam-shop .site-main form.checkout .form-row.hidden,
body.poharam-shop .site-main form.checkout .form-row[style*="display: none"] { display: none; }
body.poharam-shop .site-main form.checkout .form-row textarea { min-height: 110px; }
body.poharam-shop .site-main form.checkout .woocommerce-account-fields p.create-account { display: block; }

/* Jobb oldal: sötét "Rendelésem" kártya */

body.poharam-shop .site-main #order_review_heading {
	margin: 0;
	padding: 28px 28px 8px;
	border-radius: 28px 28px 0 0;
	background: var(--ph-ink);
	color: #fff;
	font-size: 20px;
	line-height: 1.2;
}

body.poharam-shop .site-main #order_review {
	padding: 12px 28px 28px;
	border-radius: 0 0 28px 28px;
	background: var(--ph-ink);
	color: #fff;
}

body.poharam-shop .site-main #order_review table.shop_table {
	width: 100%;
	margin: 0 0 18px;
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
	background: transparent;
	color: #fff;
	font-size: 13px;
}

body.poharam-shop .site-main #order_review table.shop_table th,
body.poharam-shop .site-main #order_review table.shop_table td {
	padding: 10px 0;
	border: 0;
	border-top: 1px solid var(--ph-ink-2);
	background: transparent;
	color: inherit;
	line-height: 1.5;
	vertical-align: top;
}

body.poharam-shop .site-main #order_review table.shop_table thead th {
	padding-top: 0;
	border-top: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ph-mute);
}

body.poharam-shop .site-main #order_review table.shop_table td.product-name { font-weight: 600; }
body.poharam-shop .site-main #order_review table.shop_table .product-quantity { font-weight: 500; color: var(--ph-mute); }
body.poharam-shop .site-main #order_review table.shop_table dl.variation { font-size: 12px; color: var(--ph-mute); }
body.poharam-shop .site-main #order_review table.shop_table .product-total,
body.poharam-shop .site-main #order_review table.shop_table tfoot td { font-weight: 600; text-align: right; white-space: nowrap; }
body.poharam-shop .site-main #order_review table.shop_table tfoot th { font-weight: 400; color: var(--ph-ink-mute); text-align: left; }
body.poharam-shop .site-main #order_review table.shop_table tfoot tr.woocommerce-shipping-totals td { white-space: normal; }

body.poharam-shop .site-main #order_review table.shop_table tr.order-total th { font-weight: 600; color: #fff; vertical-align: baseline; }
body.poharam-shop .site-main #order_review table.shop_table tr.order-total td { vertical-align: baseline; }

body.poharam-shop .site-main #order_review table.shop_table tr.order-total td strong,
body.poharam-shop .site-main #order_review table.shop_table tr.order-total td strong .amount {
	font-family: var(--ph-display);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ph-pink-light);
}

body.poharam-shop .site-main #order_review table.shop_table tr.order-total small { display: block; font-size: 11px; font-weight: 400; color: var(--ph-mute); }
body.poharam-shop .site-main #order_review table.shop_table tr.order-total small .amount { font-family: var(--ph-body); font-size: 11px; font-weight: 400; color: var(--ph-mute); }

body.poharam-shop .site-main #order_review ul#shipping_method li { background: rgba(255, 255, 255, 0.06); color: #fff; }
body.poharam-shop .site-main #order_review ul#shipping_method li:has(input:checked),
body.poharam-shop .site-main #order_review ul#shipping_method li:only-child { background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 2px var(--ph-pink); }
body.poharam-shop .site-main #order_review ul#shipping_method li label { color: #fff; text-align: left; }
body.poharam-shop .site-main #order_review a { color: var(--ph-pink-light); }

/* Fizetési módok */

body.poharam-shop .site-main #payment,
body.poharam-shop.woocommerce-checkout #payment {
	border-radius: 0;
	background: transparent;
	color: #fff;
}

body.poharam-shop .site-main #payment ul.payment_methods {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0 0 18px;
	border: 0;
	list-style: none;
}

body.poharam-shop .site-main #payment ul.payment_methods::before,
body.poharam-shop .site-main #payment ul.payment_methods::after { display: none; }

body.poharam-shop .site-main #payment ul.payment_methods li {
	margin: 0;
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
}

body.poharam-shop .site-main #payment ul.payment_methods li:has(> input:checked) { box-shadow: 0 0 0 2px var(--ph-pink); }
body.poharam-shop .site-main #payment ul.payment_methods li > input { margin: 0 8px 0 0; vertical-align: middle; }
body.poharam-shop .site-main #payment ul.payment_methods li > label { display: inline; margin: 0; font-weight: 600; color: #fff; cursor: pointer; }
body.poharam-shop .site-main #payment ul.payment_methods li img { max-height: 24px; margin: 0 0 0 6px; vertical-align: middle; }

body.poharam-shop .site-main #payment ul.payment_methods li.woocommerce-notice,
body.poharam-shop .site-main #payment ul.payment_methods li.woocommerce-info {
	padding: 14px 16px 14px 44px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--ph-ink-mute);
}

body.poharam-shop .site-main #payment div.payment_box {
	margin: 12px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--ph-ink-mute);
	font-size: 12px;
	line-height: 1.6;
}

body.poharam-shop .site-main #payment div.payment_box::before { display: none; }
body.poharam-shop .site-main #payment div.payment_box p:last-child { margin-bottom: 0; }
body.poharam-shop .site-main #payment div.payment_box input,
body.poharam-shop .site-main #payment div.payment_box select { color: var(--ph-ink); }

body.poharam-shop .site-main #payment div.form-row.place-order { display: grid; gap: 14px; margin: 0; padding: 0; }

body.poharam-shop .site-main #payment .woocommerce-privacy-policy-text,
body.poharam-shop .site-main #payment .woocommerce-terms-and-conditions-wrapper {
	font-size: 12px;
	line-height: 1.6;
	color: var(--ph-ink-mute);
}

body.poharam-shop .site-main #payment .woocommerce-privacy-policy-text p { margin: 0; }
body.poharam-shop .site-main #payment .woocommerce-terms-and-conditions-wrapper label.checkbox,
body.poharam-shop .site-main #payment .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox { color: #fff; font-size: 13px; }
body.poharam-shop .site-main #payment .woocommerce-terms-and-conditions { max-height: 200px; padding: 12px; border-radius: 12px; background: #fff; color: var(--ph-ink); }

body.poharam-shop .site-main #payment #place_order {
	float: none;
	width: 100%;
	min-height: 56px;
	padding: 17px;
	font-size: 13px;
}

body.poharam-shop .site-main #payment #place_order:hover { background: #fff; color: var(--ph-pink); }

/* ------------------------------------------------------ 13. Visszaigazolás */

body.poharam-shop .ph-thankyou { display: grid; gap: 24px; }

body.poharam-shop .ph-thanks-hero {
	position: relative;
	overflow: hidden;
	padding: 52px 44px;
	border-radius: 32px;
	background: var(--ph-pink);
	color: #fff;
}

body.poharam-shop .ph-thanks-hero::after {
	content: "";
	position: absolute;
	top: -30px;
	right: -30px;
	width: 180px;
	height: 180px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	pointer-events: none;
}

body.poharam-shop .ph-thanks-hero--failed { background: var(--ph-ink); }

body.poharam-shop .ph-thanks-hero__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 999px;
	background: #fff;
	color: var(--ph-pink);
	font-size: 26px;
	font-weight: 700;
}

body.poharam-shop .site-main .ph-thanks-hero__title {
	position: relative;
	z-index: 1;
	max-width: 18ch;
	margin: 22px 0 12px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: var(--ph-h1);
	line-height: 0.96;
	letter-spacing: -0.02em;
	color: #fff;
}

body.poharam-shop .ph-thanks-hero--failed .ph-thanks-hero__title { margin-top: 0; }
body.poharam-shop .ph-thanks-hero__text { position: relative; z-index: 1; max-width: 520px; margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.92); }
body.poharam-shop .ph-thanks-hero__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; padding: 0; background: transparent; }
body.poharam-shop .ph-thanks-hero__actions::before { display: none; }

body.poharam-shop .ph-order-details {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.85fr);
	grid-auto-flow: row dense;
	gap: 18px 26px;
	align-items: start;
}

body.poharam-shop .ph-order-details > * { grid-column: 1; min-width: 0; margin: 0; }
body.poharam-shop .ph-order-details > .ph-thanks-aside { display: flex; flex-direction: column; gap: 14px; grid-column: 2; grid-row: 1 / span 3; }

body.poharam-shop .site-main ul.ph-order-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.poharam-shop .site-main ul.ph-order-meta::before,
body.poharam-shop .site-main ul.ph-order-meta::after { display: none; }

body.poharam-shop .site-main ul.ph-order-meta li {
	float: none;
	margin: 0;
	padding: 20px;
	border: 0;
	border-radius: 20px;
	background: var(--ph-soft);
	font-size: 15px;
	line-height: 1.4;
	text-transform: none;
}

body.poharam-shop .ph-order-meta__label {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ph-mute);
}

body.poharam-shop .site-main ul.ph-order-meta li strong { display: block; font-size: 15px; font-weight: 600; color: var(--ph-ink); overflow-wrap: anywhere; }
body.poharam-shop .site-main ul.ph-order-meta .ph-order-meta__mono { font-family: ui-monospace, "JetBrains Mono", Consolas, monospace; font-weight: 500; }
body.poharam-shop .site-main ul.ph-order-meta li.ph-order-meta__total { background: var(--ph-teal-soft); }
body.poharam-shop .site-main ul.ph-order-meta li.ph-order-meta__total .ph-order-meta__label { color: var(--ph-teal-text); }
body.poharam-shop .site-main ul.ph-order-meta li.ph-order-meta__total strong { font-family: var(--ph-display); font-size: 19px; font-weight: 800; color: var(--ph-teal-dark); }

body.poharam-shop .site-main .woocommerce-order-details,
body.poharam-shop .site-main .woocommerce-customer-details,
body.poharam-shop .site-main .woocommerce-bacs-bank-details,
body.poharam-shop .site-main .ph-order-details > .wc-bacs-bank-details-heading + .wc-bacs-bank-details {
	margin: 0;
	padding: 26px;
	border-radius: 26px;
	background: #fff;
	box-shadow: var(--ph-ring);
}

body.poharam-shop .site-main .woocommerce-order-details__title,
body.poharam-shop .site-main .woocommerce-column__title,
body.poharam-shop .site-main .wc-bacs-bank-details-heading { margin: 0 0 20px; font-size: 20px; color: var(--ph-ink); }

body.poharam-shop .site-main table.woocommerce-table--order-details {
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
	font-size: 14px;
}

body.poharam-shop .site-main table.woocommerce-table--order-details th,
body.poharam-shop .site-main table.woocommerce-table--order-details td {
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--ph-line);
	background: transparent;
	line-height: 1.5;
	vertical-align: top;
}

body.poharam-shop .site-main table.woocommerce-table--order-details thead th { padding-top: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ph-mute); }
body.poharam-shop .site-main table.woocommerce-table--order-details td.product-name { font-weight: 600; }
body.poharam-shop .site-main table.woocommerce-table--order-details td.product-name a { color: var(--ph-ink); }
body.poharam-shop .site-main table.woocommerce-table--order-details .product-quantity { font-weight: 500; color: var(--ph-mute); }
body.poharam-shop .site-main table.woocommerce-table--order-details td.product-total { font-family: var(--ph-display); font-size: 17px; font-weight: 800; text-align: right; }
body.poharam-shop .site-main table.woocommerce-table--order-details tfoot td { font-weight: 600; text-align: right; }
body.poharam-shop .site-main table.woocommerce-table--order-details tfoot th { font-weight: 400; color: var(--ph-text-2); }
body.poharam-shop .site-main table.woocommerce-table--order-details tfoot tr:last-child th,
body.poharam-shop .site-main table.woocommerce-table--order-details tfoot tr:last-child td { border-bottom: 0; }
body.poharam-shop .site-main table.woocommerce-table--order-details tfoot tr:has(.ph-order-total) th { font-weight: 600; color: var(--ph-ink); vertical-align: baseline; }
body.poharam-shop .site-main table.woocommerce-table--order-details tfoot tr:has(.ph-order-total) td { vertical-align: baseline; }
body.poharam-shop .site-main .ph-order-total,
body.poharam-shop .site-main .ph-order-total .amount { font-family: var(--ph-display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ph-pink); }
body.poharam-shop .site-main .ph-order-total small,
body.poharam-shop .site-main .ph-order-total small .amount { display: block; font-family: var(--ph-body); font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--ph-mute); }

body.poharam-shop .site-main .woocommerce-customer-details .col2-set { flex-direction: row; flex-wrap: wrap; }
body.poharam-shop .site-main .woocommerce-customer-details .col2-set .col-1,
body.poharam-shop .site-main .woocommerce-customer-details .col2-set .col-2 { flex: 1 1 240px; width: auto; }
body.poharam-shop .site-main .woocommerce-customer-details address {
	margin: 0;
	padding: 18px;
	border: 0;
	border-radius: 18px;
	background: var(--ph-soft);
	font-size: 14px;
	font-style: normal;
	line-height: 1.7;
	color: var(--ph-text-2);
}

body.poharam-shop .site-main .woocommerce-customer-details address p { margin: 6px 0 0; padding: 0; }
body.poharam-shop .site-main .woocommerce-customer-details address p::before { display: none; }
body.poharam-shop .site-main .woocommerce-customer-details .woocommerce-column__title { font-size: 16px; margin-bottom: 12px; }

body.poharam-shop .ph-next {
	padding: 26px;
	border-radius: 26px;
	background: #fff;
	box-shadow: var(--ph-ring);
}

body.poharam-shop .site-main .ph-next__title { margin: 0 0 16px; font-size: 18px; color: var(--ph-ink); }
body.poharam-shop .ph-next__list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
body.poharam-shop .ph-next__list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 13px; line-height: 1.55; color: var(--ph-text-2); }

body.poharam-shop .ph-next__num {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: var(--ph-pink-soft);
	color: var(--ph-pink);
	font-size: 12px;
	font-weight: 700;
}

body.poharam-shop .ph-next__list li:first-child .ph-next__num { background: var(--ph-pink); color: #fff; }
body.poharam-shop .ph-next .ph-btn { width: 100%; margin-top: 20px; }

body.poharam-shop .ph-help { padding: 22px; border-radius: 26px; background: var(--ph-teal-soft); color: var(--ph-teal-dark); }
body.poharam-shop .ph-help__title { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
body.poharam-shop .ph-help__text { display: block; font-size: 13px; line-height: 1.6; }
body.poharam-shop .site-main .ph-help a { color: var(--ph-teal-dark); }
body.poharam-shop .site-main .ph-help a:hover { color: var(--ph-ink); }

/* Fizetés oldal (order-pay) */
body.poharam-shop .site-main #order_review.order-pay,
body.poharam-shop .site-main form#order_review { max-width: 720px; padding: 28px; border-radius: 28px; }

/* ----------------------------------------------------------- 14. Reszponzív */

@media (max-width: 1200px) {
	body.poharam-shop { --ph-gutter: 32px; }
	body.poharam-shop .site-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.poharam-shop .site-main section.related ul.products,
	body.poharam-shop .site-main section.upsells ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.poharam-shop .site-main section.related ul.products li.product:nth-child(n+4),
	body.poharam-shop .site-main section.upsells ul.products li.product:nth-child(n+4) { display: none; }
}

@media (max-width: 1024px) {
	body.poharam-shop { --ph-gutter: 24px; --ph-h1: 42px; --ph-sticky-top: 110px; }

	body.poharam-shop .ph-hero--media { grid-template-columns: minmax(0, 1fr); }
	body.poharam-shop .ph-hero__media { min-height: 220px; }

	body.poharam-shop.single-product div.product { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
	body.poharam-shop.single-product div.product > .woocommerce-product-gallery,
	body.poharam-shop.single-product div.product > .summary { grid-column: 1; }

	body.poharam-shop .ph-details,
	body.poharam-shop .ph-cart,
	body.poharam-shop .ph-order-details { grid-template-columns: minmax(0, 1fr); }

	body.poharam-shop .ph-order-details > .ph-thanks-aside { grid-column: 1; grid-row: auto; }

	body.poharam-shop .ph-cart__aside,
	body.poharam-shop .site-main .cart-collaterals { position: static; }

	body.poharam-shop .site-main form.checkout { grid-template-columns: minmax(0, 1fr); }
	body.poharam-shop .site-main form.checkout > *,
	body.poharam-shop .site-main form.checkout > #customer_details,
	body.poharam-shop .site-main form.checkout > #order_review_heading,
	body.poharam-shop .site-main form.checkout > #order_review,
	body.poharam-shop .site-main form.checkout:has(> .woocommerce-NoticeGroup) > * { grid-column: 1; grid-row: auto; }
	body.poharam-shop .site-main form.checkout > #order_review_heading { margin-top: 26px; }
}

@media (max-width: 780px) {
	body.poharam-shop { --ph-gutter: 16px; --ph-h1: 34px; }

	body.poharam-shop main.site-main { padding-top: 18px; }

	body.poharam-shop .ph-hero { padding: 30px 24px; border-radius: 26px; }
	body.poharam-shop .ph-thanks-hero { padding: 34px 24px; border-radius: 26px; }

	body.poharam-shop .ph-toolbar { margin-top: 24px; }
	body.poharam-shop .ph-toolbar__side { width: 100%; justify-content: space-between; margin-left: 0; }
	body.poharam-shop .ph-chips { flex-wrap: nowrap; max-width: 100%; margin: 0 calc(var(--ph-gutter) * -1); padding: 0 var(--ph-gutter) 4px; overflow-x: auto; scrollbar-width: none; }
	body.poharam-shop .ph-chips::-webkit-scrollbar { display: none; }
	body.poharam-shop .site-main a.ph-chip { flex: none; }
	body.poharam-shop .site-main .woocommerce-ordering select.orderby { min-width: 0; }

	body.poharam-shop .site-main ul.products,
	body.poharam-shop .site-main section.related ul.products,
	body.poharam-shop .site-main section.upsells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	body.poharam-shop .site-main section.related ul.products li.product:nth-child(n+3),
	body.poharam-shop .site-main section.upsells ul.products li.product:nth-child(n+3) { display: none; }

	body.poharam-shop .ph-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	body.poharam-shop .ph-fact { padding: 14px; }
	body.poharam-shop .ph-fact__value { font-size: 17px; }

	body.poharam-shop.single-product div.product form.cart { padding: 18px; }
	body.poharam-shop.single-product div.product table.shop_attributes tbody { grid-template-columns: minmax(0, 1fr); }

	body.poharam-shop .ph-details:has(.gdfw_designer_tab) .ph-cta,
	body.poharam-shop .ph-details:has(#tab-gdfw_designer) .ph-cta { display: block; }

	body.poharam-shop .site-main table.shop_table.cart tr.cart_item {
		grid-template-columns: 72px minmax(0, 1fr) 34px;
		grid-template-areas:
			"thumb name  remove"
			"thumb price price"
			"qty   qty   sub";
		row-gap: 10px;
		column-gap: 14px;
	}

	body.poharam-shop .site-main table.shop_table.cart td.product-thumbnail,
	body.poharam-shop .site-main table.shop_table.cart td.product-thumbnail img { width: 72px; height: 72px; }
	body.poharam-shop .site-main table.shop_table.cart td.product-thumbnail { align-self: start; }
	body.poharam-shop .site-main table.shop_table.cart td.product-remove { align-self: start; }
	body.poharam-shop .site-main table.shop_table.cart td.product-subtotal { align-self: center; }

	body.poharam-shop .site-main table.shop_table_responsive tr td,
	body.poharam-shop .site-main table.shop_table_responsive tr:nth-child(2n) td { background: transparent; }
	body.poharam-shop .site-main table.shop_table.cart tr td { text-align: left !important; }
	body.poharam-shop .site-main table.shop_table.cart tr td.product-subtotal { text-align: right !important; }

	body.poharam-shop .site-main ul.ph-order-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	body.poharam-shop .ph-steps { gap: 10px; }
	body.poharam-shop .ph-step { font-size: 11px; letter-spacing: 0.06em; }
}

@media (max-width: 560px) {
	body.poharam-shop .site-main ul.products,
	body.poharam-shop .site-main section.related ul.products,
	body.poharam-shop .site-main section.upsells ul.products { grid-template-columns: minmax(0, 1fr); }

	body.poharam-shop .ph-hero__actions .ph-btn { flex: 1 1 100%; }

	body.poharam-shop .site-main .woocommerce-billing-fields__field-wrapper,
	body.poharam-shop .site-main .woocommerce-shipping-fields__field-wrapper,
	body.poharam-shop .site-main .woocommerce-additional-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	body.poharam-shop .site-main form.checkout .form-row.form-row-first,
	body.poharam-shop .site-main form.checkout .form-row.form-row-last { grid-column: 1 / -1; }

	body.poharam-shop .site-main .woocommerce-billing-fields,
	body.poharam-shop .site-main .woocommerce-shipping-fields:has(*),
	body.poharam-shop .site-main .woocommerce-additional-fields:has(.form-row),
	body.poharam-shop .site-main .cart_totals,
	body.poharam-shop .ph-next { padding: 20px; border-radius: 22px; }
	body.poharam-shop .site-main #order_review_heading { padding: 22px 20px 6px; border-radius: 22px 22px 0 0; }
	body.poharam-shop .site-main #order_review { padding: 10px 20px 22px; border-radius: 0 0 22px 22px; }

	body.poharam-shop .ph-steps .ph-step:not(.is-active) { font-size: 0; letter-spacing: 0; gap: 0; }
	body.poharam-shop .ph-steps .ph-step:not(.is-active) .ph-step__dot { font-size: 12px; }

	body.poharam-shop .site-main .button,
	body.poharam-shop .ph-btn { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	body.poharam-shop *,
	body.poharam-shop *::before,
	body.poharam-shop *::after { transition: none !important; animation: none !important; }
}
