/*
Theme Name: Ecomus Child — Υποδήματα Αθανασίου
Theme URI: https://athanasiou.shop/
Author: Υποδήματα Αθανασίου
Description: Custom Greek storefront for Υποδήματα Αθανασίου, built on Ecomus.
Version: 4.0.0
Template: ecomus
Text Domain: ecomus
*/

:root {
	--ath-black: #000000;
	--ath-white: #ffffff;
	--ath-cream: #f3efe9;
	--ath-soft: #f7f7f7;
	--ath-line: #e6e6e6;

	--em-color__primary: #000000;
	--em-text-color-on-primary: #ffffff;
	--em-button-bg-color: #000000;
	--em-button-border-color: #000000;
	--em-button-color: #ffffff;
	--em-button-bg-color-hover: #1a1a1a;
	--em-button-border-color-hover: #1a1a1a;
	--em-button-color-hover: #ffffff;
}

html,
body,
button,
input,
select,
textarea {
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
	color: #000;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.product_title,
.woocommerce-loop-product__title,
.elementor-heading-title {
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	color: #000;
	font-weight: 700;
	letter-spacing: -0.03em;
}

/* ---------- Header ---------- */
.site-header .header-logo__text {
	display: inline-flex;
	flex-direction: column;
	color: #000 !important;
	font-size: 22px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.035em;
	white-space: nowrap;
}

.site-header .header-logo__text::after {
	content: "ΑΠΟ ΤΟ 1991";
	display: block;
	margin-top: 5px;
	font-size: 8px;
	line-height: 1;
	letter-spacing: .18em;
	font-weight: 700;
}

.primary-navigation .nav-menu > li > a {
	color: #000;
	font-weight: 700;
}

.topbar {
	background: #000 !important;
	color: #fff !important;
}

.topbar,
.topbar a,
.topbar span,
.topbar div {
	color: #fff !important;
}

/* ---------- Buttons ---------- */
.single_add_to_cart_button,
.checkout-button,
.em-button.em-button-solid,
button[type="submit"],
input[type="submit"] {
	background: #000 !important;
	border-color: #000 !important;
	color: #fff !important;
	font-weight: 700;
}

.single_add_to_cart_button *,
.checkout-button *,
.em-button.em-button-solid * {
	color: #fff !important;
}

.single_add_to_cart_button:hover,
.checkout-button:hover,
.em-button.em-button-solid:hover {
	background: #1a1a1a !important;
	border-color: #1a1a1a !important;
	color: #fff !important;
}

/* ---------- Custom Homepage ---------- */
.home #site-content {
	padding-top: 0;
}

.ath-home {
	background: #fff;
	color: #000;
}

.ath-shell {
	width: min(1240px, calc(100% - 40px));
	margin-inline: auto;
}

.ath-hero {
	padding: 26px 0 72px;
}

.ath-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
	min-height: 620px;
	background: var(--ath-cream);
}

.ath-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(42px, 7vw, 92px);
}

.ath-eyebrow {
	margin-bottom: 22px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ath-hero h1 {
	max-width: 660px;
	margin: 0 0 24px;
	font-size: clamp(48px, 6vw, 84px);
	line-height: .98;
	letter-spacing: -.055em;
}

.ath-hero-copy > p {
	max-width: 570px;
	margin: 0 0 32px;
	font-size: 18px;
	line-height: 1.65;
}

.ath-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ath-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 24px;
	border: 1px solid #000;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
	transition: .2s ease;
}

.ath-btn-dark {
	background: #000;
	color: #fff !important;
}

.ath-btn-dark:hover {
	background: #1a1a1a;
	color: #fff !important;
}

.ath-btn-light {
	background: transparent;
	color: #000 !important;
}

.ath-btn-light:hover {
	background: #fff;
	color: #000 !important;
}

.ath-hero-products {
	position: relative;
	overflow: hidden;
	background: #ece7df;
}

.ath-hero-products::before {
	content: "BOXER";
	position: absolute;
	left: 8%;
	top: 8%;
	z-index: 0;
	font-size: clamp(70px, 11vw, 158px);
	line-height: .8;
	font-weight: 800;
	letter-spacing: -.08em;
	color: rgba(0,0,0,.055);
}

