/* ==========================================================================
   SGK Market — main stylesheet
   Clean & minimal: white background, grey borders, dark text, rounded
   buttons. Mobile-first.
   ========================================================================== */

:root {
	--sgk-text: #1f2937;
	--sgk-text-soft: #6b7280;
	--sgk-border: #e5e7eb;
	--sgk-border-strong: #d1d5db;
	--sgk-bg: #ffffff;
	--sgk-bg-soft: #f9fafb;
	--sgk-accent: #2f6b3f;
	--sgk-accent-dark: #24522f;
	--sgk-sale: #d92d20;
	--sgk-radius: 10px;
	--sgk-radius-lg: 14px;
	--sgk-shadow: 0 4px 16px rgba(17, 24, 39, .08);
	--sgk-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--sgk-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--sgk-text);
	background: var(--sgk-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sgk-accent); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 26px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; }

.sgk-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
}

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

/* Buttons ---------------------------------------------------------------- */

.sgk-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button[name="update_cart"],
.wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: none;
	border-radius: 999px;
	background: var(--sgk-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	transition: background .15s;
	text-align: center;
}

.sgk-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--sgk-accent-dark);
	color: #fff;
}

.sgk-btn--ghost {
	background: #fff;
	color: var(--sgk-text);
	border: 1px solid var(--sgk-border-strong);
}
.sgk-btn--ghost:hover { background: var(--sgk-bg-soft); color: var(--sgk-text); }

.woocommerce a.button.disabled,
.woocommerce button.button:disabled {
	background: var(--sgk-border);
	color: var(--sgk-text-soft);
	cursor: not-allowed;
}

/* Forms ------------------------------------------------------------------ */

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], textarea, select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--sgk-border-strong);
	border-radius: var(--sgk-radius);
	font: inherit;
	color: var(--sgk-text);
	background: #fff;
}
input:focus, textarea:focus, select:focus {
	outline: 2px solid var(--sgk-accent);
	outline-offset: -1px;
	border-color: var(--sgk-accent);
}

/* ==========================================================================
   Header
   ========================================================================== */

.sgk-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--sgk-border);
}

.sgk-header__main-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.sgk-logo {
	display: flex;
	align-items: baseline;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.5px;
	white-space: nowrap;
}
.sgk-logo__mark { color: var(--sgk-accent); }
.sgk-logo__text { color: var(--sgk-text); }

/* Search */
.sgk-search {
	position: relative;
	flex: 1;
	max-width: 520px;
}
.sgk-search form { display: flex; }
.sgk-search__input {
	border-radius: 999px;
	padding-right: 46px;
}
.sgk-search__btn {
	position: absolute;
	right: 4px; top: 4px; bottom: 4px;
	width: 40px;
	border: none;
	border-radius: 999px;
	background: transparent;
	color: var(--sgk-text-soft);
	display: flex;
	align-items: center;
	justify-content: center;
}
.sgk-search__btn:hover { color: var(--sgk-accent); }

.sgk-search__results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0; right: 0;
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	box-shadow: var(--sgk-shadow);
	overflow: hidden;
	z-index: 120;
}
.sgk-search__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 14px;
	border-bottom: 1px solid var(--sgk-border);
}
.sgk-search__item:last-child { border-bottom: none; }
.sgk-search__item:hover { background: var(--sgk-bg-soft); }
.sgk-search__item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.sgk-search__item-name { font-size: 14px; font-weight: 600; }
.sgk-search__item-price { font-size: 13px; color: var(--sgk-text-soft); }
.sgk-search__item-price ins { color: var(--sgk-sale); text-decoration: none; font-weight: 700; }
.sgk-search__empty { padding: 14px; color: var(--sgk-text-soft); font-size: 14px; }

/* Header actions */
.sgk-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}

.sgk-lang { display: flex; gap: 6px; }
.sgk-lang__flag {
	display: block;
	line-height: 0;
	border-radius: 3px;
	overflow: hidden;
	opacity: .45;
	border: 2px solid transparent;
	transition: opacity .15s;
}
.sgk-lang__flag:hover { opacity: .85; }
.sgk-lang__flag.is-active { opacity: 1; border-color: var(--sgk-accent); }

.sgk-header__icon-link {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	font-size: 11px;
	color: var(--sgk-text);
}
.sgk-header__icon-label { color: var(--sgk-text-soft); }

.sgk-cart-link__count {
	position: absolute;
	top: -6px; right: -8px;
	min-width: 18px; height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--sgk-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* --- Hover mini-cart dropdown (full card like the reference) ---------- */
.sgk-cart-hover { position: relative; }
.sgk-minicart {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 12px;
	width: 400px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(16, 24, 40, .18);
	z-index: 200;
	padding: 6px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
/* Hover-bridge so the pointer can travel from icon to panel. */
.sgk-minicart::before { content: ""; position: absolute; top: -12px; right: 0; left: 0; height: 12px; }
.sgk-cart-hover:hover .sgk-minicart,
.sgk-cart-hover:focus-within .sgk-minicart {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.sgk-minicart.is-loading { opacity: .6; pointer-events: none; }
.sgk-minicart .widget_shopping_cart_content { display: block; }

/* Header row: title + item count. */
.sgk-minicart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 12px 14px;
}
.sgk-minicart__title { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; color: var(--sgk-text); }
.sgk-minicart__count { font-size: 12.5px; color: var(--sgk-text-soft); }

/* Item list. */
.sgk-minicart ul.woocommerce-mini-cart {
	list-style: none; margin: 0; padding: 0;
	max-height: 340px; overflow-y: auto;
	display: flex; flex-direction: column; gap: 10px;
}
.sgk-minicart li.woocommerce-mini-cart-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px;
	border: 1px solid var(--sgk-border);
	border-radius: 12px;
}
.sgk-mci__thumb img {
	width: 60px; height: 60px;
	object-fit: cover;
	display: block;
	border-radius: 8px;
	border: 1px solid var(--sgk-border);
}
.sgk-mci__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sgk-mci__name { font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--sgk-text); text-decoration: none; }
.sgk-mci__name:hover { color: var(--sgk-accent); }
.sgk-mci__unit { font-size: 12px; color: var(--sgk-text-soft); margin-top: 2px; }
.sgk-mci__info dl.variation { margin: 2px 0 0; font-size: 11.5px; color: var(--sgk-text-soft); }
.sgk-mci__info dl.variation dt, .sgk-mci__info dl.variation dd { display: inline; margin: 0; }

/* −/+ stepper (same pill as the cart page). */
.sgk-mci__qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--sgk-border); border-radius: 999px; align-self: flex-start; }
.sgk-mci__qty .sgk-qty__btn {
	width: 28px; height: 28px; border: 0; background: none;
	font-size: 15px; line-height: 1; color: var(--sgk-text-soft); cursor: pointer;
}
.sgk-mci__qty .sgk-qty__btn:hover { color: var(--sgk-accent); }
.sgk-mci__qty-val { min-width: 26px; text-align: center; font-size: 13px; font-weight: 600; }
.sgk-mci__qty-fixed { font-size: 13px; color: var(--sgk-text-soft); margin-top: 8px; }

.sgk-mci__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sgk-mci__total { font-weight: 800; font-size: 14.5px; white-space: nowrap; }
/* Trash button (red, like the reference). */
.sgk-minicart a.remove {
	display: inline-flex !important;
	align-items: center; justify-content: center;
	width: 30px; height: 30px;
	border-radius: 8px;
	color: var(--sgk-sale) !important;
	background: none;
	transition: background .12s;
}
.sgk-minicart a.remove:hover { background: #fded; background: rgba(220, 38, 38, .1); }

/* Totals block — just the Σύνολο row. */
.sgk-minicart__totals { padding: 14px 12px 4px; margin-top: 6px; border-top: 1px solid var(--sgk-border); }
.sgk-minicart__row { display: flex; justify-content: space-between; align-items: center; padding: 2px 0; }
.sgk-minicart__row--total { font-size: 18px; font-weight: 800; }

/* Full-width checkout button in the brand green. */
.sgk-minicart__checkout {
	display: block;
	margin: 12px 8px 6px;
	padding: 14px;
	border-radius: 12px;
	background: var(--sgk-accent);
	color: #fff;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background .14s, filter .14s;
}
.sgk-minicart__checkout:hover { filter: brightness(.92); color: #fff; }
.sgk-minicart__viewcart { display: block; text-align: center; padding: 4px 8px 12px; font-size: 13px; color: var(--sgk-text-soft); text-decoration: none; }
.sgk-minicart__viewcart:hover { color: var(--sgk-accent); }

/* Empty state. */
.sgk-minicart__empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 18px; text-align: center; color: var(--sgk-text-soft); }
.sgk-minicart__empty svg { color: var(--sgk-border-strong); }
.sgk-minicart__empty p { margin: 0; font-size: 14px; }
.sgk-minicart__shop { margin-top: 4px; font-weight: 600; color: var(--sgk-accent); text-decoration: none; }

/* Hover cart is a desktop convenience — on phones the icon just links to
   the cart page. */
@media (max-width: 768px) { .sgk-minicart { display: none; } }

/* Burger (mobile only) */
.sgk-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px; height: 42px;
	padding: 8px;
	background: none;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius);
}
.sgk-burger span {
	display: block;
	height: 2px;
	background: var(--sgk-text);
	border-radius: 2px;
}

