/**
 * ECBC Shop page — trade catalogue.
 *
 * Values are taken from the Figma "Products" frame. Every selector is namespaced with
 * `ecbc-` and scoped to the sections that carry those classes, so nothing here can reach
 * the header, footer or any other template.
 *
 * Elementor handles layout, spacing and the grid wherever its native controls can express
 * the design; this file covers what they cannot — the tab/badge composition, the card
 * chip and price typography, the comparison table and the accordion skin.
 */

.ecbc-shop {
	--ecbc-ink: #0d1b2a;
	--ecbc-blue: #0083d2;
	--ecbc-blue-light: #25a2f0;
	--ecbc-muted: #6b7280;
	--ecbc-line: #e5e7eb;
	--ecbc-chip: #f6f8fa;
	--ecbc-tint: #f1f5f9;
	--ecbc-surface: #ffffff;

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--ecbc-ink);
}

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

/* ---------- Section headings ---------- */

/*
 * Elementor puts a widget's CSS classes on its outer wrapper, not on the heading element
 * itself — and the Kit styles `.elementor-heading-title` directly, so a rule on the
 * wrapper alone loses. Each heading rule therefore targets both the bare element (used
 * where the markup is authored directly) and Elementor's inner title.
 */

.ecbc-shop .ecbc-eyebrow,
.ecbc-shop .ecbc-eyebrow .elementor-heading-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 18.6px;
	letter-spacing: 2.16px;
	text-transform: uppercase;
	color: var(--ecbc-blue);
	margin: 0;
}

.ecbc-shop .ecbc-h2,
.ecbc-shop .ecbc-h2 .elementor-heading-title {
	font-family: 'Inter', sans-serif;
	font-weight: 800;
	font-size: 48px;
	line-height: 48.4px;
	letter-spacing: -0.88px;
	text-transform: uppercase;
	color: var(--ecbc-ink);
	margin: 0;
}

/* The design highlights a single word of the catalogue heading. */
.ecbc-shop .ecbc-h2 em {
	font-style: inherit;
	color: var(--ecbc-blue-light);
}

.ecbc-shop .ecbc-sub,
.ecbc-shop .ecbc-sub .elementor-heading-title {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 25.6px;
	letter-spacing: normal;
	text-transform: none;
	color: var(--ecbc-muted);
	margin: 0;
	max-width: 620px;
}

@media (max-width: 1024px) {
	.ecbc-shop .ecbc-h2,
	.ecbc-shop .ecbc-h2 .elementor-heading-title {
		font-size: 38px;
		line-height: 40px;
	}

	.ecbc-shop .ecbc-eyebrow,
	.ecbc-shop .ecbc-eyebrow .elementor-heading-title {
		font-size: 15px;
		letter-spacing: 1.6px;
	}
}

@media (max-width: 767px) {
	.ecbc-shop .ecbc-h2,
	.ecbc-shop .ecbc-h2 .elementor-heading-title {
		font-size: 29px;
		line-height: 32px;
		letter-spacing: -0.4px;
	}

	.ecbc-shop .ecbc-eyebrow,
	.ecbc-shop .ecbc-eyebrow .elementor-heading-title {
		font-size: 13px;
		letter-spacing: 1.3px;
		line-height: 1.4;
	}
}

/* ---------- Category tabs + controls ---------- */

.ecbc-tabs .e-filter,
.ecbc-tabs .e-filter-item {
	font-family: 'Inter', sans-serif;
}

/*
 * Flex so the generated `order` rules can restore the design's tab sequence, which
 * Elementor emits alphabetically with the "all" choice last.
 *
 * The strip never wraps. At the design's 1920 width every tab fits on one line beside
 * the controls; below that it scrolls horizontally rather than pushing the search and
 * sort onto a second row, which is what the design shows and what keeps the controls
 * reachable.
 */
.ecbc-tabs .e-filter {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	justify-content: flex-start;
}

.ecbc-tabs .e-filter::-webkit-scrollbar {
	display: none;
}

.ecbc-tabs .e-filter-item {
	flex: 0 0 auto;
}

