/*
Theme Name: Blocksy e-Asansör
Description: e-asansor.com child theme for Blocksy. Design "A2 graphite + signal orange": Plus Jakarta Sans, header with SKU search, homepage hero slider and product carousel (E5 WP Slider & Blocks), quote-only products (no price → WhatsApp + quote form).
Author: E5
Template: blocksy
Version: 0.2.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: blocksy-easansor
*/

/* Plus Jakarta Sans (variable 400-800, self-hosted, OFL). Italic is not loaded on purpose. */
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Design tokens. Blocksy palette (set by `wp easansor setup palette`):
 * 1 #F26B1D accent · 2 #D9560C accent hover · 3 #3E4A56 text · 4 #1F2933 graphite
 * 5 #E4E4E0 border · 6 #F1F1EE soft · 7 #F5F5F3 page · 8 #FFFFFF.
 */
:root {
	--theme-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ea-accent: var(--theme-palette-color-1, #F26B1D);
	--ea-accent-hover: var(--theme-palette-color-2, #D9560C);
	--ea-on-accent: var(--theme-button-text-initial-color, #1A0E05);
	--ea-ink: var(--theme-palette-color-4, #1F2933);
	--ea-ink-2: color-mix(in srgb, var(--ea-ink) 86%, #fff);
	--ea-text: var(--theme-palette-color-3, #3E4A56);
	--ea-muted: #616E7C;
	--ea-line: var(--theme-palette-color-5, #E4E4E0);
	--ea-soft: var(--theme-palette-color-6, #F1F1EE);
	--ea-page: var(--theme-palette-color-7, #F5F5F3);
	--ea-link: color-mix(in srgb, var(--ea-accent) 72%, #000);
	--ea-accent-soft: color-mix(in srgb, var(--ea-accent) 14%, #fff);
	--ea-success: #1F7A45;
	--ea-success-bg: #E7F6EC;
	--ea-radius: 12px;
	--ea-radius-lg: 16px;
	--easansor-whatsapp: #1F9D55;
	--easansor-whatsapp-hover: #17814A;

	/* Button text colour comes from Customizer → Buttons (setup sets dark text for orange). */
	--theme-button-border-radius: 10px;
	--theme-button-font-weight: 700;
	/* Links: graphite text, orange-brown on hover (orange text on white is too light). */
	--theme-link-initial-color: var(--ea-ink);
	--theme-link-hover-color: var(--ea-link);
}

body {
	letter-spacing: -0.005em;
}
h1, h2, h3, h4, h5, h6 {
	letter-spacing: -0.03em;
}

/* ---------- Shared bits ---------- */

.ea-eyebrow {
	margin: 0 0 0.5em;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ea-link);
}
.ea-section {
	margin-block: 48px 0;
}
.ea-section__head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 18px;
}
.ea-section__head h2 {
	margin: 0;
	font-size: clamp(22px, 2.4vw, 28px);
}
.ea-section__head .ea-eyebrow {
	margin-bottom: 2px;
}
.ea-more {
	font-size: 14px;
	font-weight: 700;
	color: var(--ea-link);
}

/* Core button variants used in patterns. */
.wp-block-button.ea-btn-ghost .wp-block-button__link {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}
.wp-block-button.ea-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.16);
}
.wp-block-button.ea-btn-dark .wp-block-button__link {
	background: var(--ea-ink);
	color: #fff;
}
.wp-block-button.ea-btn-dark .wp-block-button__link:hover {
	background: var(--ea-ink-2);
}
.wp-block-button.ea-btn-whatsapp .wp-block-button__link {
	background: var(--easansor-whatsapp);
	color: #fff;
}
.wp-block-button.ea-btn-whatsapp .wp-block-button__link:hover {
	background: var(--easansor-whatsapp-hover);
}

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

/* Logo height per device (the wide logo would push the cart off small screens). */
.ct-header [data-id="logo"] .site-logo-container {
	--logo-max-height: 46px;
}
@media (max-width: 999.98px) {
	.ct-header [data-id="logo"] .site-logo-container {
		--logo-max-height: 38px;
	}
}
@media (max-width: 689.98px) {
	.ct-header [data-id="logo"] .site-logo-container {
		--logo-max-height: 30px;
	}
}

.ct-header [data-row*="middle"] {
	border-bottom: 0;
}
.ct-header [data-row*="bottom"] {
	border-top: 1px solid var(--ea-line);
}
.ct-header [data-row*="bottom"] [data-id^="menu"] {
	--menu-items-spacing: 22px;
}
.ct-header [data-row*="bottom"] .ct-menu-link {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}
.ct-header [data-id="menu-secondary"] .ct-menu-link {
	color: var(--ea-muted);
	font-weight: 500;
}
/* Desktop middle row: logo and buttons take what they need, the search gets the rest. */
#header [data-device="desktop"] [data-row*="middle"][data-column-set] > .ct-container {
	grid-template-columns: auto minmax(0, 1fr) auto;
	column-gap: 40px;
}
.ct-header [data-device="desktop"] [data-row*="middle"] [data-column="middle"] {
	justify-content: center;
	width: 100%;
}
.ct-header [data-device="desktop"] [data-row*="middle"] [data-column="middle"] > [data-items] {
	width: 100%;
}
.ct-header .ct-header-text[data-id="text"] {
	flex: 1;
	width: 100%;
}

.ea-search {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 760px;
	height: 50px;
	margin-inline: auto;
	padding: 0 6px 0 16px;
	box-sizing: border-box;
	background: var(--ea-soft);
	border: 1px solid transparent;
	border-radius: var(--ea-radius);
	transition: border-color 0.15s, background 0.15s;
}
.ea-search:focus-within {
	background: #fff;
	border-color: var(--ea-ink);
}
.ea-search svg {
	flex: none;
	width: 20px;
	height: 20px;
	stroke: var(--ea-muted);
}
.ea-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font: inherit;
	font-size: 15px;
	color: var(--ea-ink);
	outline: 0;
}
.ea-search button {
	flex: none;
	height: 38px;
	padding: 0 18px;
	border: 0;
	border-radius: 9px;
	background: var(--ea-ink);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.ea-search button:hover {
	background: var(--ea-ink-2);
}

/* WhatsApp header link (views/header-whatsapp.php): light pill, green mark and label. */
.ea-wa__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 16px 0 12px;
	border: 1px solid #CDEFD9;
	border-radius: 999px;
	background: #fff;
	color: #128C4A;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	transition: background 0.15s, border-color 0.15s;
}
.ea-wa__link:hover {
	background: #F0FBF4;
	border-color: #25D366;
	color: #0E7A3F;
}
.ea-wa__icon {
	flex: none;
}

/* Header mini cart: light panel, readable rows. */
.ct-header [data-id="cart"] .ct-cart-content {
	--theme-text-color: var(--ea-text);
	--theme-link-initial-color: var(--ea-ink);
	--theme-link-hover-color: var(--ea-link);
	background: #fff !important;
	color: var(--ea-text);
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	box-shadow: 0 18px 40px rgba(31, 41, 51, 0.14);
}
.ct-header [data-id="cart"] .ct-cart-content .woocommerce-mini-cart-item {
	border-color: var(--ea-line);
}
.ct-header [data-id="cart"] .ct-cart-content .woocommerce-mini-cart-item a:not(.remove) {
	color: var(--ea-ink);
	font-weight: 600;
}
.ct-header [data-id="cart"] .ct-cart-content .quantity {
	color: var(--ea-muted);
}
.ct-header [data-id="cart"] .ct-cart-content .ct-media-container {
	background: var(--ea-soft);
	border-radius: 8px;
}
.ct-header [data-id="cart"] .ct-cart-content .remove {
	color: var(--ea-muted);
}
.ct-header [data-id="cart"] .ct-cart-content .woocommerce-mini-cart__buttons .button:not(.checkout) {
	--theme-button-background-initial-color: var(--ea-ink);
	--theme-button-background-hover-color: var(--ea-ink-2);
	--theme-button-text-initial-color: #fff;
	--theme-button-text-hover-color: #fff;
}
.ct-header [data-id="cart"] .ct-cart-content .woocommerce-mini-cart__buttons .button {
	text-transform: none;
	letter-spacing: 0;
}
/* Catalog / quote mode: no amount next to the cart icon. */
.ea-no-cart-total .ct-header [data-id="cart"] .ct-label {
	display: none;
}

/* ---------- Hero slider (e5wpsb/slider.ea-hero) ---------- */

.ea-hero.wp-block-e5wpsb-slider {
	margin-top: 0;
	background: var(--ea-ink);
	color: #fff;
}
.ea-hero .wp-block-e5wpsb-slide {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--ea-ink);
	padding: 40px 0 72px;
}
/* Diagonal "stage" behind the product photo. */
.ea-hero .wp-block-e5wpsb-slide::before {
	content: "";
	position: absolute;
	inset: 0 0 0 auto;
	width: 48%;
	background: linear-gradient(135deg, var(--ea-ink-2), color-mix(in srgb, var(--ea-ink) 76%, #fff));
	clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.ea-hero .wp-block-e5wpsb-slide.is-accent::before {
	background: linear-gradient(135deg, var(--ea-accent), var(--ea-accent-hover));
}
.ea-hero__inner {
	position: relative;
	width: 100%;
}
.ea-hero__inner > .wp-block-columns {
	margin: 0;
	gap: 32px;
}
.ea-hero .ea-eyebrow {
	color: var(--ea-accent);
}
.ea-hero h1,
.ea-hero h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(34px, 4.6vw, 54px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
}
.ea-hero p:not(.ea-eyebrow) {
	max-width: 460px;
	margin: 0 0 26px;
	color: #B9C2CC;
	font-size: 17px;
}
.ea-hero .wp-block-image {
	margin: 0;
	text-align: center;
}
.ea-hero .wp-block-image img {
	max-height: 340px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}
/* Controls sit on the slide, bottom left. */
.ea-hero .e5wpsb-slider__controls {
	position: absolute;
	left: max(24px, calc((100% - var(--theme-normal-container-max-width, 1290px)) / 2 + var(--theme-content-edge-spacing, 0px)));
	bottom: 26px;
	margin: 0;
	justify-content: flex-start;
	color: #fff;
}
.ea-hero .e5wpsb-slider__button {
	width: 40px;
	height: 40px;
	border-color: rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.08);
}
.ea-hero .e5wpsb-slider__dot {
	width: 36px;
	height: 4px;
	border: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.25);
}
.ea-hero .e5wpsb-slider__dot[aria-current="true"] {
	background: var(--ea-accent);
}
@media (max-width: 999px) {
	.ea-hero .wp-block-e5wpsb-slide::before {
		width: 100%;
		top: auto;
		height: 46%;
		clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
	}
	.ea-hero .wp-block-image img {
		max-height: 220px;
	}
}

/* ---------- Stats strip ---------- */

.ea-stats {
	background: #fff;
	border-bottom: 1px solid var(--ea-line);
}
.ea-stats .wp-block-columns {
	margin: 0;
	gap: 16px;
}
.ea-stat {
	gap: 12px;
	padding: 20px 0;
}
.ea-stats p {
	margin: 0;
}
.ea-stat__number {
	color: var(--ea-accent-hover);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	white-space: nowrap;
}
.ea-stat__label {
	color: var(--ea-muted);
	font-size: 14px;
	line-height: 1.3;
}

/* Header mega menu sits before the category menu. */
.ct-header [data-row*="bottom"] .ea-mega {
	display: flex;
	align-items: center;
	margin-inline-end: 22px;
}

/* ---------- Category cards ([easansor_categories]) ---------- */

.ea-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 14px;
}
.ea-cat {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	color: var(--ea-ink);
	transition: border-color 0.15s, transform 0.15s;
}
.ea-cat:hover {
	border-color: var(--ea-accent);
	color: var(--ea-ink);
	transform: translateY(-2px);
}
.ea-cat__img {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	overflow: hidden;
	background: var(--ea-soft);
	border-radius: 10px;
}
.ea-cat__img img {
	max-width: 85%;
	max-height: 85%;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.ea-cat__name {
	display: block;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}
.ea-cat__meta {
	display: block;
	margin-top: 2px;
	color: var(--ea-muted);
	font-size: 13px;
	line-height: 1.4;
}

/* ---------- Product carousel (e5wpsb/content-collection.ea-rail) ---------- */

.ea-rail .e5wpsb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
}
.ea-rail .e5wpsb-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--ea-soft);
	border-radius: 10px;
}
.ea-rail .e5wpsb-card__media img {
	object-fit: contain !important;
	mix-blend-mode: multiply;
}
.ea-rail .e5wpsb-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 10px 0 0;
}
.ea-rail .e5wpsb-card__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}
.ea-rail .e5wpsb-card__price {
	margin-top: 6px;
	font-weight: 700;
	color: var(--ea-ink);
}
.ea-rail .e5wpsb-card .button,
.ea-rail .e5wpsb-card__button {
	width: 100%;
	justify-content: center;
	margin-top: auto;
	min-height: 40px;
	padding: 8px 10px;
	font-size: 13px;
	line-height: 1.25;
	text-align: center;
}
.ea-rail .e5wpsb-card__price {
	margin-bottom: 10px;
}

