/*
 * Eerkins Us - B2B theme styles
 *
 * WordPress notes:
 * - Every component class is prefixed with "ec-" so it cannot collide with
 *   WordPress core, WooCommerce, Gutenberg or plugin CSS.
 * - Menu styles target the markup wp_nav_menu() prints
 *   (.menu-item, .current-menu-item, .menu-item-has-children, .sub-menu).
 * - Image URLs are relative to this file, so they keep working inside the
 *   theme folder unchanged.
 * - Design reference width: 1920px, content width: 1600px.
 */

/* ==========================================================================
   1. Fonts
   Body font: Euclid Circular A (files in assets/fonts/).
   The PSD uses Euclid Circular B Light/SemiBold; with the three weights we
   have, Light (300) maps to Regular and SemiBold (600) maps to Medium.
   ========================================================================== */

@font-face {
	font-family: "Euclid Circular A";
	src: url("../fonts/EuclidCircularA-Regular.woff2") format("woff2");
	font-weight: 300 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Euclid Circular A";
	src: url("../fonts/EuclidCircularA-Medium.woff2") format("woff2");
	font-weight: 500 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Euclid Circular A";
	src: url("../fonts/EuclidCircularA-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   2. Design tokens
   ========================================================================== */

:root {
	/* Updated blue colour palette */
	--ec-primary: #0A4F94; /* Primary blue */
	--ec-light-blue: #2DBDF1; /* Accent blue */
	--ec-primary-dark: #083D73;
	--ec-orange: #fd9f01;
	--ec-blue: #0A4F94;
	--ec-text: #4c4c4c;
	--ec-text-soft: #5b5b5b;
	--ec-text-dark: #454545;
	--ec-price: #4f4f4f;
	--ec-muted: #9da2b1;
	--ec-dot: #838383;
	--ec-white: #ffffff;
	--ec-bg-hero: #f1f4f9;
	--ec-bg-panel: #f0f5f9;
	--ec-bg-slate: #bdcadb;
	--ec-bg-ring: #ededf7;
	--ec-border: #e4e4ec;
	--ec-border-search: #B9E7FA;

	/* Fonts */
	--ec-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--ec-font-sans: "Euclid Circular A", Arial, sans-serif;
	--ec-font-ui: "Inter", Arial, sans-serif;
	--ec-font-serif-alt: "PT Serif", Georgia, serif;

	/* Type scale (desktop value = PSD value) */
	--ec-fs-display: clamp(40px, 4.5vw, 86px);
	--ec-fs-h1: clamp(30px, 2.4vw, 46px);
	--ec-fs-h2: clamp(26px, 1.9vw, 36px);
	--ec-fs-pretitle: clamp(20px, 1.4vw, 26px);
	--ec-fs-card-title: clamp(22px, 1.4vw, 26px);
	--ec-fs-lede: clamp(16px, 1vw, 18px);

	/* Layout */
	--ec-container: 1600px;
	--ec-container-wide: 1884px;
	--ec-gutter: 20px;
	--ec-radius-pill: 999px;
	--ec-shadow-soft: 0 6px 22px rgba(30, 40, 60, 0.08);
	--ec-panel-overlap: 280px;
	--ec-transition: 0.25s ease;
}

/* ==========================================================================
   3. Base
   Kept minimal so WordPress blocks and plugins keep their own styles.
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--ec-white);
	color: var(--ec-text);
	font-family: var(--ec-font-sans);
	font-size: 16px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

/* WordPress core accessibility class */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	top: 5px;
	left: 5px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip: auto;
	clip-path: none;
	background: var(--ec-white);
	color: var(--ec-text);
	font-size: 14px;
	text-decoration: none;
}

.ec-site :focus-visible {
	outline: 2px solid var(--ec-orange);
	outline-offset: 2px;
}

/* ==========================================================================
   4. Layout helpers
   ========================================================================== */

.ec-container {
	width: min(var(--ec-container), 100% - var(--ec-gutter) * 2);
	margin-inline: auto;
}

.ec-container--wide {
	width: min(var(--ec-container-wide), 100% - var(--ec-gutter) * 2);
}

.ec-section-head {
	max-width: 780px;
	margin: 0 auto;
	text-align: center;
}

.ec-section-head__pretitle {
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-pretitle);
	font-weight: 400;
	line-height: 1.3;
}

.ec-section-head__title {
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-h1);
	font-weight: 400;
	line-height: 1.2;
}

.ec-section-head__title--sm {
	font-size: var(--ec-fs-h2);
}

.ec-section-head__lede {
	max-width: 640px;
	margin: 6px auto 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-lede);
	line-height: 1.45;
}

.ec-section-head__lede--wide {
	max-width: 780px;
}

.ec-section-head__lede--sans {
	max-width: 700px;
	font-family: var(--ec-font-sans);
	color: var(--ec-text-soft);
	line-height: 1.33;
}

/* ==========================================================================
   5. Buttons & links
   ========================================================================== */

.ec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 290px;
	min-height: 60px;
	padding: 10px 32px;
	border: 1px solid transparent;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-primary);
	color: #f1f5f9;
	font-family: var(--ec-font-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color var(--ec-transition), color var(--ec-transition),
		border-color var(--ec-transition);
}

.ec-btn:hover,
.ec-btn:focus-visible {
	background: var(--ec-primary-dark);
	color: var(--ec-white);
}

.ec-btn--bright {
	background: var(--ec-primary);
}

/* Hero "Shop Now!" outline button */
.ec-btn--outline {
	min-width: 255px;
	min-height: 57px;
	border-color: rgba(255, 255, 255, 0.9);
	border-radius: 0;
	background: transparent;
	color: var(--ec-white);
	font-family: var(--ec-font-serif-alt);
	font-size: 22px;
	letter-spacing: 0;
	text-transform: none;
}

.ec-btn--outline:hover,
.ec-btn--outline:focus-visible {
	background: var(--ec-white);
	color: var(--ec-primary);
}

.ec-link {
	display: inline-block;
	padding-bottom: 3px;
	border-bottom: 1px solid var(--ec-text);
	color: var(--ec-primary);
	font-family: var(--ec-font-serif);
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color var(--ec-transition);
}

.ec-link:hover,
.ec-link:focus-visible {
	border-color: var(--ec-primary);
}

/* ==========================================================================
   6. Header (header.php)
   ========================================================================== */

.ec-topbar {
	background: var(--ec-primary);
	color: var(--ec-white);
	font-family: var(--ec-font-ui);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-align: center;
}

.ec-topbar p {
	margin-block: 0;
	padding: 13px 0 14px;
}

.ec-header {
	position: relative;
	z-index: 50;
	background: var(--ec-white);
}

.ec-header__inner {
	display: grid;
	grid-template-columns: 1fr minmax(0, 738px) 1fr;
	grid-template-areas:
		"logo search actions"
		"logo nav actions";
	column-gap: 30px;
	padding: 6px 0 18px;
}

.ec-header__logo {
	grid-area: logo;
	align-self: start;
	justify-self: start;
	display: block;
	line-height: 0;
}

.ec-header__logo img {
	width: 139px;
	height: auto;
}

/* Search */
.ec-search {
	grid-area: search;
	position: relative;
	margin-top: 10px;
}

.ec-search__input {
	width: 100%;
	height: 55px;
	padding: 0 64px 0 26px;
	border: 1px solid var(--ec-border-search);
	border-radius: var(--ec-radius-pill);
	background: var(--ec-white);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
	color: var(--ec-text);
	font-family: var(--ec-font-sans);
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

.ec-search__input::placeholder {
	color: var(--ec-text);
	opacity: 1;
}

.ec-search__input:focus {
	outline: none;
	border-color: var(--ec-primary);
}

.ec-search__submit {
	position: absolute;
	top: 7px;
	right: 8px;
	display: grid;
	place-items: center;
	width: 41px;
	height: 41px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ec-primary);
	color: var(--ec-white);
	cursor: pointer;
}

.ec-search__submit svg {
	width: 18px;
	height: 18px;
}

/* Primary navigation (wp_nav_menu markup) */
.ec-nav {
	grid-area: nav;
	margin-top: 24px;
}

.ec-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-menu .menu-item {
	position: relative;
}

.ec-menu > .menu-item > a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 4px 0;
	color: var(--ec-text);
	font-size: 18px;
	line-height: 1.2;
	text-decoration: none;
	transition: color var(--ec-transition);
}

.ec-menu > .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-top: -4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.ec-menu .menu-item > a:hover,
.ec-menu .menu-item > a:focus-visible,
.ec-menu .current-menu-item > a,
.ec-menu .current-menu-ancestor > a {
	color: var(--ec-primary);
}

.ec-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -20px;
	z-index: 20;
	min-width: 220px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	border-radius: 10px;
	background: var(--ec-white);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--ec-transition), transform var(--ec-transition),
		visibility var(--ec-transition);
}

.ec-menu .menu-item-has-children:hover > .sub-menu,
.ec-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ec-menu .sub-menu a {
	display: block;
	padding: 8px 20px;
	color: var(--ec-text);
	font-size: 16px;
	text-decoration: none;
}

/* Account + cart */
.ec-header__actions {
	grid-area: actions;
	align-self: start;
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 37px;
}

.ec-header-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--ec-text);
	text-decoration: none;
}

.ec-header-link:hover,
.ec-header-link:focus-visible {
	color: var(--ec-primary);
}

/* Icon sizes match the PSD: user 15x18, cart 19x19 */
.ec-header-link__icon {
	flex: none;
	display: block;
}

.ec-header-link__icon--user {
	width: 15px;
	height: 18px;
	margin-top: 8px;
}

.ec-header-link__icon--cart {
	width: 19px;
	height: 19px;
}

.ec-header-link__icon-wrap {
	position: relative;
	flex: none;
	margin-top: 7px;
	margin-right: 14px;
}

.ec-header-link__text {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	line-height: 1.25;
}

.ec-header-link__text strong {
	font-size: 14px;
	font-weight: 400;
}

.ec-header-link__chevron {
	flex: none;
	width: 10px;
	height: 6px;
	margin: 14px 0 0 4px;
}

.ec-header-link__badge {
	position: absolute;
	top: -10px;
	left: 13px;
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 4px;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-primary);
	color: var(--ec-white);
	font-size: 10px;
	letter-spacing: 0.04em;
}

.ec-nav-toggle {
	display: none;
	grid-area: toggle;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ec-border);
	border-radius: 10px;
	background: var(--ec-white);
	color: var(--ec-text);
	cursor: pointer;
}

.ec-nav-toggle svg {
	width: 22px;
	height: 22px;
}

/* ==========================================================================
   7. Slider (shared by hero, brands, products)
   Per-slide width comes from --ec-per-view and --ec-gap.
   ========================================================================== */

.ec-slider {
	--ec-per-view: 1;
	--ec-gap: 30px;
	position: relative;
}

.ec-slider__track {
	display: flex;
	gap: var(--ec-gap);
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	list-style: none;
	overscroll-behavior-x: contain;
}

.ec-slider__track::-webkit-scrollbar {
	display: none;
}

/* position: relative keeps absolutely positioned children (e.g.
   .screen-reader-text) inside the scroll clip */
.ec-slider__slide {
	position: relative;
	flex: 0 0 calc((100% - (var(--ec-per-view) - 1) * var(--ec-gap)) / var(--ec-per-view));
	min-width: 0;
	scroll-snap-align: start;
}

.ec-slider__arrow {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid var(--ec-blue);
	border-radius: 50%;
	background: var(--ec-white);
	color: var(--ec-blue);
	cursor: pointer;
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

.ec-slider__arrow:hover,
.ec-slider__arrow:focus-visible {
	background: var(--ec-blue);
	color: var(--ec-white);
}

.ec-slider__arrow svg {
	width: 16px;
	height: 16px;
}

.ec-slider__dots {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin-top: 43px;
}

.ec-slider__dot {
	width: 15px;
	height: 15px;
	padding: 0;
	border: 0;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-dot);
	cursor: pointer;
	transition: width var(--ec-transition), background-color var(--ec-transition);
}