.ath-hero-shoe {
	position: absolute;
	z-index: 2;
	width: 68%;
	height: 47%;
	object-fit: contain;
	filter: drop-shadow(0 28px 30px rgba(0,0,0,.10));
}

.ath-hero-shoe:nth-child(1) {
	top: 8%;
	left: 2%;
	transform: rotate(-5deg);
}

.ath-hero-shoe:nth-child(2) {
	right: -4%;
	top: 31%;
	transform: rotate(6deg);
}

.ath-hero-shoe:nth-child(3) {
	left: 12%;
	bottom: -2%;
	transform: rotate(-2deg);
}

.ath-hero-price {
	position: absolute;
	right: 28px;
	bottom: 26px;
	z-index: 3;
	background: #fff;
	padding: 14px 18px;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

/* Secondary category cards */
.ath-quick {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	gap: 18px;
	margin-bottom: 92px;
}

.ath-quick-card {
	position: relative;
	min-height: 330px;
	overflow: hidden;
	background: #f4f4f4;
	text-decoration: none !important;
	color: #000 !important;
}

.ath-quick-card:first-child {
	background: #e7ebe6;
}

.ath-quick-card:nth-child(2) {
	background: #eee9e2;
}

.ath-quick-card:nth-child(3) {
	background: #eef0f2;
}

.ath-quick-card img {
	position: absolute;
	right: -3%;
	bottom: -3%;
	width: 76%;
	height: 76%;
	object-fit: contain;
	transition: transform .35s ease;
}

.ath-quick-card:hover img {
	transform: scale(1.04);
}

.ath-quick-copy {
	position: relative;
	z-index: 2;
	padding: 30px;
	max-width: 62%;
}

.ath-quick-copy small {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ath-quick-copy h3 {
	margin: 0 0 8px;
	font-size: clamp(28px, 3vw, 42px);
}

.ath-quick-copy span {
	font-size: 13px;
	font-weight: 700;
	border-bottom: 1px solid #000;
}

/* Sections */
.ath-section {
	padding: 0 0 96px;
}

.ath-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 34px;
}

.ath-section-head h2 {
	margin: 0;
	font-size: clamp(36px, 4vw, 58px);
	line-height: 1;
	letter-spacing: -.045em;
}

.ath-section-head p {
	max-width: 500px;
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
}

/* Let Ecomus native product cards do the rest */
.ath-products .woocommerce ul.products,
.ath-products ul.products {
	margin-bottom: 0;
}

.ath-products .woocommerce-loop-product__title,
.ath-products .product-loop__title {
	font-weight: 700;
}

.ath-products .price {
	color: #000 !important;
	font-weight: 800;
}

.ath-products .price del {
	color: #000 !important;
	opacity: .4;
}

.ath-products .price ins {
	color: #000 !important;
	text-decoration: none;
}

/* Heritage */
.ath-heritage {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	min-height: 540px;
	margin-bottom: 96px;
	background: #000;
	color: #fff;
}

.ath-heritage-year {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(42px, 6vw, 74px);
}

.ath-heritage-year span {
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ath-heritage-year strong {
	color: #fff;
	font-size: clamp(100px, 15vw, 210px);
	line-height: .78;
	letter-spacing: -.08em;
}

.ath-heritage-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(42px, 6vw, 82px);
	background: #121212;
}

.ath-heritage-copy h2 {
	color: #fff;
	margin: 0 0 24px;
	font-size: clamp(40px, 5vw, 68px);
	line-height: 1;
}

.ath-heritage-copy p {
	color: rgba(255,255,255,.82);
	margin: 0 0 26px;
	max-width: 650px;
	font-size: 17px;
	line-height: 1.8;
}

.ath-heritage-copy .ath-btn {
	border-color: #fff;
	background: #fff;
	color: #000 !important;
	width: max-content;
}

/* Athletic closing block */
.ath-sport {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 500px;
	margin-bottom: 96px;
	background: var(--ath-soft);
}

.ath-sport-media {
	position: relative;
	overflow: hidden;
}

.ath-sport-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 28px;
}