/* ---------- Promo boxes ---------- */

.ea-promos {
	gap: 16px;
}
.ea-promo {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 220px;
	padding: 32px !important;
	overflow: hidden;
	border-radius: var(--ea-radius-lg);
	box-sizing: border-box;
}
.ea-promo > * {
	position: relative;
}
.ea-promo h3 {
	max-width: 380px;
	margin: 0 0 18px;
	font-size: 26px;
}
.ea-promo .wp-block-buttons {
	margin-top: auto;
}
.ea-promo--dark {
	background: var(--ea-ink);
	color: #fff;
}
.ea-promo--dark h3 {
	color: #fff;
}
.ea-promo--dark .ea-eyebrow {
	color: var(--ea-accent);
}
.ea-promo--dark::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -40px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--ea-accent) 18%, transparent);
}
.ea-promo--light {
	background: var(--ea-accent-soft);
	color: var(--ea-ink);
}
.ea-promo--light .ea-eyebrow {
	color: var(--ea-link);
}

/* ---------- Brands strip ([easansor_brands]) ---------- */

/* Logo tiles: one row of eight on desktop, 4 x 2 on tablets and phones. Logos stay in
   grey until hover/focus so the strip reads as one calm band. */
.ea-brands {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 12px;
	padding-bottom: clamp(32px, 4vw, 56px);
}
.ea-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 88px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.ea-brand img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.15s, opacity 0.15s;
}
.ea-brand.is-text {
	color: var(--ea-muted);
	font-size: 15px;
	font-weight: 800;
	text-align: center;
	text-transform: uppercase;
}
.ea-brand:hover,
.ea-brand:focus-visible {
	border-color: var(--ea-accent);
	box-shadow: 0 6px 18px rgb(31 41 51 / 0.08);
}
.ea-brand:hover img,
.ea-brand:focus-visible img {
	filter: none;
	opacity: 1;
}
.ea-brand.ea-more {
	flex-direction: column;
	gap: 2px;
	padding-inline: 8px;
	white-space: nowrap;
	background: var(--ea-ink);
	border-color: var(--ea-ink);
	color: #fff;
	text-align: center;
}
.ea-brand.ea-more strong {
	font-size: 16px;
	font-weight: 800;
}
.ea-brand.ea-more span {
	color: var(--ea-accent);
	font-size: 13px;
	font-weight: 600;
}
@media (max-width: 999.98px) {
	.ea-brands {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (max-width: 689.98px) {
	.ea-brands {
		gap: 8px;
	}
	.ea-brand {
		height: 68px;
		padding: 10px;
	}
	.ea-brand.ea-more strong {
		font-size: 15px;
	}
	/* Too narrow for "Tümünü gör →": show "51 marka →" only. */
	.ea-brand.ea-more {
		white-space: normal;
		text-align: center;
		line-height: 1.2;
	}
	.ea-brand.ea-more span {
		display: none;
	}
	.ea-brand.ea-more strong::after {
		content: " →";
		color: var(--ea-accent);
	}
}

/* ---------- Archive header (shop, categories, brands) ---------- */

/* Brand logo on a white card at the right of the dark header (shop.php). */
.ea-brand-logo {
	float: right;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	height: 112px;
	margin: 4px 0 12px 32px;
	padding: 18px 22px;
	background: #fff;
	border-radius: var(--ea-radius-lg);
}
.ea-brand-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.tax-product_brand .hero-section .entry-header {
	display: flow-root;
}
@media (max-width: 689.98px) {
	.ea-brand-logo {
		width: 112px;
		height: 60px;
		margin: 0 0 8px 16px;
		padding: 8px 10px;
		border-radius: var(--ea-radius);
	}
}

.post-type-archive-product .hero-section[data-type="type-2"],
.tax-product_cat .hero-section[data-type="type-2"],
.tax-product_brand .hero-section[data-type="type-2"],
.tax-product_tag .hero-section[data-type="type-2"] {
	--theme-heading-color: #fff;
	background: var(--ea-ink);
	color: #B9C2CC;
}
[class*="product"] .hero-section[data-type="type-2"] .entry-header {
	max-width: var(--theme-normal-container-max-width, 1290px);
	padding-block: 34px 30px;
	text-align: start;
}
/* Dark header bands: product archives and blog listings (see body classes). */
:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand, .tax-product_tag, .blog, .category, .tag) .hero-section[data-type="type-2"] .page-title {
	margin: 4px 0 0;
	color: #fff;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 800;
}
.ea-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: #8A96A3;
}
.ea-crumbs a {
	color: #B9C2CC;
}
.ea-crumbs a:hover {
	color: var(--ea-accent);
}
.ea-archive-count {
	margin: 4px 0 0;
	font-size: 14px;
	color: #8A96A3;
}
.hero-section .ea-chips {
	margin-top: 18px;
}
.ea-chips,
.ea-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.ea-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	transition: background 0.15s, color 0.15s;
}
.hero-section .ea-chip {
	background: var(--ea-ink-2);
	color: #fff;
}
.hero-section .ea-chip span {
	color: #8A96A3;
	font-weight: 500;
}
.hero-section .ea-chip:hover,
.hero-section .ea-chip.is-active {
	background: var(--ea-accent);
	color: var(--ea-on-accent);
}
.hero-section .ea-chip.is-active span,
.hero-section .ea-chip:hover span {
	color: inherit;
}
.ea-active-filters {
	margin-bottom: 16px;
}
.ea-active-filters .ea-chip {
	background: var(--ea-accent-soft);
	color: var(--ea-ink);
}
.ea-active-filters .ea-chip:hover {
	background: var(--ea-accent);
}
.ea-clear {
	font-size: 14px;
	font-weight: 600;
	color: var(--ea-link);
}