.ec-slider__dot.is-active {
	background: var(--ec-light-blue);
}

/* Blue dots with a wide active pill (product sliders) */
.ec-slider__dots--pill {
	gap: 7px;
}

.ec-slider__dots--pill .ec-slider__dot {
	background: var(--ec-light-blue);
}

.ec-slider__dots--pill .ec-slider__dot.is-active {
	width: 25px;
}

/* ==========================================================================
   8. Hero
   ========================================================================== */

.ec-hero {
	padding: 24px 0 25px;
	background: var(--ec-bg-hero);
}

.ec-hero .ec-slider {
	--ec-per-view: 2;
	--ec-gap: 37px;
}

/* Each slide is one linked banner image (text is part of the image) */
.ec-hero-slide {
	display: block;
	overflow: hidden;
	aspect-ratio: 920 / 516;
	border-radius: 30px;
	background: var(--ec-primary);
}

.ec-hero-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.ec-hero-slide:hover img,
.ec-hero-slide:focus-visible img {
	transform: scale(1.04);
}

/* ==========================================================================
   9. Partner brands
   ========================================================================== */

.ec-brands {
	padding: 63px 0 0;
}

.ec-brands__slider {
	position: relative;
	width: min(1698px, 100% - var(--ec-gutter) * 2);
	margin-top: 90px;
	padding-inline: 164px;
}

.ec-brands .ec-slider {
	--ec-per-view: 4;
	--ec-gap: 53px;
	position: static;
}

.ec-brands .ec-slider__arrow {
	top: 76px;
}

.ec-brands .ec-slider__arrow--prev {
	left: 0;
}

.ec-brands .ec-slider__arrow--next {
	right: 0;
}

.ec-brand-card {
	padding: 0 0 8px;
	text-align: center;
}

.ec-brand-card__logo {
	display: grid;
	place-items: center;
	width: 232px;
	max-width: 100%;
	height: 106px;
	margin: 0 auto;
	border-radius: 53px;
	background: var(--ec-white);
	box-shadow: var(--ec-shadow-soft);
	transition: transform var(--ec-transition), box-shadow var(--ec-transition);
}

.ec-brand-card__logo:hover,
.ec-brand-card__logo:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(30, 40, 60, 0.14);
}

.ec-brand-card__logo img {
	max-width: 70%;
	max-height: 65px;
	width: auto;
	transition: transform var(--ec-transition);
}

.ec-brand-card__logo:hover img {
	transform: scale(1.06);
}

.ec-brand-card__title {
	margin: 15px 0 0;
	font-family: var(--ec-font-serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.3;
}

.ec-brand-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--ec-transition);
}

.ec-brand-card__title a:hover,
.ec-brand-card__title a:focus-visible {
	color: var(--ec-primary);
}

.ec-brand-card__text {
	max-width: 303px;
	margin: 12px auto 18px;
	font-size: 16px;
	line-height: 1.375;
}

/* Brand slider needs room for the logo shadow */
.ec-brands .ec-slider__track {
	padding: 4px 0 20px;
}

/* ==========================================================================
   10. Product card + grids
   ========================================================================== */

.ec-product-card {
	text-align: center;
}

.ec-product-card__media {
	position: relative;
	aspect-ratio: 240 / 280;
	border: 1px solid var(--ec-border);
	border-radius: 6px;
	background: var(--ec-white);
	transition: box-shadow var(--ec-transition), border-color var(--ec-transition);
}

.ec-product-card__media:hover {
	border-color: transparent;
	box-shadow: 0 12px 28px rgba(30, 40, 60, 0.12);
}

.ec-product-card__image {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: inherit;
}

/* Product packs have different shapes; keep them inside the box */
.ec-product-card__image img {
	width: auto;
	max-width: 64%;
	max-height: 80%;
	transition: transform 0.4s ease;
}

.ec-product-card__media:hover .ec-product-card__image img {
	transform: scale(1.07);
}

/* "+" quick add button (shop, related products) */
.ec-product-card__add {
	position: absolute;
	right: 8px;
	bottom: 8px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ec-white);
	box-shadow: 0 2px 8px rgba(30, 40, 60, 0.18);
	color: var(--ec-text);
	cursor: pointer;
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

.ec-product-card__add svg {
	width: 11px;
	height: 11px;
}

.ec-product-card__add:hover,
.ec-product-card__add:focus-visible {
	background: var(--ec-primary);
	color: var(--ec-white);
}

.ec-product-card__title {
	margin: 20px 0 0;
	font-family: var(--ec-font-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.43;
}

.ec-product-card__title a {
	color: var(--ec-price);
	text-decoration: none;
}

.ec-product-card__title a:hover {
	color: var(--ec-primary);
}

.ec-product-card__price {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin: 8px 0 0;
	color: var(--ec-price);
	font-size: 20px;
	line-height: 1.2;
}

.ec-product-card__price del {
	color: inherit;
}

.ec-product-card__price ins {
	font-weight: 600;
	text-decoration: none;
}

.ec-product-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 40px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ==========================================================================
   11. Best selling
   ========================================================================== */

.ec-best {
	padding: 95px 0 0;
}

.ec-category-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 27px;
	width: fit-content;
	max-width: 100%;
	margin: 33px auto 0;
	padding: 17px 40px;
	border: 1px solid var(--ec-orange);
	border-radius: var(--ec-radius-pill);
	background: var(--ec-white);
	box-shadow: 0 0 8px rgba(45, 189, 241, 0.28);
	list-style: none;
}

.ec-category-bar a {
	color: var(--ec-text);
	font-family: var(--ec-font-serif);
	font-size: 18px;
	line-height: 1.5;
	text-decoration: none;
	transition: color var(--ec-transition);
}

.ec-category-bar a:hover,
.ec-category-bar a:focus-visible,
.ec-category-bar a[aria-current="page"] {
	color: var(--ec-primary);
}

.ec-best .ec-slider {
	--ec-per-view: 6;
	--ec-gap: 32px;
	margin-top: 36px;
}

.ec-best .ec-slider__dots {
	margin-top: 50px;
}

/* ==========================================================================
   12. Feature split (text + image collage)
   ========================================================================== */

.ec-feature {
	overflow-x: clip;
	padding: 74px 0 78px;
}

.ec-feature__inner {
	display: grid;
	grid-template-columns: minmax(0, 694px) minmax(0, 1fr);
	align-items: center;
	gap: 80px;
}

.ec-feature__title {
	max-width: 480px;
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-h1);
	font-weight: 400;
	line-height: 1.09;
}

.ec-feature__text {
	margin: 20px 0 22px;
	font-size: 18px;
	line-height: 1.33;
}

.ec-feature__media {
	position: relative;
}

/* Collage reaches 19px from the viewport edge like the PSD */
.ec-feature__media--collage {
	aspect-ratio: 933 / 582;
	margin-right: calc((min(var(--ec-container), 100vw - var(--ec-gutter) * 2) - 100vw) / 2 + 19px);
}

/* About page map */
.ec-feature--map {
	padding: 100px 0 80px;
}

.ec-feature__media--map img {
	display: block;
	width: 100%;
	max-width: 814px;
	margin-left: auto;
}

/* Single photo (inner pages) */
.ec-feature__media--single {
	overflow: hidden;
	aspect-ratio: 752 / 493;
	border: 10px solid var(--ec-light-blue);
	border-radius: clamp(60px, 8vw, 150px);
}

.ec-feature__media--single img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ec-feature__img {
	position: absolute;
	display: block;
	overflow: hidden;
	border-radius: 42%;
}

.ec-feature__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ec-feature__img--lg {
	top: 0;
	right: 0;
	width: 62.4%;
	height: 100%;
}

.ec-feature__img--sm {
	top: 11.2%;
	left: 0;
	z-index: 1;
	width: 48.4%;
	height: 77.6%;
	border: 10px solid var(--ec-bg-ring);
}

/* ==========================================================================
   13. Commercial banner
   ========================================================================== */

.ec-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 634px;
	padding: 80px 0;
	overflow: hidden;
	background: #1d1a17 url("../images/commercial-bg.jpg") center / cover no-repeat;
	color: var(--ec-white);
}

.ec-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.35) 100%);
}

.ec-banner__inner {
	position: relative;
	text-align: right;
}

.ec-banner__content {
	max-width: 800px;
	margin-left: auto;
}

.ec-banner__title {
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-display);
	font-weight: 400;
	line-height: 1.05;
}

.ec-banner__text {
	margin: 28px 0 26px;
	font-family: var(--ec-font-serif);
	font-size: clamp(18px, 1.15vw, 22px);
	line-height: 1.36;
}

/* ==========================================================================
   14. Panel: Just arrived + Nationwide distribution
   ========================================================================== */

.ec-panel {
	width: min(1817px, 100% - var(--ec-gutter) * 2);
	margin: 114px auto 0;
	padding: 76px 0 calc(var(--ec-panel-overlap) + 54px);
	background: var(--ec-bg-panel);
}

.ec-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	margin-top: 26px;
}

.ec-tabs__tab {
	min-height: 44px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: var(--ec-radius-pill);
	background: transparent;
	color: var(--ec-text);
	font-family: var(--ec-font-serif);
	font-size: 18px;
	cursor: pointer;
	transition: border-color var(--ec-transition), box-shadow var(--ec-transition);
}

.ec-tabs__tab:hover {
	color: var(--ec-primary);
}

.ec-tabs__tab.is-active {
	border-color: var(--ec-orange);
	box-shadow: 0 0 8px rgba(45, 189, 241, 0.28);
	color: var(--ec-text);
}

.ec-arrivals .ec-product-grid {
	margin-top: 38px;
}

.ec-tab-panel[hidden] {
	display: none;
}

.ec-distribution {
	padding-top: 117px;
}

.ec-distribution__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 99px;
	margin-top: calc(var(--ec-panel-overlap) * -1);
}

.ec-dist-card {
	text-align: center;
}

.ec-dist-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 752 / 493;
	border: 10px solid var(--ec-light-blue);
	border-radius: clamp(70px, 8.5vw, 160px);
	background: var(--ec-bg-panel);
}

.ec-dist-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ec-dist-card__title {
	margin: 28px 0 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-h2);
	font-weight: 400;
	line-height: 1.2;
}

.ec-dist-card__text {
	max-width: 530px;
	margin: 12px auto 24px;
	font-family: var(--ec-font-serif);
	font-size: 18px;
	line-height: 1.22;
}

/* ==========================================================================
   15. Convenience features
   ========================================================================== */

.ec-features {
	margin-top: 101px;
	padding: 124px 0 145px;
	background: var(--ec-bg-slate);
}

.ec-features__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 40px 64px;
	margin: 53px 0 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.ec-feature-item__icon {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 143px;
}

.ec-feature-item__icon img {
	max-height: 143px;
	width: auto;
}

.ec-feature-item__title {
	margin: 29px 0 0;
	font-family: var(--ec-font-serif);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.034em;
}

.ec-feature-item__text {
	margin: 13px 0 0;
	font-size: 14px;
	line-height: 1.29;
}

/* ==========================================================================
   16. Blog
   ========================================================================== */

.ec-blog {
	padding: 94px 0 0;
}

.ec-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 31px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.ec-post-card__media {
	display: block;
	overflow: hidden;
	border-radius: 30px;
	box-shadow: 0 10px 30px rgba(20, 30, 50, 0.12);
}

.ec-post-card__media img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.4s ease;
}

.ec-post-card__media:hover img {
	transform: scale(1.04);
}

.ec-post-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 0;
	color: var(--ec-muted);
	font-size: 18px;
	line-height: 1.33;
}

.ec-post-card__meta svg {
	flex: none;
	width: 42px;
	height: 14px;
	margin-right: 2px;
	color: var(--ec-text);
}