.ath-sport-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(42px, 6vw, 82px);
}

.ath-sport-copy h2 {
	margin: 0 0 18px;
	font-size: clamp(42px, 5vw, 68px);
	line-height: 1;
}

.ath-sport-copy p {
	max-width: 540px;
	margin-bottom: 28px;
	font-size: 16px;
	line-height: 1.75;
}

/* ---------- Product page cleanup ---------- */
.single-product .product_title {
	color: #000;
	font-weight: 800;
	letter-spacing: -.035em;
}

.single-product .price {
	color: #000 !important;
	font-weight: 800;
}

.single-product .price del {
	color: #000 !important;
	opacity: .42;
}

.single-product .price ins {
	color: #000 !important;
	text-decoration: none;
}

.single-product table.variations th.label,
.single-product table.variations label,
.single-product .quantity__label {
	color: #000 !important;
	font-weight: 800;
}

.single-product .stock,
.single-product .stock.in-stock {
	color: #000 !important;
}

.single-product .single_add_to_cart_button {
	min-height: 52px;
}

.product-loop__compare,
.product-compare,
.compare-button,
.wcboost-products-compare-button,
.ecomus-people-view,
.single-product-extra-content,
.ecomus-extra-link-item--ask-question,
.ecomus-extra-link-item--delivery-return,
.ecomus-extra-link-item--share {
	display: none !important;
}

.ath-product-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 18px;
}

.ath-product-trust div {
	padding: 14px 12px;
	border: 1px solid #dedede;
	font-size: 12px;
	line-height: 1.35;
	font-weight: 700;
}

/* ---------- Custom Greek footer ---------- */
.ath-footer {
	margin-top: 80px;
	border-top: 1px solid var(--ath-line);
	background: #fff;
	color: #000;
}

.ath-footer-main {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
	gap: 70px;
	padding: 62px 0 54px;
}

.ath-footer-brand strong {
	display: block;
	margin-bottom: 10px;
	font-size: 25px;
	letter-spacing: -.035em;
}

.ath-footer-brand p {
	max-width: 430px;
	margin: 0;
	line-height: 1.75;
}

.ath-footer h4 {
	margin: 0 0 18px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .1em;
}

.ath-footer a {
	display: block;
	width: max-content;
	max-width: 100%;
	margin: 0 0 10px;
	color: #000 !important;
	text-decoration: none;
}

.ath-footer a:hover {
	text-decoration: underline;
}

.ath-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0 26px;
	border-top: 1px solid var(--ath-line);
	font-size: 12px;
}

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
	.ath-hero-grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.ath-hero-copy {
		min-height: 500px;
	}
	.ath-hero-products {
		min-height: 520px;
	}
	.ath-quick {
		grid-template-columns: 1fr 1fr;
	}
	.ath-quick-card:first-child {
		grid-column: 1 / -1;
	}
	.ath-heritage,
	.ath-sport {
		grid-template-columns: 1fr;
	}
	.ath-heritage-year {
		min-height: 420px;
	}
}

@media (max-width: 767px) {
	.ath-shell {
		width: min(100% - 24px, 1240px);
	}
	.site-header .header-logo__text {
		font-size: 17px;
	}
	.site-header .header-logo__text::after {
		font-size: 7px;
	}

	.ath-hero {
		padding-top: 12px;
		padding-bottom: 48px;
	}

	.ath-hero-copy {
		min-height: 470px;
		padding: 34px 24px;
	}
	.ath-hero h1 {
		font-size: 48px;
	}
	.ath-hero-products {
		min-height: 420px;
	}
	.ath-hero-shoe {
		width: 72%;
		height: 48%;
	}
	.ath-quick {
		grid-template-columns: 1fr;
		margin-bottom: 66px;
	}
	.ath-quick-card:first-child {
		grid-column: auto;
	}
	.ath-quick-card {
		min-height: 290px;
	}
	.ath-section {
		padding-bottom: 68px;
	}
	.ath-section-head {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 24px;
	}
	.ath-product-trust {
		grid-template-columns: 1fr;
	}
	.ath-footer-main {
		grid-template-columns: 1fr;
		gap: 34px;
		padding: 46px 0;
	}
	.ath-footer-bottom {
		flex-direction: column;
	}
}


