/*
 Theme Name:        GourmetFood Child
 Theme URI:         https://gourmetfood.gr
 Description:       Lightweight custom child theme for the GourmetFood.gr platform.
 Author:            ORDOVEX – Connective People Group
 Author URI:        https://ordovex.com
 Template:          generatepress
 Version:           0.1.0
 Requires at least: 6.5
 Requires PHP:      7.4
 Text Domain:       gourmetfood-child
 License:           GPLv2 or later
*/

:root {
	--gf-green-950: #082f24;
	--gf-green-900: #0b3d2e;
	--gf-green-800: #0f5138;
	--gf-green-700: #136b49;
	--gf-green-600: #168a5b;
	--gf-sage-100: #edf5ef;
	--gf-sage-50: #f7faf7;
	--gf-cream: #fffaf1;
	--gf-white: #ffffff;
	--gf-ink: #17211d;
	--gf-muted: #66716b;
	--gf-line: #e2e9e4;
	--gf-terracotta: #d94f35;
	--gf-gold: #f2a900;
	--gf-radius-sm: 12px;
	--gf-radius: 20px;
	--gf-radius-lg: 32px;
	--gf-shadow: 0 18px 55px rgba(8, 47, 36, 0.10);
	--gf-shadow-sm: 0 8px 28px rgba(8, 47, 36, 0.08);
	--gf-container: min(1180px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--gf-sage-50);
	color: var(--gf-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
}
body.gf-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	top: 10px; left: 10px; z-index: 9999; width: auto; height: auto;
	clip: auto; padding: 10px 14px; background: #fff; color: #000;
}
.gf-container { width: var(--gf-container); margin-inline: auto; }
.gf-main { min-height: 60vh; overflow: hidden; }