.ec-post-card__meta a {
	color: inherit;
	text-decoration: none;
}

.ec-post-card__meta a:hover {
	color: var(--ec-primary);
}

.ec-post-card__sep {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ec-text);
}

.ec-post-card__title {
	margin: 12px 0 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-card-title);
	font-weight: 400;
	line-height: 1.3;
}

.ec-post-card__title a {
	color: var(--ec-text);
	text-decoration: none;
}

.ec-post-card__title a:hover {
	color: var(--ec-primary);
}

.ec-post-card__excerpt {
	max-width: 465px;
	margin: 12px 0 0;
	color: var(--ec-text-soft);
	font-size: 16px;
	line-height: 1.25;
}

/* ==========================================================================
   17. Footer (footer.php)
   ========================================================================== */

.ec-footer {
	position: relative;
	margin-top: 103px;
	color: var(--ec-text-dark);
}

/* Faded skyline photo behind the footer */
.ec-footer::before {
	content: "";
	position: absolute;
	inset: 166px 0 0;
	background: url("../images/footer-bg.jpg") center bottom / cover no-repeat;
	filter: grayscale(1);
	opacity: 0.47;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
}

.ec-footer > * {
	position: relative;
}

/* Newsletter */
.ec-newsletter {
	width: min(1318px, 100% - var(--ec-gutter) * 2);
	margin: 0 auto;
	padding: 40px 41px;
	border-radius: 40px 40px 0 0;
	background: var(--ec-primary);
	color: var(--ec-white);
}

.ec-newsletter__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 630px);
	align-items: center;
	gap: 30px 60px;
}

.ec-newsletter__title {
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: clamp(22px, 1.5vw, 28px);
	font-weight: 400;
	line-height: 1.3;
}

.ec-newsletter__text {
	max-width: 480px;
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.375;
}

.ec-newsletter__form {
	display: flex;
	align-items: center;
	height: 61px;
	padding: 5px;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-white);
}

.ec-newsletter__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 16px;
	border: 0;
	background: transparent;
	color: var(--ec-text);
	font-family: var(--ec-font-sans);
	font-size: 16px;
}

.ec-newsletter__input::placeholder {
	color: #464646;
	opacity: 1;
}

.ec-newsletter__input:focus {
	outline: none;
}

.ec-newsletter__submit {
	flex: none;
	width: 163px;
	height: 51px;
	border: 0;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-primary);
	color: var(--ec-white);
	font-family: var(--ec-font-sans);
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color var(--ec-transition);
}

.ec-newsletter__submit:hover,
.ec-newsletter__submit:focus-visible {
	background: var(--ec-primary-dark);
}

/* Footer columns */
.ec-footer__main {
	display: grid;
	grid-template-columns: 533fr 322fr 266fr 233fr 246fr;
	gap: 40px 0;
	padding: 105px 0 120px;
}

.ec-footer__logo img {
	width: 245px;
	height: auto;
}

.ec-footer__about {
	max-width: 367px;
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.29;
}

.ec-footer__subtitle {
	margin: 26px 0 0;
	font-family: var(--ec-font-sans);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
}

.ec-footer__subtitle--ui {
	margin-top: 30px;
	font-family: var(--ec-font-ui);
}

.ec-social {
	display: flex;
	gap: 9px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.ec-social a {
	display: grid;
	place-items: center;
	width: 43px;
	height: 43px;
	border-radius: 50%;
	background: var(--ec-primary);
	color: var(--ec-white);
	transition: background-color var(--ec-transition);
}

.ec-social a:hover,
.ec-social a:focus-visible {
	background: var(--ec-primary-dark);
}

.ec-social svg {
	width: 18px;
	height: 18px;
}

.ec-payments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.ec-payments img {
	display: block;
	height: 26px;
	width: auto;
}

.ec-footer__heading {
	margin: 0 0 14px;
	font-family: var(--ec-font-sans);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
}

.ec-footer__heading--ui {
	font-family: var(--ec-font-ui);
}

/* Footer menus (wp_nav_menu markup) */
.ec-footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-footer-menu--ui {
	font-family: var(--ec-font-ui);
}

.ec-footer-menu a {
	color: var(--ec-text-dark);
	font-size: 16px;
	line-height: 30px;
	text-decoration: none;
	transition: color var(--ec-transition);
}

.ec-footer-menu a:hover,
.ec-footer-menu a:focus-visible {
	color: var(--ec-primary);
}

.ec-footer-contact {
	margin: 0;
	font-family: var(--ec-font-ui);
	font-size: 16px;
	font-style: normal;
	line-height: 30px;
}

.ec-footer-contact strong {
	display: block;
	font-size: 18px;
	font-weight: 500;
}

.ec-footer-contact a {
	color: inherit;
	text-decoration: none;
}

.ec-footer-contact a:hover {
	color: var(--ec-primary);
}

.ec-footer__bottom {
	background: var(--ec-text);
	color: var(--ec-white);
	font-size: 14px;
	text-align: center;
}

.ec-footer__bottom p {
	margin-block: 0;
	padding: 16px 0;
}

/* ==========================================================================
   18. Responsive
   ========================================================================== */

@media (max-width: 1399px) {
	.ec-brands__slider {
		padding-inline: 80px;
	}

	.ec-best .ec-slider {
		--ec-per-view: 5;
	}

	.ec-product-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.ec-arrivals .ec-product-grid > :nth-child(n + 11) {
		display: none;
	}

	.ec-feature__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		gap: 50px;
	}

	.ec-features__grid {
		gap: 40px 30px;
	}

	.ec-footer__main {
		grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
		gap: 40px 24px;
	}
}

@media (max-width: 1199px) {
	.ec-header__inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		column-gap: 24px;
	}

	.ec-menu {
		gap: 0 24px;
	}

	.ec-menu > .menu-item > a {
		font-size: 16px;
	}

	.ec-brands .ec-slider {
		--ec-per-view: 3;
		--ec-gap: 30px;
	}

	.ec-best .ec-slider {
		--ec-per-view: 4;
		--ec-gap: 24px;
	}

	.ec-product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px 24px;
	}

	.ec-arrivals .ec-product-grid > :nth-child(n + 9) {
		display: none;
	}

	.ec-features__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ec-distribution__grid {
		gap: 40px;
	}

	.ec-footer__main {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ec-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 991px) {
	.ec-topbar {
		font-size: 13px;
		letter-spacing: 0.05em;
	}

	.ec-topbar p {
		padding: 10px 0;
	}

	.ec-header__inner {
		grid-template-columns: auto 1fr auto auto;
		grid-template-areas:
			"logo . actions toggle"
			"search search search search"
			"nav nav nav nav";
		align-items: center;
		gap: 14px 16px;
		padding: 12px 0 14px;
	}

	.ec-header__logo img {
		width: 110px;
	}

	.ec-header__actions {
		margin-top: 0;
		gap: 16px;
	}

	.ec-nav-toggle {
		display: inline-flex;
	}

	.ec-search {
		margin-top: 0;
	}

	.ec-search__input {
		height: 48px;
	}

	.ec-search__submit {
		top: 4px;
		width: 40px;
		height: 40px;
	}

	.ec-nav {
		display: none;
		margin-top: 0;
		border-top: 1px solid var(--ec-border);
	}

	.ec-nav.is-open {
		display: block;
	}

	.ec-menu {
		flex-direction: column;
		gap: 0;
	}

	.ec-menu > .menu-item {
		border-bottom: 1px solid var(--ec-border);
	}

	.ec-menu > .menu-item > a {
		width: 100%;
		padding: 13px 0;
	}

	.ec-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 10px 16px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.ec-menu .sub-menu a {
		padding: 6px 0;
	}

	.ec-hero .ec-slider {
		--ec-per-view: 1;
		--ec-gap: 20px;
	}

	.ec-hero .ec-slider__dots {
		margin-top: 24px;
	}

	.ec-brands__slider {
		margin-top: 50px;
		padding-inline: 60px;
	}

	.ec-brands .ec-slider {
		--ec-per-view: 2;
	}

	.ec-best {
		padding-top: 70px;
	}

	.ec-best .ec-slider {
		--ec-per-view: 3;
	}

	.ec-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ec-arrivals .ec-product-grid > :nth-child(n + 7) {
		display: none;
	}

	.ec-feature__inner {
		grid-template-columns: 1fr;
	}

	.ec-feature__media {
		width: min(100%, 640px);
		margin: 0 auto;
	}

	.ec-banner {
		min-height: 480px;
	}

	:root {
		--ec-panel-overlap: 160px;
	}

	.ec-panel {
		margin-top: 70px;
		padding-top: 60px;
	}

	.ec-distribution {
		padding-top: 80px;
	}

	.ec-distribution__grid {
		grid-template-columns: 1fr;
		max-width: 640px;
		margin-inline: auto;
	}

	.ec-features {
		margin-top: 70px;
		padding: 80px 0;
	}

	.ec-blog {
		padding-top: 70px;
	}

	.ec-blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ec-newsletter__inner {
		grid-template-columns: 1fr;
	}

	.ec-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 60px 0;
	}
}

@media (max-width: 767px) {
	.ec-header-link__text,
	.ec-header-link__chevron {
		display: none;
	}

	.ec-hero-slide {
		border-radius: 16px;
	}

	.ec-brands__slider {
		padding-inline: 0;
	}

	.ec-brands .ec-slider {
		--ec-per-view: 1;
	}

	.ec-brands .ec-slider__arrow {
		display: none;
	}

	.ec-category-bar {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: 100%;
		overflow-x: auto;
		padding: 12px 24px;
		scrollbar-width: none;
	}

	.ec-category-bar li {
		flex: none;
	}

	.ec-best .ec-slider {
		--ec-per-view: 2;
		--ec-gap: 16px;
	}

	.ec-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 16px;
	}

	.ec-arrivals .ec-product-grid > :nth-child(n + 5) {
		display: none;
	}

	.ec-product-card__price {
		gap: 10px;
		font-size: 17px;
	}

	.ec-btn {
		min-width: 220px;
		min-height: 52px;
	}

	.ec-banner__inner {
		text-align: left;
	}

	.ec-banner::before {
		background: rgba(0, 0, 0, 0.45);
	}

	:root {
		--ec-panel-overlap: 100px;
	}

	.ec-panel {
		width: 100%;
	}

	.ec-features__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 20px;
	}

	.ec-feature-item__icon {
		height: 100px;
	}

	.ec-feature-item__icon img {
		max-height: 100px;
	}

	.ec-blog__grid {
		grid-template-columns: 1fr;
	}

	.ec-newsletter {
		padding: 30px 20px;
		border-radius: 24px 24px 0 0;
	}

	.ec-newsletter__submit {
		width: 120px;
	}

	.ec-footer__main {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 479px) {
	.ec-features__grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ec-slider__track {
		scroll-behavior: auto;
	}

	.ec-site *,
	.ec-site *::before,
	.ec-site *::after {
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   19. Sticky header
   The header scrolls normally; once it leaves the viewport main.js adds
   .is-sticky and it comes back as a compact fixed bar.
   --wp-admin--admin-bar--height is set by WordPress when the admin bar shows.
   ========================================================================== */

.ec-header-wrap {
	position: relative;
	z-index: 50;
}

.ec-header.is-sticky {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	right: 0;
	left: 0;
	box-shadow: 0 6px 24px rgba(20, 30, 50, 0.1);
	animation: ec-header-in 0.35s ease;
}

@keyframes ec-header-in {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}

@media (min-width: 992px) {
	.ec-header.is-sticky .ec-header__inner {
		grid-template-columns: auto minmax(0, 1fr) minmax(0, 300px) auto;
		grid-template-areas: "logo nav search actions";
		align-items: center;
		column-gap: 28px;
		padding: 10px 0;
	}

	.ec-header.is-sticky .ec-header__logo {
		align-self: center;
	}

	.ec-header.is-sticky .ec-header__logo img {
		width: 92px;
	}

	.ec-header.is-sticky .ec-search {
		margin-top: 0;
	}

	.ec-header.is-sticky .ec-search__input {
		height: 42px;
		padding-left: 18px;
		font-size: 14px;
	}

	.ec-header.is-sticky .ec-search__submit {
		top: 5px;
		right: 5px;
		width: 32px;
		height: 32px;
	}

	.ec-header.is-sticky .ec-search__submit svg {
		width: 15px;
		height: 15px;
	}

	.ec-header.is-sticky .ec-nav {
		margin-top: 0;
	}

	.ec-header.is-sticky .ec-menu {
		justify-content: flex-start;
		gap: 0 26px;
	}

	.ec-header.is-sticky .ec-menu > .menu-item > a {
		font-size: 16px;
	}

	.ec-header.is-sticky .ec-header__actions {
		align-self: center;
		margin-top: 0;
	}
}

@media (min-width: 992px) and (max-width: 1399px) {
	.ec-header.is-sticky .ec-header__inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "logo nav actions";
	}

	.ec-header.is-sticky .ec-search {
		display: none;
	}
}

@media (max-width: 991px) {
	.ec-header.is-sticky .ec-header__inner {
		grid-template-areas:
			"logo . actions toggle"
			"nav nav nav nav";
		padding: 8px 0;
	}

	.ec-header.is-sticky .ec-search {
		display: none;
	}

	.ec-header.is-sticky .ec-header__logo img {
		width: 88px;
	}
}

/* ==========================================================================
   20. Image hover + shared bits
   ========================================================================== */

/* Wrap any image in .ec-zoom for a soft zoom on hover */
.ec-zoom {
	overflow: hidden;
}

.ec-zoom img {
	transition: transform 0.6s ease;
}

.ec-zoom:hover img,
.ec-zoom:focus-visible img {
	transform: scale(1.05);
}

.ec-search__input {
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), 0 0 6px rgba(45, 189, 241, 0.12);
}

