/**
 * Homepage styles – Prosforakias
 * Layout & styling based on "prosforakias_hero_mockup - καλο.html"
 * (Editorial hero + Bento grid + modern product cards).
 */

/* -------------------------------------------------------------------------
   Design tokens – from mockup (:root variables)
   ------------------------------------------------------------------------- */
:root {
	--pfk-bg: #fcfcfc;
	--pfk-accent: #000000;
	--pfk-text-main: #1d1d1f;
	--pfk-text-sub: #86868b;
	--pfk-glass: rgba(255, 255, 255, 0.7);
	--pfk-radius: 32px;
}

/* -------------------------------------------------------------------------
   Base & container – full-width background στο desktop
   ------------------------------------------------------------------------- */
#content.site-content,
.home-wrapper {
	margin: 0;
	padding: 0;
}

.home-wrapper {
	width: 100%;
	background: var(--pfk-bg);
	font-family: 'Playfair Display', Georgia, serif;
}

/* Container – 5px gaps παντού */
.home-main.container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 5px 5px 5px;
	box-sizing: border-box;
	background: transparent;
	color: var(--pfk-text-main);
}

.home-container {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding-left: 5px;
	padding-right: 5px;
	box-sizing: border-box;
}

/* Section heading pattern */
.home-section {
	margin-top: 56px;
}

.home-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.home-section-eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #71717a;
}

.home-section-title {
	margin: 8px 0 0;
	font-size: 1.875rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.home-section-link {
	font-size: 0.875rem;
	font-weight: 600;
	color: #71717a;
	text-decoration: none;
	flex-shrink: 0;
}

.home-section-link:hover {
	color: #18181b;
}

@media (min-width: 640px) {
	.home-section-title { font-size: 2.25rem; }
}

/* Section title style – Playfair Display 900 */
.section-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 900;
	font-size: 3rem;
	margin: 64px 0 32px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.section-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #dddddd;
}

/* -------------------------------------------------------------------------
   1. Hero – editorial layout από το mockup (.hero-v3)
   ------------------------------------------------------------------------- */
.hero-v3 {
	padding: 5px 0 0;
	gap: 5px;
	display: grid;
	grid-template-columns: 1fr;
	min-height: 420px;
}

.hero-main-card {
	position: relative;
	background: #e5e5e1;
	border-radius: var(--pfk-radius);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: 60px;
}

.hero-main-card .hero-main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	color: white;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.hero-content .tag {
	margin-bottom: 6px;
}

.hero-content h1 {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 900;
	font-size: clamp(3.5rem, 8vw, 6rem);
	line-height: 0.9;
	margin-bottom: 10px;
}

.hero-content p {
	font-size: 1.1rem;
	max-width: 400px;
	margin-bottom: 24px;
	opacity: 0.9;
}

.hero-content .hero-cta-primary {
	display: inline-block;
	align-self: flex-start;
	padding: 16px 32px;
	margin-top: 4px;
	border-radius: 100px;
	background: #fff;
	color: #000;
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-content .hero-cta-primary:hover {
	background: #1a1a1a;
	color: #fff;
	transform: translateY(-1px);
}

.hero-side-cards {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 5px;
}

.side-card {
	background: #fff;
	border-radius: var(--pfk-radius);
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border: 1px solid #f0f0f0;
	transition: 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.side-card:hover {
	transform: scale(0.98);
	background: #f9f9f9;
}

.side-card.side-card-sneakers {
	position: relative;
	overflow: hidden;
	background: #1a1a1a;
	color: #ffffff;
	justify-content: flex-end;
}

.side-card.side-card-sneakers .sneakers-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

/* Ξεφώτισμα: ελαφρύ gradient μόνο κάτω για κείμενο, χωρίς να σκοτεινιάζει όλη την εικόνα */
.side-card.side-card-sneakers::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 70%);
	z-index: 1;
}

.side-card.side-card-sneakers > div,
.side-card.side-card-sneakers a {
	position: relative;
	z-index: 2;
}