/* Navigation ------------------------------------------------------------- */

.sgk-nav { border-top: 1px solid var(--sgk-border); }

.sgk-nav__list {
	list-style: none;
	margin: 0;
	/* Pull left by a link's h-padding so the first item's TEXT lines up
	   with the logo (both at the container's 16px edge), while every link
	   keeps identical padding/hover. */
	margin-left: -14px;
	padding: 0;
	display: flex;
	gap: 4px;
}

.sgk-nav__item { position: relative; }

.sgk-nav__link {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 14px;
	font-weight: 600;
	font-size: 14.5px;
	white-space: nowrap;
}

.sgk-nav__toggle { display: none; }
.sgk-nav__chevron { transition: transform .15s; }

/* Desktop: dropdown on hover */
.sgk-nav__dropdown {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 300px;
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: 0 0 var(--sgk-radius-lg) var(--sgk-radius-lg);
	box-shadow: var(--sgk-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
	z-index: 110;
}
.sgk-nav__item--has-sub:hover .sgk-nav__dropdown,
.sgk-nav__item--has-sub:focus-within .sgk-nav__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.sgk-nav__item--has-sub:hover .sgk-nav__chevron { transform: rotate(180deg); }
.sgk-nav__dropdown a {
	display: block;
	padding: 9px 18px;
	font-size: 14px;
}
.sgk-nav__dropdown a:hover { background: var(--sgk-bg-soft); color: var(--sgk-accent); }

.sgk-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(17, 24, 39, .45);
	z-index: 99;
}

/* Breadcrumbs ------------------------------------------------------------ */

.sgk-breadcrumbs {
	background: var(--sgk-bg-soft);
	border-bottom: 1px solid var(--sgk-border);
	font-size: 13px;
}
.sgk-breadcrumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 9px 0;
}
.sgk-breadcrumbs li { display: flex; align-items: center; gap: 4px; color: var(--sgk-text-soft); }
.sgk-breadcrumbs li + li::before { content: "→"; color: var(--sgk-border-strong); margin-right: 4px; }
.sgk-breadcrumbs a:hover { color: var(--sgk-accent); }
.sgk-breadcrumbs [aria-current] { color: var(--sgk-text); font-weight: 600; }

/* ==========================================================================
   Homepage
   ========================================================================== */

/* Pixel-canvas hero — a dark banner with an animated ripple of squares,
   a glass-shimmer headline and glass buttons (vanilla port of a React
   "pixel-perfect hero"). */
.sgk-pixhero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	/* Fill the viewport below the sticky header (~120px), so the photo
	   reaches the bottom of the first screen on any monitor. */
	min-height: max(560px, calc(100dvh - 120px));
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 72px 16px;
	background: #111312;
	border-bottom: 1px solid var(--sgk-border);
}

/* Photo-background variant — the image is shown as-is (no overlay); text
   stays readable via a shadow on the text itself. */
.sgk-pixhero--photo {
	background-size: cover;
	background-position: center 35%;
	background-repeat: no-repeat;
}
.sgk-pixhero--photo .sgk-pixhero__kicker { color: #a7e8ba; }
.sgk-pixhero--photo .sgk-pixhero__title span {
	/* Solid white over the photo (the glass-shimmer needs a plain bg). */
	color: #fff;
	background: none;
	-webkit-text-fill-color: #fff;
	-webkit-text-stroke: 0;
	animation: none;
	filter: none;
	text-shadow: 0 2px 6px rgba(0,0,0,.55), 0 8px 30px rgba(0,0,0,.5);
}
.sgk-pixhero--photo .sgk-pixhero__kicker,
.sgk-pixhero--photo .sgk-pixhero__desc,
.sgk-pixhero--photo .sgk-pixhero__brands {
	text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 12px rgba(0,0,0,.55);
}
.sgk-pixhero--photo .sgk-pixhero__desc { color: #fff; }
.sgk-pixhero__canvas {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.sgk-pixhero__fade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(to bottom, rgba(17,19,18,.55) 0%, transparent 22%, transparent 68%, var(--sgk-bg) 100%),
		radial-gradient(circle at 50% 44%, transparent 0%, rgba(8,10,9,.72) 100%);
}
.sgk-pixhero__inner {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 860px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.sgk-pixhero__kicker {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #7ac88f;
	margin-bottom: 18px;
}

.sgk-pixhero__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .1em .35em;
	margin: 0 0 20px;
	line-height: .98;
	font-size: clamp(2.7rem, 8.5vw, 6.8rem);
}
.sgk-pixhero__title span {
	color: transparent;
	background: linear-gradient(135deg,
		rgba(255,255,255,1) 0%, rgba(255,255,255,.45) 25%, rgba(255,255,255,.15) 45%,
		rgba(255,255,255,.92) 55%, rgba(255,255,255,.25) 75%, rgba(255,255,255,1) 100%);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-stroke: 1px rgba(255,255,255,.22);
	filter: drop-shadow(0 12px 28px rgba(0,0,0,.45));
	animation: sgk-shimmer 8s linear infinite;
}
.sgk-pixhero__title-serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 500; }
.sgk-pixhero__title-sans { font-weight: 800; letter-spacing: -.02em; }
@keyframes sgk-shimmer {
	0% { background-position: 200% center; }
	100% { background-position: 0% center; }
}

.sgk-pixhero__desc {
	color: rgba(255,255,255,.82);
	font-size: clamp(15px, 2.2vw, 19px);
	font-weight: 300;
	line-height: 1.6;
	max-width: 620px;
	margin: 0 0 30px;
}

.sgk-pixhero__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}
.sgk-pixhero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 50px;
	padding: 0 26px;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 600;
	transition: transform .18s ease, box-shadow .18s ease;
}
.sgk-pixhero__btn:hover { transform: translateY(-1px) scale(1.02); }
.sgk-pixhero__btn:active { transform: scale(.98); }
.sgk-pixhero__btn--primary {
	background: linear-gradient(to bottom, #368049, var(--sgk-accent));
	color: #fff;
	box-shadow: inset 0 1px 1px rgba(255,255,255,.25), 0 2px 6px rgba(0,0,0,.3), 0 14px 30px rgba(0,0,0,.35);
	border: 1px solid rgba(255,255,255,.08);
}
.sgk-pixhero__btn--primary:hover { color: #fff; }
.sgk-pixhero__btn--ghost {
	background: rgba(255,255,255,.08);
	color: #fff;
	border: 1px solid rgba(255,255,255,.18);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.sgk-pixhero__btn--ghost:hover { color: #fff; background: rgba(255,255,255,.14); }

.sgk-pixhero__brands {
	margin-top: 34px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: rgba(255,255,255,.6);
}
.sgk-pixhero__brands span {
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.sgk-pixhero__brands strong {
	font-size: 14px;
	letter-spacing: .06em;
	color: rgba(255,255,255,.85);
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.sgk-pixhero__title span { animation: none; }
}

.sgk-section { padding: 44px 0; }
.sgk-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}
.sgk-section__head h2 { margin: 0; }
.sgk-section__head a { font-size: 14px; font-weight: 600; color: var(--sgk-accent); }

/* ==========================================================================
   Product grid & cards
   ========================================================================== */

.sgk-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
@media (min-width: 700px)  { .sgk-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .sgk-grid { grid-template-columns: repeat(4, 1fr); } }

.sgk-card {
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	overflow: hidden;
	background: #fff;
	transition: box-shadow .15s, border-color .15s;
}
.sgk-card:hover { box-shadow: var(--sgk-shadow); border-color: var(--sgk-border-strong); }
.sgk-card__link { display: block; color: inherit; }

.sgk-card__media {
	position: relative;
	background: var(--sgk-bg-soft);
	aspect-ratio: 1;
}
.sgk-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sgk-card--soldout .sgk-card__media img { opacity: .5; filter: grayscale(.6); }

.sgk-badge {
	position: absolute;
	top: 10px; left: 10px;
	z-index: 2;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
}
.sgk-badge--sale { background: var(--sgk-sale); }
.sgk-badge--out { background: var(--sgk-text-soft); top: 10px; right: 10px; left: auto; }

.sgk-card__title {
	font-size: 14px;
	font-weight: 600;
	margin: 12px 14px 4px;
	min-height: 2.6em;
}
.sgk-card__price { margin: 0 14px 6px; font-size: 15px; font-weight: 700; }
.sgk-card__price del { color: var(--sgk-text-soft); font-weight: 400; margin-right: 6px; }
.sgk-card__price ins { text-decoration: none; color: var(--sgk-sale); }

.sgk-card__sizes {
	margin: 0 14px 12px;
	font-size: 12px;
	color: var(--sgk-text-soft);
}
.sgk-card__sizes-label { font-weight: 600; }

/* ==========================================================================
   Listing layout with filter sidebar
   ========================================================================== */

.sgk-shop {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	padding: 24px 0 48px;
}
@media (min-width: 900px) {
	.sgk-shop { grid-template-columns: 270px 1fr; }
}

.sgk-shop__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.sgk-shop__title { margin: 0; }
.sgk-shop__count { color: var(--sgk-text-soft); font-size: 14px; }

.sgk-shop__toolbar { display: flex; align-items: center; gap: 10px; }

.sgk-filters-open {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1px solid var(--sgk-border-strong);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
	font-size: 14px;
}

/* Filter sidebar --------------------------------------------------------- */

.sgk-filters {
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	padding: 18px;
	align-self: start;
	position: sticky;
	top: 130px;
}

.sgk-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}
.sgk-filters__title { font-size: 17px; font-weight: 700; margin: 0; }
.sgk-filters__clear {
	background: none;
	border: none;
	color: var(--sgk-accent);
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	padding: 0;
}

.sgk-filter {
	border-top: 1px solid var(--sgk-border);
	padding: 4px 0;
}
.sgk-filter__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: none;
	border: none;
	padding: 12px 0;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--sgk-text);
}
.sgk-filter__toggle svg { transition: transform .15s; color: var(--sgk-text-soft); }
.sgk-filter.is-open .sgk-filter__toggle svg { transform: rotate(180deg); }
.sgk-filter__body { display: none; padding: 0 0 14px; }
.sgk-filter.is-open .sgk-filter__body { display: block; }

.sgk-filter__info {
	color: var(--sgk-text-soft);
	cursor: help;
	font-weight: 400;
}

/* Checkbox rows (brands, properties, colors) */
.sgk-check {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 5px 0;
	font-size: 14px;
	cursor: pointer;
}
.sgk-check input {
	width: 17px; height: 17px;
	accent-color: var(--sgk-accent);
	margin: 0;
	flex: none;
}
.sgk-check__count { color: var(--sgk-text-soft); font-size: 12.5px; }
.sgk-check.is-disabled { opacity: .45; pointer-events: none; }

.sgk-color-swatch {
	width: 15px; height: 15px;
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,.15);
	flex: none;
}