.ec-dist-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--ec-transition);
}

.ec-dist-card__title a:hover,
.ec-dist-card__title a:focus-visible {
	color: var(--ec-primary);
}

.ec-container--narrow {
	width: min(900px, 100% - var(--ec-gutter) * 2);
}

.ec-section-head--left {
	margin: 0;
	text-align: left;
}

.ec-section-head__pretitle--sm {
	font-size: 18px;
}

.ec-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #6d6d6d;
	font-size: 16px;
}

.ec-breadcrumb li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ec-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.ec-breadcrumb a:hover {
	color: var(--ec-primary);
}

.ec-breadcrumb svg {
	width: 12px;
	height: 12px;
	color: var(--ec-primary);
}

.ec-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	margin-top: 60px;
}

.ec-pagination ul {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-pagination li > * {
	display: grid;
	place-items: center;
	min-width: 32px;
	height: 32px;
	border-radius: 8px;
	color: #747474;
	font-size: 18px;
	text-decoration: none;
}

.ec-pagination a:hover,
.ec-pagination [aria-current] {
	color: var(--ec-primary);
}

.ec-pagination [aria-current] {
	font-weight: 600;
}

.ec-pagination__arrow {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ec-white);
	box-shadow: 0 3px 12px rgba(30, 40, 60, 0.14);
	color: var(--ec-primary);
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

.ec-pagination__arrow svg {
	width: 16px;
	height: 16px;
}

.ec-pagination__arrow:hover {
	background: var(--ec-primary);
	color: var(--ec-white);
}

/* Accordion (product tabs, FAQ) - native <details> */
.ec-accordion__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 10px 0;
	color: var(--ec-text-soft);
	font-family: var(--ec-font-serif);
	font-size: 22px;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.ec-accordion__title::-webkit-details-marker {
	display: none;
}

.ec-accordion__title svg {
	flex: none;
	width: 26px;
	height: 26px;
	color: var(--ec-primary);
	transition: transform var(--ec-transition);
}

.ec-accordion[open] > .ec-accordion__title svg {
	transform: rotate(180deg);
}

.ec-accordion__body {
	padding: 4px 0 12px;
	color: var(--ec-text-soft);
	font-size: 16px;
	line-height: 1.375;
}

.ec-accordion__body p {
	margin: 0 0 10px;
}

.ec-accordion__lead {
	max-width: 520px;
	font-family: var(--ec-font-serif);
	font-size: 18px;
	line-height: 1.45;
}

/* ==========================================================================
   21. Page banner (inner pages)
   ========================================================================== */

/* The real image sets the banner height; a filled-in title / text sits on it
   (below it on phones, see theme.css) */
.ec-page-banner {
	position: relative;
	overflow: hidden;
	background: #2b2b2b;
	color: var(--ec-white);
	text-align: center;
}

.ec-page-banner__bg {
	display: block;
	width: 100%;
	height: auto;
}

.ec-page-banner__inner {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-inline: auto;
}

.ec-page-banner__title {
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: clamp(40px, 3.5vw, 66px);
	font-weight: 400;
	line-height: 1.1;
}

.ec-page-banner__text {
	max-width: 520px;
	margin: 14px auto 0;
	font-family: var(--ec-font-serif);
	font-size: clamp(18px, 1.15vw, 22px);
	line-height: 1.2;
}

/* ==========================================================================
   22. About page
   ========================================================================== */

.ec-intro {
	padding: 120px 0 105px;
}

.ec-intro__inner {
	display: grid;
	grid-template-columns: minmax(0, 702px) minmax(0, 672px);
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.ec-intro__title {
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: clamp(38px, 3.5vw, 66px);
	font-weight: 400;
	line-height: 1.09;
}

.ec-intro__text {
	margin: 26px 0 44px;
	font-family: var(--ec-font-serif);
	font-size: 18px;
	line-height: 1.33;
}

.ec-intro__text p {
	margin: 0 0 24px;
}

.ec-intro__media {
	aspect-ratio: 672 / 835;
	border-radius: 70px 100px 120px 0;
}

.ec-intro__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ec-brands--tinted {
	padding: 78px 0 70px;
	background: var(--ec-bg-hero);
}

/* Target clients */
.ec-clients {
	padding: 115px 0 110px;
}

.ec-clients__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 30px 37px;
	margin: 60px 0 0;
	padding: 0;
	list-style: none;
}

.ec-client-card {
	position: relative;
	display: block;
	aspect-ratio: 291 / 363;
	border: 5px solid #f1f5f9;
	border-radius: 34px;
	box-shadow: 0 4px 16px rgba(30, 40, 60, 0.1);
	color: var(--ec-white);
	text-decoration: none;
}

.ec-client-card img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 29px;
	object-fit: cover;
}

.ec-client-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 29px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0, rgba(0, 0, 0, 0) 55%);
}

.ec-client-card__body {
	position: absolute;
	right: 12px;
	bottom: 26px;
	left: 12px;
	z-index: 1;
	text-align: center;
}

.ec-client-card__title {
	display: block;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
}

.ec-client-card__text {
	display: block;
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.25;
}

/* How it works */
.ec-how {
	position: relative;
	display: flex;
	min-height: 852px;
	overflow: hidden;
	color: var(--ec-white);
}

.ec-how__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ec-how__panel {
	position: relative;
	display: flex;
	align-items: center;
	width: max(50.1%, 760px);
	padding: 100px 60px 100px max(var(--ec-gutter), (100vw - var(--ec-container)) / 2);
	border-radius: 0 260px 260px 0;
	background: rgba(112, 18, 20, 0.86);
}

.ec-how__content {
	max-width: 702px;
}

.ec-how__pretitle {
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-pretitle);
	line-height: 1.2;
}

.ec-how__title {
	margin: 8px 0 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-h1);
	font-weight: 400;
	line-height: 1.2;
}

.ec-how__text {
	margin: 22px 0 0;
	font-family: var(--ec-font-serif);
	font-size: 18px;
	line-height: 1.45;
}

.ec-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 40px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
	font-family: var(--ec-font-serif);
}

.ec-steps__item {
	position: relative;
	padding-left: 30px;
}

.ec-steps__item > svg {
	position: absolute;
	top: 8px;
	left: 0;
	width: 14px;
	height: 10px;
}

.ec-steps__title {
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
}

.ec-steps__text {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.5;
}

.ec-features--plain {
	margin-top: 0;
	padding: 110px 0 40px;
	background: none;
}

/* Brands page grid */
.ec-brand-list {
	padding: 90px 0 100px;
}

.ec-brand-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 60px 40px;
	margin: 70px 0 0;
	padding: 0;
	list-style: none;
}

/* ==========================================================================
   23. Shop (category) page
   ========================================================================== */

.ec-shop-banner {
	position: relative;
	overflow: hidden;
	background: #eeebe4;
}

/* The real image sets the banner height; a filled-in title / text sits on it
   (below it on phones, see theme.css) */
.ec-shop-banner__bg {
	display: block;
	width: 100%;
	height: auto;
}

.ec-shop-banner__inner {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-inline: auto;
	color: #32363a;
}

.ec-shop-banner__title {
	max-width: 620px;
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: clamp(40px, 3.9vw, 75px);
	font-weight: 400;
	line-height: 1.01;
}

.ec-shop-banner__text {
	max-width: 680px;
	margin: 12px 0 0;
	font-family: var(--ec-font-serif);
	font-size: clamp(18px, 1.15vw, 22px);
	line-height: 1.27;
}

.ec-shop {
	padding: 64px 0 40px;
}

.ec-shop__inner {
	display: grid;
	grid-template-columns: 322px minmax(0, 1fr);
	align-items: start;
	gap: 74px;
}

/* Filters */
.ec-filter-toggle__summary {
	display: none;
}

.ec-filter {
	color: #434343;
}

.ec-filter + .ec-filter {
	margin-top: 36px;
}

.ec-filter--card {
	padding: 18px 32px 22px 36px;
	border: 1px solid #e3e7ef;
	border-radius: 22px;
	background: var(--ec-white);
	box-shadow: 0 2px 10px rgba(30, 40, 60, 0.06);
}

.ec-filter__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 0 4px 0 44px;
	font-family: var(--ec-font-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	list-style: none;
	cursor: pointer;
}

.ec-filter--card .ec-filter__title {
	padding-left: 0;
}

.ec-filter__title::-webkit-details-marker {
	display: none;
}

.ec-filter__title svg {
	width: 16px;
	height: 16px;
	transition: transform var(--ec-transition);
}

.ec-filter:not([open]) > .ec-filter__title svg {
	transform: rotate(-90deg);
}

.ec-filter__list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.ec-filter__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 0;
	border-bottom: 1px solid #d0d2db;
	color: inherit;
	font-size: 16px;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: color var(--ec-transition);
}

.ec-filter__list li:last-child a {
	border-bottom: 0;
}

.ec-filter__list a:hover,
.ec-filter__list a[aria-current] {
	color: var(--ec-primary);
}

.ec-filter__list svg {
	width: 14px;
	height: 14px;
	color: #232f3e;
}

.ec-filter__list--pills a {
	padding: 8px 32px 8px 42px;
	border: 1px solid transparent;
	border-radius: var(--ec-radius-pill);
}

.ec-filter__list--pills li a {
	border-bottom: 1px solid transparent;
}

.ec-filter__list--pills a[aria-current] {
	border-color: #e3e7ef;
	box-shadow: 0 2px 10px rgba(30, 40, 60, 0.08);
	color: #434343;
}

/* Toolbar */
.ec-shop__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 40px;
	margin-bottom: 35px;
}

.ec-shop__toolbar > div {
	margin-right: auto;
}

.ec-shop__title {
	margin: 0;
	color: var(--ec-primary);
	font-family: var(--ec-font-serif);
	font-size: 26px;
	font-weight: 400;
	line-height: 1.2;
}

.ec-shop__subtitle {
	margin: 2px 0 0;
	font-size: 18px;
}