/* Elementor renders each filter choice as a button; the design turns them into tabs. */
.ecbc-tabs .e-filter-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 22px 15px 25px;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	background: none;
	color: #000;
	font-weight: 600;
	font-size: 14px;
	line-height: normal;
	letter-spacing: 0.52px;
	white-space: nowrap;
	transition: color 0.18s ease, border-color 0.18s ease;
}

.ecbc-tabs .e-filter-item:hover {
	background: none;
	color: var(--ecbc-blue);
}

.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart:before{
	margin-right:0 !important;
}

.ecbc-tabs .e-filter-item[aria-pressed='true'],
.ecbc-tabs .e-filter-item.e-filter-item-active {
	background: none;
	color: var(--ecbc-blue);
	border-bottom-color: var(--ecbc-blue);
}

/*
 * The count badge. Elementor's taxonomy filter has no count option, so the number is
 * supplied by generated inline CSS (see ecbc_shop_tab_count_css) and this rule provides
 * the pill it sits in.
 */
.ecbc-tabs .ecbc-tabs__label::after,
.ecbc-tabs .e-filter-item::after {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--ecbc-tint);
	color: var(--ecbc-muted);
	font-weight: 700;
	font-size: 11px;
	line-height: normal;
	letter-spacing: 0.52px;
}

.ecbc-tabs .e-filter-item[aria-pressed='true']::after,
.ecbc-tabs .e-filter-item.e-filter-item-active::after {
	background: var(--ecbc-blue);
	color: #fff;
}

@media (max-width: 767px) {
	.ecbc-tabs .e-filter-item {
		padding: 16px 14px 15px;
		font-size: 13px;
	}
}

/* ---------- Search ---------- */

.ecbc-shop .ecbc-search input[type='search'],
.ecbc-shop .ecbc-search input[type='text'] {
	width: 260px;
	max-width: 100%;
	height: 40px;
	padding: 0 16px 0 40px;
	border: 1px solid var(--ecbc-line);
	border-radius: 6px;
	background: var(--ecbc-surface);
	font-family: inherit;
	font-size: 14px;
	color: var(--ecbc-ink);
}

.ecbc-shop .ecbc-search input::placeholder {
	color: #6b7280;
	opacity: 1;
}

.ecbc-shop .ecbc-search input:focus {
	outline: none;
	border-color: var(--ecbc-blue);
}

/* Search glyph, drawn from the Figma asset and positioned per the design. */
.ecbc-shop .ecbc-search {
	position: relative;
}

.ecbc-shop .ecbc-search::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 50%;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
	z-index: 1;
}

/* ---------- Sort ---------- */

.ecbc-shop .ecbc-sort {
	margin: 0;
}

.ecbc-shop .ecbc-sort__select {
	appearance: none;
	-webkit-appearance: none;
	height: 40px;
	padding: 0 37px 0 17px;
	border: 1px solid var(--ecbc-line);
	border-radius: 6px;
	background: var(--ecbc-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%230d1b2a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 15px center / 12px 8px;
	font-family: inherit;
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	color: var(--ecbc-ink);
	cursor: pointer;
}

.ecbc-shop .ecbc-sort__select:focus {
	outline: none;
	border-color: var(--ecbc-blue);
}

/* ---------- Product card ---------- */

.ecbc-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--ecbc-surface);
	border: 1px solid var(--ecbc-line);
	font-family: 'Inter', sans-serif;
}

.ecbc-card__media {
	position: relative;
	overflow: hidden;
}

/*
 * Elementor gives every widget `position: relative`, so the badge and save button — each
 * rendered inside its own shortcode widget — anchored to that wrapper and landed at the
 * foot of the image instead of its corners. Taking the wrappers out of the positioning
 * chain lets both resolve against the media box, as the design intends.
 */
.ecbc-card__media > .elementor-widget-shortcode {
	position: static;
}

/*
 * The design gives boilers a taller image than accessories. A single ratio keeps every
 * card in a row the same height, which matters more in a live grid where the two product
 * types are mixed.
 */