/* =========================================================
   V4 — GREEK / MOBILE / CART CLEANUP
   ========================================================= */

/* Brand is text, never the Ecomus demo image. */
.ath-header-logo,
.site-header .header-logo {
	min-width: max-content;
}

.ath-header-logo .header-logo__text,
.site-header .header-logo__text {
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-weight: 800 !important;
	color: #000 !important;
}

/* Mobile hamburger contact block: no demo address. */
.ath-mobile-help {
	margin-top: 26px;
	padding-top: 26px;
	border-top: 1px solid var(--ath-line);
	color: #000;
}

.ath-mobile-help strong {
	display: inline-block;
	margin-bottom: 16px;
	font-size: 19px;
	font-weight: 800;
	border-bottom: 1px solid #000;
}

.ath-mobile-help p {
	margin: 0 0 8px;
	color: #000;
	font-size: 15px;
}

.ath-mobile-help a {
	color: #000 !important;
	font-size: 15px;
	font-weight: 700;
	word-break: break-word;
}

/* Catalog toolbar and mobile navigation are black/Greek after gettext mapping. */
.catalog-toolbar button,
.ecomus-mobile-navigation-bar,
.ecomus-mobile-navigation-bar span {
	font-family: "Manrope", sans-serif !important;
}

/* Remove quick-view/wishlist/compare visual leftovers even if cached markup appears. */
.product-loop__quickview,
.product-loop__wishlist,
.product-loop__compare,
.quick-view-button,
.wishlist-button,
.compare-button,
.wcboost-wishlist-button,
.wcboost-products-compare-button {
	display: none !important;
}

/* Keep all commerce prices/text black, including mini cart. */
.woocommerce .price,
.woocommerce .amount,
.woocommerce-mini-cart .price,
.woocommerce-mini-cart .amount,
.widget_shopping_cart .price,
.widget_shopping_cart .amount,
.ecomus-price-saved,
.cart-panel .price,
.cart-panel .amount {
	color: #000 !important;
}

.woocommerce .price del,
.woocommerce-mini-cart .price del,
.cart-panel .price del {
	color: #000 !important;
	opacity: .38;
}

.woocommerce .price ins,
.woocommerce-mini-cart .price ins,
.cart-panel .price ins {
	color: #000 !important;
	text-decoration: none;
	font-weight: 800;
}

/* Sale information follows the black brand system instead of demo red. */
.sale-off,
.onsale,
.product-badges .onsale,
.ecomus-product-badges .onsale {
	background: #000 !important;
	border-color: #000 !important;
	color: #fff !important;
}

.ecomus-price-saved {
	border-color: #000 !important;
	color: #000 !important;
}

/* Mini cart should be concise and readable. */
.cart-panel .panel__header {
	font-family: "Manrope", sans-serif !important;
	font-weight: 800;
	color: #000;
}

.cart-panel .woocommerce-mini-cart-item a,
.cart-panel .woocommerce-mini-cart-item .remove,
.cart-panel .woocommerce-mini-cart__total,
.cart-panel .woocommerce-mini-cart__buttons {
	color: #000;
}

/* Links inside black checkout buttons remain white. */
.cart-panel .checkout,
.cart-panel .checkout *,
.woocommerce-checkout .button.alt,
.woocommerce-checkout .button.alt * {
	color: #fff !important;
}

/* Product trust email. */
.ath-product-trust a {
	color: #000 !important;
	text-decoration: none;
}

.ath-product-trust a:hover {
	text-decoration: underline;
}

@media (max-width: 767px) {
	.ath-header-logo .header-logo__text,
	.site-header .header-logo__text {
		font-size: 16px !important;
		letter-spacing: -0.025em;
	}

	.ath-header-logo .header-logo__text::after,
	.site-header .header-logo__text::after {
		font-size: 6.5px !important;
	}

	/* Four bottom-nav items are easier to read than the old duplicated Filter bar. */
	.ecomus-mobile-navigation-bar__icon {
		min-width: 0;
	}
}