.ec-shop__count {
	margin: 0;
	color: #434343;
	font-size: 14px;
}

.ec-sort {
	display: flex;
	align-items: center;
	height: 43px;
	padding: 0 14px 0 24px;
	border: 1px solid #c9d6e6;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-white);
	box-shadow: 0 2px 8px rgba(5, 81, 148, 0.08);
	color: #434343;
	font-size: 14px;
}

.ec-sort__label {
	padding-right: 10px;
	border-right: 2px solid var(--ec-blue);
	line-height: 1.6;
}

.ec-sort__select {
	padding: 0 26px 0 10px;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23055194' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 14px no-repeat;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.ec-product-grid--shop {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 50px 26px;
}

.ec-product-grid--shop .ec-product-card__media {
	aspect-ratio: 220 / 270;
}

/* ==========================================================================
   24. Product page
   ========================================================================== */

.ec-product {
	padding: 35px 0 80px;
	background: #f0f4f9;
}

.ec-product .ec-breadcrumb {
	max-width: 648px;
	padding-bottom: 12px;
	border-bottom: 1px solid #b1b5b7;
}

.ec-product__inner {
	display: grid;
	grid-template-columns: minmax(0, 802fr) minmax(0, 645fr);
	max-width: 1491px;
	gap: 44px;
	margin-top: 22px;
}

.ec-gallery {
	display: grid;
	grid-template-columns: 136px minmax(0, 1fr);
	align-items: start;
	gap: 19px;
}

.ec-gallery__thumbs {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-gallery__thumb {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	padding: 12px;
	border: 1px solid #d6dbe3;
	border-radius: 14px;
	background: var(--ec-white);
	cursor: pointer;
	transition: border-color var(--ec-transition);
}

.ec-gallery__thumb img {
	max-height: 100%;
	width: auto;
}

.ec-gallery__thumb:hover,
.ec-gallery__thumb.is-active {
	border-color: var(--ec-primary);
}

.ec-gallery__main {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	padding: 9%;
	border: 1px solid #d6dbe3;
	border-radius: 20px;
	background: var(--ec-white);
}

.ec-gallery__main {
	position: relative;
}

.ec-gallery__main img {
	position: absolute;
	inset: 9%;
	width: 82%;
	height: 82%;
	object-fit: contain;
}

.ec-product__title {
	margin: 0;
	color: var(--ec-text-soft);
	font-family: var(--ec-font-serif);
	font-size: clamp(26px, 1.7vw, 32px);
	font-weight: 400;
	line-height: 1.3;
}

.ec-product__price {
	display: flex;
	align-items: baseline;
	gap: 18px;
	margin: 22px 0 26px;
}

.ec-product__price del {
	color: var(--ec-text-soft);
	font-family: var(--ec-font-ui);
	font-size: 30px;
	font-weight: 500;
	text-decoration-color: var(--ec-light-blue);
}

.ec-product__price ins {
	color: var(--ec-primary);
	font-size: 46px;
	font-weight: 500;
	text-decoration: none;
}

.ec-cart-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}

.ec-qty__label {
	color: #282727;
	font-size: 18px;
}

.ec-qty {
	position: relative;
	width: 82px;
	height: 60px;
}

.ec-qty__input {
	width: 100%;
	height: 100%;
	padding: 0 28px 0 16px;
	border: 1px solid #dcdfe4;
	border-radius: 6px;
	background: var(--ec-white);
	color: #6d6d6d;
	font-family: var(--ec-font-sans);
	font-size: 30px;
	font-weight: 300;
	-moz-appearance: textfield;
	appearance: textfield;
}

.ec-qty__input::-webkit-inner-spin-button,
.ec-qty__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ec-qty__btn {
	position: absolute;
	right: 6px;
	display: grid;
	place-items: center;
	width: 20px;
	height: 22px;
	padding: 0;
	border: 0;
	background: none;
	color: #325c6d;
	cursor: pointer;
}

.ec-qty__btn svg {
	width: 14px;
	height: 14px;
}

.ec-qty__btn--up {
	top: 6px;
}

.ec-qty__btn--up svg {
	transform: rotate(180deg);
}

.ec-qty__btn--down {
	bottom: 6px;
}

.ec-btn--cart {
	min-width: 281px;
	min-height: 58px;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: none;
}

.ec-product__delivery {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 22px 0 18px;
	font-family: var(--ec-font-serif);
	font-size: 14px;
	line-height: 1.3;
}

.ec-product__summary .ec-accordion {
	border-bottom: 1px solid #d1dce0;
}

.ec-product__summary .ec-accordion[open] {
	border-bottom-color: transparent;
}

.ec-product__subtitle {
	margin: 26px 0 16px;
	color: var(--ec-text-soft);
	font-family: var(--ec-font-serif);
	font-size: 22px;
	font-weight: 400;
}

.ec-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-chips li {
	padding: 6px 14px;
	border: 1px solid var(--ec-primary);
	border-radius: 6px;
	color: var(--ec-text-soft);
	font-family: var(--ec-font-serif);
	font-size: 18px;
}

.ec-related {
	padding: 100px 0 0;
}

.ec-related .ec-section-head__title,
.ec-related .ec-section-head__lede {
	color: var(--ec-text-soft);
}

.ec-product-grid--related {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 40px 35px;
	margin-top: 42px;
}

.ec-product-grid--related .ec-product-card__media {
	aspect-ratio: 293 / 360;
}

.ec-product-grid--related .ec-product-card__title {
	font-size: 16px;
}

.ec-product-grid--related .ec-product-card__price {
	font-size: 24px;
}

.ec-best--flat {
	padding: 90px 0 0;
}

.ec-product-grid--spaced {
	margin-top: 40px;
}

/* ==========================================================================
   25. Forms (Contact Form 7 / WPForms markup works inside .ec-form)
   ========================================================================== */

.ec-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
}

.ec-form p {
	margin: 0;
}

.ec-form__field--full,
.ec-form__actions {
	grid-column: 1 / -1;
}

.ec-form label {
	display: block;
	margin-bottom: 8px;
	color: var(--ec-text);
	font-size: 15px;
	font-weight: 500;
}

.ec-form label span {
	color: var(--ec-primary);
}

.ec-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.ec-form select,
.ec-form textarea {
	width: 100%;
	height: 54px;
	padding: 0 18px;
	border: 1px solid #d6dbe3;
	border-radius: 12px;
	background: var(--ec-white);
	color: var(--ec-text);
	font-family: var(--ec-font-sans);
	font-size: 16px;
	transition: border-color var(--ec-transition), box-shadow var(--ec-transition);
}

.ec-form select {
	padding-right: 44px;
	background: var(--ec-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ba2628' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat;
	-webkit-appearance: none;
	appearance: none;
}

.ec-form textarea {
	height: 150px;
	padding: 14px 18px;
	resize: vertical;
}

.ec-form input:focus,
.ec-form select:focus,
.ec-form textarea:focus {
	outline: none;
	border-color: var(--ec-primary);
	box-shadow: 0 0 0 3px rgba(45, 189, 241, 0.12);
}

.ec-form-section {
	padding: 100px 0;
	background: var(--ec-bg-panel);
}

.ec-form-section__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 50px 90px;
}

.ec-form-section__title {
	margin: 0 0 16px;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-h2);
	font-weight: 400;
	line-height: 1.2;
}

.ec-form-section__intro > p {
	margin: 0;
	font-size: 18px;
	line-height: 1.45;
}

.ec-check-list {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.ec-check-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 12px;
	font-size: 16px;
}

.ec-check-list svg {
	flex: none;
	width: 28px;
	height: 28px;
	padding: 8px;
	border-radius: 50%;
	background: var(--ec-primary);
	color: var(--ec-white);
}

/* ==========================================================================
   26. Contact page
   ========================================================================== */

.ec-contact {
	padding: 100px 0;
}

.ec-contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 50px 80px;
}

.ec-contact-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.ec-contact-card {
	padding: 28px;
	border: 1px solid var(--ec-border);
	border-radius: 22px;
	transition: box-shadow var(--ec-transition), transform var(--ec-transition);
}

.ec-contact-card:hover {
	box-shadow: var(--ec-shadow-soft);
	transform: translateY(-3px);
}

.ec-contact-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--ec-primary);
	color: var(--ec-white);
}

.ec-contact-card__icon svg {
	width: 24px;
	height: 24px;
}

.ec-contact-card__title {
	margin: 18px 0 6px;
	font-family: var(--ec-font-serif);
	font-size: 20px;
	font-weight: 400;
}

.ec-contact-card p {
	margin: 0;
	line-height: 1.5;
}

.ec-contact-card a {
	color: inherit;
	text-decoration: none;
}

.ec-contact-card a:hover {
	color: var(--ec-primary);
}

.ec-contact__form {
	padding: 48px;
	border-radius: 30px;
	background: var(--ec-bg-panel);
}

.ec-map__frame {
	display: block;
	background: #e9eef3;
	width: 100%;
	height: 450px;
	border: 0;
	filter: grayscale(0.4);
}

/* ==========================================================================
   27. Blog list
   ========================================================================== */

.ec-blog-featured {
	padding: 50px 0 0;
}

.ec-featured-post {
	padding: 60px 40px;
	border-radius: 28px;
	background: var(--ec-bg-hero);
}

.ec-featured-post__media,
.ec-featured-post__body {
	display: block;
	max-width: 800px;
	margin: 0 auto;
}

.ec-featured-post__media {
	border-radius: 24px;
}

.ec-featured-post__media img {
	display: block;
	width: 100%;
	height: auto;
}

.ec-featured-post__body {
	margin-top: 26px;
}

.ec-featured-post__title {
	margin: 14px 0 0;
	font-family: var(--ec-font-serif);
	font-size: clamp(26px, 1.9vw, 34px);
	font-weight: 400;
	line-height: 1.25;
}

.ec-featured-post__title a,
.ec-post-row__title a {
	color: var(--ec-text);
	text-decoration: none;
	transition: color var(--ec-transition);
}

.ec-featured-post__title a:hover,
.ec-post-row__title a:hover {
	color: var(--ec-primary);
}

.ec-featured-post__excerpt,
.ec-post-row__excerpt {
	margin: 14px 0 0;
	font-size: 18px;
	line-height: 1.45;
}

.ec-read-more {
	color: var(--ec-primary);
	text-decoration: none;
	white-space: nowrap;
}

.ec-read-more:hover {
	text-decoration: underline;
}

.ec-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 56px;
	margin: 0;
	font-size: 18px;
}

.ec-post-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ec-text);
	text-decoration: none;
}

.ec-post-meta__item:hover {
	color: var(--ec-primary);
}

.ec-post-meta__item svg {
	width: 16px;
	height: 16px;
	color: var(--ec-muted);
}

.ec-blog-list {
	padding: 80px 0 0;
}

.ec-blog-list__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}

.ec-blog-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-blog-cats a {
	display: block;
	padding: 4px 0;
	border-bottom: 2px solid transparent;
	color: var(--ec-text);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: color var(--ec-transition), border-color var(--ec-transition);
}

.ec-blog-cats a:hover,
.ec-blog-cats .current-cat a {
	border-color: var(--ec-primary);
	color: var(--ec-primary);
}

.ec-blog-search {
	position: relative;
	width: min(520px, 100%);
}

.ec-blog-search input {
	width: 100%;
	height: 50px;
	padding: 0 64px 0 20px;
	border: 1px solid var(--ec-text);
	border-radius: var(--ec-radius-pill);
	background: var(--ec-white);
	color: var(--ec-text);
	font-family: var(--ec-font-sans);
	font-size: 16px;
}

.ec-blog-search input:focus {
	outline: none;
	border-color: var(--ec-primary);
}

.ec-blog-search button {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ec-primary);
	color: var(--ec-white);
	cursor: pointer;
}

.ec-blog-search button svg {
	width: 20px;
	height: 20px;
}