/* Μπλοκ τίτλου + παράγραφου ακριβώς πάνω από το link */
.side-card.side-card-sneakers > div {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.side-card.side-card-sneakers > div p {
	margin-top: 8px;
	margin-bottom: 0;
}

.side-card.side-card-sneakers h2 {
	color: #ffffff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

.side-card.side-card-sneakers p {
	margin-top: 12px;
	font-size: 0.95rem;
	line-height: 1.6;
	max-width: 18rem;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 2px 12px rgba(0, 0, 0, 0.5);
}

.side-card.side-card-sneakers a {
	color: #fff;
	text-decoration: underline;
	margin-top: 20px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Hero 3 – Μπουφάν & Αμάνικα (ίδιο pattern με sneakers) */
.side-card.side-card-jackets {
	position: relative;
	overflow: hidden;
	background: #1a1a1a;
	color: #ffffff;
	justify-content: flex-end;
}

.side-card.side-card-jackets .jackets-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

.side-card.side-card-jackets::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 70%);
	z-index: 1;
}

.side-card.side-card-jackets > div,
.side-card.side-card-jackets a {
	position: relative;
	z-index: 2;
}

/* Μπλοκ τίτλου + παράγραφου ακριβώς πάνω από το link */
.side-card.side-card-jackets > div {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.side-card.side-card-jackets > div p {
	margin-top: 8px;
	margin-bottom: 0;
}

.side-card.side-card-jackets h2 {
	color: #ffffff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

.side-card.side-card-jackets p {
	margin-top: 12px;
	font-size: 0.95rem;
	line-height: 1.6;
	max-width: 18rem;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 2px 12px rgba(0, 0, 0, 0.5);
}

.side-card.side-card-jackets a {
	color: #fff;
	text-decoration: underline;
	margin-top: 20px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.side-card h2 {
	font-size: 2.2rem;
	line-height: 1;
}

.side-card a {
	margin-top: 0;
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.hero-v3 {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 420px;
	}

	.hero-main-card {
		padding: 40px 28px;
		min-height: 400px;
	}
}

@media (min-width: 1025px) {
	.hero-v3 {
		grid-template-columns: 1.2fr 0.8fr;
		height: 85vh;
		min-height: 600px;
	}

	.hero-main-card {
		padding: 60px;
	}
}

/* -------------------------------------------------------------------------
   2. Trust Bar
   ------------------------------------------------------------------------- */
.home-trust-bar {
	margin-top: 24px;
}

.home-trust-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.home-trust-card {
	padding: 16px;
	font-size: 0.875rem;
	font-weight: 600;
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

@media (min-width: 1024px) {
	.home-trust-inner {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* -------------------------------------------------------------------------
   New Arrivals – κινητό & tablet: 2 στήλες ίδιο μέγεθος | desktop: 4 μικρές σε 1 σειρά
   ------------------------------------------------------------------------- */
.modern-product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin: 0 auto 48px;
}

.m-product-card {
	text-decoration: none;
	color: inherit;
	min-width: 0;
	background: transparent;
}

.m-product-img {
	aspect-ratio: 4 / 5;
	background: #f5f5f7;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 10px;
	position: relative;
}

.m-product-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.m-product-info {
	padding: 0 4px;
}

.m-brand {
	font-size: 10px;
	font-weight: 700;
	color: var(--pfk-text-sub);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.m-name {
	font-size: 13px;
	font-weight: 500;
	margin: 2px 0;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.m-price {
	font-size: 14px;
	font-weight: 800;
}

/* Desktop: 4 κάρτες σε 1 σειρά, ευθυγραμμισμένες με τον τίτλο (αριστερά), λίγο μεγαλύτερες */
@media (min-width: 900px) {
	.modern-product-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
		max-width: 1150px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 48px;
	}

	.m-product-card {
		background: #ffffff;
		border-radius: 24px;
		padding: 14px;
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
	}

	.m-product-img {
		margin-bottom: 12px;
		border-radius: 18px;
	}

	.m-product-info {
		padding: 0 4px;
	}

	.m-brand {
		font-size: 11px;
	}

	.m-name {
		font-size: 14px;
	}

	.m-price {
		font-size: 17px;
	}
}

/* -------------------------------------------------------------------------
   4. Best Sellers – featured + 2 cards
   ------------------------------------------------------------------------- */
.home-bestsellers-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.home-bestseller-featured {
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: 28px;
	padding: 16px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.home-bestseller-featured-inner {
	display: grid;
	gap: 16px;
}

.home-bestseller-img {
	aspect-ratio: 4 / 5;
	border-radius: 22px;
}

.home-bestseller-content {
	padding: 8px 0;
}

.home-bestseller-name {
	margin: 8px 0 0;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #18181b;
}

.home-bestseller-desc {
	margin: 16px 0 0;
	max-width: 44ch;
	font-size: 15px;
	line-height: 1.75;
	color: #52525b;
}

.home-bestseller-prices {
	margin-top: 24px;
}

.home-bestseller-prices .home-product-old {
	font-size: 1rem;
}

.home-bestseller-prices .home-product-current {
	font-size: 1.5rem;
}

.home-bestseller-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
	height: 48px;
	max-width: 220px;
	width: 100%;
	padding: 0 24px;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background: #09090b;
	border-radius: 16px;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.home-bestseller-btn:hover {
	background: #27272a;
	color: #fff;
}

.home-bestseller-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

/* Κάρτες Best Sellers (2 μικρές) – ώστε να μην τρέχει περιεχόμενο έξω */
.home-bestseller-cards .home-product-card {
	margin: 0;
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: var(--pfk-radius);
	padding: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
	overflow: hidden;
}

.home-bestseller-cards .home-product-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.home-bestseller-cards .home-product-img-wrap {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 18px;
	overflow: hidden;
	background: #f4f4f5;
}

.home-bestseller-cards .home-product-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-bestseller-cards .home-product-brand {
	margin-top: 12px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--pfk-text-sub);
}

.home-bestseller-cards .home-product-name {
	margin: 4px 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--pfk-text-main);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-bestseller-cards .home-product-prices {
	margin-top: 8px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--pfk-text-main);
}

.home-bestseller-cards .home-product-prices .price {
	display: inline;
}

.home-bestseller-cards .home-product-prices del {
	color: #a1a1aa;
	text-decoration: line-through;
	margin-right: 6px;
}

.home-bestseller-cards .home-product-prices ins {
	text-decoration: none;
}

/* Περιοχή τιμής/περιγραφής Best Sellers – μέσα στο κουτί */
.home-bestseller-content {
	overflow: hidden;
}

.home-bestseller-prices .price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
}

.home-bestseller-prices del {
	color: #a1a1aa;
	text-decoration: line-through;
}

.home-bestseller-prices ins {
	text-decoration: none;
}

@media (min-width: 640px) {
	.home-bestseller-featured-inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.home-bestsellers-layout {
		grid-template-columns: 2fr 1fr;
		gap: 16px;
	}

	.home-bestseller-featured-inner {
		grid-template-columns: 1fr 1fr;
	}
}

/* -------------------------------------------------------------------------
   5. Bento grid – ίδιο με mockup
   ------------------------------------------------------------------------- */
.bento-grid {
	padding: 15px 0 0;
	display: grid;
	grid-template-columns: 1fr;
	grid-auto-rows: 300px;
	gap: 5px;
}

.bento-item {
	position: relative;
	border-radius: var(--pfk-radius);
	overflow: hidden;
	background: #e5e5e5;
	cursor: pointer;
	display: block;
}

.bento-item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.bento-item:hover img {
	transform: scale(1.1);
}

.bento-label {
	position: absolute;
	bottom: 30px;
	left: 30px;
	z-index: 2;
	background: var(--pfk-glass);
	backdrop-filter: blur(15px);
	padding: 15px 30px;
	border-radius: 100px;
	font-weight: 700;
	font-size: 14px;
}

@media (max-width: 1024px) {
	.bento-grid {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(4, auto);
		grid-auto-rows: auto;
		row-gap: 15px;
		column-gap: 5px;
		gap: 15px 5px;
		padding: 15px 0 0;
	}

	.bento-1,
	.bento-2 {
		grid-column: span 1;
		height: 320px;
		min-height: 320px;
	}

	/* Ξεκάθαρο κενό μεταξύ Γυναικεία (2) και Παιδικά (3) – mobile & tablet */
	.bento-item:not(.bento-1):not(.bento-2) {
		height: 260px;
		min-height: 260px;
		margin-top: 0;
	}

	/* Γυναικεία κάρτα: εμφανής εικόνα, καλύτερο crop */
	.bento-2 img {
		object-position: center 35%;
	}

	.bento-label {
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	}
}

@media (min-width: 1025px) {
	.bento-grid {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(2, 300px);
		gap: 5px;
	}

	.bento-1 {
		grid-column: span 2;
		grid-row: span 2;
	}

	.bento-2 {
		grid-column: span 2;
	}

	/* Γυναικεία New In: δείξε το κεφάλι στο desktop (αποφυγή crop από πάνω) */
	.bento-2 img {
		object-position: center 25%;
	}
}

/* -------------------------------------------------------------------------
   6. Brands grid
   ------------------------------------------------------------------------- */
.home-brands-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.home-brand-card {
	display: grid;
	place-items: center;
	height: 112px;
	padding: 16px;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	color: #18181b;
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: 24px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-brand-card:hover {
	border-color: #d4d4d8;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
	color: #18181b;
}

@media (min-width: 640px) {
	.home-brands-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.home-brands-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}