/* Toolbar: active filter chips on their own row, then result count + ordering. */
.woo-listing-top {
	flex-wrap: wrap;
	align-items: center;
	row-gap: 12px;
	margin-bottom: 18px;
}
.woo-listing-top .ea-active-filters {
	flex: 1 1 100%;
	margin-bottom: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ea-line, #e5e7eb);
}
.woo-listing-top .woocommerce-result-count {
	margin: 0 auto 0 0;
}
.woocommerce-result-count {
	color: var(--ea-muted);
	font-size: 14px;
}
.woocommerce-ordering select {
	border-radius: 10px;
	background-color: #fff;
}

/* ---------- Filter sidebar ([easansor_shop_filters]) ---------- */

.ea-filters {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ea-filter-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ea-filter {
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
}
.ea-filter__title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ea-ink);
}
.ea-filter__links {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}
.ea-filter__links li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 5px 0;
}
.ea-filter__links span,
.ea-check em {
	color: var(--ea-muted);
	font-size: 12px;
	font-style: normal;
}
.ea-filter__checks {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ea-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	font-size: 14px;
	cursor: pointer;
}
.ea-check span {
	flex: 1;
}
.ea-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--ea-accent);
}
.ea-check.is-extra {
	display: none;
}
.ea-filter__checks.is-open .ea-check.is-extra {
	display: flex;
}
.ea-filter__more {
	align-self: flex-start;
	margin-top: 4px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ea-link);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