.ec-post-rows {
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.ec-post-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	align-items: start;
	gap: 30px 120px;
	padding: 34px 0;
}

.ec-post-row__title {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #dcdfe4;
	font-family: var(--ec-font-serif);
	font-size: clamp(22px, 1.5vw, 28px);
	font-weight: 400;
	line-height: 1.3;
}

.ec-post-row__media {
	display: block;
	border-radius: 24px;
}

.ec-post-row__media img {
	display: block;
	width: 100%;
	height: auto;
}

/* ==========================================================================
   28. Blog post
   ========================================================================== */

.ec-article-head {
	padding: 40px 0 50px;
	background: var(--ec-bg-hero);
}

.ec-article-head__title {
	max-width: 1100px;
	margin: 22px 0 18px;
	font-family: var(--ec-font-serif);
	font-size: clamp(32px, 2.8vw, 52px);
	font-weight: 400;
	line-height: 1.15;
}

.ec-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
	gap: 50px 70px;
	padding-top: 60px;
}

.ec-article__image {
	margin: 0 0 40px;
	overflow: hidden;
	border-radius: 24px;
}

.ec-article__image img {
	display: block;
	width: 100%;
}

/* Typography for WordPress post/page content */
.ec-prose {
	color: var(--ec-text);
	font-size: 18px;
	line-height: 1.7;
}

.ec-prose > :first-child {
	margin-top: 0;
}

.ec-prose p,
.ec-prose ul,
.ec-prose ol {
	margin: 0 0 22px;
}

.ec-prose h2,
.ec-prose h3,
.ec-prose h4 {
	margin: 44px 0 14px;
	font-family: var(--ec-font-serif);
	font-weight: 400;
	line-height: 1.25;
}

.ec-prose h2 {
	font-size: clamp(26px, 1.8vw, 34px);
}

.ec-prose h3 {
	font-size: clamp(22px, 1.4vw, 26px);
}

.ec-prose h4 {
	font-size: 20px;
}

.ec-prose ul,
.ec-prose ol {
	padding-left: 24px;
}

.ec-prose li {
	margin-bottom: 8px;
}

.ec-prose li::marker {
	color: var(--ec-primary);
}

.ec-prose a {
	color: var(--ec-primary);
	text-underline-offset: 3px;
}

.ec-prose blockquote {
	margin: 34px 0;
	padding: 26px 32px;
	border-left: 4px solid var(--ec-primary);
	border-radius: 0 18px 18px 0;
	background: var(--ec-bg-panel);
	font-family: var(--ec-font-serif);
	font-size: 22px;
	line-height: 1.5;
}

.ec-prose blockquote p {
	margin: 0;
}

.ec-prose cite {
	display: block;
	margin-top: 10px;
	color: var(--ec-muted);
	font-family: var(--ec-font-sans);
	font-size: 15px;
	font-style: normal;
}

.ec-prose img {
	border-radius: 18px;
}

.ec-prose figure {
	margin: 34px 0;
}

.ec-prose figcaption,
.ec-prose .wp-caption-text {
	margin-top: 10px;
	color: var(--ec-muted);
	font-size: 14px;
	text-align: center;
}

.ec-prose .alignleft {
	float: left;
	margin: 6px 28px 18px 0;
}

.ec-prose .alignright {
	float: right;
	margin: 6px 0 18px 28px;
}

.ec-prose .aligncenter {
	display: block;
	margin-inline: auto;
}

.ec-lead {
	font-family: var(--ec-font-serif);
	font-size: 22px;
	line-height: 1.5;
}

.ec-article__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
	padding: 24px 0;
	border-top: 1px solid #dcdfe4;
	border-bottom: 1px solid #dcdfe4;
}

.ec-tags,
.ec-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.ec-tags span,
.ec-share span {
	margin-right: 4px;
	font-weight: 500;
}

.ec-tags a {
	padding: 5px 14px;
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-radius-pill);
	color: var(--ec-text);
	font-size: 14px;
	text-decoration: none;
	transition: border-color var(--ec-transition), color var(--ec-transition);
}

.ec-tags a:hover {
	border-color: var(--ec-primary);
	color: var(--ec-primary);
}

.ec-share a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ec-primary);
	color: var(--ec-white);
	transition: background-color var(--ec-transition);
}

.ec-share a:hover {
	background: var(--ec-primary-dark);
}

.ec-share svg {
	width: 16px;
	height: 16px;
}

.ec-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 34px;
}

.ec-post-nav__link {
	padding: 22px 26px;
	border-radius: 18px;
	background: var(--ec-bg-panel);
	color: var(--ec-text);
	font-family: var(--ec-font-serif);
	font-size: 18px;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

.ec-post-nav__link span {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	color: var(--ec-primary);
	font-family: var(--ec-font-sans);
	font-size: 14px;
}

.ec-post-nav__link svg {
	width: 14px;
	height: 14px;
}

.ec-post-nav__link--next {
	text-align: right;
}

.ec-post-nav__link--next span {
	justify-content: flex-end;
}

.ec-post-nav__link:hover {
	background: var(--ec-primary);
	color: var(--ec-white);
}

.ec-post-nav__link:hover span {
	color: var(--ec-white);
}

/* Sidebar widgets */
.ec-sidebar {
	display: grid;
	gap: 28px;
}

.ec-widget {
	padding: 28px;
	border-radius: 22px;
	background: var(--ec-bg-panel);
}

.ec-widget__title {
	margin: 0 0 18px;
	font-family: var(--ec-font-serif);
	font-size: 22px;
	font-weight: 400;
}

.ec-widget__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-widget__list li {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #dde3ea;
	color: var(--ec-muted);
}

.ec-widget__list li:last-child {
	border-bottom: 0;
}

.ec-widget__list a {
	color: var(--ec-text);
	text-decoration: none;
}

.ec-widget__list a:hover {
	color: var(--ec-primary);
}

.ec-widget__posts {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-recent-post {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	color: var(--ec-text);
	text-decoration: none;
}

.ec-recent-post__media {
	display: block;
	border-radius: 12px;
}

.ec-recent-post__media img {
	display: block;
	width: 100%;
	height: auto;
}

.ec-recent-post:hover .ec-recent-post__media img {
	transform: scale(1.05);
}

.ec-recent-post__title {
	display: block;
	font-family: var(--ec-font-serif);
	font-size: 16px;
	line-height: 1.35;
	transition: color var(--ec-transition);
}

.ec-recent-post:hover .ec-recent-post__title {
	color: var(--ec-primary);
}

.ec-recent-post time {
	display: block;
	margin-top: 4px;
	color: var(--ec-muted);
	font-size: 14px;
}

.ec-blog--related {
	padding-top: 90px;
}

.ec-blog--related .ec-blog__grid {
	margin-top: 40px;
}

/* ==========================================================================
   29. FAQ, content pages, 404
   ========================================================================== */

.ec-faq {
	padding: 90px 0 0;
}

.ec-faq__inner {
	display: grid;
	gap: 16px;
	max-width: 900px;
}

.ec-accordion--faq {
	padding: 10px 28px;
	border: 1px solid var(--ec-border);
	border-radius: 18px;
	background: var(--ec-white);
	transition: box-shadow var(--ec-transition);
}

.ec-accordion--faq[open] {
	box-shadow: var(--ec-shadow-soft);
}

.ec-accordion--faq .ec-accordion__title {
	color: var(--ec-text);
	font-size: 20px;
}

.ec-accordion--faq .ec-accordion__body {
	font-size: 17px;
	line-height: 1.6;
}

.ec-faq__more {
	margin: 20px 0 0;
	font-size: 18px;
	text-align: center;
}

.ec-faq__more a {
	color: var(--ec-primary);
}

.ec-page-content {
	padding: 80px 0 0;
}

.ec-404 {
	padding: 140px 0 40px;
	text-align: center;
}

.ec-404__code {
	margin: 0;
	color: var(--ec-primary);
	font-family: var(--ec-font-serif);
	font-size: clamp(100px, 10vw, 180px);
	line-height: 1;
}

.ec-404__title {
	margin: 10px 0 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-h1);
	font-weight: 400;
}

.ec-404__text {
	max-width: 520px;
	margin: 14px auto 30px;
	font-size: 18px;
}

/* ==========================================================================
   30. Responsive - inner pages
   ========================================================================== */

@media (max-width: 1399px) {
	.ec-product-grid--shop {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ec-product-grid--related {
		gap: 30px 24px;
	}

	.ec-shop__inner {
		grid-template-columns: 280px minmax(0, 1fr);
		gap: 40px;
	}

	.ec-clients__grid {
		gap: 24px;
	}

	.ec-post-row {
		gap: 30px 60px;
	}
}

@media (max-width: 1199px) {
	.ec-intro__inner,
	.ec-product__inner {
		grid-template-columns: 1fr;
	}

	.ec-intro__media {
		max-width: 560px;
	}

	.ec-clients__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ec-how__panel {
		width: 100%;
		border-radius: 0;
	}

	.ec-brand-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ec-product-grid--shop,
	.ec-product-grid--related {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ec-product-grid--related > :nth-child(n + 4) {
		display: none;
	}

	.ec-article-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 40px;
	}

	.ec-contact__inner,
	.ec-form-section__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 991px) {
	.ec-intro,
	.ec-clients,
	.ec-brand-list,
	.ec-contact,
	.ec-form-section {
		padding: 70px 0;
	}

	.ec-feature--map {
		padding: 60px 0;
	}

	.ec-how__panel {
		padding: 70px var(--ec-gutter);
	}

	.ec-shop__inner {
		grid-template-columns: 1fr;
	}

	/* Filters collapse behind a toggle on tablets/phones */
	.ec-filter-toggle {
		border: 1px solid #e3e7ef;
		border-radius: 18px;
	}

	.ec-filter-toggle__summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 22px;
		font-family: var(--ec-font-serif);
		font-size: 18px;
		list-style: none;
		cursor: pointer;
	}

	.ec-filter-toggle__summary::-webkit-details-marker {
		display: none;
	}

	.ec-filter-toggle__summary svg {
		width: 18px;
		height: 18px;
	}

	.ec-filter-toggle > .ec-filter {
		margin: 0 16px 16px;
	}

	.ec-article-layout,
	.ec-post-row {
		grid-template-columns: 1fr;
	}

	.ec-post-row__media {
		order: -1;
	}

	.ec-featured-post {
		padding: 30px 20px;
	}

	.ec-product-grid--related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ec-product-grid--related > :nth-child(n + 3) {
		display: none;
	}
}

@media (max-width: 767px) {
	.ec-clients__grid,
	.ec-brand-grid,
	.ec-product-grid--shop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}

	.ec-steps,
	.ec-form,
	.ec-contact-cards,
	.ec-post-nav {
		grid-template-columns: 1fr;
	}

	.ec-gallery {
		grid-template-columns: 1fr;
	}

	.ec-gallery__thumbs {
		grid-template-columns: repeat(4, 72px);
		order: 1;
	}

	.ec-product__price ins {
		font-size: 36px;
	}

	.ec-product__price del {
		font-size: 24px;
	}

	.ec-btn--cart {
		flex: 1;
		min-width: 0;
	}

	.ec-contact__form {
		padding: 28px 20px;
	}

	.ec-post-meta {
		gap: 8px 28px;
		font-size: 16px;
	}

	.ec-post-nav__link--next {
		text-align: left;
	}

	.ec-post-nav__link--next span {
		justify-content: flex-start;
	}

	.ec-pagination {
		gap: 12px;
	}

	.ec-pagination__arrow {
		width: 44px;
		height: 44px;
	}
}

/* ==========================================================================
   31. Account dropdown
   body.logged-in is added by WordPress for signed-in users.
   ========================================================================== */