/* Size pills */
.sgk-sizes-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}
.sgk-size-pill {
	padding: 8px 0;
	border: 1px solid var(--sgk-border-strong);
	border-radius: 999px;
	background: #fff;
	font-size: 13.5px;
	font-weight: 600;
	text-align: center;
	transition: all .12s;
}
.sgk-size-pill:hover { border-color: var(--sgk-accent); }
.sgk-size-pill.is-active {
	background: var(--sgk-accent);
	border-color: var(--sgk-accent);
	color: #fff;
}
.sgk-size-pill.is-disabled {
	opacity: .4;
	pointer-events: none;
	text-decoration: line-through;
}

/* Type cards (Μποτάκια / Χαμηλά) */
.sgk-type-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sgk-type-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 8px;
	border: 2px solid var(--sgk-border);
	border-radius: var(--sgk-radius);
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	transition: border-color .12s;
}
.sgk-type-card svg { color: var(--sgk-text-soft); }
.sgk-type-card:hover { border-color: var(--sgk-border-strong); }
.sgk-type-card.is-active { border-color: var(--sgk-accent); background: #f2f7f3; }
.sgk-type-card.is-active svg { color: var(--sgk-accent); }
.sgk-type-card.is-disabled { opacity: .45; pointer-events: none; }

/* Price section */
.sgk-price-histogram {
	display: flex;
	align-items: flex-end;
	gap: 2px;
	height: 44px;
	margin-bottom: 2px;
}
.sgk-price-histogram span {
	flex: 1;
	background: #cfe0d3;
	border-radius: 2px 2px 0 0;
	min-height: 2px;
}
.sgk-price-histogram span.is-active { background: var(--sgk-accent); }

.sgk-price-slider { position: relative; height: 26px; margin-bottom: 10px; }
.sgk-price-slider__track {
	position: absolute;
	top: 11px; left: 0; right: 0;
	height: 4px;
	background: var(--sgk-border);
	border-radius: 2px;
}
.sgk-price-slider__range {
	position: absolute;
	top: 11px;
	height: 4px;
	background: var(--sgk-accent);
	border-radius: 2px;
}
.sgk-price-slider input[type="range"] {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	margin: 0;
	height: 26px;
	background: none;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
}
.sgk-price-slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--sgk-accent);
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
	cursor: grab;
}
.sgk-price-slider input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 14px; height: 14px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--sgk-accent);
	cursor: grab;
}

.sgk-price-inputs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}
.sgk-price-inputs input { text-align: center; padding: 8px; font-size: 14px; }
.sgk-price-inputs span { color: var(--sgk-text-soft); }

.sgk-radio {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 4px 0;
	font-size: 14px;
	cursor: pointer;
}
.sgk-radio input { width: 16px; height: 16px; accent-color: var(--sgk-accent); margin: 0; }

/* Filter apply button (mobile drawer) */
.sgk-filters__apply { display: none; width: 100%; margin-top: 14px; }

.sgk-shop__grid-wrap { position: relative; min-height: 300px; }
.sgk-shop__grid-wrap.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,.65);
	z-index: 5;
}
.sgk-shop__grid-wrap.is-loading::before {
	content: "";
	position: absolute;
	top: 80px; left: 50%;
	width: 34px; height: 34px;
	margin-left: -17px;
	border: 3px solid var(--sgk-border);
	border-top-color: var(--sgk-accent);
	border-radius: 50%;
	z-index: 6;
	animation: sgk-spin .7s linear infinite;
}
@keyframes sgk-spin { to { transform: rotate(360deg); } }

.sgk-no-results {
	padding: 60px 20px;
	text-align: center;
	color: var(--sgk-text-soft);
}

.sgk-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 28px;
}
.sgk-pagination button,
.sgk-pagination a,
.sgk-pagination span {
	min-width: 40px; height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--sgk-border-strong);
	border-radius: var(--sgk-radius);
	background: #fff;
	font-weight: 600;
	font-size: 14px;
	padding: 0 8px;
}
.sgk-pagination .is-current {
	background: var(--sgk-accent);
	border-color: var(--sgk-accent);
	color: #fff;
}

/* ==========================================================================
   Product page
   ========================================================================== */

.sgk-product {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	padding: 28px 0;
}
@media (min-width: 900px) { .sgk-product { grid-template-columns: 1.05fr 1fr; } }

/* Gallery */
.sgk-gallery__main {
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	overflow: hidden;
	background: var(--sgk-bg-soft);
	position: relative;
	aspect-ratio: 1;
}
.sgk-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.sgk-gallery__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	flex-wrap: wrap;
}
.sgk-gallery__thumb {
	width: 74px; height: 74px;
	border: 2px solid var(--sgk-border);
	border-radius: var(--sgk-radius);
	overflow: hidden;
	background: var(--sgk-bg-soft);
	padding: 0;
}
.sgk-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sgk-gallery__thumb.is-active { border-color: var(--sgk-accent); }

/* Summary */
.sgk-product__title { font-size: 24px; margin-bottom: 8px; }
.sgk-product__price { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.sgk-product__price del { color: var(--sgk-text-soft); font-weight: 400; font-size: 18px; margin-right: 10px; }
.sgk-product__price ins { text-decoration: none; color: var(--sgk-sale); }
.sgk-product__price .sgk-badge--sale { position: static; margin-left: 10px; vertical-align: middle; }

.sgk-product__desc { color: var(--sgk-text-soft); margin-bottom: 20px; }

/* Size selector */
.sgk-size-select { margin-bottom: 20px; }
.sgk-size-select__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.sgk-size-select__label { font-weight: 700; font-size: 14.5px; }
.sgk-size-guide-link {
	background: none;
	border: none;
	color: var(--sgk-accent);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: underline;
	padding: 0;
}
.sgk-size-select .sgk-sizes-grid { grid-template-columns: repeat(6, 1fr); max-width: 420px; }

/* Add to cart */
.sgk-product .cart { margin-bottom: 24px; }
.sgk-product .quantity { display: none; } /* shoes: quantity 1; edit in cart */
.sgk-product .single_add_to_cart_button { width: 100%; max-width: 420px; font-size: 16px; padding: 15px 24px; }
.sgk-product .woocommerce-variation-price { margin-bottom: 12px; font-size: 18px; font-weight: 700; }
.sgk-product .woocommerce-variation-availability { font-size: 14px; margin-bottom: 8px; }
.sgk-stock-note { font-size: 13.5px; margin: 8px 0 0; }
.sgk-stock-note--out { color: var(--sgk-sale); font-weight: 600; }

/* Technologies */
.sgk-tech { padding: 28px 0; border-top: 1px solid var(--sgk-border); }
.sgk-tech__list { display: grid; gap: 14px; }
@media (min-width: 700px) { .sgk-tech__list { grid-template-columns: 1fr 1fr; } }
.sgk-tech__item {
	display: flex;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	background: var(--sgk-bg-soft);
}
.sgk-tech__icon {
	flex: none;
	width: 48px; height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--sgk-border);
	color: var(--sgk-accent);
}
.sgk-tech__name { font-weight: 700; font-size: 14.5px; margin-bottom: 2px; }
.sgk-tech__desc { font-size: 13.5px; color: var(--sgk-text-soft); line-height: 1.5; }