/* With JS the form applies on change; the button is the no-JS path. */
.ea-filter-form__submit {
	align-self: stretch;
	justify-content: center;
}
.ct-sidebar .ea-filters {
	position: sticky;
	top: 24px;
}

/* Filter panel toggle: hidden on desktop, a button on tablets and phones. */
.ea-filters-toggle {
	display: none;
}
@media (max-width: 999.98px) {
	.ea-filters-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 46px;
		border: 1px solid var(--ea-line);
		border-radius: var(--ea-radius);
		background: #fff;
		font-weight: 700;
		cursor: pointer;
		list-style: none;
	}
	.ea-filters-toggle::-webkit-details-marker {
		display: none;
	}
	.ea-filters-toggle span {
		min-width: 22px;
		padding: 0 6px;
		border-radius: 999px;
		background: var(--ea-accent);
		color: var(--ea-on-accent);
		font-size: 12px;
		line-height: 22px;
		text-align: center;
	}
	.ea-filters-wrap[open] .ea-filters {
		margin-top: 12px;
	}
	/* Sidebar (filters) above the products on small screens. */
	[data-sidebar] > aside {
		order: -1;
	}
	/* Subcategory chips scroll sideways instead of filling the screen. */
	.hero-section .ea-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: calc(var(--theme-content-edge-spacing, 20px) * -1);
		padding-inline: var(--theme-content-edge-spacing, 20px);
		padding-bottom: 4px;
		scrollbar-width: none;
	}
	.hero-section .ea-chip {
		flex: none;
	}
	.ct-sidebar .ea-filters {
		position: static;
	}
}

/* ---------- Shop loop cards ---------- */