button.ec-header-link {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.ec-show-user,
.logged-in .ec-show-guest {
	display: none;
}

.logged-in .ec-show-user {
	display: block;
}

.logged-in .ec-header-link__text.ec-show-user {
	display: flex;
}

.ec-account {
	position: relative;
}

.ec-account .ec-header-link__chevron {
	transition: transform var(--ec-transition);
}

.ec-account.is-open .ec-header-link__chevron {
	transform: rotate(180deg);
}

.ec-account__menu {
	position: absolute;
	top: calc(100% + 14px);
	right: -12px;
	z-index: 60;
	width: 270px;
	padding: 22px;
	border-radius: 16px;
	background: var(--ec-white);
	box-shadow: 0 16px 40px rgba(20, 30, 50, 0.16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--ec-transition), transform var(--ec-transition),
		visibility var(--ec-transition);
}

/* Small arrow pointing at the trigger */
.ec-account__menu::before {
	content: "";
	position: absolute;
	top: -6px;
	right: 34px;
	width: 12px;
	height: 12px;
	background: var(--ec-white);
	transform: rotate(45deg);
}

/* Invisible bridge so the menu stays open while the pointer moves down */
.ec-account__menu::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 16px;
}

.ec-account.is-open .ec-account__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media (hover: hover) {
	.ec-account:hover .ec-account__menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}

.ec-account__title {
	margin: 0;
	color: var(--ec-text);
	font-family: var(--ec-font-serif);
	font-size: 18px;
}

.ec-account__text {
	margin: 6px 0 16px;
	color: var(--ec-text-soft);
	font-size: 14px;
	line-height: 1.4;
}

.ec-btn--sm {
	display: flex;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 8px 20px;
	font-size: 15px;
	letter-spacing: 0.04em;
}

.ec-btn--sm + .ec-btn--sm {
	margin-top: 10px;
}

.ec-btn--ghost {
	border-color: var(--ec-primary);
	background: transparent;
	color: var(--ec-primary);
}

.ec-btn--ghost:hover,
.ec-btn--ghost:focus-visible {
	background: var(--ec-primary);
	color: var(--ec-white);
}

.ec-account__links {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.ec-account__links a {
	display: block;
	padding: 9px 0;
	border-bottom: 1px solid var(--ec-border);
	color: var(--ec-text);
	font-size: 15px;
	text-decoration: none;
	transition: color var(--ec-transition), padding-left var(--ec-transition);
}

.ec-account__links a:hover,
.ec-account__links a:focus-visible {
	padding-left: 6px;
	color: var(--ec-primary);
}

.ec-account__links li:last-child a {
	border-bottom: 0;
}

.ec-account__logout {
	color: var(--ec-primary) !important;
}

@media (max-width: 767px) {
	.ec-account__menu {
		right: -60px;
		width: min(270px, calc(100vw - 40px));
	}

	.ec-account__menu::before {
		right: 66px;
	}
}

/* ==========================================================================
   32. Product image lightbox
   ========================================================================== */

.ec-gallery__main[data-ec-lightbox-open] {
	cursor: zoom-in;
}

.ec-gallery__expand {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ec-white);
	box-shadow: 0 4px 14px rgba(20, 30, 50, 0.16);
	color: var(--ec-text);
	cursor: pointer;
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

.ec-gallery__expand svg {
	width: 20px;
	height: 20px;
}

.ec-gallery__expand:hover,
.ec-gallery__expand:focus-visible {
	background: var(--ec-primary);
	color: var(--ec-white);
}

.ec-lightbox {
	width: min(900px, 100vw - 40px);
	max-height: calc(100vh - 40px);
	padding: 40px;
	border: 0;
	border-radius: 24px;
	background: var(--ec-white);
}

.ec-lightbox::backdrop {
	background: rgba(15, 18, 24, 0.82);
}

.ec-lightbox[open] {
	display: grid;
	place-items: center;
	animation: ec-lightbox-in 0.25s ease;
}

@keyframes ec-lightbox-in {
	from {
		opacity: 0;
		transform: scale(0.96);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.ec-lightbox__img {
	width: auto;
	max-width: 100%;
	max-height: calc(100vh - 140px);
	object-fit: contain;
}

.ec-lightbox__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ec-bg-panel);
	color: var(--ec-text);
	cursor: pointer;
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

.ec-lightbox__close svg {
	width: 20px;
	height: 20px;
}

.ec-lightbox__close:hover,
.ec-lightbox__close:focus-visible {
	background: var(--ec-primary);
	color: var(--ec-white);
}

@media (max-width: 767px) {
	.ec-lightbox {
		padding: 50px 16px 20px;
	}
}

/* ==========================================================================
   33. Mobile header + menu drawer (below 992px)
   Row 1: menu button, logo, account, cart. Row 2: search.
   The nav slides in from the left with an overlay behind it.
   ========================================================================== */

.ec-nav__head,
.ec-nav__extra,
.ec-nav-overlay,
.ec-submenu-toggle {
	display: none;
}

@media (max-width: 991px) {
	.ec-header__inner,
	.ec-header.is-sticky .ec-header__inner {
		grid-template-columns: auto auto 1fr auto;
		grid-template-areas:
			"toggle logo . actions"
			"search search search search";
		align-items: center;
		gap: 12px 14px;
		padding: 10px 0 12px;
	}

	.ec-header.is-sticky .ec-header__inner {
		grid-template-areas: "toggle logo . actions";
		padding: 8px 0;
	}

	.ec-nav-toggle {
		width: 40px;
		height: 40px;
		border: 0;
		background: var(--ec-bg-panel);
	}

	.ec-header__logo img {
		width: 96px;
	}

	.ec-header__actions {
		gap: 18px;
	}

	.ec-search__input {
		height: 44px;
		padding-left: 18px;
		font-size: 14px;
	}

	.ec-search__submit {
		top: 4px;
		right: 4px;
		width: 36px;
		height: 36px;
	}

	/* Drawer */
	.ec-nav,
	.ec-nav.is-open {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 1001;
		display: flex;
		flex-direction: column;
		width: min(340px, 86vw);
		margin: 0;
		overflow-y: auto;
		border: 0;
		background: var(--ec-white);
		box-shadow: 10px 0 40px rgba(0, 0, 0, 0.2);
		visibility: hidden;
		transform: translateX(-100%);
		transition: transform 0.3s ease, visibility 0.3s ease;
		overscroll-behavior: contain;
	}

	.ec-nav.is-open {
		visibility: visible;
		transform: translateX(0);
	}

	.ec-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 18px;
		border-bottom: 1px solid var(--ec-border);
	}

	.ec-nav__head img {
		width: 96px;
	}

	.ec-nav__close {
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--ec-bg-panel);
		color: var(--ec-text);
		cursor: pointer;
	}

	.ec-nav__close svg {
		width: 20px;
		height: 20px;
	}

	.ec-menu {
		display: block;
		padding: 6px 18px;
	}

	.ec-menu > .menu-item {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--ec-border);
	}

	.ec-menu > .menu-item > a {
		flex: 1;
		padding: 14px 0;
		font-size: 16px;
	}

	.ec-menu > .menu-item-has-children > a::after {
		display: none;
	}

	.ec-submenu-toggle {
		position: relative;
		display: block;
		width: 36px;
		height: 36px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--ec-bg-panel);
		cursor: pointer;
	}

	/* plus / minus */
	.ec-submenu-toggle::before,
	.ec-submenu-toggle::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 12px;
		height: 2px;
		margin: -1px 0 0 -6px;
		background: var(--ec-primary);
		transition: transform var(--ec-transition);
	}

	.ec-submenu-toggle::after {
		transform: rotate(90deg);
	}

	.is-open > .ec-submenu-toggle::after {
		transform: rotate(0);
	}

	.ec-menu .sub-menu,
	.ec-menu .menu-item-has-children:hover > .sub-menu,
	.ec-menu .menu-item-has-children:focus-within > .sub-menu {
		display: none;
		flex-basis: 100%;
		padding: 0 0 10px 14px;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.ec-menu .is-open > .sub-menu {
		display: block;
	}

	.ec-menu .sub-menu a {
		padding: 8px 0;
		font-size: 15px;
	}

	.ec-nav__extra {
		display: block;
		margin-top: auto;
		padding: 20px 18px 26px;
		background: var(--ec-bg-panel);
	}

	.ec-nav__contact {
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 16px 0 0;
		font-size: 14px;
	}

	.ec-nav__contact svg {
		width: 18px;
		height: 18px;
		color: var(--ec-primary);
	}

	.ec-nav__contact a {
		color: var(--ec-text);
		text-decoration: none;
	}

	.ec-nav-overlay {
		position: fixed;
		inset: 0;
		z-index: 1000;
		display: block;
		background: rgba(15, 18, 24, 0.55);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.ec-nav-open .ec-nav-overlay {
		opacity: 1;
		visibility: visible;
	}

	.ec-nav-open,
	.ec-nav-open body {
		overflow: hidden;
	}
}

@media (max-width: 767px) {
	.ec-header__actions {
		gap: 14px;
	}

	.ec-header-link__icon-wrap {
		margin-right: 4px;
	}
}

/* ==========================================================================
   34. Responsive typography
   Sizes step down from 1440px so sections keep their balance on laptops,
   tablets stay moderate and phones use small, readable sizes.
   ========================================================================== */

:root {
	--ec-fs-hero: 66px;
	--ec-fs-body-lg: 18px;
}

@media (max-width: 1440px) {
	:root {
		--ec-fs-display: 64px;
		--ec-fs-hero: 54px;
		--ec-fs-h1: 38px;
		--ec-fs-h2: 30px;
		--ec-fs-pretitle: 22px;
		--ec-fs-card-title: 22px;
		--ec-fs-lede: 17px;
		--ec-fs-body-lg: 17px;
	}
}

@media (max-width: 1199px) {
	:root {
		--ec-fs-display: 54px;
		--ec-fs-hero: 46px;
		--ec-fs-h1: 34px;
		--ec-fs-h2: 28px;
		--ec-fs-pretitle: 20px;
		--ec-fs-lede: 16px;
		--ec-fs-body-lg: 16px;
	}
}

@media (max-width: 991px) {
	:root {
		--ec-fs-display: 42px;
		--ec-fs-hero: 38px;
		--ec-fs-h1: 30px;
		--ec-fs-h2: 25px;
		--ec-fs-pretitle: 18px;
		--ec-fs-card-title: 20px;
		--ec-fs-lede: 15px;
		--ec-fs-body-lg: 15px;
	}
}

@media (max-width: 767px) {
	:root {
		--ec-fs-display: 32px;
		--ec-fs-hero: 30px;
		--ec-fs-h1: 26px;
		--ec-fs-h2: 22px;
		--ec-fs-pretitle: 16px;
		--ec-fs-card-title: 19px;
		--ec-fs-lede: 15px;
		--ec-fs-body-lg: 15px;
	}

	body {
		font-size: 15px;
	}
}

@media (max-width: 479px) {
	:root {
		--ec-fs-display: 28px;
		--ec-fs-hero: 27px;
		--ec-fs-h1: 24px;
		--ec-fs-h2: 21px;
	}
}

/* Large titles */
.ec-page-banner__title,
.ec-intro__title {
	font-size: var(--ec-fs-hero);
}

.ec-shop-banner__title {
	font-size: calc(var(--ec-fs-hero) * 1.12);
}

.ec-article-head__title {
	font-size: calc(var(--ec-fs-h1) * 1.1);
}

.ec-featured-post__title,
.ec-prose h2 {
	font-size: var(--ec-fs-h2);
}

.ec-post-row__title,
.ec-prose h3,
.ec-product__title {
	font-size: var(--ec-fs-card-title);
}

/* Body copy that is 18px in the PSD */
.ec-feature__text,
.ec-intro__text,
.ec-how__text,
.ec-dist-card__text,
.ec-featured-post__excerpt,
.ec-post-row__excerpt,
.ec-prose,
.ec-form-section__intro > p,
.ec-faq__more,
.ec-404__text,
.ec-accordion__lead,
.ec-post-meta,
.ec-post-card__meta,
.ec-page-banner__text,
.ec-shop-banner__text,
.ec-banner__text {
	font-size: var(--ec-fs-body-lg);
}

.ec-lead,
.ec-prose blockquote {
	font-size: calc(var(--ec-fs-body-lg) * 1.2);
}

@media (max-width: 1440px) {
	.ec-menu > .menu-item > a {
		font-size: 17px;
	}

	.ec-category-bar a,
	.ec-tabs__tab {
		font-size: 17px;
	}

	.ec-product__price ins {
		font-size: 40px;
	}

	.ec-product__price del {
		font-size: 26px;
	}
}

@media (max-width: 991px) {
	.ec-topbar {
		font-size: 12px;
	}

	.ec-brand-card__title,
	.ec-dist-card__title {
		font-size: 20px;
	}

	.ec-feature-item__title,
	.ec-steps__title,
	.ec-accordion__title,
	.ec-product__subtitle {
		font-size: 18px;
	}

	.ec-category-bar a,
	.ec-tabs__tab,
	.ec-chips li {
		font-size: 16px;
	}

	.ec-newsletter__title {
		font-size: 22px;
	}

	.ec-footer__heading,
	.ec-footer__subtitle {
		font-size: 17px;
	}

	.ec-product__price ins {
		font-size: 34px;
	}

	.ec-product__price del {
		font-size: 22px;
	}

	.ec-btn {
		font-size: 15px;
	}

	.ec-btn--cart {
		font-size: 16px;
	}
}

@media (max-width: 767px) {
	.ec-brand-card__text,
	.ec-post-card__excerpt,
	.ec-newsletter__text,
	.ec-contact-card p,
	.ec-footer-menu a,
	.ec-footer-contact,
	.ec-accordion__body {
		font-size: 14px;
	}

	.ec-footer-menu a,
	.ec-footer-contact {
		line-height: 28px;
	}

	.ec-footer-contact strong,
	.ec-footer__heading,
	.ec-footer__subtitle {
		font-size: 16px;
	}

	.ec-product-card__title {
		font-size: 13px;
	}

	.ec-product-card__price,
	.ec-product-grid--related .ec-product-card__price {
		font-size: 16px;
	}

	.ec-product-grid--related .ec-product-card__title {
		font-size: 13px;
	}

	.ec-feature-item__text,
	.ec-steps__text {
		font-size: 13px;
	}

	.ec-newsletter__title {
		font-size: 20px;
	}

	.ec-section-head__lede {
		margin-top: 4px;
	}

	.ec-product__price ins {
		font-size: 30px;
	}

	.ec-product__price del {
		font-size: 20px;
	}

	.ec-qty__input {
		font-size: 24px;
	}

	.ec-btn {
		min-height: 48px;
		font-size: 14px;
	}

	.ec-shop__title {
		font-size: 22px;
	}

	.ec-shop__subtitle {
		font-size: 15px;
	}

	.ec-pagination li > * {
		font-size: 16px;
	}
}

/* Side spacing: roomier on laptops, tighter on phones */
:root {
	--ec-gutter: 40px;
}

@media (max-width: 991px) {
	:root {
		--ec-gutter: 24px;
	}
}

@media (max-width: 767px) {
	:root {
		--ec-gutter: 16px;
	}
}

@media (max-width: 991px) {
	.ec-newsletter__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Phones: account menu spans the header width, just below it */
@media (max-width: 767px) {
	.ec-account {
		position: static;
	}

	.ec-account__menu {
		top: calc(100% - 4px);
		right: var(--ec-gutter);
		left: var(--ec-gutter);
		width: auto;
	}

	.ec-account__menu::before {
		display: none;
	}
}

@media (max-width: 767px) {
	/* Icon only on phones, also for signed-in users */
	.logged-in .ec-header-link__text.ec-show-user {
		display: none;
	}
}

/* ==========================================================================
   35. Blog page header + featured post
   ========================================================================== */

.ec-blog-featured {
	padding: 40px 0 20px;
	background: linear-gradient(var(--ec-bg-hero) 0 70%, var(--ec-white) 70%);
}

.ec-blog-featured__head {
	margin-bottom: 36px;
}

.ec-blog-featured__title {
	margin: 18px 0 8px;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-hero);
	font-weight: 400;
	line-height: 1.1;
}

.ec-blog-featured__lede {
	max-width: 720px;
	margin: 0;
	color: var(--ec-text-soft);
	font-size: var(--ec-fs-body-lg);
	line-height: 1.5;
}

.ec-featured-post {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	padding: 0;
	overflow: hidden;
	border-radius: 28px;
	background: var(--ec-white);
	box-shadow: 0 20px 50px rgba(20, 30, 50, 0.1);
}

.ec-featured-post__media {
	position: relative;
	max-width: none;
	margin: 0;
	border-radius: 0;
}

/* Featured post: the photo fills the full height of the card */
@media (min-width: 992px) {
	.ec-featured-post__media img {
		position: absolute;
		inset: 0;
		height: 100%;
		object-fit: cover;
	}
}

.ec-featured-post__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: none;
	margin: 0;
	padding: clamp(28px, 3.6vw, 64px);
}