.gf-site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.94);
	border-bottom: 1px solid rgba(226,233,228,.9);
	backdrop-filter: blur(14px);
}
.admin-bar .gf-site-header { top: 32px; }
.gf-header-inner {
	min-height: 76px; display: flex; align-items: center; gap: 28px;
}
.gf-logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.gf-logo__mark {
	display: grid; place-items: center; width: 38px; height: 38px;
	border-radius: 50%; background: var(--gf-green-800); color: #fff; font-size: 20px;
	box-shadow: inset 0 0 0 4px rgba(255,255,255,.12);
}
.gf-logo__text {
	color: var(--gf-green-950); font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(21px, 2vw, 27px); font-weight: 700; letter-spacing: -.03em;
}
.gf-logo__text em { color: var(--gf-terracotta); font-style: normal; }
.gf-primary-nav { margin-left: auto; }
.gf-primary-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.gf-primary-nav a { font-size: 14px; font-weight: 700; color: #2d3b34; }
.gf-primary-nav a:hover, .gf-primary-nav a:focus { color: var(--gf-green-600); }
.gf-header-cta { white-space: nowrap; }
.gf-menu-toggle {
	display: none; margin-left: auto; border: 0; background: var(--gf-sage-100);
	width: 44px; height: 44px; border-radius: 12px; color: var(--gf-green-900); cursor: pointer;
}
.gf-menu-toggle span, .gf-menu-toggle::before, .gf-menu-toggle::after {
	display: block; width: 21px; height: 2px; margin: 4px auto; background: currentColor; content: "";
}

.gf-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border: 1px solid transparent;
	border-radius: 999px; background: var(--gf-green-800); color: #fff;
	font-weight: 800; line-height: 1.2; cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.gf-button:hover, .gf-button:focus { color: #fff; background: var(--gf-green-600); transform: translateY(-1px); box-shadow: var(--gf-shadow-sm); }
.gf-button--light { background: #fff; color: var(--gf-green-900); }
.gf-button--light:hover, .gf-button--light:focus { color: var(--gf-green-900); background: var(--gf-cream); }
.gf-button--outline { color: var(--gf-green-900); background: transparent; border-color: rgba(8,47,36,.35); }
.gf-button--outline:hover, .gf-button--outline:focus { color: #fff; background: var(--gf-green-800); }
.gf-button--small { min-height: 38px; padding: 8px 16px; font-size: 13px; }

.gf-hero {
	position: relative; padding: clamp(64px, 8vw, 112px) 0 74px;
	background:
		radial-gradient(circle at 88% 15%, rgba(242,169,0,.2), transparent 24%),
		radial-gradient(circle at 10% 90%, rgba(217,79,53,.15), transparent 25%),
		linear-gradient(135deg, #fffaf1 0%, #f0f7f1 55%, #e5f2e8 100%);
}
.gf-hero::after {
	content: ""; position: absolute; inset: auto 0 0; height: 70px;
	background: linear-gradient(to bottom, transparent, rgba(247,250,247,.75)); pointer-events: none;
}
.gf-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(36px, 6vw, 80px); }
.gf-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
	padding: 7px 12px; border-radius: 999px; background: rgba(22,138,91,.1);
	color: var(--gf-green-700); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
.gf-hero h1, .gf-section-heading h2, .gf-cta h2 {
	font-family: Georgia, "Times New Roman", serif; color: var(--gf-green-950);
	letter-spacing: -.045em; line-height: 1.08;
}
.gf-hero h1 { max-width: 680px; margin: 0; font-size: clamp(44px, 6vw, 78px); }
.gf-hero h1 span { color: var(--gf-terracotta); }
.gf-hero__subtitle { max-width: 620px; margin: 24px 0 30px; color: #4f5e56; font-size: clamp(17px, 2vw, 21px); }
.gf-search {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr) auto;
	gap: 10px; width: min(760px, 100%); padding: 10px; background: #fff;
	border: 1px solid rgba(15,81,56,.12); border-radius: 18px; box-shadow: var(--gf-shadow);
}
.gf-field { position: relative; }
.gf-field label { position: absolute; top: 8px; left: 16px; color: var(--gf-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.gf-field input, .gf-field select {
	width: 100%; height: 58px; padding: 21px 16px 5px; border: 0; border-radius: 12px;
	background: #f7faf7; color: var(--gf-ink); outline: none;
}
.gf-field input:focus, .gf-field select:focus { box-shadow: inset 0 0 0 2px var(--gf-green-600); }
.gf-search .gf-button { min-height: 58px; border-radius: 13px; }
.gf-trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: var(--gf-muted); font-size: 13px; font-weight: 700; }
.gf-trust-row span::before { content: "✓"; margin-right: 7px; color: var(--gf-green-600); font-weight: 900; }
.gf-hero-visual { position: relative; min-height: 510px; }
.gf-plate {
	position: absolute; display: grid; place-items: center; border: 12px solid #fff;
	border-radius: 50%; background: linear-gradient(145deg, #f7e3bc, #fff8e7);
	box-shadow: 0 30px 80px rgba(8,47,36,.18); font-size: clamp(54px, 8vw, 105px);
}
.gf-plate--main { width: 340px; height: 340px; right: 30px; top: 65px; transform: rotate(-5deg); }
.gf-plate--top { width: 185px; height: 185px; right: 0; top: 0; background: linear-gradient(145deg,#e6f5e8,#fff); font-size: 72px; }
.gf-plate--bottom { width: 170px; height: 170px; left: 5px; bottom: 0; background: linear-gradient(145deg,#fff0ea,#fff); font-size: 68px; }
.gf-floating-label {
	position: absolute; left: 0; top: 110px; display: flex; align-items: center; gap: 10px;
	padding: 12px 16px; background: rgba(255,255,255,.94); border-radius: 14px;
	box-shadow: var(--gf-shadow-sm); color: var(--gf-green-900); font-size: 13px; font-weight: 800;
}
.gf-floating-label strong { color: var(--gf-gold); font-size: 17px; }

.gf-section { padding: clamp(62px, 7vw, 96px) 0; }
.gf-section--white { background: #fff; }
.gf-section--sage { background: var(--gf-sage-100); }
.gf-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.gf-section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); }
.gf-section-heading p { max-width: 560px; margin: 10px 0 0; color: var(--gf-muted); }
.gf-text-link { flex: 0 0 auto; color: var(--gf-green-700); font-weight: 800; }
.gf-text-link:hover { color: var(--gf-terracotta); }

.gf-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gf-category-card {
	display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 16px;
	background: #fff; border: 1px solid var(--gf-line); border-radius: var(--gf-radius);
	box-shadow: 0 5px 20px rgba(8,47,36,.04); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gf-category-card:hover { transform: translateY(-3px); border-color: rgba(22,138,91,.35); box-shadow: var(--gf-shadow-sm); }
.gf-category-card__icon { display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 54px; border-radius: 16px; background: var(--gf-sage-100); font-size: 27px; }
.gf-category-card strong { display: block; color: var(--gf-green-950); line-height: 1.25; }
.gf-category-card small { display: block; margin-top: 4px; color: var(--gf-muted); font-size: 11px; }

.gf-ad {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
	min-height: 112px; padding: 22px; color: #fff; text-align: center;
	background: linear-gradient(110deg, var(--gf-green-950), var(--gf-green-700));
	border-radius: var(--gf-radius); box-shadow: var(--gf-shadow-sm);
}
.gf-ad::before, .gf-ad::after { content: ""; position: absolute; width: 170px; height: 170px; border: 30px solid rgba(255,255,255,.06); border-radius: 50%; }
.gf-ad::before { left: -60px; top: -85px; }
.gf-ad::after { right: -50px; bottom: -100px; }
.gf-ad small { position: absolute; top: 10px; left: 14px; opacity: .7; font-size: 9px; letter-spacing: .14em; }
.gf-ad strong { position: relative; z-index: 1; font-family: Georgia,serif; font-size: clamp(20px,3vw,32px); }

.gf-business-grid, .gf-offer-grid, .gf-recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gf-business-card, .gf-offer-card, .gf-recipe-card {
	overflow: hidden; background: #fff; border: 1px solid var(--gf-line); border-radius: var(--gf-radius);
	box-shadow: var(--gf-shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.gf-business-card:hover, .gf-offer-card:hover, .gf-recipe-card:hover { transform: translateY(-4px); box-shadow: var(--gf-shadow); }
.gf-business-card__media, .gf-card-media {
	position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #e6f1e8, #fff0dc); font-size: 65px; overflow: hidden;
}
.gf-business-card__media img, .gf-card-media img { width: 100%; height: 100%; object-fit: cover; }
.gf-card-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: var(--gf-green-900); color: #fff; font-size: 10px; font-weight: 900; }
.gf-business-card__body, .gf-card-body { padding: 20px; }
.gf-business-card h3, .gf-offer-card h3, .gf-recipe-card h3 { margin: 0 0 8px; color: var(--gf-green-950); font-family: Georgia,serif; font-size: 22px; line-height: 1.25; }
.gf-business-card p, .gf-offer-card p, .gf-recipe-card p { margin: 0 0 18px; color: var(--gf-muted); font-size: 13px; }
.gf-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; color: var(--gf-muted); font-size: 12px; }
.gf-rating { color: var(--gf-gold); font-weight: 900; }
.gf-empty-state { padding: 24px; background: #fff; border: 1px dashed var(--gf-line); border-radius: var(--gf-radius); color: var(--gf-muted); text-align: center; }

.gf-smart-pick {
	display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(30px,5vw,70px);
	padding: clamp(32px,5vw,58px); border-radius: var(--gf-radius-lg);
	background: linear-gradient(125deg, var(--gf-green-950), var(--gf-green-700)); color: #fff;
	box-shadow: var(--gf-shadow);
}
.gf-smart-pick__copy span { display: block; font-size: 72px; }
.gf-smart-pick h2 { margin: 12px 0; font-family: Georgia,serif; font-size: clamp(34px,4vw,52px); line-height: 1.05; }
.gf-smart-pick p { margin: 0; color: rgba(255,255,255,.74); }
.gf-smart-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; }
.gf-smart-form label { display: block; margin-bottom: 6px; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 800; }
.gf-smart-form select { width: 100%; min-height: 52px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; color: var(--gf-ink); }
.gf-smart-form .gf-button { grid-column: 1/-1; }

.gf-offer-card { position: relative; }
.gf-discount { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 8px 12px; border-radius: 999px; background: var(--gf-terracotta); color: #fff; font-weight: 900; }
.gf-offer-card:nth-child(2) .gf-card-media { background: linear-gradient(135deg,#fce7d2,#f0f7f1); }
.gf-offer-card:nth-child(3) .gf-card-media { background: linear-gradient(135deg,#f7e6ea,#fff6dc); }

.gf-catering {
	display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
	background: #fff; border: 1px solid var(--gf-line); border-radius: var(--gf-radius-lg); box-shadow: var(--gf-shadow);
}
.gf-catering__visual {
	position: relative; display: grid; place-items: center; min-height: 390px; font-size: 112px;
	background:
		radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 25%),
		linear-gradient(135deg,#d9b27d,#8d603e);
}
.gf-catering__visual::after { content: ""; position: absolute; inset: 25px; border: 1px solid rgba(255,255,255,.45); border-radius: 24px; }
.gf-catering__content { padding: clamp(34px,5vw,68px); }
.gf-catering h2 { margin: 0; color: var(--gf-green-950); font-family: Georgia,serif; font-size: clamp(34px,4vw,50px); line-height: 1.08; }
.gf-catering p { color: var(--gf-muted); }
.gf-catering-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 28px; }
.gf-catering-options span { padding: 10px 12px; background: var(--gf-sage-100); border-radius: 12px; color: var(--gf-green-900); font-size: 13px; font-weight: 800; }
.gf-catering-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.gf-recipe-card .gf-card-media { font-size: 70px; }
.gf-recipe-card:nth-child(2) .gf-card-media { background: linear-gradient(135deg,#dff1d9,#f7efcb); }
.gf-recipe-card:nth-child(3) .gf-card-media { background: linear-gradient(135deg,#f8d6c7,#d8ece7); }

.gf-cta {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px;
	padding: clamp(36px,6vw,70px); border-radius: var(--gf-radius-lg); background: var(--gf-green-950); color: #fff;
}
.gf-cta::after { content: "🌿"; position: absolute; right: 28%; bottom: -46px; opacity: .12; font-size: 170px; transform: rotate(-18deg); }
.gf-cta > * { position: relative; z-index: 1; }
.gf-cta h2 { margin: 0; color: #fff; font-size: clamp(34px,4vw,52px); }
.gf-cta p { max-width: 650px; margin: 10px 0 0; color: rgba(255,255,255,.72); }

.gf-site-footer { margin-top: 90px; background: #06281f; color: rgba(255,255,255,.72); }
.gf-footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.1fr; gap: 48px; padding: 70px 0 48px; }
.gf-site-footer .gf-logo__text { color: #fff; }
.gf-site-footer h3 { margin: 0 0 18px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.gf-site-footer p { font-size: 13px; }
.gf-site-footer ul { list-style: none; margin: 0; padding: 0; }
.gf-site-footer li { margin: 8px 0; font-size: 13px; }
.gf-site-footer a:hover { color: #fff; }
.gf-newsletter { display: flex; gap: 8px; }
.gf-newsletter input { min-width: 0; width: 100%; height: 46px; padding: 0 14px; border: 0; border-radius: 10px; }
.gf-newsletter button { width: 46px; border: 0; border-radius: 10px; background: var(--gf-terracotta); color: #fff; cursor: pointer; }
.gf-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

.gf-content-wrap { width: var(--gf-container); margin: 60px auto; }
.gf-page-header { margin-bottom: 34px; }
.gf-page-header h1 { margin: 0; color: var(--gf-green-950); font-family: Georgia,serif; font-size: clamp(38px,5vw,64px); line-height: 1.08; }
.gf-archive-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin: 28px 0 36px; padding: 12px; background: #fff; border: 1px solid var(--gf-line); border-radius: 18px; }
.gf-archive-search input, .gf-archive-search select { min-height: 48px; padding: 0 14px; border: 1px solid var(--gf-line); border-radius: 12px; }
.gf-pagination { margin-top: 34px; }
.gf-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; margin: 3px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid var(--gf-line); }
.gf-pagination .current { background: var(--gf-green-800); color: #fff; }
.gf-single-business { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.65fr); gap: 30px; }
.gf-single-main, .gf-single-sidebar { background: #fff; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); box-shadow: var(--gf-shadow-sm); }
.gf-single-main { overflow: hidden; }
.gf-single-main__content { padding: clamp(24px,4vw,48px); }
.gf-single-main__image img { width: 100%; max-height: 520px; object-fit: cover; }
.gf-single-sidebar { align-self: start; position: sticky; top: 106px; padding: 26px; }
.gf-info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.gf-info-list li { padding: 12px 0; border-bottom: 1px solid var(--gf-line); font-size: 14px; overflow-wrap: anywhere; }
.gf-prose { color: #38453e; }
.gf-prose > *:first-child { margin-top: 0; }

@media (max-width: 980px) {
	.gf-header-cta { display: none; }
	.gf-menu-toggle { display: block; }
	.gf-primary-nav {
		position: fixed; inset: 76px 0 auto; display: none; margin: 0; padding: 26px 20px;
		background: #fff; border-top: 1px solid var(--gf-line); box-shadow: var(--gf-shadow);
	}
	.gf-primary-nav.is-open { display: block; }
	.gf-primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
	.gf-primary-nav a { display: block; padding: 12px 0; font-size: 16px; }
	.gf-hero__grid { grid-template-columns: 1fr; }
	.gf-hero-visual { min-height: 390px; max-width: 560px; width: 100%; margin-inline: auto; }
	.gf-plate--main { width: 290px; height: 290px; }
	.gf-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gf-footer-grid { grid-template-columns: 1fr 1fr; }
	.gf-single-business { grid-template-columns: 1fr; }
	.gf-single-sidebar { position: static; }
}

@media (max-width: 760px) {
	:root { --gf-container: min(100% - 28px, 1180px); }
	.admin-bar .gf-site-header { top: 46px; }
	.gf-header-inner { min-height: 68px; }
	.gf-primary-nav { inset-block-start: 68px; }
	.gf-logo__mark { width: 34px; height: 34px; }
	.gf-hero { padding-top: 52px; }
	.gf-hero h1 { font-size: clamp(40px, 13vw, 62px); }
	.gf-search { grid-template-columns: 1fr; }
	.gf-search .gf-button { width: 100%; }
	.gf-hero-visual { min-height: 330px; }
	.gf-plate--main { width: 235px; height: 235px; right: 12px; font-size: 78px; }
	.gf-plate--top { width: 130px; height: 130px; font-size: 52px; }
	.gf-plate--bottom { width: 120px; height: 120px; font-size: 46px; }
	.gf-floating-label { top: 78px; }
	.gf-section-heading { align-items: start; flex-direction: column; }
	.gf-category-grid, .gf-business-grid, .gf-offer-grid, .gf-recipe-grid { grid-template-columns: 1fr; }
	.gf-smart-pick, .gf-catering { grid-template-columns: 1fr; }
	.gf-smart-form { grid-template-columns: 1fr; }
	.gf-smart-form .gf-button { grid-column: auto; }
	.gf-catering__visual { min-height: 270px; }
	.gf-cta { align-items: flex-start; flex-direction: column; }
	.gf-footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.gf-footer-bottom { flex-direction: column; }
	.gf-archive-search { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
	.gf-category-grid { grid-template-columns: 1fr; }
	.gf-catering-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