.ecbc-card__media,
.ecbc-card__media a,
.ecbc-card__media img {
	display: block;
	width: 100%;
}

.ecbc-card__media img {
	aspect-ratio: 1 / 0.95;
	object-fit: cover;
	object-position: center;
}

.ecbc-badge {
	position: absolute;
	left: 16px;
	top: 16px;
	z-index: 2;
	padding: 6px 10px;
	border-radius: 4px;
	background: var(--ecbc-badge-bg, var(--ecbc-blue));
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	line-height: 15.5px;
	letter-spacing: 0.8px;
	white-space: nowrap;
}

.ecbc-save {
	position: absolute;
	right: 16px;
	top: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 18px;
	background: var(--ecbc-surface);
	filter: drop-shadow(0 1px 1px rgba(13, 27, 42, 0.05));
}

/*
 * The wishlist plugin renders a full "Add to Wishlist" text button with its own tooltip.
 * The design shows only a heart in a circle, so the label and tooltip are removed from
 * view and the anchor is reduced to the icon the plugin draws with a ::before glyph.
 */
.ecbc-save {
	overflow: hidden;
}

.ecbc-save .tinv-wraper,
.ecbc-save .tinv-wishlist {
	margin: 0;
	padding: 0;
	line-height: 0;
}

.ecbc-save .tinvwl_add_to_wishlist_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	color: var(--ecbc-ink);
	font-size: 15px;
	line-height: 1;
}

.ecbc-save .tinvwl_add_to_wishlist_button:hover {
	color: var(--ecbc-blue);
}

/* Label and tooltip are hidden visually but remain available to screen readers. */
.ecbc-save .tinvwl_add_to_wishlist-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ecbc-save .tinvwl-tooltip,
.ecbc-save .tinv-wishlist-clear,
.ecbc-save .tinv-wishlist p {
	display: none;
}

/*
 * The body must stretch to the card's full height or `margin-top: auto` on the footer has
 * no free space to push into, and the price rows stop aligning across a row of cards.
 * Elementor sizes containers with custom properties, so those are set alongside flex.
 */
.ecbc-card .ecbc-card__body {
	--flex-grow: 1;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	flex-basis: auto;
	padding: 24px;
}

.ecbc-card,
.e-loop-item > .ecbc-card {
	--flex-grow: 1;
}

.ecbc-eyebrow-cat {
	display: block;
	font-weight: 600;
	font-size: 12px;
	line-height: 17px;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	color: var(--ecbc-muted);
}

/*
 * The header and footer templates emit `.elementor-widget-heading .elementor-heading-title`
 * — the same specificity as a two-class rule here, and loaded later, so it wins a tie.
 * Qualifying with the card block takes these to (0,3,0) and settles it.
 */
.ecbc-card .ecbc-card__title,
.ecbc-card .ecbc-card__title a,
.ecbc-card .ecbc-card__title .elementor-heading-title,
.ecbc-card .ecbc-card__title .elementor-heading-title a {
	display: block;
	margin: 8px 0 0;
	font-weight: 700;
	font-size: 18px;
	line-height: 25px;
	letter-spacing: -0.2px;
	color: var(--ecbc-ink);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ecbc-card .ecbc-card__title a:hover,
.ecbc-card .ecbc-card__title .elementor-heading-title a:hover {
	color: var(--ecbc-blue);
}

.ecbc-card-desc {
	margin: 8px 0 0;
	font-weight: 400;
	font-size: 14px;
	line-height: 20.8px;
	color: var(--ecbc-muted);
	/* Two lines in the design; clamped so mixed-length copy cannot skew the grid. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ecbc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 16px 0;
	padding: 0;
	list-style: none;
}

.ecbc-chips__item {
	padding: 5px 11px 6px;
	border: 1px solid var(--ecbc-line);
	border-radius: 4px;
	background: var(--ecbc-chip);
	font-weight: 600;
	font-size: 11px;
	line-height: 17px;
	color: var(--ecbc-ink);
	white-space: nowrap;
}

.ecbc-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	/* Pins the price row to the bottom so buttons align across a row of cards. */
	margin-top: auto;
	padding-top: 17px;
	border-top: 1px solid var(--ecbc-line);
}

.ecbc-price {
	display: flex;
	flex-direction: column;
}

.ecbc-price__label {
	font-weight: 600;
	font-size: 10px;
	line-height: 15.5px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: var(--ecbc-muted);
}

.ecbc-price__value {
	font-weight: 800;
	font-size: 22px;
	line-height: 27.9px;
	letter-spacing: -0.18px;
	color: var(--ecbc-ink);
	white-space: nowrap;
}

.ecbc-price__symbol {
	margin-right: 2px;
	font-weight: 500;
	font-size: 12px;
	color: var(--ecbc-muted);
}

.ecbc-card .ecbc-card__cta,
.ecbc-card .ecbc-card__cta .elementor-button,
.ecbc-shop .ecbc-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 4px;
	background: var(--ecbc-blue);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 18.6px;
	letter-spacing: 0.6px;
	text-decoration: none;
	white-space: nowrap;
}