/* Related & recently viewed */
.sgk-related { padding: 28px 0; border-top: 1px solid var(--sgk-border); }

/* Size guide modal */
.sgk-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.sgk-modal[hidden] { display: none; }
.sgk-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, .55);
}
.sgk-modal__box {
	position: relative;
	background: #fff;
	border-radius: var(--sgk-radius-lg);
	max-width: 520px;
	width: 100%;
	max-height: 85vh;
	overflow: auto;
	padding: 24px;
	box-shadow: var(--sgk-shadow);
}
.sgk-modal__close {
	position: absolute;
	top: 10px; right: 10px;
	width: 36px; height: 36px;
	border: none;
	background: var(--sgk-bg-soft);
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
}
.sgk-size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sgk-size-table th, .sgk-size-table td {
	padding: 7px 10px;
	border: 1px solid var(--sgk-border);
	text-align: center;
}
.sgk-size-table th { background: var(--sgk-bg-soft); }

/* ==========================================================================
   Cart / Checkout
   ========================================================================== */

/* Top/bottom only — .sgk-page shares its element with .sgk-container,
   whose 16px side padding must survive. */
.sgk-page { padding-top: 28px; padding-bottom: 56px; }
.sgk-page__title { margin-bottom: 20px; }

.woocommerce table.shop_table {
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--sgk-border);
	text-align: left;
	vertical-align: middle;
}
.woocommerce table.shop_table tr:last-child td { border-bottom: none; }
.woocommerce table.shop_table img { width: 64px; border-radius: 8px; }

/* Remove-item × : outlined circle so it stands out; fills red on hover. */
.woocommerce a.remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1.5px solid var(--sgk-border-strong);
	font-size: 18px;
	font-weight: 700;
	line-height: 1 !important;
	padding: 0 0 2px; /* optical centering: × glyph sits slightly high */
	color: var(--sgk-sale) !important;
	background: #fff;
	transition: background .12s, color .12s, border-color .12s;
}
.woocommerce a.remove:hover {
	background: var(--sgk-sale);
	border-color: var(--sgk-sale);
	color: #fff !important;
}

/* -------------------------------------------------------------------------
 * Cart page — items card left, totals card right (mirrors the checkout).
 * ---------------------------------------------------------------------- */
@media (min-width: 900px) {
	.sgk-cart-cols {
		display: grid;
		grid-template-columns: 1.25fr 1fr;
		gap: 28px;
		align-items: stretch; /* both windows the same height */
	}
}
/* The items card grows to fill the column, so products+totals always
   ends level with the «Πολλοί επίσης αγοράζουν» card (and vice versa). */
.sgk-cart-main { display: flex; flex-direction: column; }
.sgk-cart-main .sgk-cart-items { flex: 1; }
.sgk-cart-side .sgk-alsobuy { height: 100%; }

/* Items: one white card, each product a generous flex row. */
.sgk-cart-items {
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	box-shadow: var(--sgk-shadow);
	padding: 6px 20px;
}
.sgk-cart-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
}
.sgk-cart-item + .sgk-cart-item { border-top: 1px solid var(--sgk-border); }
.sgk-cart-item__thumb img {
	width: 92px;
	height: 92px;
	object-fit: cover;
	display: block;
	border: 1px solid var(--sgk-border);
	border-radius: 12px;
}
.sgk-cart-item__info { flex: 1; min-width: 0; }
.sgk-cart-item__name a { font-weight: 600; font-size: 15px; color: var(--sgk-text); }
.sgk-cart-item__name a:hover { color: var(--sgk-accent); }
.sgk-cart-item__info dl.variation { margin: 3px 0 0; font-size: 12.5px; color: var(--sgk-text-soft); }
.sgk-cart-item__info dl.variation dt,
.sgk-cart-item__info dl.variation dd { display: inline; margin: 0; font-weight: 400; }
.sgk-cart-item__info dl.variation dd p { display: inline; margin: 0; }
.sgk-cart-item__unit { margin-top: 4px; font-size: 13px; color: var(--sgk-text-soft); }
.sgk-cart-item__unit span { opacity: .75; }
.sgk-cart-item__total { font-weight: 800; font-size: 15.5px; white-space: nowrap; min-width: 76px; text-align: right; }

/* −/+ stepper wrapped around WooCommerce's own qty input. */
.sgk-qty {
	display: flex;
	align-items: center;
	border: 1px solid var(--sgk-border);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}
.sgk-qty__btn {
	width: 34px;
	height: 38px;
	border: 0;
	background: none;
	font-size: 17px;
	line-height: 1;
	color: var(--sgk-text-soft);
	cursor: pointer;
	transition: background .12s, color .12s;
}
.sgk-qty__btn:hover { background: var(--sgk-bg-soft); color: var(--sgk-accent); }
.sgk-qty .quantity { margin: 0; }
.sgk-qty input.qty {
	width: 38px;
	border: 0;
	background: none;
	text-align: center;
	font-size: 14.5px;
	font-weight: 600;
	-moz-appearance: textfield;
}
.sgk-qty input.qty::-webkit-outer-spin-button,
.sgk-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sgk-qty input.qty:focus { outline: none; }

/* Bar under the items: continue-shopping left, «Κουπόνι» toggle right.
   The manual update button hides when JS auto-updates quantities. */
/* Holds only the (hidden) update button + nonce now — no visual footprint. */
.sgk-cart-bar { margin: 0; }
.sgk-cart-continue {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 600;
	color: var(--sgk-text-soft);
	padding-top: 2px;
}
.sgk-cart-continue:hover { color: var(--sgk-accent); }
body.sgk-autoqty .sgk-cart-update { display: none; }

/* Continue-shopping link sits above the items card. */
.woocommerce-cart .woocommerce-cart-form > .sgk-cart-continue { margin-bottom: 12px; }

/* Items + totals form ONE continuous card: the items card loses its
   bottom edge and the totals dock right onto it. */
.woocommerce-cart .woocommerce-cart-form .sgk-cart-items {
	border-radius: var(--sgk-radius-lg) var(--sgk-radius-lg) 0 0;
	border-bottom: 0;
	box-shadow: none;
}
.woocommerce-cart .woocommerce-cart-form .cart_totals {
	margin-top: 0;
	border-radius: 0 0 var(--sgk-radius-lg) var(--sgk-radius-lg);
	border-top: 1px solid var(--sgk-border);
	padding-top: 18px;
}

/* «Πολλοί επίσης αγοράζουν» — the wide upsell card in the aside. */
.sgk-alsobuy {
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	box-shadow: var(--sgk-shadow);
	padding: 22px;
}
.sgk-alsobuy__title {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 17px;
	margin: 0 0 14px;
}
.sgk-alsobuy__title svg { flex: none; color: var(--sgk-accent); }
.sgk-alsobuy__list { display: flex; flex-direction: column; }
.sgk-alsobuy__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 10px;
	margin: 0 -10px;
	border-radius: 12px;
	transition: background .13s;
}
.sgk-alsobuy__item + .sgk-alsobuy__item { border-top: 1px solid var(--sgk-border); }
.sgk-alsobuy__item:hover { background: var(--sgk-bg-soft); }
.sgk-alsobuy__link { display: flex; align-items: center; gap: 13px; flex: 1; min-width: 0; }
.sgk-alsobuy__thumb img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	display: block;
	border: 1px solid var(--sgk-border);
	border-radius: 10px;
}
.sgk-alsobuy__info { flex: 1; min-width: 0; }
.sgk-alsobuy__name {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: var(--sgk-text);
	line-height: 1.35;
}
.sgk-alsobuy__price { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 700; color: var(--sgk-accent); }
.sgk-alsobuy__price del { color: var(--sgk-text-soft); font-weight: 400; margin-right: 6px; }
.sgk-alsobuy__price ins { text-decoration: none; }