[data-products] .product {
	display: flex;
	flex-direction: column;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	transition: border-color 0.15s, box-shadow 0.15s;
}
[data-products] .product:hover {
	border-color: color-mix(in srgb, var(--ea-ink) 22%, #fff);
	box-shadow: 0 10px 24px rgba(31, 41, 51, 0.06);
}
[data-products] .product figure {
	margin-bottom: 12px;
}
[data-products] .product figure,
[data-products] .ct-media-container {
	background: var(--ea-soft);
	border-radius: 10px;
}
[data-products] .product figure img {
	aspect-ratio: 1 / 1 !important;
	object-fit: contain;
	mix-blend-mode: multiply;
}
[data-products] .woocommerce-loop-product__title {
	margin-bottom: 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}
[data-products] .product .entry-meta {
	margin-bottom: 10px;
	font-size: 12px;
	text-transform: none;
	letter-spacing: 0;
}
[data-products] .product .entry-meta a {
	color: var(--ea-muted);
}
[data-products] .product .price {
	font-weight: 800;
	color: var(--ea-ink);
}
[data-products] .ct-woo-card-actions {
	margin-top: auto;
}
[data-products] .ct-woo-card-actions .button {
	width: 100%;
	min-height: 40px;
	padding: 8px 10px;
	font-size: 13px;
	line-height: 1.25;
}

/* ---------- Blog ---------- */

.blog .hero-section[data-type="type-2"],
.category .hero-section[data-type="type-2"],
.tag .hero-section[data-type="type-2"] {
	--theme-heading-color: #fff;
	background: var(--ea-ink);
	color: #B9C2CC;
}
.blog .hero-section[data-type="type-2"] .entry-header,
.category .hero-section[data-type="type-2"] .entry-header,
.tag .hero-section[data-type="type-2"] .entry-header {
	max-width: var(--theme-normal-container-max-width, 1290px);
	padding-block: 34px 30px;
	text-align: start;
}
.blog .hero-section[data-type="type-2"],
.category .hero-section[data-type="type-2"] {
	--min-height: 0;
}
.blog .hero-section .page-description,
.category .hero-section .page-description {
	color: #B9C2CC;
}

/* Post cards. */
.entries[data-layout] > article {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius-lg);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.entries[data-layout] > article:hover {
	border-color: color-mix(in srgb, var(--ea-ink) 22%, #fff);
	box-shadow: 0 10px 24px rgba(31, 41, 51, 0.06);
}
.entries[data-layout] .entry-title {
	font-size: 19px;
	line-height: 1.35;
}
.entries[data-layout] .entry-meta {
	font-size: 12px;
	letter-spacing: 0.04em;
}
.entries[data-layout] .entry-meta .meta-categories a {
	color: var(--ea-link);
	font-weight: 700;
}

/* Single post. */
.single-post .entry-content {
	font-size: 17px;
	line-height: 1.75;
}
.single-post .entry-content h2 {
	margin-top: 1.8em;
	scroll-margin-top: 24px;
	font-size: clamp(22px, 2.4vw, 27px);
}
.single-post .entry-content img {
	height: auto;
	border-radius: var(--ea-radius);
}
.ea-reading-time {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--ea-muted);
}
.ea-toc {
	margin: 0 0 28px;
	padding: 16px 20px;
	background: var(--ea-soft);
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	font-size: 15px;
}
.ea-toc summary {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ea-ink);
	cursor: pointer;
}
.ea-toc ol {
	margin: 10px 0 0;
	padding-inline-start: 20px;
	line-height: 1.6;
}
.ea-toc a {
	color: var(--ea-ink);
}
.ea-toc a:hover {
	color: var(--ea-link);
}
.ea-post-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: space-between;
	margin-top: 40px;
	padding: 26px 28px;
	background: var(--ea-ink);
	border-radius: var(--ea-radius-lg);
	color: #B9C2CC;
	font-size: 15px;
	line-height: 1.5;
}
.ea-post-cta p {
	margin: 0;
}
.ea-post-cta .ea-post-cta__title {
	margin-bottom: 4px;
	color: #fff;
	font-size: 19px;
	font-weight: 800;
}
.ea-post-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ea-post-cta .easansor-quote-button {
	--theme-button-background-initial-color: rgba(255, 255, 255, 0.1);
	--theme-button-background-hover-color: rgba(255, 255, 255, 0.18);
}

/* Product already in the quote list (e5wphf): calm green state instead of the orange action. */
.button.e5wphf-in-list,
a.e5wphf-in-list {
	--theme-button-background-initial-color: var(--ea-success-bg);
	--theme-button-background-hover-color: #D3F0DD;
	--theme-button-text-initial-color: var(--ea-success);
	--theme-button-text-hover-color: var(--ea-success);
	background: var(--ea-success-bg);
	color: var(--ea-success);
	box-shadow: inset 0 0 0 1px #BDE5CB;
}

/*
 * Pages use Blocksy's narrow content column; "wide" blocks (cart, checkout, account
 * blocks, wide groups) then break out 130 px on each side on large screens. Keep them
 * at the normal container width so every page lines up with the header.
 */
body.ea-page {
	--theme-wide-offset: 0px;
}

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

/* Blocksy sets the footer background with a more specific selector; the id wins. */
#footer.ct-footer {
	--theme-text-color: #B9C2CC;
	--theme-headings-color: #fff;
	--theme-link-initial-color: #B9C2CC;
	--theme-link-hover-color: var(--ea-accent);
	background: var(--ea-ink);
	color: #B9C2CC;
	border-bottom: 6px solid var(--ea-accent);
	font-size: 14px;
}
.ct-footer [data-row] {
	--theme-border-color: color-mix(in srgb, #fff 10%, transparent);
	background: transparent;
}
.ct-footer [data-row*="middle"] > div {
	padding-block: 48px 40px;
}
.ct-footer .widget-title,
.ct-footer h2,
.ct-footer h3 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
}
.ct-footer a,
.ct-footer p,
.ct-footer .ct-footer-copyright {
	color: #B9C2CC;
}
.ct-footer a:hover {
	color: var(--ea-accent);
}