.ec-featured-post__labels {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
}

.ec-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-primary);
	color: var(--ec-white);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
}

.ec-badge--soft {
	background: #E8F7FE;
	color: var(--ec-primary);
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

a.ec-badge--soft:hover,
a.ec-badge--soft:focus-visible {
	background: var(--ec-primary);
	color: var(--ec-white);
}

.ec-featured-post__title {
	margin: 0;
	font-size: calc(var(--ec-fs-h2) * 1.15);
	line-height: 1.2;
}

.ec-featured-post__excerpt {
	margin: 16px 0 0;
	color: var(--ec-text-soft);
	line-height: 1.6;
}

.ec-featured-post__meta {
	gap: 8px 28px;
	margin: 22px 0 30px;
	font-size: 15px;
}

.ec-featured-post__btn {
	align-self: flex-start;
	min-width: 220px;
}


@media (max-width: 991px) {
	.ec-blog-featured {
		background: linear-gradient(var(--ec-bg-hero) 0 45%, var(--ec-white) 45%);
	}

	.ec-featured-post {
		grid-template-columns: 1fr;
		border-radius: 22px;
	}

	.ec-featured-post__body {
		padding: 28px 22px 30px;
	}
}

@media (max-width: 767px) {
	.ec-blog-featured {
		padding-top: 24px;
	}

	.ec-blog-featured__head {
		margin-bottom: 24px;
	}

	.ec-featured-post__btn {
		align-self: stretch;
		min-width: 0;
	}
}

/* Mobile header order: logo left, then account, cart and menu button on the right.
   The drawer opens from the right, next to its button. */
@media (max-width: 991px) {
	.ec-header__inner,
	.ec-header.is-sticky .ec-header__inner {
		grid-template-columns: auto 1fr auto auto;
		grid-template-areas:
			"logo . actions toggle"
			"search search search search";
	}

	.ec-header.is-sticky .ec-header__inner {
		grid-template-areas: "logo . actions toggle";
	}

	.ec-nav,
	.ec-nav.is-open {
		right: 0;
		left: auto;
		box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
		transform: translateX(100%);
	}

	.ec-nav.is-open {
		transform: translateX(0);
	}
}

@media (max-width: 991px) {
	/* Drawer slides in from the left */
	.ec-nav,
	.ec-nav.is-open {
		right: auto;
		left: 0;
		box-shadow: 10px 0 40px rgba(0, 0, 0, 0.2);
		transform: translateX(-100%);
	}

	.ec-nav.is-open {
		transform: translateX(0);
	}

	/* Open sub-menu must beat the :hover / :focus-within rules
	   (the +/- button keeps focus after it is tapped) */
	.ec-menu .menu-item-has-children.is-open > .sub-menu,
	.ec-menu .menu-item-has-children.is-open:hover > .sub-menu,
	.ec-menu .menu-item-has-children.is-open:focus-within > .sub-menu {
		display: block;
	}

	.ec-submenu-toggle {
		width: 40px;
		height: 40px;
	}
}

/* ==========================================================================
   37. Equal section spacing on tablets and phones
   Plain sections only get top spacing; sections with a background get
   equal padding on both sides plus the same gap above them.
   ========================================================================== */

@media (max-width: 991px) {
	:root {
		--ec-section-y: 64px;
	}

	/* Sections with a background or photo */
	.ec-banner,
	.ec-panel,
	.ec-features,
	.ec-brands--tinted,
	.ec-how,
	.ec-form-section {
		margin-top: var(--ec-section-y);
		padding-top: var(--ec-section-y);
		padding-bottom: var(--ec-section-y);
	}

	.ec-panel {
		padding-bottom: calc(var(--ec-panel-overlap) + 32px);
	}

	.ec-how {
		min-height: 0;
		padding-top: 0;
		padding-bottom: 0;
	}

	.ec-how__panel {
		padding-top: var(--ec-section-y);
		padding-bottom: var(--ec-section-y);
	}

	.ec-map {
		margin-top: var(--ec-section-y);
	}

	/* Plain sections */
	.ec-brands,
	.ec-best,
	.ec-feature,
	.ec-feature--map,
	.ec-distribution,
	.ec-blog,
	.ec-blog--related,
	.ec-intro,
	.ec-clients,
	.ec-brand-list,
	.ec-shop,
	.ec-related,
	.ec-contact,
	.ec-blog-list,
	.ec-faq,
	.ec-page-content,
	.ec-best--flat,
	.ec-404,
	.ec-article-layout,
	.ec-features--plain {
		margin-top: 0;
		padding-top: 40px;
		padding-bottom: 0;
	}

	.ec-features--plain {
		background: none;
	}

	/* First sections under the header keep their own small top spacing */
	.ec-product {
		padding-bottom: var(--ec-section-y);
	}

	.ec-footer {
		margin-top: var(--ec-section-y);
	}

	.ec-distribution__grid {
		margin-top: calc(var(--ec-panel-overlap) * -1);
	}
}

@media (max-width: 767px) {
	:root {
		--ec-section-y: 48px;
	}

	.ec-banner {
		min-height: 0;
	}

	.ec-pagination {
		margin-top: 36px;
	}

	.ec-brands__slider,
	.ec-best .ec-slider,
	.ec-features__grid,
	.ec-blog__grid,
	.ec-clients__grid,
	.ec-brand-grid {
		margin-top: 28px;
	}

	.ec-best .ec-slider__dots,
	.ec-hero .ec-slider__dots {
		margin-top: 20px;
	}
}

/* Smaller arrows in blog areas on phones */
@media (max-width: 767px) {
	.ec-post-card__meta {
		gap: 8px;
	}

	.ec-post-card__meta svg {
		width: 24px;
		height: 10px;
		margin-right: 0;
	}

	.ec-blog-search input {
		height: 44px;
	}

	.ec-blog-search button {
		width: 44px;
		height: 44px;
	}

	.ec-blog-search button svg,
	.ec-pagination__arrow svg {
		width: 14px;
		height: 14px;
	}

	.ec-post-nav__link svg {
		width: 12px;
		height: 12px;
	}
}

/* Blog arrows: smaller on every screen size */
.ec-post-card__meta {
	gap: 10px;
}

.ec-post-card__meta svg {
	width: 28px;
	height: 10px;
	margin-right: 0;
}

.ec-blog-search button svg {
	width: 16px;
	height: 16px;
}

.ec-pagination__arrow svg {
	width: 14px;
	height: 14px;
}

@media (max-width: 767px) {
	.ec-post-card__meta svg {
		width: 22px;
		height: 9px;
	}

	.ec-blog-search button svg,
	.ec-pagination__arrow svg {
		width: 13px;
		height: 13px;
	}
}

/* Footer on phones: all menus visible, link columns in pairs */
@media (max-width: 767px) {
	.ec-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 20px;
	}

	.ec-footer__brand {
		grid-column: 1 / -1;
	}
}