/* Instant-add (+) for simple products; chevron link for variable ones. */
.sgk-alsobuy__add,
.sgk-alsobuy__go {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	transition: background .13s, color .13s, border-color .13s, transform .13s;
}
.sgk-alsobuy__add {
	border: 1.5px solid var(--sgk-accent);
	color: var(--sgk-accent);
	background: #fff;
}
.sgk-alsobuy__add:hover { background: var(--sgk-accent); color: #fff; }
.sgk-alsobuy__add.loading { opacity: .55; pointer-events: none; }
.sgk-alsobuy__add.loading svg { animation: sgk-spin .7s linear infinite; }
@keyframes sgk-spin { to { transform: rotate(180deg); } }
.sgk-alsobuy__go { color: var(--sgk-text-soft); }
.sgk-alsobuy__item:hover .sgk-alsobuy__go { color: var(--sgk-accent); transform: translateX(3px); }
/* WooCommerce appends a "View cart" link after an added button — we ARE the cart. */
.sgk-alsobuy .added_to_cart { display: none; }

/* «Προτεινόμενα προϊόντα» under the items (left column). */
.sgk-cart-reco { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--sgk-border); }
.sgk-cart-reco__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	margin: 0 0 16px;
}
.sgk-cart-reco__title svg { flex: none; color: var(--sgk-accent); }
/* Full page width now — 3 cards, roomy. */
.sgk-cart-reco__grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .sgk-cart-reco__grid { grid-template-columns: repeat(3, 1fr); } }

/* Trust line under the totals' checkout button. */
.sgk-cart-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 12px 0 0;
	font-size: 12.5px;
	color: var(--sgk-text-soft);
}
.sgk-cart-trust svg { flex: none; color: var(--sgk-accent); }

/* Totals: a card like the checkout's «Η παραγγελία σας». */
.woocommerce-cart .cart_totals {
	width: 100%;
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	box-shadow: var(--sgk-shadow);
	padding: 22px;
}
.woocommerce-cart .cart_totals > h2.sgk-carttotals__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	margin: 0 0 12px;
}
.sgk-carttotals__title svg { flex: none; color: var(--sgk-accent); }
.sgk-carttotals__count {
	margin-left: auto;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--sgk-text-soft);
	background: var(--sgk-bg-soft);
	border-radius: 999px;
	padding: 3px 10px;
	white-space: nowrap;
}
.woocommerce-cart .cart_totals .sgk-shipnote th { font-weight: 400; color: var(--sgk-text-soft); }
.woocommerce-cart .cart_totals .sgk-shipnote .sgk-shipnote__val {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--sgk-text-soft);
	font-style: italic;
}
.woocommerce-cart .cart_totals table.shop_table { border: 0; margin: 0; }
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
	border: 0;
	padding: 8px 0;
	background: none;
}
.woocommerce-cart .cart_totals table.shop_table th { font-weight: 400; color: var(--sgk-text-soft); }
.woocommerce-cart .cart_totals table.shop_table td { text-align: right; font-weight: 600; }
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
	/* Σύνολο is the only row now — the card seam above is separator enough. */
	padding-top: 2px;
	font-size: 17px;
	font-weight: 800;
}
.woocommerce-cart .wc-proceed-to-checkout { padding: 8px 0 0; margin: 0; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	width: 100%;
	font-size: 16px;
	padding: 14px;
}

/* Shipping is chosen at CHECKOUT, so hide the shipping row from the cart
   totals (it stays on the checkout). */
.woocommerce-cart .cart_totals .woocommerce-shipping-totals,
.woocommerce-cart .cart_totals tr.shipping {
	display: none;
}

/* Checkout layout: form left, live order summary right */
/* -------------------------------------------------------------------------
 * Checkout wizard (Στοιχεία → Πληρωμή → Έλεγχος)
 * ---------------------------------------------------------------------- */
.sgk-wsteps {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 26px;
	padding: 0;
	flex-wrap: wrap;
}
.sgk-wsteps__item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--sgk-text-soft);
	font-weight: 600;
	font-size: 14px;
}
.sgk-wsteps__item:not(:last-child)::after {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--sgk-border);
	margin-left: 6px;
}
.sgk-wsteps__num {
	position: relative;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid var(--sgk-border-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--sgk-text-soft);
	transition: all .15s;
}
.sgk-wsteps__num svg { width: 17px; height: 17px; display: block; }
/* The icon wrappers are flex too, or the svg rides the text baseline
   and sits off-center in the circle. */
.sgk-wsteps__icon {
	display: flex;
	align-items: center;
	justify-content: center;
}
.sgk-wsteps__done { display: none; align-items: center; justify-content: center; }
.sgk-wsteps__item.is-active .sgk-wsteps__num {
	background: var(--sgk-accent);
	border-color: var(--sgk-accent);
	color: #fff;
}
.sgk-wsteps__item.is-done .sgk-wsteps__num {
	background: var(--sgk-accent);
	border-color: var(--sgk-accent);
	color: #fff;
}
.sgk-wsteps__item.is-done .sgk-wsteps__icon { display: none; }
.sgk-wsteps__item.is-done .sgk-wsteps__done { display: flex; }
.sgk-wsteps__item.is-active,
.sgk-wsteps__item.is-done { color: var(--sgk-text); }
.sgk-wsteps__item.is-done { cursor: pointer; }
@media (max-width: 560px) { .sgk-wsteps__label { display: none; } }

/* Checkout inputs — light & airy like the reference (lighter border,
   taller, soft focus ring). */
.sgk-wizard .form-row input.input-text,
.sgk-wizard .form-row textarea,
.sgk-wizard .form-row select,
.sgk-wizard .select2-container .select2-selection--single {
	border: 1px solid var(--sgk-border);
	border-radius: 10px;
	min-height: 46px;
	padding: 12px 14px;
	font-size: 15px;
	background-color: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.sgk-wizard .form-row input.input-text:focus,
.sgk-wizard .form-row textarea:focus,
.sgk-wizard .form-row select:focus {
	border-color: var(--sgk-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(47, 107, 63, .12);
}
.sgk-wizard .form-row label { font-size: 13px; font-weight: 500; color: var(--sgk-text); margin-bottom: 6px; }

/* Left icons inside key fields (like the reference). */
.sgk-wizard #billing_first_name,
.sgk-wizard #billing_email,
.sgk-wizard #billing_phone {
	padding-left: 40px;
	background-repeat: no-repeat;
	background-position: 13px center;
	background-size: 17px 17px;
}
.sgk-wizard #billing_first_name {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-6.5 8-6.5s8 2.5 8 6.5'/%3E%3C/svg%3E");
}
.sgk-wizard #billing_email {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}
.sgk-wizard #billing_phone {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E");
}

/* Billing fields as a grid so several fit per row (no more one-per-line
   scrolling). Mobile = single column; desktop = 6-col grid with the fields
   arranged Όνομα|Επώνυμο · Email|Τηλέφωνο · Διεύθυνση · Τ.Κ.|Πόλη|Χώρα.
   Visual order is set with `order:` (keyed by field id) so it survives
   WooCommerce's country-locale field reshuffle. */
.sgk-wizard .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2px 16px;
}
.sgk-wizard .woocommerce-billing-fields__field-wrapper > .form-row { margin-bottom: 12px; }
/* Kill WooCommerce's default float widths inside the grid. */
.sgk-wizard .woocommerce-billing-fields__field-wrapper > .form-row-first,
.sgk-wizard .woocommerce-billing-fields__field-wrapper > .form-row-last {
	float: none;
	width: auto;
}
@media (min-width: 640px) {
	.sgk-wizard .woocommerce-billing-fields__field-wrapper { grid-template-columns: repeat(6, 1fr); }
	/* Full-width rows (invoice radio + τιμολόγιο fields). */
	.sgk-wizard #sgk_invoice_type_field,
	.sgk-wizard #sgk_vat_field,
	.sgk-wizard #billing_company_field,
	.sgk-wizard #sgk_tax_office_field,
	.sgk-wizard #sgk_activity_field,
	.sgk-wizard #billing_address_1_field { grid-column: span 6; }
	/* Two per row. */
	.sgk-wizard #billing_first_name_field { grid-column: span 3; order: 10; }
	.sgk-wizard #billing_last_name_field  { grid-column: span 3; order: 11; }
	.sgk-wizard #billing_email_field      { grid-column: span 3; order: 12; }
	.sgk-wizard #billing_phone_field      { grid-column: span 3; order: 13; }
	.sgk-wizard #billing_address_1_field  { order: 14; }
	/* Three in one row. */
	.sgk-wizard #billing_postcode_field   { grid-column: span 2; order: 15; }
	.sgk-wizard #billing_city_field       { grid-column: span 2; order: 16; }
	.sgk-wizard #billing_country_field    { grid-column: span 2; order: 17; }
}

.sgk-wstep__title { font-size: 19px; margin: 0 0 18px; }
.sgk-wstep[hidden] { display: none; }

.sgk-wnav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 22px;
}
.sgk-wnav .sgk-wnext { margin-left: auto; }
.sgk-wnav .sgk-btn { min-width: 150px; }

.sgk-wnotice {
	background: #fdeceb;
	border: 1px solid #f6d4d1;
	border-left: 4px solid var(--sgk-sale);
	border-radius: var(--sgk-radius);
	padding: 11px 14px;
	font-size: 14px;
	margin-bottom: 16px;
}
.sgk-wnotice[hidden] { display: none; }