/* Maker signature (inc/credits.php): two small muted icons on their own centred line under the copyright text. */
.ct-footer [data-column="copyright"] {
	flex: 1 1 auto;
}
/* Room under the copyright row so the floating cookie and WhatsApp buttons do not cover it at the end of the page. */
.ct-footer [data-row="bottom"] > .ct-container {
	padding-bottom: 76px;
}
.ea-credits {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	line-height: 0;
}
.ea-credits a {
	display: inline-block;
	border-radius: 6px;
}
.ea-credits a:focus-visible {
	outline: 2px solid var(--ea-accent);
	outline-offset: 3px;
}
.ea-credits img {
	display: block;
	width: 28px;
	height: 28px;
}
.ct-footer .ea-footer-brand {
	margin: 0 0 8px;
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.03em;
}
.ct-footer .ea-footer-brand.is-logo {
	margin: 0 0 14px;
	line-height: 0;
}
.ct-footer .ea-footer-brand.is-logo img {
	display: block;
	width: auto;
	height: 44px;
	max-width: 100%;
}
.ct-footer .ea-footer-about {
	max-width: 300px;
	margin: 0 0 18px;
}
.ct-footer .ea-links {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.5;
}
.ct-footer .ea-links li + li {
	margin-top: 9px;
}

/* Call-to-action band above the columns (top row). */
.ct-footer [data-row*="top"] {
	background: var(--ea-ink-2);
}
.ct-footer [data-row*="top"] > div {
	align-items: center;
	padding-block: 26px;
}
.ct-footer .ea-footer-cta__title {
	margin: 0;
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.ct-footer .ea-footer-cta__text {
	margin: 4px 0 0;
}
.ct-footer [data-column="widget-area-6"] .wp-block-buttons {
	justify-content: flex-end;
}
@media (max-width: 689px) {
	.ct-footer [data-column="widget-area-6"] .wp-block-buttons {
		justify-content: flex-start;
	}
}
.ct-footer [data-row*="bottom"] {
	font-size: 13px;
}

/* ---------- Contact details block (easansor/contact-info) ---------- */

.ea-contact__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ea-contact__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
}
.ea-contact__icon {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	color: var(--ea-accent);
}
.ea-contact__item.is-whatsapp .ea-contact__icon {
	color: #25D366;
}
.ea-contact__label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	opacity: 0.75;
}
.ea-contact__value {
	display: block;
	font-weight: 600;
	line-height: 1.45;
}
.ea-contact__company {
	margin: 0 0 12px;
	font-weight: 800;
	color: var(--ea-ink);
}
.ea-contact__empty {
	padding: 12px;
	border: 1px dashed currentColor;
	border-radius: 8px;
	font-size: 13px;
}
.ct-footer .ea-contact__value,
.ct-footer .ea-contact__value a {
	color: #fff;
}
.ea-contact.is-cards .ea-contact__list {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.ea-contact.is-cards .ea-contact__item {
	padding: 16px;
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
}
.ea-contact.is-cards .ea-contact__icon {
	width: 24px;
	height: 24px;
}
.ea-contact.is-cards .ea-contact__value {
	color: var(--ea-ink);
	word-break: break-word;
}

/* ---------- Pages ---------- */

/* Dark header band, same as archives and the blog. */
.ea-page .hero-section[data-type="type-2"] {
	--theme-heading-color: #fff;
	--min-height: 0;
	background: var(--ea-ink);
	color: #B9C2CC;
}
.ea-page .hero-section[data-type="type-2"] .entry-header {
	max-width: var(--theme-normal-container-max-width, 1290px);
	padding-block: 34px 30px;
	text-align: start;
}
.ea-page .hero-section[data-type="type-2"] .page-title {
	margin: 4px 0 0;
	color: #fff;
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 800;
}
.ea-page .hero-section .page-description {
	color: #B9C2CC;
}
.ea-page .entry-content > .ea-split:first-child,
.ea-page .entry-content > .ea-doc:first-child {
	margin-top: 0;
}

/* Corporate/legal pages: side menu + readable text. */
.ea-doc {
	display: grid;
	grid-template-columns: 240px minmax(0, 760px);
	gap: 48px;
	align-items: start;
}
.ea-doc__nav {
	position: sticky;
	top: calc(var(--header-sticky-height, 0px) + 24px);
	padding: 18px;
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	font-size: 14px;
}
.ea-doc__nav-title {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ea-muted);
}
.ea-doc__nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ea-doc__nav a {
	display: block;
	padding: 7px 10px;
	margin-inline: -10px;
	border-radius: 8px;
	color: var(--ea-ink);
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}
.ea-doc__nav a:hover {
	background: var(--ea-soft);
	color: var(--ea-ink);
}
.ea-doc__nav a[aria-current="page"] {
	background: var(--ea-accent-soft);
	color: var(--ea-link);
}
.ea-doc__body {
	font-size: 16px;
	line-height: 1.75;
}
.ea-doc__body h2 {
	margin: 1.8em 0 0.6em;
	font-size: 22px;
}
.ea-doc__body h3 {
	margin: 1.5em 0 0.5em;
	font-size: 18px;
}
.ea-doc__body > :first-child {
	margin-top: 0;
}
.ea-doc__body table {
	width: 100%;
	font-size: 14px;
}
.ea-doc__body td,
.ea-doc__body th {
	padding: 8px 10px;
	border: 1px solid var(--ea-line);
}
@media (max-width: 999px) {
	.ea-doc {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
	.ea-doc__nav {
		position: static;
	}
	.ea-doc__nav ul {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}
	.ea-doc__nav a {
		margin: 0;
		padding: 6px 12px;
		border: 1px solid var(--ea-line);
		border-radius: 999px;
		font-size: 13px;
	}
}

/* Contact and quote pages: info on the left, form in a white panel on the right. */
.ea-split {
	gap: 40px;
	align-items: flex-start;
}
.ea-split h2 {
	margin: 0 0 12px;
	font-size: 22px;
}
.ea-split__aside > p {
	color: var(--ea-muted);
}
.ea-split__aside .ea-contact.is-cards .ea-contact__list {
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}
.ea-split__main {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius-lg);
}
.ea-split__note {
	margin: 18px 0 10px;
	font-weight: 700;
	color: var(--ea-ink) !important;
}
.ea-steps {
	counter-reset: ea-step;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ea-steps li {
	position: relative;
	margin: 0 0 14px;
	padding-left: 44px;
	line-height: 1.5;
}
.ea-steps li::before {
	counter-increment: ea-step;
	content: counter(ea-step);
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ea-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}
@media (max-width: 781px) {
	.ea-split__main {
		padding: 20px;
	}
}

/* E5 Forms result message (after submit): green box for success, red for errors. */
.e5wpfr-message {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 1px solid;
	border-left-width: 5px;
	border-radius: var(--ea-radius);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	scroll-margin-top: 120px;
}
.e5wpfr-message p {
	margin: 0;
}
.e5wpfr-message::before {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}
.e5wpfr-success {
	background: var(--ea-success-bg);
	border-color: color-mix(in srgb, var(--ea-success) 40%, #fff);
	border-left-color: var(--ea-success);
	color: var(--ea-success);
}
.e5wpfr-success::before {
	content: "✓";
	background: var(--ea-success);
}
.e5wpfr-error {
	background: #FDECEC;
	border-color: #F2B8B8;
	border-left-color: #B32D2E;
	color: #8A1F20;
}
.e5wpfr-error::before {
	content: "!";
	background: #B32D2E;
}

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

/* SKU, category and brand right under the title, on one line. */
.single-product .entry-summary .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	font-size: 14px;
	color: var(--ea-muted);
}
.single-product .entry-summary .product_meta > span {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: baseline;
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
}
.single-product .entry-summary .product_meta > span > * {
	color: var(--ea-ink);
	font-weight: 700;
}
.single-product .entry-summary .product_meta .sku {
	font-variant-numeric: tabular-nums;
}
.single-product .entry-summary .price:empty {
	display: none;
}

/* Gallery: soft tile so photos with white backgrounds sit well. */
.single-product .woocommerce-product-gallery .ct-media-container,
.single-product .woocommerce-product-gallery .flexy-items > div,
.single-product .woocommerce-product-gallery figure {
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius-lg);
	overflow: hidden;
}
.single-product .woocommerce-product-gallery img {
	object-fit: contain;
}
.single-product .woocommerce-product-gallery .ct-media-container {
	cursor: zoom-in;
}
.single-product .woocommerce-product-gallery .flexy-pills .ct-media-container {
	cursor: pointer;
}
.single-product .flexy-pills [class*="ct-media-container"],
.single-product .flexy-pills li {
	border-radius: 10px;
	overflow: hidden;
}

