/* ==========================================================================
   4Geeks theme: styles that theme.json cannot express.
   Colours, fonts and sizes come from theme.json presets (var(--wp--preset--…)).
   ========================================================================== */

:root {
	--g4-bg: var(--wp--preset--color--base);
	--g4-surface: var(--wp--preset--color--surface);
	--g4-surface-2: var(--wp--preset--color--surface-2);
	--g4-line: var(--wp--preset--color--line);
	--g4-fg: var(--wp--preset--color--contrast);
	--g4-muted: var(--wp--preset--color--muted);
	--g4-accent: var(--wp--preset--color--accent);
	--g4-ink: var(--wp--preset--color--accent-ink);
	--g4-sale: var(--wp--preset--color--sale);
	--g4-pre: var(--wp--preset--color--preorder);
	--g4-wait: #b39dff; /* «Αναμένεται» from the supplier; pre-order keeps the amber */
	--g4-wait-ink: #170f33;
	--g4-ok: var(--wp--preset--color--success);
	--g4-r: 12px;
	--g4-r-l: 18px;
	--g4-glow: 0 0 24px rgba(0, 194, 255, 0.22);
	--g4-ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}

html { scroll-padding-top: 140px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
.g4-muted, .g4-muted p { color: var(--g4-muted); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--g4-accent); outline-offset: 2px; }

.screen-reader-text:focus { background: var(--g4-surface); color: var(--g4-fg); }

/* Eyebrow style (registered block style) */
.is-style-fourgeeks-eyebrow {
	font-size: 0.75rem !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--g4-accent);
	margin: 0;
}
.g4-eyebrow--pre { color: var(--g4-pre); }
.g4-eyebrow--sale { color: var(--g4-sale); }

/* Group styles */
.is-style-fourgeeks-card {
	background: var(--g4-surface);
	border: 1px solid var(--g4-line);
	border-radius: var(--g4-r-l);
	padding: clamp(1.25rem, 3vw, 2rem);
}
.is-style-fourgeeks-glow {
	background: radial-gradient(120% 140% at 0% 0%, #0f3a56 0%, #172636 60%);
	border: 1px solid #1d4562;
	border-radius: var(--g4-r-l);
	box-shadow: var(--g4-glow);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

/* ---------------------------------------------------------------- Ticker */

.g4-ticker {
	background: #05080c;
	border-bottom: 1px solid #0d1620;
	overflow: hidden;
	font-size: 0.8125rem;
	color: #b9c7d6;
	padding-block: 0.45rem;
}
.g4-ticker__track { gap: 3rem !important; width: max-content; padding-inline: 1rem; }
/* Each message is plain inline text, so HTML inside it (bold, links) flows normally; the ◆ follows it. */
.g4-ticker__track p { margin: 0; white-space: nowrap; }
.g4-ticker__track p::after { content: "◆"; display: inline-block; margin-left: 3rem; vertical-align: middle; color: var(--g4-accent); font-size: 0.55rem; line-height: 1; }
.g4-ticker strong { color: var(--g4-fg); }
.g4-ticker.is-running .g4-ticker__track { animation: g4-marquee var(--g4-ticker-duration, 40s) linear infinite; }
.g4-ticker.is-running:hover .g4-ticker__track,
.g4-ticker.is-running:focus-within .g4-ticker__track { animation-play-state: paused; }
@keyframes g4-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.g4-ticker.is-running .g4-ticker__track { animation: none; }
	.g4-ticker { overflow-x: auto; }
}

/* ---------------------------------------------------------------- Header */

.g4-header-part {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .g4-header-part { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .g4-header-part { top: 0; } }

.g4-header {
	background: rgba(5, 8, 12, 0.92);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 2px solid var(--g4-accent);
	box-shadow: 0 10px 32px rgba(0, 194, 255, 0.18);
}
.g4-header__row { gap: clamp(0.75rem, 2vw, 1.5rem) !important; padding-block: 0.65rem; }
.g4-logo { flex: none; }
.g4-logo img { display: block; max-height: 44px; width: auto; }
.g4-search { flex: 1 1 auto; max-width: 620px; min-width: 0; }
.g4-search .wp-block-search__inside-wrapper {
	background: var(--g4-surface);
	border: 1px solid var(--g4-line) !important;
	border-radius: 10px;
	padding: 0 !important;
	overflow: hidden;
}
.g4-search .wp-block-search__input {
	background: transparent;
	border: 0;
	color: var(--g4-fg);
	min-height: 44px;
	padding-inline: 0.9rem;
	font-size: 0.9375rem;
}
.g4-search .wp-block-search__input::placeholder { color: var(--g4-muted); }
.g4-search .wp-block-search__button {
	background: transparent;
	color: var(--g4-muted);
	margin: 0;
	border-radius: 0;
	padding: 0 0.9rem;
}
.g4-search .wp-block-search__button:hover { color: var(--g4-accent); }
.g4-header__actions { gap: 0.25rem !important; flex: none; }
.g4-header__nav { margin-right: 0.5rem; }
.g4-header__nav .wp-block-navigation-item__content { color: #d3dde8; padding: 0.5rem 0.6rem; border-radius: 8px; }
.g4-header__nav .wp-block-navigation-item__content:hover { color: var(--g4-accent); text-decoration: none; }
.g4-nav-pre .wp-block-navigation-item__content { color: var(--g4-pre) !important; }
.g4-header .wc-block-customer-account a,
.g4-header .wc-block-mini-cart__button {
	color: var(--g4-fg);
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
}
.g4-header .wc-block-customer-account a:hover,
.g4-header .wc-block-mini-cart__button:hover { background: var(--g4-surface); }
.g4-header .wc-block-mini-cart__badge { background: var(--g4-accent) !important; color: var(--g4-ink) !important; font-weight: 800; }
.g4-header .wc-block-mini-cart__amount { display: none; }

@media (max-width: 860px) {
	.g4-header__row { flex-wrap: wrap !important; }
	.g4-search { order: 3; flex-basis: 100%; max-width: none; }
	.g4-header__nav { display: none; }
	.g4-header__actions { margin-left: auto; }
}

.g4-header--checkout { border-bottom-width: 1px; box-shadow: none; }
.g4-secure { margin: 0; color: var(--g4-muted); font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; }
.g4-secure::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--g4-i-lock) center / contain no-repeat; mask: var(--g4-i-lock) center / contain no-repeat; }

/* ---------------------------------------------------------------- Category menu (bar) */

.g4-cats--bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	position: relative;
	min-height: 46px;
}
.g4-catbar__all {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: var(--g4-accent);
	color: var(--g4-ink);
	border: 0;
	border-radius: 8px;
	padding: 0.45rem 0.85rem;
	font: 700 0.875rem/1.2 var(--wp--preset--font-family--inter);
	cursor: pointer;
	min-height: 36px;
}
.g4-catbar__all:hover { filter: brightness(1.08); }
.g4-burger, .g4-burger::before, .g4-burger::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s var(--g4-ease); }
.g4-burger::before, .g4-burger::after { content: ""; position: absolute; left: 0; }
.g4-burger::before { top: -5px; }
.g4-burger::after { top: 5px; }
.g4-catbar__all[aria-expanded="true"] .g4-burger { background: transparent; }
.g4-catbar__all[aria-expanded="true"] .g4-burger::before { transform: translateY(5px) rotate(45deg); }
.g4-catbar__all[aria-expanded="true"] .g4-burger::after { transform: translateY(-5px) rotate(-45deg); }

.g4-catbar__viewport { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.g4-catbar__track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.15rem;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	flex: 1;
}
.g4-catbar__track::-webkit-scrollbar { display: none; }
.is-overflowing .g4-catbar__track {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.g4-catbar__track a {
	display: block;
	white-space: nowrap;
	padding: 0.7rem 0.75rem;
	color: #cfdae6;
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
}
.g4-catbar__track a:hover { color: var(--g4-accent); text-decoration: none; }
.g4-catbar__track a[aria-current] { color: var(--g4-accent); border-bottom-color: var(--g4-accent); }
.g4-catbar__scroll {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--g4-line);
	background: var(--g4-surface);
	color: var(--g4-fg);
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
}
.g4-catbar__scroll--prev { left: 0; }
.g4-catbar__scroll--next { right: 0; }