/* Step 2 shows only the payment methods — WooCommerce's real place-order
   button + its terms stay hidden here; step 3's proxy triggers them. */
.sgk-wstep[data-wstep="2"] #payment .place-order,
.sgk-wstep[data-wstep="2"] #payment .woocommerce-terms-and-conditions-wrapper {
	display: none !important;
}
.sgk-wstep[data-wstep="2"] #payment {
	background: transparent;
	border-radius: 0;
}

/* Review step */
.sgk-wreview {
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	padding: 16px 18px;
	background: var(--sgk-bg-soft);
	margin-bottom: 18px;
}
.sgk-wreview__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 4px 0;
	font-size: 14px;
}
.sgk-wreview__row span { color: var(--sgk-text-soft); }
.sgk-wreview__row strong { text-align: right; font-weight: 600; }
.sgk-wterms { margin-bottom: 4px; font-size: 14px; }
.sgk-wplace.is-loading { opacity: .7; pointer-events: none; }

/* --- Checkout header (title, subtitle, back link, SSL badge) ---------- */
.sgk-checkout-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}
.sgk-checkout-back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--sgk-text-soft);
	margin-bottom: 10px;
}
.sgk-checkout-back:hover { color: var(--sgk-accent); }
.sgk-checkout-head__title { font-size: 26px; margin: 0 0 4px; }
.sgk-checkout-head__sub { color: var(--sgk-text-soft); font-size: 14px; margin: 0; }
.sgk-ssl-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--sgk-bg-soft);
	border: 1px solid var(--sgk-border);
	font-size: 12px;
	font-weight: 600;
	color: var(--sgk-text-soft);
	white-space: nowrap;
}

/* --- Step panels as cards --------------------------------------------- */
.sgk-wstep {
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	box-shadow: var(--sgk-shadow);
	padding: 24px;
}
.sgk-wstep__title {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 19px;
	margin: 0 0 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--sgk-border);
}

/* --- Shipping section inside step 1 ----------------------------------- */
.sgk-ship-section {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--sgk-border);
}
.sgk-ship-section__title { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.sgk-ship-cost { font-weight: 700; }

/* --- Order summary card ----------------------------------------------- */
.sgk-checkout-summary {
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	box-shadow: var(--sgk-shadow);
	padding: 22px;
}
.sgk-checkout-summary h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 16px;
}

/* Item rows: thumbnail + qty badge + name … price */
.woocommerce-checkout-review-order-table { display: block; width: 100%; border: none; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table tbody { display: block; }
.woocommerce-checkout-review-order-table tbody .cart_item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	border: none;
}
.woocommerce-checkout-review-order-table td { border: none; padding: 0; }
.woocommerce-checkout-review-order-table .product-name { flex: 1; min-width: 0; }
.woocommerce-checkout-review-order-table .product-total { font-weight: 700; white-space: nowrap; font-size: 14px; }
.woocommerce-checkout-review-order-table .product-quantity { display: none; } /* shown as a badge */

.sgk-sumitem { display: flex; align-items: center; gap: 12px; }
.sgk-sumitem__thumb { position: relative; width: 48px; height: 48px; flex: none; }
.sgk-sumitem__img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--sgk-border); }
.sgk-sumitem__qty {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--sgk-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sgk-sumitem__name { font-size: 13px; font-weight: 600; line-height: 1.35; }

/* Totals */
.woocommerce-checkout-review-order-table tfoot {
	display: block;
	border-top: 1px solid var(--sgk-border-strong);
	margin-top: 14px;
	padding-top: 10px;
}
.woocommerce-checkout-review-order-table tfoot tr {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 0;
	font-size: 14px;
}
.woocommerce-checkout-review-order-table tfoot th { font-weight: 400; color: var(--sgk-text-soft); text-align: left; }
.woocommerce-checkout-review-order-table tfoot td { font-weight: 600; text-align: right; }
.woocommerce-checkout-review-order-table tfoot .order-total {
	border-top: 1px solid var(--sgk-border-strong);
	margin-top: 10px;
	padding-top: 12px;
}
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td { font-size: 18px; font-weight: 800; }
/* Coupon line as a subtle green pill row */
.woocommerce-checkout-review-order-table tfoot .cart-discount td { color: var(--sgk-accent); }

/* --- Coupon toggle (bottom of the order summary) ----------------------- */
.sgk-coupon { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--sgk-border); }
.sgk-coupon__toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: none;
	border: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--sgk-accent);
	cursor: pointer;
}
.sgk-coupon__toggle:hover { text-decoration: underline; }
.sgk-coupon__body { margin-top: 12px; }
.sgk-coupon__row { display: flex; gap: 8px; }
.sgk-coupon__row .input-text {
	flex: 1;
	min-width: 0;
	min-height: 42px;
	padding: 9px 12px;
	border: 1px solid var(--sgk-border);
	border-radius: 10px;
	font-size: 14px;
}
.sgk-coupon__apply { white-space: nowrap; padding: 9px 14px; font-size: 13.5px; }
.sgk-coupon__msg:not(:empty) { margin-bottom: 10px; }
.sgk-coupon__msg .woocommerce-error,
.sgk-coupon__msg .woocommerce-message,
.sgk-coupon__msg .woocommerce-info { margin: 0 0 4px; padding: 9px 12px; font-size: 13px; }

/* --- Trust card ------------------------------------------------------- */
.sgk-checkout-aside { display: flex; flex-direction: column; gap: 16px; }
.sgk-trust-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	color: var(--sgk-accent);
}
.sgk-trust-card__title { font-weight: 700; font-size: 14px; color: var(--sgk-text); }
.sgk-trust-card__sub { font-size: 12.5px; color: var(--sgk-text-soft); }

/* --- Payment methods as selectable cards (step 2) --------------------- */
.sgk-wstep[data-wstep="2"] .wc_payment_methods { display: flex; flex-direction: column; gap: 12px; }
.sgk-wstep[data-wstep="2"] .wc_payment_method {
	border: 2px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	padding: 14px 16px;
	margin: 0;
	transition: border-color .15s, background .15s;
}
.sgk-wstep[data-wstep="2"] .wc_payment_method:has(input:checked) {
	border-color: var(--sgk-accent);
	background: #f2f7f3;
}
.sgk-wstep[data-wstep="2"] .wc_payment_method > label { font-weight: 600; font-size: 15px; }

/* Κάρτα (Viva) panel — opens under the method when it's selected. */
.sgk-card-panel { padding-top: 4px; }
.sgk-card-brands { display: inline-flex; gap: 7px; margin-bottom: 9px; }
.sgk-card-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 26px;
	padding: 0 7px;
	background: #fff;
	border: 1px solid var(--sgk-border);
	border-radius: 5px;
}
.sgk-card-chip svg { display: block; }
.sgk-card-chip--visa {
	font-size: 12px;
	font-weight: 800;
	font-style: italic;
	letter-spacing: .03em;
	color: #1a1f71;
}
.sgk-card-panel__msg {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--sgk-text-soft);
}
.sgk-card-panel__msg svg { flex: none; margin-top: 2px; color: var(--sgk-accent); }

.sgk-checkout-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}
@media (min-width: 980px) {
	.sgk-checkout-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
	.sgk-checkout-grid .sgk-checkout-aside {
		position: sticky;
		top: 120px;
	}
}

.woocommerce form .form-row { margin-bottom: 14px; }
.woocommerce form .form-row label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.woocommerce form .form-row .required { color: var(--sgk-sale); text-decoration: none; }

#order_review table.shop_table { background: #fff; }
#order_review .order-total td, #order_review .order-total th { font-size: 17px; font-weight: 800; }

/* Summary card: the review table is laid out as flex rows with its OWN
   separators (tfoot top border + order-total top border below). The
   generic `.woocommerce table.shop_table th/td` borders+padding leak in
   at equal specificity and paint doubled stray lines — the ID wins. */
#order_review table.shop_table { border: 0; } /* no box circling products+totals */
#order_review table.shop_table th,
#order_review table.shop_table td {
	border: 0;
	padding: 0;
	background: none;
}

.wc_payment_methods { list-style: none; margin: 0 0 18px; padding: 0; }
.wc_payment_method {
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius);
	margin-bottom: 10px;
	padding: 12px 14px;
	background: #fff;
}
.wc_payment_method label { font-weight: 600; }
.wc_payment_method .payment_box {
	margin-top: 8px;
	font-size: 13.5px;
	color: var(--sgk-text-soft);
	background: var(--sgk-bg-soft);
	border-radius: 8px;
	padding: 10px 12px;
}

#shipping_method { list-style: none; margin: 0; padding: 0; }
#shipping_method li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
#shipping_method input { accent-color: var(--sgk-accent); }

/* Grouped shipping: every carrier/method is a selectable card (like the
   payment cards). Selecting a carrier highlights its card and expands it
   to reveal its two options; only one carrier open at a time. */