/* Buttons: the quote list button is the main action, quote page link is secondary. */
.single-product .entry-summary form.cart .button,
.single-product .entry-summary .single_add_to_cart_button {
	min-height: 52px;
	font-size: 15px;
}
.easansor-quote-button {
	--theme-button-background-initial-color: var(--ea-ink);
	--theme-button-background-hover-color: var(--ea-ink-2);
	--theme-button-text-initial-color: #fff;
	--theme-button-text-hover-color: #fff;
}
.single-product .variations_form .single_variation_wrap {
	margin: 0;
}

/* Trust row. */
.ea-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--ea-muted);
}
.ea-trust li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ea-trust svg {
	width: 20px;
	height: 20px;
	color: var(--ea-accent-hover);
}

/* Tabs: left aligned, normal case, content at reading width. */
.single-product .woocommerce-tabs {
	margin-top: 48px;
}
.single-product .woocommerce-tabs ul.tabs {
	gap: 6px;
	border-bottom: 1px solid var(--ea-line);
}
.single-product .woocommerce-tabs ul.tabs li a {
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ea-muted);
}
.single-product .woocommerce-tabs ul.tabs li.active a {
	color: var(--ea-ink);
}
.single-product .woocommerce-tabs ul.tabs li.active a::before,
.single-product .woocommerce-tabs ul.tabs li.active::before {
	background: var(--ea-accent);
}
/*
 * Imported descriptions (Ideasoft) carry inline border-color without border-style.
 * WordPress' block-library common.css then forces border-style: solid on them
 * (`html :where([style*=border-color])`), drawing borders the old site never showed.
 * Restore the browser default inside product descriptions and post content only;
 * an inline border-style still wins.
 */
:is(.woocommerce-Tabs-panel, .single-post .entry-content, .page .entry-content) :where([style*="border-color"]) {
	border-style: none;
}
.single-product .woocommerce-Tabs-panel {
	padding: 24px 0 0;
	font-size: 16px;
	line-height: 1.7;
}
.single-product .woocommerce-Tabs-panel img {
	height: auto;
	border-radius: 10px;
}
.single-product .woocommerce-product-attributes {
	border-radius: var(--ea-radius);
	overflow: hidden;
}
.single-product .related > h2,
.single-product .upsells > h2 {
	font-size: clamp(22px, 2.4vw, 28px);
}

/* ---------- Quote-only products ---------- */