.ecbc-card__cta:hover {
	background: #0071b6;
	color: #fff;
}

@media (max-width: 1024px) {
	.ecbc-card__body {
		padding: 20px;
	}

	.ecbc-card__cta {
		font-size: 13px;
		padding: 10px 13px;
	}
}

@media (max-width: 767px) {
	.ecbc-card__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.ecbc-card__cta {
		width: 100%;
		font-size: 14px;
	}
}

/* ---------- View all ---------- */
.ecbc-shop .ecbc-viewall {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 17px 30px;
	border: 2px solid var(--ecbc-ink);
	border-radius: 4px;
	background: none;
	color: var(--ecbc-ink);
	font-weight: 700;
	font-size: 18px;
	line-height: 20.15px;
	letter-spacing: 1.04px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.ecbc-shop .ecbc-viewall:hover {
    border: 2px solid;
}

.ecbc-shop .ecbc-viewall:hover {
 background: var(--ecbc-ink);
border: 2px solid var(--ecbc-ink) !important;
 color: #fff;
}

.ecbc-shop .ecbc-viewall__label {
 display: inline-block;
}

/*
 * Loading state.
 *
 * Elementor's own spinner lives inside the load-more control this button replaces (and
 * which is hidden), so the feedback has to come from here. The trailing arrow becomes a
 * spinner rather than sitting alongside one, which keeps the button's width stable and
 * stops the row from jumping.
 */
.ecbc-shop .ecbc-viewall.is-loading {
 cursor: progress;
 opacity: 0.75;
 pointer-events: none;
}

.ecbc-shop .ecbc-viewall.is-loading::after {
 -webkit-mask: none;
 mask: none;
 background: none;
 border: 2px solid currentColor;
 border-top-color: transparent;
 border-radius: 50%;
 animation: ecbc-viewall-spin 0.6s linear infinite;
}

@keyframes ecbc-viewall-spin {
 to {
  transform: rotate(360deg);
 }
}

/* Without motion the spinner still needs to read as activity, so it pulses instead. */
@media (prefers-reduced-motion: reduce) {
 .ecbc-shop .ecbc-viewall.is-loading::after {
  animation: ecbc-viewall-pulse 1.1s ease-in-out infinite;
 }

 @keyframes ecbc-viewall-pulse {
  50% {
   opacity: 0.25;
  }
 }
}

.ecbc-shop .ecbc-viewall::after {
 content: '';
 width: 14px;
 height: 14px;
 flex: 0 0 auto;
 background: currentColor;
 -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-7-7 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-7-7 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 767px) {
 .ecbc-shop .ecbc-viewall {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 15px 20px;
  letter-spacing: 0.6px;
 }
}

/* =========================================
   COMPARISON TABLE
   ========================================= */

.ecbc-compare-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* =========================================
   MAIN TABLE
   ========================================= */

.ecbc-compare {
	width: 100%;
	min-width: 900px;

	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;

	border: 1px solid #E5E7EB;
	border-radius: 14px;
	overflow: hidden;

	background: #FFFFFF;

	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #142235;

	box-shadow: 0 1px 2px 0 rgba(13, 27, 42, 0.05);
}

/* =========================================
   COLUMN WIDTHS
   ========================================= */

.ecbc-compare th:first-child,
.ecbc-compare td:first-child {
	width: 25%;
}

.ecbc-compare th:not(:first-child),
.ecbc-compare td:not(:first-child) {
	width: 18.75%;
}

/* =========================================
   TABLE HEADER
   ========================================= */

.ecbc-compare thead th {
	padding: 20px 22px;

	background: #000000 !important;
	color: #FFFFFF !important;

	text-align: left;
	vertical-align: top;

	font-size: 13px;
	line-height: 1.3;
	font-weight: 700;

	letter-spacing: 0.6px;
	text-transform: uppercase;

	border: none;
}

/* First header corner */
.ecbc-compare thead th:first-child {
	border-top-left-radius: 13px;
}

/* Last header corner */
.ecbc-compare thead th:last-child {
	border-top-right-radius: 13px;
}

/* =========================================
   HEADER SUBTITLE
   ========================================= */

.ecbc-compare thead th span {
	display: block;

	margin-top: 4px;

	font-size: 11px;
	line-height: 1.3;
	font-weight: 500;

	letter-spacing: 0.8px;
	text-transform: uppercase;

	color: rgba(255, 255, 255, 0.6) !important;

	border: none;
}

/* =========================================
   TABLE BODY
   ========================================= */

/* All body cells white by default */
.ecbc-compare tbody td {
	background: #FFFFFF !important;
}

/* =========================================
   FIRST TH OF EVERY BODY ROW
   RED COLOR
   ========================================= */

.ecbc-compare tbody tr > th {
	padding: 16px 22px;

	background: #FF0000 !important;
	color: #FFFFFF !important;

	text-align: left;
	vertical-align: middle;

	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;

	border: none;
	border-bottom: 1px solid #E1E5EA;
}

/* Keep first TH red even on odd/even rows */
.ecbc-compare tbody tr:nth-child(odd) > th,
.ecbc-compare tbody tr:nth-child(even) > th {
	background: #FAFBFC !important;
	color: #0D1B2A !important;
}

/* =========================================
   PRODUCT CELLS
   ========================================= */

.ecbc-compare tbody td {
	padding: 16px 22px;

	background: #FFFFFF !important;
	color: #6B7280;

	text-align: left;
	vertical-align: middle;

	font-size: 14px;
	line-height: 1.4;
	font-weight: 400;

	border: none;
	border-bottom: 1px solid #E1E5EA;
}

/* =========================================
   ROW BORDERS
   ========================================= */

.ecbc-compare tbody tr:not(:last-child) > th,
.ecbc-compare tbody tr:not(:last-child) > td {
	border-bottom: 1px solid #E1E5EA;
}

/* Last row */
.ecbc-compare tbody tr:last-child > th,
.ecbc-compare tbody tr:last-child > td {
	border-bottom: none;
}

/* =========================================
   YES / GREEN DOT
   ========================================= */

.ecbc-compare .is-yes {
	display: inline-flex;

	width: 8px;
	height: 8px;

	align-items: center;
	justify-content: center;

	vertical-align: middle;
}

.ecbc-compare .is-yes::before {
	content: '';

	display: block;

	width: 8px;
	height: 8px;

	border-radius: 50%;

	background: #22C55E;
}

/* =========================================
   NO / DASH
   ========================================= */

.ecbc-compare .is-no {
	color: #9CA3AF;

	font-size: 14px;
	font-weight: 400;
}

/* =========================================
   PRICE
   ========================================= */

.ecbc-compare .is-price {
	color: #142235;

	font-weight: 700;
}

/* =========================================
   GENERAL CELL SETTINGS
   ========================================= */

.ecbc-compare th,
.ecbc-compare td {
	box-sizing: border-box;

	white-space: normal;
	word-break: normal;
	overflow-wrap: normal;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {

	.ecbc-compare {
		min-width: 900px;
	}

	.ecbc-compare thead th {
		padding: 18px 16px;
		font-size: 12px;
	}

	.ecbc-compare thead th span {
		font-size: 10px;
		margin-top: 3px;
	}

	.ecbc-compare tbody th,
	.ecbc-compare tbody td {
		padding: 14px 16px;
		font-size: 13px;
	}
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

	.ecbc-compare-scroll {
		width: 100%;
		overflow-x: auto;
	}

	.ecbc-compare {
		min-width: 850px;
		border-radius: 10px;
	}

	.ecbc-compare thead th {
		padding: 16px 14px;
		font-size: 11px;
		letter-spacing: 0.4px;
	}

	.ecbc-compare thead th span {
		margin-top: 3px;
		font-size: 9px;
		letter-spacing: 0.5px;
	}

	.ecbc-compare tbody th,
	.ecbc-compare tbody td {
		padding: 13px 14px;
		font-size: 13px;
	}

	.ecbc-compare .is-yes,
	.ecbc-compare .is-yes::before {
		width: 7px;
		height: 7px;
	}
}

/* ---------- Merchant benefits ---------- */

.ecbc-benefit {
	height: 100%;
	padding: 28px 24px;
	border: 1px solid var(--ecbc-line);
	border-radius: 8px;
	background: var(--ecbc-surface);
}

.ecbc-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 20px;
	border-radius: 8px;
	background: #e8f4fd;
	color: var(--ecbc-blue);
}

.ecbc-benefit__icon svg {
	width: 20px;
	height: 20px;
}

.ecbc-benefit__title {
	margin: 0 0 10px;
	font-weight: 700;
	font-size: 16px;
	line-height: 22px;
	color: var(--ecbc-ink);
}

.ecbc-benefit__text {
	margin: 0;
	font-size: 14px;
	line-height: 21px;
	color: var(--ecbc-muted);
}

/* ---------- FAQ ---------- */

.ecbc-shop .ecbc-faq .e-n-accordion-item {
	margin-bottom: 12px;
	border: 1px solid var(--ecbc-line);
	border-radius: 8px;
	background: transparent;
	overflow: hidden;
}

.ecbc-shop .ecbc-faq .e-n-accordion-item-title {
	padding: 25px 28px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	color: var(--ecbc-ink);
	display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.ecbc-shop .e-n-accordion-item-title {
    border: none !important;
}

.ecbc-shop .ecbc-faq .e-n-accordion-item-title-text {
	font-weight: 600;
}

.ecbc-shop .ecbc-faq .e-n-accordion-item-title-icon {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #fff;
	color: var(--ecbc-blue);
}

.ecbc-shop .ecbc-faq p {
	margin: 0;
	padding: 0 0 26px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 24px;
	color: var(--ecbc-muted);
}

@media (max-width: 767px) {
	.ecbc-shop .ecbc-faq .e-n-accordion-item-title {
		padding: 18px 18px;
		font-size: 15px;
	}

	.ecbc-shop .ecbc-faq p {
		padding: 0 18px 20px;
	}
}

/* ---------- Overflow guard ----------
 * The grid, tab strip and table are the three things on this page that can exceed the
 * viewport. Each handles its own overflow above; this stops anything else doing so.
 */
.ecbc-shop {
	max-width: 100%;
	overflow-x: clip;
}

/* ----------
 * The Loop Grid keeps ownership of pagination, but its control is replaced visually by
 * the design's outlined pill (see shop.js). Hide it without removing it, so the grid's
 * own behaviour and state remain intact.
 */
.ecbc-shop .ecbc-grid .e-loop__load-more {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Benefits grid ---------- */

.ecbc-shop .ecbc-benefits-grid > .ecbc-benefit {
	flex: 1 1 calc(25% - 18px);
	min-width: 0;
}

@media (max-width: 1024px) {
	.ecbc-shop .ecbc-benefits-grid > .ecbc-benefit {
		flex-basis: calc(50% - 12px);
	}
}

@media (max-width: 640px) {
	.ecbc-shop .ecbc-benefits-grid > .ecbc-benefit {
		flex-basis: 100%;
	}
}

.ecbc-shop .ecbc-benefit .elementor-icon-box-title,
.ecbc-shop .ecbc-benefit .elementor-icon-box-title a {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 22px;
	color: var(--ecbc-ink);
}

.ecbc-shop .ecbc-benefit .elementor-icon-box-description {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 21px;
	color: var(--ecbc-muted);
}

.ecbc-shop .ecbc-benefit .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #e8f4fd;
	color: var(--ecbc-blue);
	font-size: 18px;
}

/* ----------
 * Catalogue layout.
 *
 * The category filter is a column beside the grid rather than a strip above it, so the
 * whole range stays visible while the customer scrolls the products. Elementor sizes
 * containers through a `--width` custom property and hands every widget `width: 100%`
 * inside a flex container, so both have to be addressed for the two columns to hold
 * their proportions.
 */
.ecbc-shop .ecbc-catalogue {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

/*
 * These three are pure layout wrappers, but Elementor gives any container without its
 * own padding setting the kit's default — 30px a side, which at phone width took a third
 * of the screen away from the cards. The section around them already provides the page
 * gutter, so they contribute none.
 */
#ecbc-catalogue .ecbc-catalogue,
#ecbc-catalogue .ecbc-catalogue__side,
#ecbc-catalogue .ecbc-catalogue__main,
#ecbc-catalogue .ecbc-catalogue__controls {
	padding: 0;
}

.ecbc-shop .ecbc-catalogue__side {
	--width: 260px;
	width: 260px;
	flex: 0 0 260px;
	/* Follows the grid down; the range is long and the filter should not scroll away. */
	position: sticky;
	top: 24px;
}

.ecbc-shop .ecbc-catalogue__side > .elementor-widget-taxonomy-filter {
	width: 100%;
}

.ecbc-shop .ecbc-catalogue__main {
	--width: auto;
	flex: 1 1 auto;
	/* Without this the grid refuses to shrink below its cards' intrinsic width. */
	min-width: 0;
}

/* ----------
 * Heading row: the section title, with the search and sort controls opposite.
 */
.ecbc-shop .ecbc-catalogue__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 24px;
}

.ecbc-shop .ecbc-catalogue__head > .ecbc-shop__heading {
	flex: 1 1 320px;
	min-width: 0;
}

.ecbc-shop .ecbc-catalogue__controls {
	--width: auto;
	width: auto;
	flex: 0 0 auto;
	margin-left: auto;
}

.ecbc-shop .ecbc-catalogue__controls > .elementor-widget {
	width: auto;
}

/* ----------
 * Grid tracks that cannot outgrow their column.
 *
 * Elementor sizes the columns with `1fr`, whose automatic minimum is the widest
 * unbreakable thing inside a card. Beside the sidebar the grid has less room than that
 * minimum, so the tracks kept their content width and the last cards overflowed the
 * page. Clearing the items' minimum lets the tracks divide the space they actually have,
 * at every column count, rather than restating the counts here.
 */
.ecbc-shop .ecbc-catalogue__main .ecbc-grid .elementor-grid > * {
	min-width: 0;
}

/* ----------
 * The filter as a vertical list.
 *
 * The tab rules above style a horizontal strip, which is still what the narrow layouts
 * use; from the desktop breakpoint up the same markup becomes a stacked list, with the
 * active marker moving from the bottom edge to the leading edge.
 */
@media (min-width: 1025px) {
	.ecbc-catalogue__side .ecbc-tabs .e-filter {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		overflow: visible;
	}

	.ecbc-catalogue__side .ecbc-tabs .e-filter-item {
		width: 100%;
		justify-content: space-between;
		padding: 12px 14px;
		text-align: left;
		border-bottom: 0;
		border-left: 3px solid transparent;
		border-radius: 6px;
		white-space: normal;
		transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
	}

	/*
	 * Hover is a neutral wash with a pale leading edge, the selected row a blue wash with
	 * a solid blue one, so pointing at a category never looks like having chosen it.
	 *
	 * The widget's own rules paint a near-black box around the hovered and the selected
	 * item, which belongs to its default pill styling and not to this list; the edges are
	 * cleared here so only the leading one shows. `:not([aria-pressed])` matches how those
	 * rules are written, so these win on the cascade rather than on `!important`.
	 */
	.ecbc-catalogue__side .ecbc-tabs .e-filter-item:hover:not([aria-pressed='true']) {
		background: var(--ecbc-tint);
		color: var(--ecbc-blue);
		border-color: transparent;
		border-left-color: #a8d3ef;
	}

	.ecbc-catalogue__side .ecbc-tabs .e-filter-item[aria-pressed='true'],
	.ecbc-catalogue__side .ecbc-tabs .e-filter-item.e-filter-item-active {
		border-color: transparent;
		border-left-color: var(--ecbc-blue);
		background: #e8f4fd;
	}

	.ecbc-catalogue__side .ecbc-tabs .e-filter-item::after {
		margin-left: auto;
	}
}

/* ----------
 * Below the desktop breakpoint the filter takes the full width above the grid and
 * reverts to the scrolling strip the tab rules already describe.
 *
 * These are scoped to the section's id because Elementor drives container direction and
 * width from custom properties in rules of the same weight as a two-class selector; the
 * id settles the cascade outright instead of depending on which stylesheet loads last.
 */
@media (max-width: 1024px) {
	#ecbc-catalogue .ecbc-catalogue {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	#ecbc-catalogue .ecbc-catalogue__side {
		--width: 100%;
		width: 100%;
		flex: 0 0 auto;
		position: static;
		/* Lets the scrolling tab strip shrink instead of widening the page. */
		min-width: 0;
		margin-bottom: 24px;
		border-bottom: 1px solid var(--ecbc-line);
	}

	#ecbc-catalogue .ecbc-catalogue__main {
		--width: 100%;
		width: 100%;
		min-width: 0;
	}

	/* Back to the horizontal strip: no leading edge, no per-item background. */
	#ecbc-catalogue .ecbc-catalogue__side .ecbc-tabs .e-filter-item,
	#ecbc-catalogue .ecbc-catalogue__side .ecbc-tabs .e-filter-item:hover,
	#ecbc-catalogue .ecbc-catalogue__side .ecbc-tabs .e-filter-item[aria-pressed='true'] {
		background: none;
		border-left: 0;
	}
}