.sgk-shipping {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.sgk-shipping__group,
.sgk-shipping__single {
	border: 2px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	background: #fff;
	transition: border-color .15s, background .15s;
}
/* Beats the generic `#shipping_method li { display:flex; padding:4px 0 }`
   row rule — a group card must stack its header ABOVE its options, and a
   standalone card needs the same inner padding as the carrier headers so
   its radio dot lines up with theirs. */
#shipping_method li.sgk-shipping__group { display: block; padding: 0; }
#shipping_method li.sgk-shipping__single { padding: 14px 16px; gap: 11px; }
/* WooCommerce's `#shipping_method li input { margin: 3px … }` nudges the
   radio off-center — zero it so the dot centers like the carrier dots. */
#shipping_method li.sgk-shipping__single > input.shipping_method { margin: 0; }
.sgk-shipping__group:has(input:checked),
.sgk-shipping__group.is-open,
.sgk-shipping__single:has(input:checked) {
	border-color: var(--sgk-accent);
	background: #f2f7f3;
}

.sgk-shipping__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 11px;
	background: none;
	border: none;
	padding: 14px 16px;
	cursor: pointer;
	text-align: left;
}
/* Fake radio on the carrier header — filled when one of its options is chosen. */
.sgk-shipping__dot {
	flex: none;
	width: 18px;
	height: 18px;
	border: 2px solid var(--sgk-border-dark, #c5ccc7);
	border-radius: 50%;
	background: #fff;
	transition: border-color .15s, background .15s;
}
.sgk-shipping__group:has(input:checked) .sgk-shipping__dot {
	border-color: var(--sgk-accent);
	background: var(--sgk-accent);
	box-shadow: inset 0 0 0 3.5px #fff;
}
.sgk-shipping__group-title {
	flex: 1;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--sgk-text);
}
.sgk-shipping__group-price {
	flex: none;
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
}

.sgk-shipping__options {
	display: none;
	list-style: none;
	margin: 0 16px;
	padding: 4px 0 10px 29px; /* aligns under the title, past the dot */
	border-top: 1px solid var(--sgk-border);
}
.sgk-shipping__group.is-open .sgk-shipping__options { display: block; }
.sgk-shipping__options li {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px 0;
}
.sgk-shipping__single {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 14px 16px;
}
.sgk-shipping input.shipping_method { accent-color: var(--sgk-accent); margin: 0; flex: none; }
/* Standalone methods (store pickup, Κύπρος) must look exactly like the
   carrier cards: their real radio is drawn as the same 18px dot, and the
   name gets the same weight as a carrier title. */
.sgk-shipping__single > input.shipping_method {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	border: 2px solid var(--sgk-border-dark, #c5ccc7);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.sgk-shipping__single > input.shipping_method:checked {
	border-color: var(--sgk-accent);
	background: var(--sgk-accent);
	box-shadow: inset 0 0 0 3.5px #fff;
}
.sgk-shipping__single .sgk-ship-name { font-weight: 600; font-size: 14.5px; }
.sgk-shipping__single .sgk-ship-price { font-size: 14px; }
.sgk-shipping label {
	display: flex;
	flex: 1;
	gap: 8px;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	cursor: pointer;
}
.sgk-shipping .sgk-ship-name { font-weight: 500; font-size: 14px; }
.sgk-shipping .sgk-ship-price { font-weight: 700; white-space: nowrap; }
.sgk-shipping .sgk-ship-free { color: var(--sgk-accent); }

.woocommerce-checkout #place_order {
	width: 100%;
	font-size: 16px;
	padding: 15px;
	background: var(--sgk-accent) !important; /* payment plugins try to restyle it */
	border-radius: 999px !important;
}
.woocommerce-checkout #place_order:hover { background: var(--sgk-accent-dark) !important; }

/* Notices — clean, uniform boxes with a tinted background, coloured left
   accent, and the inline action button aligned to the right. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	padding: 14px 18px;
	margin: 0 0 16px;
	border: 1px solid var(--sgk-border);
	border-left-width: 4px;
	border-radius: var(--sgk-radius-lg);
	font-size: 14px;
	line-height: 1.5;
	color: var(--sgk-text);
}
/* Push any inline button/link (Καλάθι, «Πατήστε εδώ») to the right. */
.woocommerce-message .button,
.woocommerce-message a.wc-forward,
.woocommerce-info a.showcoupon,
.woocommerce-info a.showlogin {
	margin-left: auto;
}
.woocommerce-message .button,
.woocommerce-message a.wc-forward {
	flex: none;
}

.woocommerce-message {
	background: #eef6f0;
	border-color: #cfe6d6;
	border-left-color: var(--sgk-accent);
}
.woocommerce-info {
	background: #eef2fb;
	border-color: #d4defa;
	border-left-color: #2563eb;
}
.woocommerce-info a { color: #2563eb; font-weight: 600; }
.woocommerce-error {
	background: #fdeceb;
	border-color: #f6d4d1;
	border-left-color: var(--sgk-sale);
	display: block; /* errors can be a multi-item list */
}
.woocommerce-error li { margin: 2px 0; }

/* Order received */
.woocommerce-order .woocommerce-thankyou-order-received {
	font-size: 20px;
	font-weight: 700;
	color: var(--sgk-accent);
	margin-bottom: 16px;
}
.woocommerce-thankyou-order-details {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0 0 24px;
	padding: 18px;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	background: var(--sgk-bg-soft);
}
.woocommerce-thankyou-order-details li { font-size: 13px; color: var(--sgk-text-soft); }
.woocommerce-thankyou-order-details li strong { display: block; font-size: 15px; color: var(--sgk-text); }

/* My account */
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	overflow: hidden;
}
.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 16px;
	border-bottom: 1px solid var(--sgk-border);
	font-weight: 600;
	font-size: 14px;
}
.woocommerce-MyAccount-navigation li:last-child a { border-bottom: none; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--sgk-bg-soft); color: var(--sgk-accent); }
.woocommerce-account .woocommerce { padding: 28px 0 48px; }

/* Logged in: navigation sidebar + content grid. */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
@media (min-width: 900px) {
	.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
		grid-template-columns: 250px 1fr;
		align-items: start;
	}
	/* Notices span the full width; nav + content share the row below. */
	.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
		grid-row: 1;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 2; }
	.woocommerce-account .woocommerce-MyAccount-content { grid-column: 2; grid-row: 2; }
}

/* woocommerce-layout.css floats these at 30%/68% — full width inside the grid. */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
}

/* Logged out: Σύνδεση / Εγγραφή as two cards side by side. */
.woocommerce-account .u-columns.col2-set {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	max-width: 900px;
}
@media (min-width: 800px) {
	.woocommerce-account .u-columns.col2-set { grid-template-columns: 1fr 1fr; align-items: start; }
	/* Pin the cards: stray hidden siblings (notice wrappers) must not shift them. */
	.woocommerce-account .u-columns.col2-set .u-column1 { grid-column: 1; grid-row: 1; }
	.woocommerce-account .u-columns.col2-set .u-column2 { grid-column: 2; grid-row: 1; }
}
.woocommerce-account .u-columns.col2-set .u-column1,
.woocommerce-account .u-columns.col2-set .u-column2 {
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	padding: 24px;
	background: #fff;
	/* woocommerce.css floats these at 48% — neutralize inside our grid */
	float: none !important;
	width: auto !important;
	max-width: none !important;
}
.woocommerce-account form.login,
.woocommerce-account form.register {
	border: none !important; /* the card provides the border */
	padding: 0 !important;
	margin: 0 !important;
}
.woocommerce-account .u-columns h2 { margin-top: 0; }
.woocommerce-account form.login,
.woocommerce-account form.register { margin: 0; }
.woocommerce-account .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}
.woocommerce-account .woocommerce-form-login__rememberme input { width: auto; }
.woocommerce-account .woocommerce-LostPassword { margin: 12px 0 0; font-size: 13.5px; }

/* Password field with the show/hide eye. */
.woocommerce-account .password-input,
.woocommerce-checkout .password-input { position: relative; display: block; }
.woocommerce-account .show-password-input,
.woocommerce-checkout .show-password-input {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	cursor: pointer;
}

/* ==========================================================================
   Cart & checkout — refinements (esp. phones)
   ========================================================================== */

/* WooCommerce "alt" buttons (Ολοκλήρωση Παραγγελίας κ.λπ.): brand green,
   not the WooCommerce purple. */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--sgk-accent);
	color: #fff;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--sgk-accent-dark);
	color: #fff;
}

/* Notices: our colored left border replaces the WooCommerce icon, which
   overlapped the text. */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

/* Checkout: we print our own "Στοιχεία αποστολής" heading — hide the
   duplicate WooCommerce one. The country field stays visible so customers
   can pick Ελλάδα / Κύπρος. */
.woocommerce-billing-fields > h3 { display: none; }