.easansor-quote {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	align-items: center;
	justify-content: space-between;
	margin: 1.25em 0;
	padding: 16px 18px;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	background: var(--ea-soft);
}
.easansor-quote__head {
	flex: 1 1 220px;
}
.easansor-quote__title {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: var(--ea-ink);
}
.easansor-quote__text {
	margin: 2px 0 0;
	font-size: 14px;
	color: var(--ea-muted);
}
.easansor-quote__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.easansor-quote__actions .button {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 46px;
}
.easansor-whatsapp-button,
.easansor-whatsapp-button:hover {
	color: #fff;
}
.easansor-whatsapp-button {
	--theme-button-background-initial-color: var(--easansor-whatsapp);
	--theme-button-background-hover-color: var(--easansor-whatsapp-hover);
	--theme-button-text-initial-color: #fff;
}
.easansor-whatsapp-button svg {
	width: 1.2em;
	height: 1.2em;
	fill: currentColor;
}

/* Variable quote products: keep the attribute selectors, drop quantity + cart button. */
.easansor-is-quote .woocommerce-variation-add-to-cart,
.easansor-is-quote .woocommerce-variation-price {
	display: none !important;
}


/* Cart and checkout blocks: the one-line summary from inc/shop.php replaces WooCommerce's 15-word one. */
.wc-block-components-product-metadata__description {
	display: none;
}

.wc-block-components-product-details .ea-cart-summary {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin: 2px 0 4px;
	color: var(--theme-text-color, inherit);
	font-size: 13px;
	line-height: 1.45;
	opacity: .85;
}

/* Cart block: the "Ürün" column header reads as a quote list (the whole store is in quote cart mode). */
.wc-block-cart .wc-block-cart-items__header-image > span {
	display: none;
}

.wc-block-cart .wc-block-cart-items__header-image::after {
	content: "Teklif istenecek ürünler";
	white-space: nowrap;
}

/* Single post lead (inc/blog.php): framed image floats right, contents list beside it, text flows on below. */
.single-post .ct-container-full {
	padding-top: 32px;
}
.single-post .hero-section {
	margin-bottom: 22px;
}
.ea-post-lead {
	display: block;
	margin: 0;
}
.ea-post-lead .ea-toc {
	display: flow-root;
	margin: 0 0 22px;
}
.ea-post-figure {
	float: right;
	width: auto;
	max-width: min(44%, 440px);
	margin: 0 0 18px 28px;
}
.ea-post-figure__zoom {
	display: block;
	padding: 8px;
	overflow: hidden;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	background: #fff;
	box-shadow: 0 10px 28px rgba(16, 24, 32, .08);
	cursor: zoom-in;
	transition: box-shadow .25s ease, border-color .25s ease;
}
.ea-post-figure__zoom:hover {
	border-color: color-mix(in srgb, var(--ea-link) 45%, var(--ea-line));
	box-shadow: 0 14px 34px rgba(16, 24, 32, .14);
}
.single-post .entry-content .ea-post-figure__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 340px;
	margin: 0 auto;
	border-radius: calc(var(--ea-radius) - 4px);
	object-fit: contain;
	transition: transform .3s ease;
}
.ea-post-figure__zoom:hover .ea-post-figure__img,
.ea-post-figure__zoom:focus-visible .ea-post-figure__img {
	transform: scale(1.03);
}
.ea-post-figure__zoom:focus-visible {
	outline: 3px solid var(--ea-link);
	outline-offset: 3px;
}
.single-post .entry-content > .ea-post-lead + p:first-of-type,
.single-post .entry-content .ea-post-lead + * {
	margin-top: 0;
}
.single-post .ea-post-cta {
	clear: both;
}
@media (max-width: 760px) {
	.ea-post-figure {
		float: none;
		max-width: 100%;
		margin: 0 0 18px;
	}
	.ea-post-figure__zoom {
		display: flex;
		justify-content: center;
	}
	.single-post .entry-content .ea-post-figure__img {
		max-height: 300px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ea-post-figure__img,
	.ea-post-figure__zoom {
		transition: none;
	}
}

/* Featured image zoom dialog (assets/js/post-zoom.js). */
.ea-zoom {
	max-width: min(1200px, 94vw);
	max-height: 92vh;
	padding: 0;
	border: 0;
	border-radius: var(--ea-radius);
	background: transparent;
	overflow: visible;
	cursor: zoom-out;
}
.ea-zoom::backdrop {
	background: rgba(12, 16, 22, .82);
}
.ea-zoom__img {
	display: block;
	max-width: min(1200px, 94vw);
	max-height: 92vh;
	width: auto;
	height: auto;
	border-radius: var(--ea-radius);
	background: #fff;
}
.ea-zoom__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 22px;
	line-height: 36px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

/* ---------- Category and brand descriptions (inc/shop.php) ---------- */

.ea-archive-lead {
	max-width: 72ch;
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.65;
	color: #C9D1D9;
}
.ea-archive-lead a {
	color: var(--ea-accent);
	font-weight: 600;
	white-space: nowrap;
}
.ea-archive-lead a:hover {
	color: #fff;
}
.ea-term-about {
	margin-top: 40px;
	padding: clamp(20px, 3vw, 32px);
	background: #fff;
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius-lg);
	scroll-margin-top: 120px;
}
.ea-term-about__title {
	margin: 0 0 12px;
	font-size: clamp(20px, 2.2vw, 24px);
	font-weight: 800;
	color: var(--ea-ink);
}
.ea-term-about__text {
	max-width: 80ch;
	color: var(--ea-text);
	line-height: 1.7;
}
.ea-term-about__text > :last-child {
	margin-bottom: 0;
}
.ea-term-about__text h2,
.ea-term-about__text h3 {
	margin: 1.4em 0 0.5em;
	font-size: 18px;
	color: var(--ea-ink);
}