/* ----------
 * The heading row stacks before it crowds, and the controls take the full width once
 * they no longer fit beside the title.
 */
@media (max-width: 900px) {
	#ecbc-catalogue .ecbc-catalogue__head {
		flex-direction: column;
		align-items: stretch;
	}

	#ecbc-catalogue .ecbc-catalogue__controls {
		--width: 100%;
		width: 100%;
		margin-left: 0;
		justify-content: flex-start;
	}

	#ecbc-catalogue .ecbc-catalogue__controls > .elementor-widget {
		width: auto;
		flex: 1 1 auto;
	}

	#ecbc-catalogue .ecbc-search,
	#ecbc-catalogue .ecbc-search input[type='search'] {
		width: 100%;
	}
}

@media (max-width: 560px) {
	#ecbc-catalogue .ecbc-catalogue__controls {
		flex-wrap: wrap;
	}

	#ecbc-catalogue .ecbc-catalogue__controls > .elementor-widget {
		flex: 1 1 100%;
		width: 100%;
	}

	#ecbc-catalogue .ecbc-sort,
	#ecbc-catalogue .ecbc-sort__select {
		width: 100%;
	}
}

/* ----------
 * Benefit cards.
 *
 * Elementor's icon-box centres its content when the icon sits on top; the design aligns
 * icon, title and copy to the left edge of the card.
 */
.ecbc-shop .ecbc-benefit .elementor-icon-box-wrapper {
	text-align: left;
}

.ecbc-shop .ecbc-benefit .elementor-icon-box-icon {
	display: flex;
	justify-content: flex-start;
	margin-right: auto;
	margin-bottom: 20px;
}

.ecbc-shop .ecbc-benefit .elementor-icon-box-content {
	text-align: left;
}