/* Παραστατικό radio (Απόδειξη / Τιμολόγιο): inline pills-style row. */
#sgk_invoice_type_field .woocommerce-input-wrapper {
	display: flex;
	gap: 24px;
	padding: 4px 0;
}
#sgk_invoice_type_field label.radio {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	margin: 0;
	cursor: pointer;
}
#sgk_invoice_type_field input[type="radio"] {
	width: 18px;
	height: 18px;
	accent-color: var(--sgk-accent);
	margin: 0;
}

/* Α.Φ.Μ. lookup status line under the field. */
.sgk-vat-status {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	min-height: 18px;
}
.sgk-vat-status[data-state="loading"] { color: var(--sgk-text-soft); }
.sgk-vat-status[data-state="ok"]      { color: var(--sgk-accent); font-weight: 600; }
.sgk-vat-status[data-state="error"]   { color: var(--sgk-sale); }

/* Invoice fields are required=false so Απόδειξη orders don't demand them.
   Hide the "(optional)" tag, and add the red * only while Τιμολόγιο is
   selected (on the fields that are required in that mode). */
.sgk-invoice-field label .optional { display: none; }
.sgk-mode-timologio .sgk-invoice-required > label::after {
	content: " *";
	color: var(--sgk-sale);
	font-weight: 700;
}

/* Payment method description box: match the theme, not WooCommerce lavender. */
.woocommerce-checkout #payment div.payment_box {
	background: var(--sgk-bg-soft);
	color: var(--sgk-text-soft);
}
.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--sgk-bg-soft);
}

@media (max-width: 768px) {

	/* 16px inputs stop iPhones from auto-zooming into every field. */
	input[type="text"], input[type="email"], input[type="tel"],
	input[type="password"], input[type="search"], input[type="number"],
	textarea, select {
		font-size: 16px;
	}

	/* Checkout: full-width name fields — side-by-side is too cramped. */
	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last {
		width: 100%;
		float: none;
	}

	/* --- Cart item rows wrap on phones ----------------------------------- */
	.sgk-cart-items { padding: 2px 14px; }
	.sgk-cart-item { flex-wrap: wrap; row-gap: 12px; position: relative; padding-right: 34px; }
	.sgk-cart-item__thumb img { width: 74px; height: 74px; }
	.sgk-cart-item__info { flex: 1 1 55%; }
	/* qty + line total drop to their own row under photo/name */
	.sgk-cart-item__qty { margin-left: 90px; }
	.sgk-cart-item__total { flex: 1; }
	.sgk-cart-item__remove { position: absolute; top: 16px; right: 0; }


	/* --- Cart totals: clean stacked rows -------------------------------- */
	.cart_totals table.shop_table,
	.cart_totals table.shop_table tbody {
		display: block;
		width: 100%;
	}
	.cart_totals table.shop_table tr {
		display: block;
		padding: 10px 0;
		border-bottom: 1px solid var(--sgk-border);
	}
	.cart_totals table.shop_table tr:last-child { border-bottom: none; }
	.cart_totals table.shop_table th,
	.cart_totals table.shop_table td {
		/* !important: woocommerce-smallscreen.css hides th and injects the
		   label via td::before — we show the real th instead. */
		display: block !important;
		width: 100%;
		border: none;
		padding: 2px 0;
		text-align: left !important;
	}
	.cart_totals table.shop_table th {
		font-size: 13px;
		color: var(--sgk-text-soft);
		text-transform: uppercase;
		letter-spacing: .04em;
	}
	.cart_totals table.shop_table td::before { display: none; }
	.cart_totals .checkout-button {
		width: 100%;
		font-size: 16px;
		padding: 15px;
	}

	/* Checkout order summary box breathes a little on phones. */
	.sgk-checkout-summary { padding: 16px; }
}

/* ==========================================================================
   Κατάστημα (store page)
   ========================================================================== */

.sgk-store {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	padding: 28px 0 56px;
}
@media (min-width: 900px) { .sgk-store { grid-template-columns: 1.2fr 1fr; } }

.sgk-store__map {
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	overflow: hidden;
	min-height: 380px;
}
.sgk-store__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.sgk-store__card {
	border: 1px solid var(--sgk-border);
	border-radius: var(--sgk-radius-lg);
	padding: 24px;
}
.sgk-store__card + .sgk-store__card { margin-top: 20px; }
.sgk-store__phones { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.sgk-store__phone {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 700;
}
.sgk-store__phone svg { color: var(--sgk-accent); }

.sgk-open-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 14px;
}
.sgk-open-badge::before {
	content: "";
	width: 9px; height: 9px;
	border-radius: 50%;
	background: currentColor;
}
.sgk-open-badge--open { background: #e7f4ea; color: #187436; }
.sgk-open-badge--closed { background: #fdecea; color: #b42318; }

.sgk-hours-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sgk-hours-table td { padding: 8px 4px; border-bottom: 1px solid var(--sgk-border); }
.sgk-hours-table tr:last-child td { border-bottom: none; }
.sgk-hours-table td:last-child { text-align: right; font-weight: 600; }
.sgk-hours-table tr.is-today td { color: var(--sgk-accent); font-weight: 700; }
.sgk-hours-table .is-closed { color: var(--sgk-sale); }

/* ==========================================================================
   Footer
   ========================================================================== */

.sgk-footer {
	margin-top: 48px;
	background: var(--sgk-bg-soft);
	border-top: 1px solid var(--sgk-border);
	font-size: 14px;
}
.sgk-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	padding-top: 40px;
	padding-bottom: 32px;
}
@media (min-width: 700px) { .sgk-footer__grid { grid-template-columns: repeat(3, 1fr); } }

.sgk-footer__brand { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.sgk-footer__address { font-style: normal; color: var(--sgk-text-soft); margin-bottom: 10px; }
.sgk-footer__contact a { display: inline-block; padding: 1px 0; font-weight: 600; }
.sgk-footer__title { font-weight: 700; margin-bottom: 12px; }
.sgk-footer__links { list-style: none; margin: 0; padding: 0; }
.sgk-footer__links a { display: inline-block; padding: 3px 0; color: var(--sgk-text-soft); }
.sgk-footer__links a:hover { color: var(--sgk-accent); }
.sgk-footer__social { display: flex; gap: 14px; }
.sgk-footer__social a {
	width: 42px; height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--sgk-border-strong);
	border-radius: 50%;
	color: var(--sgk-text);
	background: #fff;
}
.sgk-footer__social a:hover { color: var(--sgk-accent); border-color: var(--sgk-accent); }

.sgk-footer__legal {
	border-top: 1px solid var(--sgk-border);
	padding: 14px 0;
	font-size: 12.5px;
	color: var(--sgk-text-soft);
}
.sgk-footer__legal .sgk-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: space-between;
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 899px) {
	.sgk-header__icon-label { display: none; }
	.sgk-burger { display: flex; }

	/* Mobile nav: slide-in drawer with accordion subcategories */
	.sgk-nav {
		position: fixed;
		top: 0; left: 0; bottom: 0;
		width: min(320px, 85vw);
		background: #fff;
		border-right: 1px solid var(--sgk-border);
		transform: translateX(-105%);
		transition: transform .22s ease;
		z-index: 130;
		overflow-y: auto;
		padding: 18px 0;
	}
	.sgk-nav.is-open { transform: translateX(0); }
	.sgk-nav .sgk-container { padding: 0; }
	.sgk-nav__list { flex-direction: column; gap: 0; margin-left: 0; }
	.sgk-nav__item { border-bottom: 1px solid var(--sgk-border); display: flex; flex-wrap: wrap; }
	.sgk-nav__link { flex: 1; padding: 14px 18px; }
	.sgk-nav__chevron { display: none; }

	.sgk-nav__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 52px;
		background: none;
		border: none;
		border-left: 1px solid var(--sgk-border);
		color: var(--sgk-text-soft);
	}
	.sgk-nav__toggle svg { transition: transform .15s; }
	.sgk-nav__item.is-expanded .sgk-nav__toggle svg { transform: rotate(180deg); }

	.sgk-nav__dropdown {
		position: static;
		display: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		border-top: 1px solid var(--sgk-border);
		border-radius: 0;
		min-width: 100%;
		background: var(--sgk-bg-soft);
		padding: 4px 0;
	}
	.sgk-nav__item.is-expanded .sgk-nav__dropdown { display: block; width: 100%; }
	.sgk-nav__dropdown a { padding: 11px 26px; }

	/* Search shrinks */
	.sgk-header__main-inner { flex-wrap: wrap; }
	.sgk-search { order: 10; max-width: none; flex-basis: 100%; }

	/* Filters become a slide-in drawer */
	.sgk-filters-open { display: inline-flex; }
	.sgk-filters {
		position: fixed;
		top: 0; left: 0; bottom: 0;
		width: min(340px, 90vw);
		z-index: 140;
		border-radius: 0;
		border: none;
		border-right: 1px solid var(--sgk-border);
		overflow-y: auto;
		transform: translateX(-105%);
		transition: transform .22s ease;
	}
	.sgk-filters.is-open { transform: translateX(0); }
	.sgk-filters__apply { display: block; }

	.sgk-hero h1 { font-size: 26px; }
}