.g4-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 60;
	padding-top: 2px;
}
.g4-mega__inner {
	background: #0b121a;
	border: 1px solid var(--g4-line);
	border-top: 0;
	border-radius: 0 0 var(--g4-r-l) var(--g4-r-l);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
	padding: 1.25rem;
	max-height: min(70vh, 640px);
	overflow-y: auto;
}
.g4-mega__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.g4-mega__title { margin: 0; font-family: var(--wp--preset--font-family--play); font-weight: 700; font-size: 1.125rem; }
.g4-mega__close { background: none; border: 1px solid var(--g4-line); color: var(--g4-fg); border-radius: 8px; width: 36px; height: 36px; font-size: 1.3rem; cursor: pointer; }
.g4-mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.5rem 1rem; }
.g4-mega__cat { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem; border-radius: 10px; color: var(--g4-fg); font-weight: 700; text-decoration: none; }
.g4-mega__cat:hover { background: var(--g4-surface); text-decoration: none; color: var(--g4-accent); }
.g4-mega__img { flex: none; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.g4-mega__img img { width: 100%; height: 100%; object-fit: contain; }
.g4-mega__sub { list-style: none; margin: 0 0 0.5rem; padding: 0 0 0 calc(48px + 1.25rem); display: grid; gap: 0.15rem; }
.g4-mega__sub a { color: var(--g4-muted); font-size: 0.875rem; }
.g4-mega__sub a:hover { color: var(--g4-accent); }

@media (max-width: 860px) {
	.g4-catbar__all span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.g4-catbar__all { padding: 0.45rem 0.6rem; }
	.g4-mega { position: fixed; inset: 0; top: 0; padding: 0; background: rgba(0, 0, 0, 0.6); }
	.g4-mega__inner { border-radius: 0; max-height: 100%; height: 100%; padding: max(1rem, env(safe-area-inset-top)) 1rem 2rem; }
	.g4-mega__grid { grid-template-columns: 1fr; }
	html.g4-mega-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- Category grid / list / chips */

.g4-catgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(168px, 45%), 1fr)); gap: 0.875rem; }
.g4-catgrid__item {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	height: 100%;
	padding: 0.75rem;
	background: var(--g4-surface);
	border: 1px solid var(--g4-line);
	border-radius: var(--g4-r);
	color: var(--g4-fg);
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s, transform .2s var(--g4-ease);
}
.g4-catgrid__item:hover { border-color: var(--g4-accent); box-shadow: var(--g4-glow); text-decoration: none; transform: translateY(-2px); }
.g4-catgrid__img { aspect-ratio: 1; background: #fff; border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
.g4-catgrid__img img { width: 100%; height: 100%; object-fit: contain; }
.g4-catgrid__ph { font: 700 2rem/1 var(--wp--preset--font-family--play); color: #0b121a; }
.g4-catgrid__name { font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.g4-catgrid__count { color: var(--g4-muted); font-size: 0.8125rem; margin-top: -0.35rem; }

.g4-catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.g4-catlist a { color: var(--g4-muted); }
.g4-catlist a:hover { color: var(--g4-accent); }

.g4-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.g4-chips a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 38px;
	padding: 0.35rem 0.9rem;
	border: 1px solid var(--g4-line);
	border-radius: 999px;
	background: var(--g4-surface);
	color: var(--g4-fg);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
}
.g4-chips a:hover, .g4-chips a[aria-current] { border-color: var(--g4-accent); color: var(--g4-accent); text-decoration: none; }
.g4-count { color: var(--g4-muted); font-weight: 500; }

/* ---------------------------------------------------------------- Sections */

.g4-main { padding-block: 0 clamp(2rem, 5vw, 4rem); }
.g4-main--home { padding-top: 0; }
.g4-section { padding-block: clamp(1.75rem, 4vw, 3rem); }
.g4-section--tight { padding-block: 0.5rem; }
.g4-section--hero { padding-top: clamp(1rem, 3vw, 2rem); }
.g4-sec-head { margin-bottom: 1.25rem; gap: 0.5rem 1rem !important; }
.g4-sec-head .wp-block-group { gap: 0.35rem !important; }
.g4-sec-head h2 { margin: 0; }
.g4-sec-link { margin: 0; font-weight: 600; font-size: 0.9375rem; }

/* Hero */
.g4-hero {
	background: radial-gradient(120% 120% at 85% 15%, #0f3a56 0%, #142231 45%, #111a24 100%);
	border: 1px solid #1d3d57;
	border-radius: 22px;
	padding: clamp(1.5rem, 4vw, 3rem);
	gap: clamp(1.5rem, 4vw, 3rem) !important;
	align-items: center;
	overflow: hidden;
	position: relative;
}
.g4-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(0, 194, 255, 0.18) 1px, transparent 1px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
	mask-image: linear-gradient(90deg, transparent 40%, #000);
	opacity: 0.6;
}
.g4-hero > * { position: relative; z-index: 1; }
.g4-hero__text { gap: 1rem !important; }
.g4-hero__title { font-size: var(--wp--preset--font-size--huge) !important; line-height: 1.04; margin: 0; max-width: 16ch; }
.g4-hero__lead { color: #bccbdb; font-size: 1.0625rem; max-width: 46ch; margin: 0; }
.g4-hero__product {
	background: rgba(5, 10, 16, 0.55);
	border: 1px solid #1f3f5a;
	border-radius: var(--g4-r-l);
	padding: 0.75rem;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), var(--g4-glow);
}
.g4-hero__img img, .g4-hero__product .wc-block-components-product-image img { background: #fff; border-radius: 12px; aspect-ratio: 1; object-fit: contain; width: 100%; }
.g4-hero__buy { padding: 0.75rem 0.5rem 0.25rem; gap: 0.75rem !important; }
.g4-hero__buy .wp-block-group { gap: 0.2rem !important; }
.g4-hero__name { font-size: 1.125rem !important; margin: 0; font-family: var(--wp--preset--font-family--inter) !important; }
.g4-hero__name a { color: var(--g4-fg); }
.g4-hero__product .wc-block-components-product-price { font-size: 1.5rem; font-weight: 800; }

/* Trust bar */
.g4-trust { gap: 0.75rem !important; }
.g4-trust--auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.g4-trust__title a { color: inherit; text-decoration: none; }
.g4-trust__title a:hover { color: var(--g4-accent); }
.g4-trust__item {
	position: relative;
	padding: 1rem 1rem 1rem 3.4rem;
	border: 1px solid var(--g4-line);
	border-radius: var(--g4-r);
	background: var(--g4-surface);
	gap: 0.1rem !important;
}
.g4-trust__item p { margin: 0; }
.g4-trust__title { font-size: 0.9375rem; }
.g4-trust__text { color: var(--g4-muted); font-size: 0.8125rem; }

/* Icons through CSS masks so the text stays editable */
:root {
	--g4-i-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E");
	--g4-i-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E");
	--g4-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--g4-i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E");
	--g4-i-box: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4z'/%3E%3Cpath d='M3 7l9 4 9-4M12 11v10'/%3E%3C/svg%3E");
	--g4-i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1 6.2L12 17.3 6.5 20.2l1-6.2L3 9.6l6.2-.9z'/%3E%3C/svg%3E");
	--g4-i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}
[class*="g4-ico-"]::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background: var(--g4-accent);
	-webkit-mask: var(--g4-i) center / contain no-repeat;
	mask: var(--g4-i) center / contain no-repeat;
	flex: none;
}
.g4-trust__item[class*="g4-ico-"]::before { position: absolute; left: 1rem; top: 1.05rem; width: 26px; height: 26px; }
.g4-ico-truck { --g4-i: var(--g4-i-truck); }
.g4-ico-card { --g4-i: var(--g4-i-card); }
.g4-ico-shield { --g4-i: var(--g4-i-shield); }
.g4-ico-chat { --g4-i: var(--g4-i-chat); }
.g4-ico-box { --g4-i: var(--g4-i-box); }
.g4-ico-star { --g4-i: var(--g4-i-star); }
.g4-ico-lock { --g4-i: var(--g4-i-lock); }
.g4-ico-return { --g4-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h11a5 5 0 0 1 0 10h-4'/%3E%3C/svg%3E"); }
.g4-ico-clock { --g4-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.g4-ico-store { --g4-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 9h16l-1-5H5zM5 9v11h14V9M10 20v-6h4v6'/%3E%3C/svg%3E"); }

/* Showcase (text + products of one category) */
.g4-showcase { display: grid !important; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) !important; gap: 1rem !important; align-items: stretch; }
.g4-showcase > * { margin-block: 0 !important; }
.g4-showcase__text { gap: 0.75rem !important; justify-content: center; }
.g4-showcase__text h2 { margin: 0; }
.g4-showcase__text p { margin: 0; }
@media (max-width: 860px) { .g4-showcase { grid-template-columns: 1fr !important; } }

/* Spotlight */
.g4-spotlight {
	background: linear-gradient(180deg, #172534 0%, #121b25 100%);
	border: 1px solid var(--g4-line);
	border-radius: 22px;
	padding: clamp(1.25rem, 4vw, 3rem);
}
.g4-spotlight__cols { gap: clamp(1.5rem, 4vw, 3.5rem) !important; }
.g4-spotlight__img img { background: #fff; border-radius: var(--g4-r-l); aspect-ratio: 1; object-fit: contain; width: 100%; }
.g4-spotlight__title { font-size: var(--wp--preset--font-size--xx-large) !important; margin-block: 0.5rem; }
.g4-spotlight__title a { color: var(--g4-fg); }
.g4-spotlight .wc-block-components-product-price { font-weight: 800; }
.g4-section--spotlight + .g4-section--spotlight .g4-spotlight__cols { flex-direction: row-reverse; }

/* Call to action */
.g4-cta { gap: 1.25rem !important; }
.g4-cta h2 { margin: 0; }
.g4-cta p { margin: 0.35rem 0 0; }

/* ---------------------------------------------------------------- Product cards */

.wc-block-product-template.g4-cards,
.g4-cards { gap: clamp(0.625rem, 1.5vw, 1rem) !important; margin: 0; }
.g4-cards > .wc-block-product,
.g4-cards > li {
	display: flex;
	flex-direction: column;
	background: var(--g4-surface);
	border: 1px solid var(--g4-line);
	border-radius: var(--g4-r);
	overflow: hidden;
	position: relative;
	transition: border-color .2s, box-shadow .25s, transform .25s var(--g4-ease);
	margin: 0 !important;
}
.g4-cards > li:hover { border-color: #33607f; box-shadow: var(--g4-glow), 0 14px 30px rgba(0, 0, 0, 0.3); transform: translateY(-2px); }
.g4-card__img { margin: 0 !important; background: #fff; position: relative; }
.g4-card__img .wc-block-components-product-image,
.g4-card__img a { display: block; }
.g4-card__img img {
	aspect-ratio: 1 !important;
	object-fit: contain !important;
	width: 100%;
	background: #fff;
	padding: 6%;
	transition: transform .35s var(--g4-ease);
}
.g4-cards > li:hover .g4-card__img img { transform: scale(1.04); }
.g4-card__body { padding: 0.75rem 0.9rem 0.9rem; gap: 0.35rem !important; flex: 1; }
.g4-card__brand { margin: 0 !important; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.g4-card__brand a { color: var(--g4-accent); }
.g4-card__brand .wp-block-post-terms__separator { color: var(--g4-muted); }
.g4-card__title {
	margin: 0 !important;
	font-family: var(--wp--preset--font-family--inter) !important;
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}
.g4-card__title a { color: var(--g4-fg); }
.g4-card__title a:hover { color: var(--g4-accent); text-decoration: none; }
.g4-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.g4-card__buy { margin-top: auto !important; padding-top: 0.5rem; gap: 0.6rem !important; flex-direction: column !important; align-items: stretch !important; }
.g4-card__buy .wc-block-components-product-price,
.g4-card__buy .wp-block-woocommerce-product-price { font-size: 1.25rem !important; font-weight: 800; line-height: 1.15; margin: 0 !important; font-variant-numeric: tabular-nums; text-align: left !important; }
.wc-block-components-product-price del { color: var(--g4-muted); font-size: 0.75em; font-weight: 500; margin-right: 0.35rem; }
.wc-block-components-product-price ins { text-decoration: none; color: var(--g4-sale); }
.g4-card__btn { margin: 0 !important; position: relative; z-index: 2; width: 100%; }
.g4-card__btn .wp-block-button__link,
.g4-card__btn .wc-block-components-product-button__button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	padding: 0.6rem 0.75rem !important;
	min-height: 44px;
	white-space: normal;
	text-align: center;
	border-radius: 10px !important;
	margin: 0 !important;
}
.g4-card__btn .added_to_cart { position: relative; z-index: 2; font-size: 0.8125rem; display: block; text-align: center; margin-top: 0.35rem; }

/* Stock line on cards */
.g4-stock { margin: 0 !important; font-size: 0.8125rem !important; display: flex; align-items: center; justify-content: flex-start; text-align: left !important; gap: 0.4rem; color: var(--g4-muted) !important; }
.g4-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g4-ok); flex: none; }
.g4-stock--preorder::before { background: var(--g4-pre); }
.g4-stock--onbackorder::before, .g4-stock--upon_request::before, .g4-stock--temporarily_out::before { background: var(--g4-wait); }
.g4-stock--outofstock::before, .g4-stock--out_of_stock_custom::before, .g4-stock--discontinued::before { background: #5c6c7e; }

/* Badges on the image */
.g4-sale-badge,
.wc-block-components-product-sale-badge {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	z-index: 2;
	background: var(--g4-sale) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 7px !important;
	padding: 0.2rem 0.5rem !important;
	font-size: 0.75rem !important;
	font-weight: 800 !important;
	text-transform: none !important;
	letter-spacing: 0;
}
.g4-card__img .g4c-ribbon,
.g4-hero__product .g4c-ribbon {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	left: auto;
	z-index: 2;
	background: var(--g4-pre);
	color: #1d1300;
	white-space: nowrap;
	border-radius: 7px;
	padding: 0.25rem 0.55rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.2;
	text-align: center;
}
.g4c-ribbon--temporarily-out, .g4c-ribbon--upon-request { background: var(--g4-wait) !important; color: var(--g4-wait-ink) !important; }
.g4c-ribbon--discontinued, .g4c-ribbon--out-of-stock, .g4c-ribbon--outofstock { background: #3b4856 !important; color: #fff !important; }

/* Product collection no results */
.g4-noresults { padding: 2rem 1rem; text-align: center; border: 1px dashed var(--g4-line); border-radius: var(--g4-r); }

/* ---------------------------------------------------------------- Archive / category */

.g4-archive-head { padding-top: 1rem; gap: 0.75rem !important; }
.g4-archive-head .wp-block-query-title { margin: 0; }
.wc-block-breadcrumbs, .woocommerce-breadcrumb { color: var(--g4-muted); font-size: 0.8125rem; }
.wc-block-breadcrumbs a, .woocommerce-breadcrumb a { color: var(--g4-muted); }
.wc-block-breadcrumbs a:hover, .woocommerce-breadcrumb a:hover { color: var(--g4-accent); }
.g4-crumb-sep { margin-inline: 0.45rem; opacity: 0.6; }

.g4-termdesc { color: #b9c8d8; max-width: 80ch; margin: 0; }
.g4-termdesc p { margin: 0 0 0.6em; }
.g4-termdesc.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.g4-more { background: none; border: 0; padding: 0; color: var(--g4-accent); font-weight: 600; cursor: pointer; font-size: 0.9375rem; }

.g4-shop { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; margin-top: 1.25rem; }
.g4-shop__aside { min-width: 0; width: 100%; margin: 0 !important; }
.g4-shop__main { min-width: 0; margin: 0 !important; }
.g4-toolbar { margin-bottom: 1rem; gap: 0.75rem !important; }
.g4-toolbar .woocommerce-result-count,
.g4-toolbar .wc-block-product-results-count { margin: 0; color: var(--g4-muted); font-size: 0.875rem; }
.woocommerce-ordering select,
.wc-block-catalog-sorting select,
.g4-toolbar select {
	background: var(--g4-surface);
	color: var(--g4-fg);
	border: 1px solid var(--g4-line);
	border-radius: 10px;
	min-height: 42px;
	padding: 0 2.25rem 0 0.85rem;
	font: inherit;
	font-size: 0.875rem;
}
.woocommerce-ordering { margin: 0; }
@media (max-width: 1024px) and (min-width: 783px) {
	.g4-shop { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
}
@media (max-width: 782px) {
	.g4-shop { grid-template-columns: 1fr; }
}

/* Product filters (WooCommerce block) */
.g4-filters {
	background: var(--g4-surface);
	border: 1px solid var(--g4-line);
	border-radius: var(--g4-r);
	padding: 1rem;
	--wc-product-filter-block-spacing: 1.25rem;
}
/* Keep the filter panel exactly as wide as its column */
.g4-shop .g4-filters,
.g4-shop .wc-block-product-filters { display: flex; flex-direction: column; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; overflow-wrap: anywhere; }
.g4-filters *, .g4-filters *::before, .g4-filters *::after { box-sizing: border-box; }
.g4-filters .wc-block-product-filters__content,
.g4-filters .wc-block-product-filters__overlay-content > *,
.g4-filters .wp-block-woocommerce-product-filter-status,
.g4-filters .wp-block-woocommerce-product-filter-taxonomy,
.g4-filters .wp-block-woocommerce-product-filter-price,
.g4-filters .wp-block-woocommerce-product-filter-active { min-width: 0; max-width: 100%; }
.g4-filters input, .g4-filters select { min-width: 0; max-width: 100%; }
.g4-filters .wc-block-product-filter-price-slider__content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; }
.g4-filters .wc-block-product-filter-price-slider__range { grid-column: 1 / -1; }
.g4-filters .wc-block-product-filter-price-slider__left,
.g4-filters .wc-block-product-filter-price-slider__right { min-width: 0; }
.g4-filters .wc-block-product-filter-price-slider__left input,
.g4-filters .wc-block-product-filter-price-slider__right input { width: 100%; }
/* Desktop: filters sit in the sidebar, not in an overlay (same breakpoint as WooCommerce) */
@media (min-width: 783px) {
	.g4-filters .wc-block-product-filters__open-overlay,
	.g4-filters .wc-block-product-filters__overlay-header,
	.g4-filters .wc-block-product-filters__overlay-footer { display: none !important; }
	.g4-filters .wc-block-product-filters__overlay { position: static !important; inset: auto; z-index: auto; pointer-events: auto; background: none !important; }
	.g4-filters .wc-block-product-filters__overlay-wrapper,
	.g4-filters .wc-block-product-filters__overlay-dialog { position: static !important; width: 100% !important; height: auto; transform: none !important; background: none !important; }
	.g4-filters .wc-block-product-filters__overlay-content { padding: 0; overflow: visible; }
}
.g4-filters__title { font-size: 1.0625rem !important; margin: 0 !important; }
.g4-filters h3 { font-size: 0.875rem !important; font-family: var(--wp--preset--font-family--inter) !important; text-transform: uppercase; letter-spacing: 0.08em; color: var(--g4-muted); margin: 0 0 0.5rem !important; }
.g4-filters input[type="checkbox"] { accent-color: var(--g4-accent); width: 18px; height: 18px; }
.g4-filters .wc-block-product-filter-checkbox-list__label { color: var(--g4-fg); font-size: 0.9375rem; }
.g4-filters .wc-block-product-filter-checkbox-list__item { min-height: 32px; }
.g4-filters input[type="text"], .g4-filters input[type="number"] { background: #0b121a; color: var(--g4-fg); border: 1px solid var(--g4-line); border-radius: 8px; min-height: 38px; }
.g4-filters .wc-block-product-filter-removable-chips__chip { background: #06202e; border: 1px solid var(--g4-accent); color: var(--g4-accent); border-radius: 999px; }
@media (max-width: 782px) {
	.g4-filters { background: transparent; border: 0; padding: 0; }
	.g4-filters .wc-block-product-filters__open-overlay {
		background: var(--g4-surface);
		color: var(--g4-fg);
		border: 1px solid var(--g4-line);
		border-radius: 10px;
		min-height: 44px;
		padding: 0 1rem;
		font-weight: 700;
	}
	.wc-block-product-filters__overlay-wrapper, .wc-block-product-filters__overlay-dialog { background: var(--g4-bg) !important; color: var(--g4-fg); }
}

/* Pagination */
.g4-pager { margin-top: 2rem; gap: 0.35rem; }
.g4-pager a, .g4-pager .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 0.75rem;
	border: 1px solid var(--g4-line);
	border-radius: 10px;
	color: var(--g4-fg);
	background: var(--g4-surface);
}
.g4-pager .current { background: var(--g4-accent); color: var(--g4-ink); border-color: var(--g4-accent); font-weight: 800; }

/* ---------------------------------------------------------------- Single product */

.g4-main--product > .wc-block-breadcrumbs, .g4-main--product > .woocommerce-breadcrumb { padding-top: 1rem; }
.g4-pdp { gap: clamp(1.5rem, 4vw, 3.5rem) !important; margin-top: 1rem; }
.g4-pdp__media .woocommerce-product-gallery,
.g4-pdp__media div.images { width: 100% !important; float: none !important; margin: 0 !important; background: none; overflow: visible; position: relative; }
.g4-pdp__media .flex-viewport,
.g4-pdp__media .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { background: #fff; border-radius: var(--g4-r-l); overflow: hidden; }
.g4-pdp__media .woocommerce-product-gallery__image img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.g4-pdp__media .woocommerce-product-gallery__trigger { z-index: 5; }
.g4-pdp__media .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 0.6rem; padding: 0 !important; margin: 0.85rem 0 0 !important; background: none; list-style: none; }
.g4-pdp__media .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; border: 2px solid transparent; cursor: pointer; transition: border-color 0.15s; }
.g4-pdp__media .flex-control-thumbs li:hover { border-color: var(--g4-line); }
.g4-pdp__media .flex-control-thumbs li:has(img.flex-active) { border-color: var(--g4-accent); }
.g4-pdp__media .flex-control-thumbs img { width: 100%; height: 100%; object-fit: contain; opacity: 0.75; transition: opacity 0.15s; }
.g4-pdp__media .flex-control-thumbs img.flex-active, .g4-pdp__media .flex-control-thumbs li:hover img { opacity: 1; }
/* Ribbon + discount on the main photo */
.g4-gallery-wrap { position: relative; }
.g4-photo-flags { position: absolute; top: 14px; left: 14px; z-index: 6; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.g4-photo-flags .g4c-ribbon { position: static !important; display: inline-block; padding: 0.35rem 0.7rem; border-radius: 8px; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.g4-sale-flag { display: inline-block; padding: 0.35rem 0.7rem; border-radius: 8px; background: var(--g4-sale); color: #fff; font-size: 0.875rem; font-weight: 800; }
/* The plugin's own copy, printed outside the gallery in block templates */
.g4c-photo-flags { display: none !important; }
.g4-pdp__summary { display: flex; flex-direction: column; gap: 0.9rem; }
.g4-pdp__summary > * { margin: 0 !important; }
.g4-pdp__brand { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.g4-pdp__title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem) !important; line-height: 1.15; }
.g4-pdp__price,
.g4-pdp__price .wc-block-components-product-price { font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem) !important; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.g4-pdp__price .woocommerce-Price-currencySymbol { font-size: 0.65em; }
.g4-pdp__price .g4c-discount { display: inline-block; vertical-align: middle; margin-left: 0.5rem; font-size: 0.875rem; font-weight: 800; background: var(--g4-sale); color: #fff; border-radius: 7px; padding: 0.2rem 0.5rem; }
.g4-pdp__price .g4c-badge { display: block; width: fit-content; margin-top: 0.6rem; font-size: 0.875rem; }
.g4-pdp__price .g4c-av-note, .g4-pdp__price .g4c-vat-note { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--g4-muted); margin-top: 0.35rem; }
.g4-pdp__excerpt { color: #c3d0dd; }
.g4-warranty {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	width: fit-content;
	padding: 0.55rem 0.85rem;
	border: 1px solid #1e5577;
	background: #0c2232;
	border-radius: 10px;
	color: #bfe9ff;
	font-size: 0.875rem;
	font-weight: 600;
}
.g4-warranty__icon { color: var(--g4-accent); flex: none; }

.g4-pdp__atc form.cart,
.g4-pdp__atc .cart { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; margin: 0; }
.g4-pdp__atc .quantity { display: flex; }
.g4-pdp__atc .quantity input.qty,
.g4-pdp__atc .wc-block-components-quantity-selector input {
	min-height: 52px;
	width: 4.5rem;
	text-align: center;
	background: var(--g4-surface);
	color: var(--g4-fg);
	border: 1px solid var(--g4-line);
	border-radius: 10px;
	font-weight: 700;
	font-size: 1rem;
}
.g4-pdp__atc .single_add_to_cart_button,
.g4-pdp__atc button[type="submit"] {
	flex: 1 1 220px;
	min-height: 52px;
	background: var(--g4-accent) !important;
	color: var(--g4-ink) !important;
	border: 0;
	border-radius: 10px;
	font-weight: 800;
	font-size: 1.0625rem;
	box-shadow: 0 0 26px rgba(0, 194, 255, 0.35);
	cursor: pointer;
}
.g4-pdp__atc .single_add_to_cart_button:hover { filter: brightness(1.08); }
.g4-pdp__atc .variations { width: 100%; border-collapse: collapse; }
.g4-pdp__atc .variations select { background: var(--g4-surface); color: var(--g4-fg); border: 1px solid var(--g4-line); border-radius: 10px; min-height: 44px; padding: 0 0.75rem; width: 100%; }
.g4-perks, .g4-pdp__perks { list-style: none; margin: 0; display: flex; flex-direction: column; padding: 0.85rem 1rem; border: 1px solid var(--g4-line); border-radius: var(--g4-r); background: var(--g4-surface); gap: 0.45rem !important; }
.g4-perks__item, .g4-pdp__perks p { margin: 0; display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: #c3d0dd; }
.g4-perks__item::before, .g4-pdp__perks p::before { width: 20px !important; height: 20px !important; }
.g4-pdp__meta { font-size: 0.8125rem; color: var(--g4-muted); gap: 0.2rem !important; }
.g4-pdp__meta a { color: var(--g4-muted); }

/* Description / specs tabs */
.g4-pdp__details { margin-top: clamp(2rem, 5vw, 3.5rem) !important; }
.g4-pdp__details .wc-tabs, .g4-pdp__details ul.tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0 0 1rem; border-bottom: 1px solid var(--g4-line); }
.g4-pdp__details .wc-tabs li a, .g4-pdp__details ul.tabs li a { display: block; padding: 0.75rem 1rem; color: var(--g4-muted); font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.g4-pdp__details .wc-tabs li.active a, .g4-pdp__details ul.tabs li.active a { color: var(--g4-fg); border-bottom-color: var(--g4-accent); }
.g4-pdp__details .woocommerce-Tabs-panel { max-width: 80ch; color: #c9d5e1; }
.g4-pdp__details table.shop_attributes { width: 100%; max-width: 760px; border-collapse: collapse; background: #111922; border-radius: 10px; overflow: hidden; box-shadow: 0 0 22px rgba(19, 175, 240, 0.18); }
.g4-pdp__details table.shop_attributes th,
.g4-pdp__details table.shop_attributes td { padding: 0.7rem 1rem; border-bottom: 1px solid #1c2a38; text-align: left; font-size: 0.875rem; }
.g4-pdp__details table.shop_attributes th { color: var(--g4-muted); font-weight: 600; width: 40%; }
.g4-pdp__details table.shop_attributes td p { margin: 0; }
.g4-pdp__details table.shop_attributes td a { pointer-events: none; color: inherit; }

/* ---------------------------------------------------------------- Cart / checkout / account blocks */

.wc-block-cart, .wc-block-checkout { color: var(--g4-fg); }
.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-components-totals-wrapper,
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar { border-color: var(--g4-line) !important; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar > div,
.wp-block-woocommerce-checkout-order-summary-block {
	background: var(--g4-surface);
	border: 1px solid var(--g4-line) !important;
	border-radius: var(--g4-r);
}
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea {
	background: #0b121a !important;
	color: var(--g4-fg) !important;
	border-color: var(--g4-line) !important;
	border-radius: 10px !important;
}
.wc-block-components-text-input label,
.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-combobox .wc-block-components-combobox-control label { color: var(--g4-muted) !important; }
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option { border-color: var(--g4-line) !important; }
.wc-block-components-radio-control__input:checked { border-color: var(--g4-accent) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--g4-accent) !important; }
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--g4-accent) !important;
	color: var(--g4-ink) !important;
	border-radius: 10px !important;
	font-weight: 800 !important;
	min-height: 52px;
}
.wc-block-components-product-metadata, .wc-block-components-totals-item__description { color: var(--g4-muted); }
.wc-block-cart-item__image img { background: #fff; border-radius: 8px; }
.g4-checkout-foot { padding-block: 2rem; color: var(--g4-muted); font-size: 0.875rem; }

/* Mini cart drawer */
.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content { background: var(--g4-bg); color: var(--g4-fg); }
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer { background: var(--g4-surface); border-top: 1px solid var(--g4-line); }
.wc-block-mini-cart__drawer .wc-block-components-product-name { color: var(--g4-fg); }

/* Notices */
.wc-block-components-notice-banner { border-radius: 10px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--g4-surface); color: var(--g4-fg); border-top-color: var(--g4-accent); }

/* ---------------------------------------------------------------- Footer */

.g4-footer { margin-top: clamp(2rem, 5vw, 4rem); background: #070b10; border-top: 1px solid var(--g4-line); padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; font-size: 0.9375rem; }
.g4-footer__cols { gap: clamp(1.5rem, 4vw, 3rem) !important; }
.g4-footer__title { font-size: 0.8125rem !important; font-family: var(--wp--preset--font-family--inter) !important; text-transform: uppercase; letter-spacing: 0.12em; color: var(--g4-fg); margin: 0 0 0.9rem !important; }
.g4-footer__tagline { margin: 1rem 0 0.35rem; }
.g4-footer__nav .wp-block-navigation-item__content { color: var(--g4-muted); padding: 0.15rem 0; font-weight: 400; font-size: 0.9375rem; }
.g4-footer__nav .wp-block-navigation-item__content:hover { color: var(--g4-accent); }
.g4-footer__nav .wp-block-navigation__container { gap: 0.45rem; }
.g4-pay { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.g4-pay span { border: 1px solid var(--g4-line); border-radius: 6px; padding: 0.15rem 0.5rem; font-size: 0.75rem; color: #c4d0dc; }
.g4-footer__bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #151f2a; color: var(--g4-muted); font-size: 0.8125rem; gap: 0.5rem 1rem !important; }
.g4-footer__bottom p { margin: 0; }

/* ---------------------------------------------------------------- 404 */
.g4-404 { text-align: center; padding-block: clamp(3rem, 8vw, 6rem) 1rem; gap: 0.9rem !important; }
.g4-404 h1 { margin: 0; }
.g4-404 .wp-block-search { width: min(560px, 100%); }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Active filters: chips + clear all */
.g4-filters .wp-block-woocommerce-product-filter-active { display: flex; flex-direction: column; gap: 0.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--g4-line); }
.g4-filters .wc-block-product-filter-removable-chips__items { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.g4-filters .wc-block-product-filter-removable-chips__item { display: inline-flex; align-items: center; gap: 0.25rem; background: #06202e; border: 1px solid var(--g4-accent); color: var(--g4-accent); border-radius: 999px; padding: 0.2rem 0.3rem 0.2rem 0.7rem; font-size: 0.8125rem; font-weight: 600; }
.g4-filters .wc-block-product-filter-removable-chips__remove { display: inline-flex; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.g4-filters .wc-block-product-filter-removable-chips__remove-icon { width: 18px; height: 18px; fill: currentColor; }
.g4-filters__clear .wp-block-button__link { width: 100%; padding: 0.55rem 1rem; font-size: 0.875rem; cursor: pointer; }
.g4-filters__clear .wp-block-button { width: 100%; }

.g4-perks__item a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.g4-perks__item a:hover { color: var(--g4-accent); }

/* Card buttons: always the same height, one line */
.g4-card__btn,
.g4-card__btn.wc-block-components-product-button { display: flex !important; flex-direction: column; align-items: stretch !important; }
.g4-card__btn .wp-block-button__link,
.g4-card__btn .wc-block-components-product-button__button {
	height: 46px !important;
	min-height: 46px;
	white-space: nowrap !important;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0 0.75rem !important;
	font-size: clamp(0.8125rem, 0.75rem + 0.25vw, 0.9375rem) !important;
}
.g4-card__btn .wc-block-components-product-button__button span { overflow: hidden; text-overflow: ellipsis; }
/* The WooCommerce button wrapper shrinks to its text: force it to the card width */
.g4-cards .g4-card__body { min-width: 0; }
.g4-cards .g4-card__buy > * { min-width: 0; max-width: 100%; }
.g4-cards .wp-block-woocommerce-product-button,
.g4-cards .wc-block-components-product-button,
.g4-cards .g4-card__btn {
	align-self: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}
.g4-cards .wc-block-components-product-button__button,
.g4-cards .wp-block-woocommerce-product-button .wp-block-button__link {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

/* ---------------------------------------------------------------
 * Slider προϊόντων (hero and anywhere else)
 * ------------------------------------------------------------- */
.g4-slider {
	min-width: 0;
	background: rgba(5, 10, 16, 0.55);
	border: 1px solid #1f3f5a;
	border-radius: var(--g4-r-l);
	padding: 0.75rem;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), var(--g4-glow);
}
.g4-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	border-radius: 12px;
}
.g4-slider__track::-webkit-scrollbar { display: none; }
.g4-slider__track:focus-visible { outline: 2px solid var(--g4-accent); outline-offset: 3px; }
.g4-slide { scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; }
.g4-slide__media { position: relative; display: block; background: #fff; border-radius: 12px; overflow: hidden; }
.g4-slide__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: 0.75rem; box-sizing: border-box; }
.g4-slide__flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.g4-slide__flags .g4c-ribbon { position: static !important; display: inline-block; padding: 0.3rem 0.6rem; border-radius: 7px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.g4-slide__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.9rem 0.5rem 0.25rem; flex: 1; }
.g4-slide__brand { margin: 0; color: var(--g4-accent); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.g4-slide__name { margin: 0; font-family: var(--wp--preset--font-family--inter) !important; font-size: 1.25rem !important; line-height: 1.25; }
.g4-slide__name a { color: var(--g4-fg); text-decoration: none; }
.g4-slide__name a:hover { color: var(--g4-accent); }
.g4-slide__desc {
	margin: 0;
	color: #b3c2d1;
	font-size: 0.9rem;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 4.5em;
}
.g4-slide__buy { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.6rem; flex-wrap: wrap; }
.g4-slide__price { font-size: 1.5rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.g4-slide__price del { color: var(--g4-muted); font-size: 0.65em; font-weight: 500; margin-right: 0.35rem; }
.g4-slide__price ins { text-decoration: none; color: var(--g4-sale); }
.g4-slide__price .g4c-badge, .g4-slide__price .g4c-av-note { display: none; }
.g4-slide__btn.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 1.4rem;
	white-space: nowrap;
	border-radius: 10px;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
}
.g4-slide__buy .added_to_cart { flex-basis: 100%; font-size: 0.8125rem; color: var(--g4-accent); }
.g4-slide__btn.loading { opacity: 0.6; pointer-events: none; }
.g4-slide__btn.added::after { content: " ✓"; }
@media (max-width: 480px) {
	.g4-slide__btn.wp-element-button { width: 100%; }
}
.g4-slider__nav { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding-top: 0.6rem; }
.g4-slider__arrow {
	width: 36px; height: 36px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--g4-surface); color: var(--g4-fg); border: 1px solid var(--g4-line);
	font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 0 2px;
}
.g4-slider__arrow:hover { border-color: var(--g4-accent); color: var(--g4-accent); }
.g4-slider__dots { display: flex; gap: 0.4rem; }
.g4-slider__dot { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: #3a5168; cursor: pointer; transition: width 0.2s, background 0.2s; }
.g4-slider__dot.is-active { width: 22px; background: var(--g4-accent); }
.g4-slider--empty { padding: 2rem; text-align: center; color: var(--g4-muted); }
@media (prefers-reduced-motion: reduce) { .g4-slider__dot { transition: none; } }

/* Slider: «τρία μαζί» — one big product on the left, two small ones stacked on the right */
.g4-slider--trio { padding: 0; background: none; border: 0; box-shadow: none; }
.g4-slider--trio .g4-slider__track {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	grid-template-rows: 1fr 1fr;
	grid-template-areas: "big top" "big bottom";
	gap: clamp(0.75rem, 1.6vw, 1.25rem);
	overflow: visible;
	scroll-snap-type: none;
	border-radius: 0;
}
.g4-slider--trio .g4-slide {
	background: rgba(5, 10, 16, 0.55);
	border: 1px solid #1f3f5a;
	border-radius: var(--g4-r-l);
	padding: 0.75rem;
	transition: opacity 0.28s ease, transform 0.28s ease;
}
.g4-slider--trio .g4-slide[hidden] { display: none !important; }
.g4-slider--trio .g4-slide[data-slot="big"] { grid-area: big; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), var(--g4-glow); }
.g4-slider--trio .g4-slide[data-slot="top"] { grid-area: top; }
.g4-slider--trio .g4-slide[data-slot="bottom"] { grid-area: bottom; }
.g4-slider--trio .g4-slider__track.is-fading .g4-slide { opacity: 0; transform: translateY(6px); }

/* Small ones: photo left, text right, no description */
.g4-slider--trio .g4-slide[data-slot="top"],
.g4-slider--trio .g4-slide[data-slot="bottom"] {
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
}
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__media img { aspect-ratio: 1; padding: 0.5rem; }
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__desc { display: none; }
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__body { padding: 0.25rem 0.25rem 0.25rem 0; gap: 0.3rem; }
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__name { font-size: 1.0625rem !important; }
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__buy { flex-direction: column; align-items: stretch; gap: 0.5rem; padding-top: 0.4rem; }
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__price { font-size: 1.25rem; }
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__btn.wp-element-button { width: 100%; height: 42px; font-size: 0.875rem; padding: 0 0.75rem; }
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__flags .g4c-ribbon { font-size: 0.625rem; padding: 0.2rem 0.45rem; }
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__flags { top: 8px; left: 8px; }

/* Big one */
.g4-slider--trio .g4-slide[data-slot="big"] .g4-slide__media img { aspect-ratio: 16 / 10; }
.g4-slider--trio .g4-slide[data-slot="big"] .g4-slide__name { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem) !important; }
.g4-slider--trio .g4-slider__nav { padding-top: 1rem; }

@media (max-width: 860px) {
	.g4-slider--trio .g4-slider__track { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "big" "top" "bottom"; }
	.g4-slider--trio .g4-slide[data-slot="big"] .g4-slide__media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
	.g4-slider--trio .g4-slide[data-slot="top"],
	.g4-slider--trio .g4-slide[data-slot="bottom"] { grid-template-columns: 38% 1fr; gap: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) { .g4-slider--trio .g4-slide { transition: none; } }

/* Hero: text on top, products under it across the full width */
.g4-hero--stack { display: flex !important; flex-direction: column; align-items: stretch; }
.g4-hero--stack .g4-hero__text { max-width: none; }
.g4-hero--stack .g4-hero__title { max-width: 22ch; }
.g4-hero--stack .g4-hero__slider { width: 100%; }
.g4-slide__btn.wp-element-button { box-sizing: border-box; max-width: 100%; }
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__body { min-width: 0; }
.g4-slide__flags { max-width: calc(100% - 16px); }
.g4-slide__flags .g4c-ribbon { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* Visually hidden, still read by search engines and screen readers */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px !important; overflow: hidden; padding: 0 !important;
	position: absolute !important; word-wrap: normal !important;
}
.g4-hero--stack { gap: 1rem !important; }
.g4-hero--stack .g4-hero__text { gap: 0 !important; }
.g4-hero--stack .g4-hero__text .is-style-fourgeeks-eyebrow { margin: 0; }

/* Buy buttons: one size whatever the text («Προσθήκη στο καλάθι», «Παράγγειλέ το», «Προπαράγγειλέ το») */
.g4-slide__btn.wp-element-button {
	width: 220px !important;
	max-width: 100%;
	height: 46px !important;
	padding: 0 0.75rem !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: none;
}
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__btn.wp-element-button { width: 100% !important; height: 46px !important; }
.g4-hero__title:not(.screen-reader-text) { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem) !important; margin: 0.25rem 0 0; max-width: none; }

/* ===============================================================
 * Buy buttons everywhere: one size, whatever the text
 * («Προσθήκη στο καλάθι», «Παράγγειλέ το», «Προπαράγγειλέ το», «Επιλογές»…).
 * 220×46, one line. In product cards they fill the card, so all cards match.
 * =============================================================== */
:root { --g4-buy-w: 220px; --g4-buy-h: 46px; }
.wc-block-components-product-button__button,
.g4-pdp__atc .single_add_to_cart_button,
.g4-pdp__atc button[type="submit"],
.g4-slide__btn.wp-element-button {
	box-sizing: border-box !important;
	width: var(--g4-buy-w) !important;
	max-width: 100% !important;
	height: var(--g4-buy-h) !important;
	min-height: var(--g4-buy-h) !important;
	padding: 0 0.75rem !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	white-space: nowrap !important;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	flex: none !important;
}
.g4-cards .wc-block-components-product-button__button,
.g4-slider--trio .g4-slide:not([data-slot="big"]) .g4-slide__btn.wp-element-button { width: 100% !important; }
.wc-block-components-product-button { align-items: flex-start; }
.g4-cards .wc-block-components-product-button { align-items: stretch; }
@media (max-width: 480px) {
	.g4-pdp__atc .single_add_to_cart_button, .g4-pdp__atc button[type="submit"] { width: 100% !important; flex: 1 1 auto !important; }
}
.g4-pdp__atc .quantity input.qty, .g4-pdp__atc .wc-block-components-quantity-selector { height: var(--g4-buy-h) !important; min-height: var(--g4-buy-h) !important; box-sizing: border-box; }

/* Product cards: the button wrapper and the button fill the card (does not rely on the template's class) */
li.wc-block-product .wp-block-button.wc-block-components-product-button,
.wc-block-product .wp-block-button.wc-block-components-product-button,
.wp-block-button.wc-block-components-product-button.g4-card__btn {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	align-self: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}
li.wc-block-product .wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button,
.wc-block-product .wp-block-button.wc-block-components-product-button .wp-block-button__link,
.wp-block-button.wc-block-components-product-button.g4-card__btn .wc-block-components-product-button__button {
	width: 100% !important;
	max-width: 100% !important;
}
li.wc-block-product .wp-block-group.g4-card__buy,
.wc-block-product .g4-card__buy { align-items: stretch !important; width: 100%; }
/* 4Geeks Core also prints its ribbon next to the title in lists; the theme already shows it on the photo */
.wc-block-product .g4-card__body .g4c-ribbon { display: none !important; }

/* ---------------------------------------------------------------
 * Λίστα εναλλάξ (σελίδα Προ-παραγγελίες): full-width rows, photo left / right in turn
 * ------------------------------------------------------------- */
.g4-zz-head { gap: 0.5rem !important; margin-bottom: 1.5rem; }
.g4-zz-head .is-style-fourgeeks-eyebrow, .g4-zz-head__title, .g4-zz-head__lead { margin: 0 !important; }
.g4-zz-head__lead { color: #bccbdb; max-width: 60ch; }
.g4-zz { display: flex; flex-direction: column; gap: clamp(1rem, 2.5vw, 1.75rem); }
.g4-zz__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "media body";
	align-items: center;
	gap: clamp(1.25rem, 4vw, 3.5rem);
	padding: clamp(0.75rem, 1.5vw, 1rem);
	background: radial-gradient(120% 140% at 0% 0%, #12324a 0%, #152230 50%, #121b25 100%);
	border: 1px solid #1f3f5a;
	border-radius: 22px;
}
.g4-zz__row--flip { grid-template-areas: "body media"; background: radial-gradient(120% 140% at 100% 0%, #12324a 0%, #152230 50%, #121b25 100%); }
.g4-zz__media { grid-area: media; position: relative; display: block; background: #fff; border-radius: 16px; overflow: hidden; }
/* 1500x1500 photos already carry white margin: zoom in a little (the white box hides the trimmed edge), keeping a few % top and bottom. Change --g4-zz-zoom to adjust. */
.g4-zz { --g4-zz-zoom: 1.1; }
.g4-zz__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; padding: 0; box-sizing: border-box; transform: scale(var(--g4-zz-zoom)); transition: transform 0.4s ease; }
.g4-zz__row:hover .g4-zz__media img { transform: scale(calc(var(--g4-zz-zoom) + 0.03)); }
.g4-zz__body { grid-area: body; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 0.5rem clamp(0.25rem, 2vw, 1.5rem); }
.g4-zz__row--flip .g4-zz__body { padding-left: clamp(0.75rem, 3vw, 2.5rem); }
.g4-zz__name { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem) !important; line-height: 1.1; }
.g4-zz__name a { color: var(--g4-fg); text-decoration: none; }
.g4-zz__name a:hover { color: var(--g4-accent); }
.g4-zz__when { margin: 0; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(139, 92, 246, 0.16); border: 1px solid rgba(139, 92, 246, 0.5); color: #d6c8ff; font-size: 0.875rem; font-weight: 700; }
.g4-zz__when::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8b5cf6; }
.g4-zz__desc { margin: 0; color: #b3c2d1; font-size: 1rem; line-height: 1.6; max-width: 56ch; }
.g4-zz__buy { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 0.4rem; }
.g4-zz__buy .g4-slide__price { font-size: 1.75rem; }
.g4-zz__buy .added_to_cart { flex-basis: 100%; font-size: 0.875rem; color: var(--g4-accent); }
.g4-zz .g4-slide__flags .g4c-ribbon { font-size: 0.8125rem; padding: 0.35rem 0.7rem; }
@media (max-width: 782px) {
	.g4-zz__row, .g4-zz__row--flip { grid-template-columns: 1fr; grid-template-areas: "media" "body"; }
	.g4-zz__body, .g4-zz__row--flip .g4-zz__body { padding: 0.25rem 0.25rem 0.5rem; }
}
@media (prefers-reduced-motion: reduce) { .g4-zz__media img { transition: none; } }

/* Menus from Εμφάνιση → Μενού (fourgeeks/nav-menu) */
.g4-menu ul { list-style: none; margin: 0; padding: 0; }
.g4-menu--inline ul { display: flex; align-items: center; flex-wrap: nowrap; gap: 0.15rem; }
.g4-menu--inline a { display: block; color: #d3dde8; padding: 0.5rem 0.6rem; border-radius: 8px; white-space: nowrap; text-decoration: none; }
.g4-menu--inline a:hover, .g4-menu--inline a[aria-current] { color: var(--g4-accent); text-decoration: none; }
.g4-menu--inline .g4-nav-pre a { color: var(--g4-pre) !important; }
.g4-menu--list ul { display: grid; gap: 0.45rem; }
.g4-menu--list a { color: var(--g4-muted); font-size: 0.9375rem; text-decoration: none; }
.g4-menu--list a:hover, .g4-menu--list a[aria-current] { color: var(--g4-accent); }
.g4-catbar__track .g4-nav-pre a { color: var(--g4-pre); }

/* Newsletter: text and benefits on the left, the Sender form in its own panel on the right */
.g4-cta--nl {
	scroll-margin-top: 120px;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem) !important;
	background: radial-gradient(90% 140% at 0% 0%, #0f3a56 0%, #142334 55%, #121b25 100%) !important;
}
.g4-cta--nl > * { margin-block: 0 !important; }
.g4-cta--nl .g4-cta__text { gap: 0.75rem !important; align-items: flex-start !important; }
.g4-cta--nl .g4-cta__text h2 { margin: 0 0 0.35rem !important; }
.g4-cta--nl .g4-nl__perk {
	display: flex !important; align-items: center; gap: 0.75rem; margin: 0.5rem 0 0 !important; padding: 0.7rem 1rem 0.7rem 0.7rem;
	background: linear-gradient(90deg, rgba(255, 196, 71, 0.14), rgba(255, 196, 71, 0.04));
	border: 1px solid rgba(255, 196, 71, 0.4); border-radius: 12px;
	color: #ffe3a3; font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
}
.g4-nl__perk-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #ffd36b, #f5a623); color: #3a2400; box-shadow: 0 4px 14px -4px rgba(245, 166, 35, 0.6); }
.g4-nl__perk-icon svg { display: block; width: 22px; height: 22px; }
.g4-cta--nl h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.15; }
.g4-cta--nl .g4-muted { margin: 0 !important; max-width: 46ch; }
.g4-cta--nl .g4-nl__badge {
	display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 0.45rem;
	align-self: flex-start !important; width: auto !important; max-width: max-content;
	margin: 0 0 0.25rem !important; padding: 0.3rem 0.75rem; line-height: 1.2;
	border: 1px solid rgba(0, 194, 255, 0.35); border-radius: 999px;
	background: rgba(0, 194, 255, 0.08); color: var(--g4-accent);
	font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.g4-nl__points { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.g4-nl__points li { display: flex; align-items: center; gap: 0.6rem; color: var(--g4-fg); font-size: 0.9375rem; }
.g4-nl__badge svg { display: inline-block; flex: none; margin: 0; }
.g4-nl__points svg {
	flex: none; box-sizing: content-box; padding: 4px; border-radius: 50%;
	background: rgba(0, 194, 255, 0.14); color: var(--g4-accent);
}
/* The panel uses the same colour as the Sender form box (#1B2733), so the two read as one. */
.g4-nl--embed {
	box-sizing: border-box;
	width: 100%;
	background: #1b2733;
	border: 1px solid #233344;
	border-radius: 16px;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.g4-nl--embed .sender-form-field { display: block; min-height: 150px; }
.g4-nl--missing { margin: 0; padding: 0.75rem 1rem; border: 1px dashed var(--g4-pre); border-radius: 10px; color: var(--g4-pre); font-size: 0.875rem; }
.g4-nl--missing a { color: inherit; text-decoration: underline; }
.g4-nl__privacy {
	margin: 1rem 0 0 !important; padding-top: 0.9rem; border-top: 1px solid #233344;
	font-size: 0.8125rem; line-height: 1.5; color: var(--g4-muted);
}
.g4-nl__privacy a { color: var(--g4-muted); text-decoration: underline; }
.g4-nl__privacy a:hover { color: var(--g4-accent); }
/* Left column rhythm: spacing set per element, so it reads well with perk + benefits, one of them, or neither. */
.g4-cta--nl .g4-cta__text { gap: 0 !important; }
.g4-cta--nl .g4-cta__text > * { margin: 0 !important; }
.g4-cta--nl .g4-cta__text > .g4-nl__badge { margin-bottom: 1rem !important; }
.g4-cta--nl .g4-cta__text > h2 { margin-bottom: 0.65rem !important; }
.g4-cta--nl .g4-cta__text > .g4-nl__perk { margin-top: 1.5rem !important; width: fit-content; max-width: 34rem; }
.g4-cta--nl .g4-cta__text > .g4-nl__points { margin-top: 1.5rem !important; row-gap: 0.7rem; }
.g4-cta--nl .g4-cta__text > .g4-nl__perk + .g4-nl__points { margin-top: 1.25rem !important; }
.g4-cta--nl .g4-muted { font-size: 1.0625rem; line-height: 1.55; }
/* Nothing extra: a calmer, larger headline so the box does not look empty. */
.g4-nl-bare .g4-cta__text > h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.g4-nl-bare .g4-muted { font-size: 1.125rem; }
/* Benefits only: give them a little more presence. */
.g4-nl-points .g4-nl__points li { font-size: 1rem; }
/* Wide screens: an even number of benefits (4, 6, 8) sits in two even columns; an odd number stays in one column, so nothing is left hanging. */
@media (min-width: 1100px) {
	.g4-cta--nl .g4-nl__points:has(> li:nth-child(4)):not(:has(> li:last-child:nth-child(odd))) { grid-template-columns: repeat(2, max-content); column-gap: 2rem; }
}
@media (max-width: 860px) {
	.g4-cta--nl { grid-template-columns: 1fr; }
	.g4-cta--nl .g4-cta__text > .g4-nl__perk { width: 100%; }
}

/* ---------------------------------------------------------------- Cart totals (classic cart) */

/* «(περιλαμβάνει … ΦΠΑ 24%)»: readable on the dark background. */
.includes_tax, .includes_tax *,
.wc-block-components-totals-footer-item-tax, .wc-block-components-totals-footer-item-tax * { color: #cfd9e3 !important; opacity: 1 !important; }

/* Shipping choices: an unselected radio shows a clear light ring, so it reads as selectable. */
.woocommerce ul#shipping_method input[type="radio"],
.woocommerce .woocommerce-shipping-methods input[type="radio"] {
	appearance: none; -webkit-appearance: none; flex: none;
	width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px;
	border: 2px solid #9aabbd; border-radius: 50%; background: transparent; cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.woocommerce ul#shipping_method input[type="radio"]:hover,
.woocommerce .woocommerce-shipping-methods input[type="radio"]:hover { border-color: #eef4fa; }
.woocommerce ul#shipping_method input[type="radio"]:checked,
.woocommerce .woocommerce-shipping-methods input[type="radio"]:checked {
	border-color: var(--g4-accent, #00c2ff); background: radial-gradient(circle, var(--g4-accent, #00c2ff) 0 4px, transparent 5px);
}
.woocommerce ul#shipping_method input[type="radio"]:focus-visible,
.woocommerce .woocommerce-shipping-methods input[type="radio"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0, 194, 255, .35); }

/* ---------------------------------------------------------------- Ninja Forms: same look as the checkout */
.nf-form-cont { --g4-nf-field: #0b121a; --g4-nf-line: #2b3d50; color: var(--g4-fg); }
.nf-form-cont .nf-form-fields-required { margin: 0 0 14px; font-size: .875rem; color: var(--g4-muted); }
.nf-form-cont .nf-field-container { margin-bottom: 16px; }
.nf-form-cont .nf-field-label label { margin: 0 0 6px; font-size: .875rem; font-weight: 600; color: #b9c7d6; }
.nf-form-cont .ninja-forms-req-symbol { color: #ff7a7a; }
.nf-form-cont .nf-field-element input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.nf-form-cont .nf-field-element textarea,
.nf-form-cont .nf-field-element select {
	box-sizing: border-box; width: 100% !important; min-height: 46px; height: auto; padding: 11px 14px !important; margin: 0 !important;
	background: var(--g4-nf-field) !important; color: var(--g4-fg) !important;
	border: 1px solid var(--g4-nf-line) !important; border-radius: 10px !important;
	font: inherit !important; font-size: 1rem !important; line-height: 1.4; box-shadow: none !important;
	transition: border-color .15s, box-shadow .15s;
}
.nf-form-cont .nf-field-element textarea { min-height: 150px; resize: vertical; font-family: inherit !important; }
.nf-form-cont .nf-field-element input::placeholder,
.nf-form-cont .nf-field-element textarea::placeholder { color: #6f8296; opacity: 1; font-family: inherit; }
.nf-form-cont .nf-field-element input:focus,
.nf-form-cont .nf-field-element textarea:focus,
.nf-form-cont .nf-field-element select:focus {
	border-color: var(--g4-accent) !important; box-shadow: 0 0 0 3px rgba(0, 194, 255, .18) !important; outline: none;
}
.nf-form-cont .checkbox-container .nf-field-element { display: contents; }
.nf-form-cont .checkbox-container .nf-field-label { margin: 0; }
.nf-form-cont .checkbox-container label { font-size: .9375rem; color: var(--g4-fg); cursor: pointer; }
.nf-form-cont input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--g4-accent); cursor: pointer; }
.nf-form-cont .nf-field-description, .nf-form-cont .nf-after-field p, .nf-form-cont .html-container .nf-field-element {
	font-size: .875rem; line-height: 1.55; color: #b9c7d6;
}
.nf-form-cont .html-container a, .nf-form-cont .nf-field-description a { color: var(--g4-accent); }
.nf-form-cont input[type="submit"], .nf-form-cont input[type="button"], .nf-form-cont button[type="submit"] {
	min-height: 50px; height: auto !important; padding: 0 28px !important; border: 0 !important; border-radius: 12px !important;
	background: var(--g4-accent) !important; color: var(--g4-ink) !important;
	font: inherit !important; font-size: 1rem !important; font-weight: 800 !important; cursor: pointer;
	box-shadow: 0 10px 24px -10px rgba(0, 194, 255, .6); transition: filter .15s;
}
.nf-form-cont input[type="submit"]:hover, .nf-form-cont input[type="button"]:hover { filter: brightness(1.08); }
.nf-form-cont .nf-error .nf-field-element input, .nf-form-cont .nf-error .nf-field-element textarea { border-color: #ff7a7a !important; }
.nf-form-cont .nf-error-msg, .nf-form-cont .nf-error-wrap { color: #ff9a9a; font-size: .8125rem; }
.nf-form-cont .nf-pass .nf-field-element input { border-color: var(--g4-nf-line) !important; }
.nf-form-cont .nf-field-element:after { display: none !important; } /* NF's ✓/✗ icons */
.nf-form-cont .nf-response-msg { padding: 14px 16px; border: 1px solid var(--g4-accent); border-radius: 12px; background: rgba(0, 194, 255, .07); }

/* Header: Προ-παραγγελίες as a button (1.6.4), cleaner account icon */
.g4-header .g4-header__nav .g4-nav-pre a {
	background: var(--g4-pre-btn, #ffb020);
	color: var(--g4-pre-btn-ink, #14100a) !important;
	font-weight: 700;
	padding: 0.5rem 1rem;
	margin-right: 0.35rem;
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 6px 18px -8px var(--g4-pre-btn, #ffb020);
	transition: filter 0.15s ease, transform 0.15s ease;
}
.g4-header .g4-header__nav .g4-nav-pre a:hover,
.g4-header .g4-header__nav .g4-nav-pre a:focus-visible { filter: brightness(1.08); transform: translateY(-1px); color: var(--g4-pre-btn-ink, #14100a) !important; }
.g4-header .wc-block-customer-account a { background: none; }
.g4-header .wc-block-customer-account .g4-acc-icon { width: 24px; height: 24px; display: block; border-radius: 0; background: none; }
.g4-header .wc-block-customer-account a:hover .g4-acc-icon { color: var(--g4-accent); }
