/*
 * Eerkins Us - WordPress / WooCommerce / Gravity Forms styles.
 * Uses the design tokens from style.css; the approved HTML sections are untouched.
 */

/* ==========================================================================
   1. Small helpers
   ========================================================================== */

.ec-btn--block {
	display: flex;
	width: 100%;
	min-width: 0;
}

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

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

.ec-btn.loading,
.ec-btn[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.ec-btn.loading::after {
	content: "";
	width: 16px;
	height: 16px;
	margin-left: 10px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: ec-spin 0.7s linear infinite;
}

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

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

.ec-faq__more p {
	margin: 0;
}

.ec-brand-card__name {
	color: var(--ec-text);
	font-family: var(--ec-font-serif);
	font-size: 22px;
}

.ec-empty {
	padding: 40px 0;
	font-size: 18px;
	text-align: center;
}

html.ec-drawer-open {
	overflow: hidden;
}

/* Footer without newsletter keeps the photo behind the columns */
.ec-footer--no-newsletter::before {
	inset: 0;
}

.ec-footer--no-newsletter .ec-footer__main {
	padding-top: 60px;
}

/* ==========================================================================
   2. Product card extras
   ========================================================================== */

.ec-product-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 10px;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-red);
	color: var(--ec-white);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ec-product-card__badge--out {
	background: #8a8f9c;
}

a.ec-product-card__add {
	text-decoration: none;
}

.ec-product-card__add.loading svg {
	opacity: 0;
}

.ec-product-card__add.loading::after {
	content: "";
	position: absolute;
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: ec-spin 0.7s linear infinite;
}

.ec-product-card__add.added {
	background: var(--ec-red);
	color: var(--ec-white);
}

/* WooCommerce "View cart" link after AJAX add - the side cart opens instead */
.ec-product-card .added_to_cart,
.ec-cart-form .added_to_cart {
	display: none !important;
}

.ec-product-card__price .woocommerce-Price-amount,
.ec-product__price .woocommerce-Price-amount {
	white-space: nowrap;
}

.ec-product-card__price del,
.ec-product__price del {
	opacity: 1;
}

/* Variable products show a range */
.ec-product-card__price {
	flex-wrap: wrap;
	gap: 6px 14px;
}

/* ==========================================================================
   3. Notices (WooCommerce)
   ========================================================================== */

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.ec-notice-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin: 0 0 24px;
	padding: 16px 22px;
	border: 1px solid #cfe3d3;
	border-left: 4px solid #2e9e55;
	border-radius: 12px;
	background: #f2faf4;
	color: #24442d;
	font-size: 15px;
	line-height: 1.5;
	list-style: none;
}

.woocommerce-info,
.ec-notice-box {
	border-color: #d4deec;
	border-left-color: var(--ec-blue);
	background: #f3f7fc;
	color: #1f3554;
}

.woocommerce-error {
	flex-direction: column;
	align-items: flex-start;
	border-color: #f0cfcf;
	border-left-color: var(--ec-red);
	background: #fdf4f4;
	color: #6b1d1f;
}

.woocommerce-error li {
	margin: 0;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	color: inherit;
	font-weight: 500;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-message .wc-forward {
	order: 2;
	margin-left: auto;
	padding: 8px 18px;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-red);
	color: var(--ec-white);
	font-size: 14px;
	text-decoration: none;
}

/* ==========================================================================
   4. Quantity: stepper ( - qty + ) and product page box
   ========================================================================== */

.quantity {
	display: inline-flex;
}

.quantity--hidden {
	display: none;
}

.ec-stepper {
	display: inline-flex;
	align-items: center;
	height: 46px;
	padding: 0 4px;
	border: 1px solid #dcdfe4;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-white);
}

.ec-stepper__btn {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ec-text);
	cursor: pointer;
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

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

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

.ec-stepper__input {
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ec-text-dark);
	font-family: var(--ec-font-sans);
	font-size: 16px;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

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

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

.ec-stepper--sm {
	height: 36px;
}

.ec-stepper--sm .ec-stepper__btn {
	width: 28px;
	height: 28px;
}

.ec-stepper--sm .ec-stepper__input {
	width: 34px;
	font-size: 14px;
}

.ec-qty-fixed {
	font-size: 16px;
}

/* ==========================================================================
   5. Product page extras (variations, stock, meta)
   ========================================================================== */

.ec-product__short {
	margin: -8px 0 22px;
	font-size: 16px;
	line-height: 1.5;
}

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

.ec-product__price .price {
	display: contents;
}

.ec-product__summary .stock {
	margin: 0 0 16px;
	font-size: 15px;
}

.ec-product__summary .stock.in-stock {
	color: #2e9e55;
}

.ec-product__summary .stock.out-of-stock {
	color: var(--ec-red);
}

.ec-variations {
	display: grid;
	gap: 18px;
	margin: 0 0 24px;
}

.ec-variation__head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 10px;
}

.ec-variation__label {
	color: var(--ec-text-soft);
	font-family: var(--ec-font-serif);
	font-size: 22px;
}

.ec-variation__chosen {
	color: var(--ec-red);
	font-size: 15px;
}

.ec-variation__select {
	width: 100%;
	max-width: 360px;
	height: 50px;
	padding: 0 16px;
	border: 1px solid #d6dbe3;
	border-radius: 10px;
	background: var(--ec-white);
	font-family: var(--ec-font-sans);
	font-size: 16px;
}

.ec-variation__select--hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.ec-chips--choice {
	gap: 12px;
}

.ec-chip {
	min-width: 64px;
	padding: 9px 18px;
	border: 1px solid #d6dbe3;
	border-radius: 6px;
	background: var(--ec-white);
	color: var(--ec-text-soft);
	font-family: var(--ec-font-serif);
	font-size: 17px;
	cursor: pointer;
	transition: border-color var(--ec-transition), background-color var(--ec-transition), color var(--ec-transition);
}

.ec-chip:hover {
	border-color: var(--ec-red);
}

.ec-chip.is-active {
	border-color: var(--ec-red);
	background: var(--ec-red);
	color: var(--ec-white);
}

.ec-chip:disabled {
	opacity: 0.4;
	text-decoration: line-through;
	cursor: not-allowed;
}

.ec-variation__reset {
	justify-self: start;
	color: var(--ec-red);
	font-size: 14px;
}

.single_variation_wrap .woocommerce-variation-price {
	display: none;
}

.single_variation_wrap .woocommerce-variation-description p,
.single_variation_wrap .woocommerce-variation-availability p {
	margin: 0 0 14px;
	font-size: 15px;
}

.single_variation_wrap .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button,
.single_add_to_cart_button.disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.ec-product__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 26px 0 0;
	padding-top: 18px;
	border-top: 1px solid #d1dce0;
	font-size: 14px;
}

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

.ec-product__summary .woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
}

.ec-product__summary .woocommerce-product-attributes th,
.ec-product__summary .woocommerce-product-attributes td {
	padding: 8px 0;
	border-bottom: 1px solid #e2e6ea;
	text-align: left;
}

.ec-product__summary .woocommerce-product-attributes td p {
	margin: 0;
}

.ec-gallery__main--single {
	grid-column: 1 / -1;
}

/* ==========================================================================
   6. Shop extras
   ========================================================================== */

.ec-filter__clear {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	color: var(--ec-red);
	font-size: 14px;
	text-decoration: none;
}

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

.ec-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 70px 24px;
	border: 1px dashed #d6dbe3;
	border-radius: 20px;
	background: var(--ec-white);
	text-align: center;
}

.ec-empty-state h2,
.ec-empty-state h3 {
	margin: 10px 0 0;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-h2);
	font-weight: 400;
}

.ec-empty-state p {
	max-width: 460px;
	margin: 0 0 18px;
	font-size: 16px;
}

.ec-empty-state__icon {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--ec-bg-panel);
	color: var(--ec-red);
}

.ec-empty-state__icon svg {
	width: 36px;
	height: 36px;
}

/* ==========================================================================
   7. Side cart drawer
   ========================================================================== */

.ec-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

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

.ec-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 24, 33, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.ec-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(440px, 100%);
	background: var(--ec-white);
	box-shadow: -20px 0 50px rgba(20, 24, 33, 0.18);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.3, 1);
}

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

.ec-drawer.is-open .ec-drawer__overlay {
	opacity: 1;
}

.ec-drawer.is-open .ec-drawer__panel {
	transform: none;
}

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

.ec-drawer__title {
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: 26px;
	font-weight: 400;
}

.ec-drawer__count {
	color: var(--ec-red);
	font-size: 18px;
}

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

.ec-drawer__close:hover {
	border-color: var(--ec-red);
	color: var(--ec-red);
}

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

.ec-drawer__notice {
	padding: 12px 24px 0;
}

.ec-drawer .widget_shopping_cart_content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

/* Free shipping bar */
.ec-ship-bar {
	padding: 16px 24px;
	background: var(--ec-bg-panel);
}

.ec-ship-bar__text {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.4;
}

.ec-ship-bar__text svg {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--ec-red);
}

.ec-ship-bar__text strong {
	color: var(--ec-red);
	font-weight: 600;
}

.ec-ship-bar__track {
	height: 8px;
	overflow: hidden;
	border-radius: var(--ec-radius-pill);
	background: #dfe5ee;
}

.ec-ship-bar__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--ec-orange), var(--ec-red));
	transition: width 0.5s ease;
}

.ec-ship-bar.is-complete .ec-ship-bar__track span {
	background: #2e9e55;
}

.ec-ship-bar.is-complete .ec-ship-bar__text svg,
.ec-ship-bar.is-complete .ec-ship-bar__text strong {
	color: #2e9e55;
}

/* Mini cart list */
.ec-mini-cart {
	flex: 1;
	margin: 0;
	padding: 6px 24px;
	overflow-y: auto;
	list-style: none;
}

.ec-mini-cart__item {
	position: relative;
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid var(--ec-border);
	transition: opacity var(--ec-transition);
}

.ec-mini-cart__item.is-loading,
.ec-mini-cart__item.blockUI,
.ec-mini-cart__item[style*="opacity"] {
	opacity: 0.5;
	pointer-events: none;
}

.ec-mini-cart__thumb a,
.ec-mini-cart__thumb > img {
	display: grid;
	place-items: center;
	width: 78px;
	height: 88px;
	border: 1px solid var(--ec-border);
	border-radius: 8px;
	background: var(--ec-white);
}

.ec-mini-cart__thumb img {
	width: auto;
	max-width: 70%;
	max-height: 80%;
}

.ec-mini-cart__name {
	margin: 0 0 6px;
	font-size: 15px;
	line-height: 1.35;
}

.ec-mini-cart__name a {
	color: var(--ec-text-dark);
	text-decoration: none;
}

.ec-mini-cart__name a:hover {
	color: var(--ec-red);
}

.ec-mini-cart__body .variation {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 6px;
	margin: 0 0 8px;
	color: var(--ec-text-soft);
	font-size: 13px;
}

.ec-mini-cart__body .variation dt,
.ec-mini-cart__body .variation dd,
.ec-mini-cart__body .variation p {
	margin: 0;
}

.ec-mini-cart__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 6px;
}

.ec-mini-cart__price {
	color: var(--ec-red);
	font-size: 16px;
	font-weight: 600;
}

.ec-mini-cart__remove {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #8a8f9c;
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

.ec-mini-cart__remove:hover {
	background: #fdeeee;
	color: var(--ec-red);
}

.ec-mini-cart__remove svg {
	width: 17px;
	height: 17px;
}

.ec-mini-cart__footer {
	padding: 18px 24px 24px;
	border-top: 1px solid var(--ec-border);
	background: var(--ec-white);
	box-shadow: 0 -10px 30px rgba(30, 40, 60, 0.06);
}

.ec-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	font-size: 17px;
}

.ec-mini-cart__total strong {
	color: var(--ec-text-dark);
	font-size: 22px;
	font-weight: 600;
}

.ec-mini-cart__note {
	margin: 4px 0 16px;
	color: var(--ec-muted);
	font-size: 13px;
}

.ec-mini-cart__buttons {
	display: grid;
	gap: 10px;
	margin: 0;
}

.ec-mini-cart__buttons .ec-btn {
	min-height: 52px;
}

.ec-mini-cart__empty {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 40px 30px;
	text-align: center;
}

.ec-mini-cart__empty p {
	max-width: 280px;
	margin: 0 0 16px;
	font-size: 16px;
}

.ec-mini-cart__empty .ec-btn {
	min-width: 220px;
}

.ec-mini-cart__empty-icon {
	display: grid;
	place-items: center;
	width: 90px;
	height: 90px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--ec-bg-panel);
	color: var(--ec-red);
}

.ec-mini-cart__empty-icon svg {
	width: 40px;
	height: 40px;
}

/* ==========================================================================
   8. Shop head (cart / checkout / account) + steps
   ========================================================================== */

.ec-shop-head {
	padding: 30px 0 34px;
	background: var(--ec-bg-hero);
}

.ec-shop-head__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	margin-top: 14px;
}

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

.ec-checkout-steps {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.ec-checkout-steps__item {
	display: flex;
	align-items: center;
	color: var(--ec-muted);
	font-size: 15px;
}

.ec-checkout-steps__item + .ec-checkout-steps__item::before {
	content: "";
	width: 56px;
	height: 2px;
	margin: 0 14px;
	background: #d2d9e3;
}

.ec-checkout-steps__item.is-done + .ec-checkout-steps__item::before {
	background: var(--ec-red);
}

.ec-checkout-steps__item a {
	display: flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.ec-checkout-steps__num {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-right: 10px;
	border: 2px solid #d2d9e3;
	border-radius: 50%;
	background: var(--ec-white);
	font-size: 14px;
	font-weight: 600;
}

.ec-checkout-steps__num svg {
	width: 13px;
	height: 13px;
}

.ec-checkout-steps__item.is-current {
	color: var(--ec-text-dark);
}

.ec-checkout-steps__item.is-current .ec-checkout-steps__num {
	border-color: var(--ec-red);
	color: var(--ec-red);
}

.ec-checkout-steps__item.is-done {
	color: var(--ec-text);
}

.ec-checkout-steps__item.is-done .ec-checkout-steps__num {
	border-color: var(--ec-red);
	background: var(--ec-red);
	color: var(--ec-white);
}

.ec-wc-page {
	padding: 50px 0 20px;
}

/* ==========================================================================
   9. Shared Woo form fields (checkout, account, coupon)
   ========================================================================== */

.woocommerce form .form-row {
	margin: 0 0 18px;
	padding: 0;
}

.woocommerce form .form-row label,
.woocommerce-form label:not(.ec-check):not(.woocommerce-form__label-for-checkbox) {
	display: block;
	margin-bottom: 7px;
	color: var(--ec-text);
	font-size: 14px;
	font-weight: 500;
}

.woocommerce form .form-row .required {
	color: var(--ec-red);
	text-decoration: none;
	border: 0;
}

.woocommerce form .form-row .optional {
	color: var(--ec-muted);
	font-weight: 400;
}

.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea,
.woocommerce .select2-container .select2-selection--single {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid #d6dbe3;
	border-radius: 12px;
	background: var(--ec-white);
	color: var(--ec-text);
	font-family: var(--ec-font-sans);
	font-size: 15px;
	transition: border-color var(--ec-transition), box-shadow var(--ec-transition);
}

.woocommerce form textarea {
	height: 110px;
	padding: 14px 16px;
}

.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
	outline: none;
	border-color: var(--ec-red);
	box-shadow: 0 0 0 3px rgba(186, 38, 40, 0.12);
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 50px;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
	top: 13px;
	right: 10px;
}

.select2-dropdown {
	border-color: #d6dbe3 !important;
	border-radius: 10px !important;
	overflow: hidden;
}

.select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted[data-selected] {
	background: var(--ec-red) !important;
}

.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select {
	border-color: var(--ec-red);
}

.woocommerce form .form-row.woocommerce-validated .input-text {
	border-color: #9fd3b0;
}

.woocommerce-input-wrapper {
	display: block;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 26px;
	border: 1px solid var(--ec-red);
	border-radius: var(--ec-radius-pill);
	background: var(--ec-red);
	color: var(--ec-white);
	font-family: var(--ec-font-sans);
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

.woocommerce .button:hover,
.woocommerce .button:focus-visible {
	background: var(--ec-red-dark);
	color: var(--ec-white);
}

.woocommerce .button:disabled,
.woocommerce .button[disabled],
.woocommerce .button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Checkbox / radio */
.ec-check,
.woocommerce-form__label-for-checkbox {
	display: inline-flex !important;
	align-items: center;
	gap: 9px;
	font-size: 14px;
	cursor: pointer;
}

.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"],
.ec-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--ec-red);
}

/* ==========================================================================
   10. Cart page
   ========================================================================== */

.ec-cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 36px;
	align-items: start;
}

.ec-cart-box,
.ec-checkout-card,
.cart_totals {
	padding: 30px;
	border: 1px solid var(--ec-border);
	border-radius: 20px;
	background: var(--ec-white);
	box-shadow: var(--ec-shadow-soft);
}

.ec-cart-box__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 20px;
}

.ec-cart-box__title,
.cart_totals h2,
.ec-checkout-card__title,
.ec-checkout-card h3 {
	margin: 0;
	font-family: var(--ec-font-serif);
	font-size: 26px;
	font-weight: 400;
}

.ec-cart-box__title span {
	color: var(--ec-red);
	font-size: 20px;
}

.ec-cart-box__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ec-red);
	font-size: 14px;
	text-decoration: none;
}

.ec-cart-box__link svg {
	width: 15px;
	height: 15px;
}

.ec-cart-list__labels,
.ec-cart-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 120px 150px 120px;
	gap: 20px;
	align-items: center;
}

.ec-cart-list__labels {
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--ec-bg-panel);
	color: var(--ec-text-soft);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ec-cart-list__labels span:not(:first-child),
.ec-cart-item > div:not(:first-child) {
	text-align: center;
}

.ec-cart-list__labels span:last-child,
.ec-cart-item__subtotal {
	text-align: right !important;
}

.ec-cart-item {
	padding: 22px 18px;
	border-bottom: 1px solid var(--ec-border);
}

.ec-cart-item__product {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.ec-cart-item__thumb a,
.ec-cart-item__thumb > img {
	display: grid;
	place-items: center;
	width: 96px;
	height: 108px;
	border: 1px solid var(--ec-border);
	border-radius: 10px;
	background: var(--ec-white);
}

.ec-cart-item__thumb img {
	width: auto;
	max-width: 70%;
	max-height: 82%;
}

.ec-cart-item__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.ec-cart-item__name {
	color: var(--ec-text-dark);
	font-size: 16px;
	line-height: 1.35;
	text-decoration: none;
}

a.ec-cart-item__name:hover {
	color: var(--ec-red);
}

.ec-cart-item__info .variation {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 6px;
	margin: 0;
	color: var(--ec-text-soft);
	font-size: 13px;
}

.ec-cart-item__info .variation dd,
.ec-cart-item__info .variation p {
	margin: 0;
}

.ec-cart-item__sku {
	color: var(--ec-muted);
	font-size: 12px;
}

.ec-cart-item__remove a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 4px;
	color: #8a8f9c;
	font-size: 13px;
	text-decoration: none;
}

.ec-cart-item__remove a:hover {
	color: var(--ec-red);
}

.ec-cart-item__remove svg {
	width: 15px;
	height: 15px;
}

.ec-cart-item__price {
	color: var(--ec-text-soft);
	font-size: 16px;
}

.ec-cart-item__subtotal {
	color: var(--ec-red);
	font-size: 18px;
	font-weight: 600;
}

.ec-cart-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
}

.ec-coupon {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1;
	max-width: 440px;
	height: 52px;
	padding: 4px 4px 4px 44px;
	border: 1px solid #d6dbe3;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-white);
}

.ec-coupon__icon {
	position: absolute;
	left: 16px;
	display: flex;
	color: var(--ec-red);
}

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

.ec-coupon .input-text {
	flex: 1;
	min-width: 0;
	height: 100% !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	font-size: 15px;
}

.woocommerce .ec-coupon__btn {
	min-height: 0;
	height: 100%;
	padding: 0 24px;
}

.woocommerce .ec-cart-actions__update {
	border-color: #d6dbe3;
	background: var(--ec-white);
	color: var(--ec-text);
}

.woocommerce .ec-cart-actions__update:hover:not(:disabled) {
	border-color: var(--ec-red);
	background: var(--ec-white);
	color: var(--ec-red);
}

/* Totals */
.ec-cart__side {
	position: sticky;
	top: 120px;
}

.cart_totals .ec-ship-bar {
	margin: -30px -30px 24px;
	padding: 18px 30px;
	border-radius: 20px 20px 0 0;
}

.cart_totals h2 {
	margin-bottom: 14px;
}

.cart_totals table,
.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.cart_totals th,
.cart_totals td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 14px 0;
	border-bottom: 1px solid var(--ec-border);
	font-weight: 400;
	text-align: left;
	vertical-align: top;
}

.cart_totals td,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th.product-total {
	text-align: right;
}

.cart_totals .order-total th,
.cart_totals .order-total td,
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
	border-bottom: 0;
	padding-top: 18px;
	color: var(--ec-text-dark);
	font-size: 18px;
}

.cart_totals .order-total .amount,
.woocommerce-checkout-review-order-table .order-total .amount {
	color: var(--ec-red);
	font-size: 26px;
	font-weight: 600;
}

.woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-shipping-methods li {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0 0 6px;
}

.woocommerce-shipping-methods label {
	display: inline !important;
	margin: 0 !important;
	font-weight: 400 !important;
}

.woocommerce-shipping-destination,
.woocommerce-shipping-calculator {
	margin: 8px 0 0;
	color: var(--ec-text-soft);
	font-size: 13px;
}

.shipping-calculator-button {
	color: var(--ec-red);
}

.shipping-calculator-form {
	margin-top: 10px;
	text-align: left;
}

.wc-proceed-to-checkout {
	padding-top: 18px;
}

.woocommerce .wc-proceed-to-checkout .checkout-button {
	display: flex;
	width: 100%;
	min-height: 58px;
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Trust badges */
.ec-trust {
	display: grid;
	gap: 12px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.ec-trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border-radius: 14px;
	background: var(--ec-bg-panel);
	font-size: 13px;
	line-height: 1.35;
}

.ec-trust__item strong {
	display: block;
	color: var(--ec-text-dark);
	font-size: 15px;
	font-weight: 500;
}

.ec-trust__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ec-white);
	color: var(--ec-red);
}

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

/* Cross-sells */
.cross-sells {
	margin-top: 70px;
}

.cross-sells > h2 {
	margin: 0 0 30px;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-h2);
	font-weight: 400;
	text-align: center;
}

/* ==========================================================================
   11. Checkout
   ========================================================================== */

.ec-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 460px;
	gap: 36px;
	align-items: start;
}

.ec-checkout__details {
	display: grid;
	gap: 26px;
}

.ec-checkout-card h3 {
	margin-bottom: 22px;
}

.ec-checkout-card--shipping:not(:has(.woocommerce-shipping-fields *)):not(:has(.woocommerce-additional-fields *)) {
	display: none;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper,
.woocommerce-EditAccountForm {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
}

.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row,
.woocommerce-address-fields__field-wrapper .form-row,
.woocommerce-EditAccountForm > * {
	grid-column: 1 / -1;
}

.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-shipping-fields__field-wrapper .form-row-first,
.woocommerce-address-fields__field-wrapper .form-row-first,
.woocommerce-EditAccountForm .form-row-first {
	grid-column: 1;
}

.woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-shipping-fields__field-wrapper .form-row-last,
.woocommerce-address-fields__field-wrapper .form-row-last,
.woocommerce-EditAccountForm .form-row-last {
	grid-column: 2;
}

#ship-to-different-address {
	margin: 0 0 18px;
	font-size: 18px;
}

#ship-to-different-address label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ec-font-serif);
	font-weight: 400;
}

.woocommerce-additional-fields h3 {
	margin-top: 10px;
}

.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info {
	margin-bottom: 18px;
}

form.checkout_coupon,
form.woocommerce-form-login.login:not(.ec-auth__form) {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 24px;
	padding: 22px;
	border: 1px dashed #d6dbe3;
	border-radius: 16px;
	background: var(--ec-white);
}

form.checkout_coupon p {
	margin: 0;
}

form.checkout_coupon .form-row-first {
	flex: 1;
}

.ec-checkout__side {
	position: sticky;
	top: 120px;
}

.ec-checkout-card--review .ec-ship-bar {
	margin: 18px -30px;
}

.woocommerce-checkout-review-order-table thead th {
	padding-top: 0;
	color: var(--ec-text-soft);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.woocommerce-checkout-review-order-table .product-name {
	color: var(--ec-text-dark);
}

.woocommerce-checkout-review-order-table .product-quantity {
	color: var(--ec-red);
	font-weight: 500;
}

.woocommerce-checkout-review-order-table .variation {
	margin: 4px 0 0;
	color: var(--ec-text-soft);
	font-size: 13px;
}

.woocommerce-checkout-review-order-table .variation dt,
.woocommerce-checkout-review-order-table .variation dd,
.woocommerce-checkout-review-order-table .variation p {
	display: inline;
	margin: 0;
}

/* Payment */
#payment {
	margin-top: 10px;
}

#payment .wc_payment_methods {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

#payment .wc_payment_method {
	margin: 0 0 10px;
	padding: 14px 16px;
	border: 1px solid var(--ec-border);
	border-radius: 12px;
	transition: border-color var(--ec-transition);
}

#payment .wc_payment_method:has(input:checked) {
	border-color: var(--ec-red);
	background: #fffafa;
}

#payment .wc_payment_method > label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 0 8px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

#payment .wc_payment_method > label img {
	max-height: 24px;
}

#payment .payment_box {
	margin: 12px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--ec-bg-panel);
	font-size: 14px;
}

#payment .payment_box p {
	margin: 0;
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
	color: var(--ec-text-soft);
	font-size: 13px;
	line-height: 1.5;
}

.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-wrapper a {
	color: var(--ec-red);
}

#place_order,
.woocommerce #payment #place_order {
	display: flex;
	width: 100%;
	min-width: 0;
	min-height: 58px;
	margin-top: 16px;
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.blockUI.blockOverlay {
	background: rgba(255, 255, 255, 0.7) !important;
	opacity: 1 !important;
}

/* ==========================================================================
   12. Thank you
   ========================================================================== */

.ec-thankyou {
	max-width: 980px;
	margin: 0 auto;
}

.ec-thankyou__hero {
	padding: 50px 30px 40px;
	border-radius: 24px;
	background: var(--ec-bg-panel);
	text-align: center;
}

.ec-thankyou__icon {
	display: grid;
	place-items: center;
	width: 90px;
	height: 90px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #2e9e55;
	box-shadow: 0 0 0 10px rgba(46, 158, 85, 0.15);
	color: var(--ec-white);
}

.ec-thankyou__icon svg {
	width: 36px;
	height: 36px;
}

.ec-thankyou__hero--failed .ec-thankyou__icon {
	background: var(--ec-red);
	box-shadow: 0 0 0 10px rgba(186, 38, 40, 0.15);
}

.ec-thankyou__pretitle {
	margin: 0;
	color: var(--ec-red);
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-pretitle);
}

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

.ec-thankyou__text p {
	margin: 0;
	font-size: 17px;
}

.ec-thankyou__mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 0;
	padding: 10px 18px;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-white);
	font-size: 14px;
}

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

.ec-thankyou__overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.ec-thankyou__overview li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 22px;
	border: 1px solid var(--ec-border);
	border-radius: 16px;
	background: var(--ec-white);
}

.ec-thankyou__overview span {
	color: var(--ec-muted);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ec-thankyou__overview strong {
	color: var(--ec-text-dark);
	font-size: 18px;
	font-weight: 500;
}

.ec-thankyou__details {
	margin-top: 30px;
}

.ec-thankyou__details h2,
.woocommerce-order-details__title,
.woocommerce-column__title {
	margin: 30px 0 16px;
	font-family: var(--ec-font-serif);
	font-size: 26px;
	font-weight: 400;
}

.woocommerce-table--order-details,
.woocommerce-orders-table,
.shop_table.order_details {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border: 1px solid var(--ec-border);
	border-radius: 16px;
	font-size: 15px;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td,
.woocommerce-orders-table th,
.woocommerce-orders-table td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--ec-border);
	text-align: left;
}

.woocommerce-table--order-details thead th,
.woocommerce-orders-table thead th {
	background: var(--ec-bg-panel);
	color: var(--ec-text-soft);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td,
.woocommerce-orders-table tbody tr:last-child td {
	border-bottom: 0;
}

.woocommerce-table--order-details a,
.woocommerce-orders-table a:not(.button) {
	color: var(--ec-red);
}

.woocommerce-customer-details .woocommerce-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.woocommerce-customer-details address,
.woocommerce-Address address {
	padding: 20px 22px;
	border: 1px solid var(--ec-border);
	border-radius: 16px;
	font-style: normal;
	line-height: 1.7;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
	margin: 4px 0 0;
}

.ec-thankyou__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin: 36px 0 0;
}

/* ==========================================================================
   13. My Account
   ========================================================================== */

.woocommerce-account.logged-in .ec-wc-page--account .woocommerce {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}

.ec-account-nav {
	position: sticky;
	top: 120px;
	overflow: hidden;
	border: 1px solid var(--ec-border);
	border-radius: 20px;
	background: var(--ec-white);
	box-shadow: var(--ec-shadow-soft);
}

.ec-account-nav__user {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px;
	background: var(--ec-red);
	color: var(--ec-white);
}

.ec-account-nav__user img {
	display: block;
	width: 52px;
	height: 52px;
	border: 2px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
}

.ec-account-nav__user strong {
	display: block;
	font-family: var(--ec-font-serif);
	font-size: 19px;
	font-weight: 400;
}

.ec-account-nav__user small {
	display: block;
	opacity: 0.85;
	font-size: 13px;
	word-break: break-all;
}

.ec-account-nav ul {
	margin: 0;
	padding: 10px;
	list-style: none;
}

.ec-account-nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	color: var(--ec-text);
	font-size: 15px;
	text-decoration: none;
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

.ec-account-nav a svg {
	flex: none;
	width: 18px;
	height: 18px;
}

.ec-account-nav a:hover,
.ec-account-nav .is-active a {
	background: var(--ec-bg-panel);
	color: var(--ec-red);
}

.ec-account-nav .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--ec-muted);
}

.woocommerce-MyAccount-content {
	min-width: 0;
	padding: 34px;
	border: 1px solid var(--ec-border);
	border-radius: 20px;
	background: var(--ec-white);
	box-shadow: var(--ec-shadow-soft);
}

.woocommerce-MyAccount-content > p:first-child {
	margin-top: 0;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content legend {
	font-family: var(--ec-font-serif);
	font-weight: 400;
}

.woocommerce-MyAccount-content fieldset {
	grid-column: 1 / -1;
	margin: 20px 0 0;
	padding: 20px;
	border: 1px solid var(--ec-border);
	border-radius: 14px;
}

.ec-dash__title {
	margin: 0 0 6px;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-h2);
	font-weight: 400;
}

.ec-dash__hello p {
	max-width: 640px;
	margin: 0;
	color: var(--ec-text-soft);
}

.ec-dash__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.ec-dash-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 22px;
	border: 1px solid var(--ec-border);
	border-radius: 16px;
	color: var(--ec-text-soft);
	font-size: 13px;
	text-decoration: none;
	transition: border-color var(--ec-transition), transform var(--ec-transition), box-shadow var(--ec-transition);
}

.ec-dash-card:hover {
	border-color: var(--ec-red);
	box-shadow: var(--ec-shadow-soft);
	transform: translateY(-3px);
}

.ec-dash-card strong {
	color: var(--ec-text-dark);
	font-size: 20px;
	font-weight: 500;
}

.ec-dash-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: var(--ec-bg-panel);
	color: var(--ec-red);
}

.ec-dash-card__icon svg {
	width: 20px;
	height: 20px;
	margin: 0;
}

.ec-dash__recent {
	margin-top: 34px;
}

.ec-dash__recent-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.ec-dash__recent-head h3 {
	margin: 0;
	font-size: 22px;
}

.ec-dash__recent-head a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--ec-red);
	font-size: 14px;
	text-decoration: none;
}

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

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

.ec-dash__orders a {
	display: grid;
	grid-template-columns: 90px 1fr auto auto;
	gap: 16px;
	align-items: center;
	padding: 14px 4px;
	border-bottom: 1px solid var(--ec-border);
	color: var(--ec-text);
	font-size: 14px;
	text-decoration: none;
}

.ec-dash__orders a:hover strong {
	color: var(--ec-red);
}

.ec-dash__order-total {
	font-weight: 600;
}

.ec-status {
	padding: 4px 12px;
	border-radius: var(--ec-radius-pill);
	background: #eef1f5;
	color: var(--ec-text-soft);
	font-size: 12px;
}

.ec-status--completed {
	background: #e8f6ed;
	color: #2e7a4a;
}

.ec-status--processing {
	background: #fff4e0;
	color: #a2650a;
}

.ec-status--cancelled,
.ec-status--failed {
	background: #fdeeee;
	color: var(--ec-red);
}

.woocommerce-orders-table .button,
.woocommerce-MyAccount-content .woocommerce-button.button.view {
	min-height: 36px;
	padding: 6px 16px;
	font-size: 13px;
}

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

.woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.woocommerce-Address-title h2 {
	margin: 0 0 12px;
	font-size: 22px;
}

.woocommerce-Address-title .edit {
	color: var(--ec-red);
	font-size: 14px;
}

.woocommerce-pagination {
	margin-top: 20px;
}

/* ==========================================================================
   14. Login / Register
   ========================================================================== */

.ec-auth {
	padding: 70px 0 20px;
}

.ec-wc-page .ec-auth {
	padding-top: 10px;
}

.ec-auth__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	max-width: 1180px;
	overflow: hidden;
	border-radius: 28px;
	background: var(--ec-white);
	box-shadow: 0 24px 60px rgba(30, 40, 60, 0.12);
}

.ec-auth__inner--single {
	grid-template-columns: 1fr;
	max-width: 640px;
}

.ec-auth__panel {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 600px;
	padding: 50px;
	overflow: hidden;
	background: var(--ec-red);
	color: var(--ec-white);
}

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

.ec-auth__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(166, 15, 24, 0.15) 0, rgba(166, 15, 24, 0.92) 70%);
}

.ec-auth__panel-body {
	position: relative;
	z-index: 1;
}

.ec-auth__panel-title {
	margin: 0 0 10px;
	font-family: var(--ec-font-serif);
	font-size: var(--ec-fs-h1);
	font-weight: 400;
	line-height: 1.15;
}

.ec-auth__panel p {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
}

.ec-auth__panel .ec-check-list svg {
	background: var(--ec-white);
	color: var(--ec-red);
}

.ec-auth__card {
	padding: 50px 56px;
}

.ec-auth__switch {
	display: inline-flex;
	margin-bottom: 26px;
	padding: 5px;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-bg-panel);
}

.ec-auth__switch a {
	min-width: 120px;
	padding: 10px 22px;
	border-radius: var(--ec-radius-pill);
	color: var(--ec-text);
	font-size: 15px;
	text-align: center;
	text-decoration: none;
	transition: background-color var(--ec-transition), color var(--ec-transition);
}

.ec-auth__switch a.is-active {
	background: var(--ec-red);
	color: var(--ec-white);
	box-shadow: 0 6px 16px rgba(186, 38, 40, 0.3);
}

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

.ec-auth__form {
	gap: 16px 18px;
}

.ec-password {
	position: relative;
}

.ec-password input {
	padding-right: 74px !important;
}

.ec-password__toggle {
	position: absolute;
	right: 8px;
	bottom: 8px;
	height: 38px;
	padding: 0 14px;
	border: 0;
	border-radius: 9px;
	background: var(--ec-bg-panel);
	color: var(--ec-text);
	font-size: 13px;
	cursor: pointer;
}

.ec-auth__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
}

.ec-auth__lost,
.ec-auth__alt a {
	color: var(--ec-red);
	font-size: 14px;
}

.ec-auth__submit {
	width: 100%;
	min-width: 0;
}

.ec-auth__alt {
	margin: 0;
	font-size: 14px;
	text-align: center;
}

.ec-auth__note,
.ec-auth__privacy {
	margin: 0;
	color: var(--ec-text-soft);
	font-size: 13px;
	line-height: 1.5;
}

.ec-auth__privacy a {
	color: var(--ec-red);
}

.ec-auth__privacy p {
	margin: 0;
}

/* Lost password form (WooCommerce default) */
.woocommerce-ResetPassword {
	max-width: 560px;
	margin: 0 auto;
	padding: 34px;
	border: 1px solid var(--ec-border);
	border-radius: 20px;
	box-shadow: var(--ec-shadow-soft);
}

/* ==========================================================================
   15. Gravity Forms (matches .ec-form)
   ========================================================================== */

.ec-gform .gform_wrapper {
	margin: 0;
}

.ec-gform .gform_heading,
.ec-gform .gform_required_legend,
.ec-gform .gform_validation_container,
.ec-gform .gfield--type-honeypot,
.ec-gform .gfield_visibility_hidden,
.ec-gform .gform_hidden {
	display: none !important;
}

.ec-gform .gform_fields {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 20px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-gform .gfield {
	grid-column: span 12;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.ec-gform .gfield--width-half {
	grid-column: span 6;
}

.ec-gform .gfield--width-third {
	grid-column: span 4;
}

.ec-gform .gfield--width-quarter {
	grid-column: span 3;
}

.ec-gform .gfield_label,
.ec-gform .gform-field-label--type-sub,
.ec-gform legend.gfield_label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	color: var(--ec-text);
	font-size: 15px;
	font-weight: 500;
}

.ec-gform .gfield_required {
	margin-left: 3px;
	color: var(--ec-red);
}

.ec-gform .gfield_required .gfield_required_text {
	display: none;
}

.ec-gform input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.ec-gform select,
.ec-gform 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-gform 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-gform textarea {
	height: 150px;
	padding: 14px 18px;
	resize: vertical;
}

.ec-gform input:focus,
.ec-gform select:focus,
.ec-gform textarea:focus {
	outline: none;
	border-color: var(--ec-red);
	box-shadow: 0 0 0 3px rgba(186, 38, 40, 0.12);
}

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

.ec-gform .gchoice {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
}

.ec-gform .gchoice input {
	accent-color: var(--ec-red);
}

.ec-gform .gfield_description {
	margin-top: 6px;
	color: var(--ec-text-soft);
	font-size: 13px;
}

.ec-gform .gform_footer,
.ec-gform .gform_page_footer {
	margin: 24px 0 0;
	padding: 0;
}

.ec-gform .gform_button,
.ec-gform .gform_footer input[type="submit"],
.ec-gform .gform_footer button {
	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-red);
	color: #f1f5f9;
	font-family: var(--ec-font-sans);
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color var(--ec-transition);
}

.ec-gform .gform_button:hover,
.ec-gform .gform_footer input[type="submit"]:hover {
	background: var(--ec-red-dark);
	color: var(--ec-white);
}

.ec-gform .gform_ajax_spinner {
	width: 22px;
	margin-left: 10px;
	vertical-align: middle;
}

/* Validation */
.gform_wrapper .gform_validation_errors,
.ec-gform .gform_validation_errors {
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 1px solid #f0cfcf;
	border-left: 4px solid var(--ec-red);
	border-radius: 12px;
	background: #fdf4f4;
	color: #6b1d1f;
	font-size: 15px;
}

.ec-gform .gform_validation_errors h2 {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
}

.ec-gform .gform_validation_errors ol {
	margin: 6px 0 0;
	padding-left: 18px;
}

.ec-gform .gform_validation_errors a {
	color: inherit;
}

.ec-gform .gfield_error input,
.ec-gform .gfield_error select,
.ec-gform .gfield_error textarea {
	border-color: var(--ec-red) !important;
}

.ec-gform .validation_message {
	margin-top: 6px;
	color: var(--ec-red);
	font-size: 13px;
}

.ec-gform .gform_confirmation_message {
	padding: 22px 24px;
	border: 1px solid #cfe3d3;
	border-left: 4px solid #2e9e55;
	border-radius: 14px;
	background: #f2faf4;
	color: #24442d;
	font-size: 17px;
}

/* Contact form card */
.ec-contact__form .ec-gform .gform_button {
	min-width: 240px;
}

/* Footer newsletter: email + button inside the white pill */
.ec-newsletter__form {
	height: auto;
	min-height: 61px;
}

.ec-newsletter__form .ec-gform {
	width: 100%;
}

.ec-newsletter__form .gform_wrapper form {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ec-newsletter__form .gform-body {
	flex: 1;
	min-width: 0;
}

.ec-newsletter__form .gform_fields {
	display: block;
}

.ec-newsletter__form .gfield_label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.ec-newsletter__form input[type="email"],
.ec-newsletter__form input[type="text"] {
	height: 51px !important;
	padding: 0 16px !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--ec-text) !important;
}

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

.ec-newsletter__form .gform_footer {
	flex: none;
	margin: 0;
}

.ec-newsletter__form .gform_button,
.ec-newsletter__form .gform_footer input[type="submit"] {
	width: 163px;
	min-width: 0;
	min-height: 51px;
	height: 51px;
	padding: 0 16px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.ec-newsletter__form .gform_validation_errors {
	display: none;
}

.ec-newsletter__form .gfield {
	position: relative;
}

/* Error sits below the pill so the field and button don't shift */
.ec-newsletter__form .validation_message {
	position: absolute;
	top: calc(100% + 12px);
	left: 16px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--ec-white) !important;
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap;
}

.ec-newsletter__form .gform_confirmation_message {
	padding: 14px 20px;
	border: 0;
	border-radius: var(--ec-radius-pill);
	font-size: 15px;
}

/* ==========================================================================
   16. Comments
   ========================================================================== */

.comments-area {
	margin-top: 50px;
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-respond input:not([type="checkbox"]):not([type="submit"]),
.comment-respond textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #d6dbe3;
	border-radius: 12px;
	font-family: var(--ec-font-sans);
	font-size: 15px;
}

.comment-respond .submit {
	padding: 14px 30px;
	border: 0;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-red);
	color: var(--ec-white);
	cursor: pointer;
}

/* ==========================================================================
   17. Responsive
   ========================================================================== */

@media (max-width: 1399px) {
	.ec-cart,
	.ec-checkout {
		grid-template-columns: minmax(0, 1fr) 380px;
	}

	.ec-cart-list__labels,
	.ec-cart-item {
		grid-template-columns: minmax(0, 1fr) 100px 140px 100px;
	}

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

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

	.ec-cart__side,
	.ec-checkout__side,
	.ec-account-nav {
		position: static;
	}

	.woocommerce-account.logged-in .ec-wc-page--account .woocommerce {
		grid-template-columns: 260px minmax(0, 1fr);
	}

	.ec-auth__card {
		padding: 40px;
	}
}

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

	.ec-auth__panel {
		min-height: 300px;
		padding: 36px;
	}

	.woocommerce-account.logged-in .ec-wc-page--account .woocommerce {
		grid-template-columns: 1fr;
	}

	.ec-account-nav ul {
		display: flex;
		overflow-x: auto;
		gap: 4px;
	}

	.ec-account-nav a {
		white-space: nowrap;
	}

	.ec-checkout-steps__item + .ec-checkout-steps__item::before {
		width: 30px;
		margin: 0 8px;
	}
}

@media (max-width: 767px) {
	.ec-cart-box,
	.ec-checkout-card,
	.cart_totals,
	.woocommerce-MyAccount-content {
		padding: 20px;
		border-radius: 16px;
	}

	.cart_totals .ec-ship-bar {
		margin: -20px -20px 20px;
		padding: 16px 20px;
	}

	.ec-checkout-card--review .ec-ship-bar {
		margin: 16px -20px;
	}

	.ec-cart-list__labels {
		display: none;
	}

	.ec-cart-item {
		grid-template-columns: 1fr auto;
		gap: 14px;
		padding: 18px 0;
	}

	.ec-cart-item__product {
		grid-column: 1 / -1;
		align-items: flex-start;
	}

	.ec-cart-item__thumb a,
	.ec-cart-item__thumb > img {
		width: 80px;
		height: 90px;
	}

	.ec-cart-item__price {
		display: none;
	}

	.ec-cart-item__qty {
		text-align: left !important;
	}

	.ec-coupon {
		max-width: none;
		flex-basis: 100%;
	}

	.woocommerce .ec-cart-actions__update {
		width: 100%;
	}

	.woocommerce-billing-fields__field-wrapper,
	.woocommerce-shipping-fields__field-wrapper,
	.woocommerce-address-fields__field-wrapper,
	.woocommerce-EditAccountForm,
	.woocommerce-customer-details .woocommerce-columns,
	.woocommerce-Addresses {
		grid-template-columns: 1fr;
	}

	.woocommerce-billing-fields__field-wrapper .form-row-last,
	.woocommerce-shipping-fields__field-wrapper .form-row-last,
	.woocommerce-address-fields__field-wrapper .form-row-last,
	.woocommerce-EditAccountForm .form-row-last,
	.woocommerce-billing-fields__field-wrapper .form-row-first,
	.woocommerce-shipping-fields__field-wrapper .form-row-first,
	.woocommerce-address-fields__field-wrapper .form-row-first,
	.woocommerce-EditAccountForm .form-row-first {
		grid-column: 1;
	}

	.ec-shop-head__row {
		flex-direction: column;
		align-items: flex-start;
	}

	.ec-checkout-steps__label {
		display: none;
	}

	.ec-checkout-steps__item.is-current .ec-checkout-steps__label {
		display: inline;
	}

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

	.ec-dash__orders a {
		grid-template-columns: 1fr auto;
	}

	.woocommerce-orders-table thead {
		display: none;
	}

	.woocommerce-orders-table tr {
		display: block;
		padding: 10px 0;
		border-bottom: 1px solid var(--ec-border);
	}

	.woocommerce-orders-table td {
		display: flex;
		justify-content: space-between;
		padding: 6px 14px;
		border: 0;
	}

	.woocommerce-orders-table td::before {
		content: attr(data-title);
		color: var(--ec-muted);
		font-size: 13px;
	}

	.ec-auth {
		padding-top: 30px;
	}

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

	.ec-auth__panel {
		min-height: 240px;
		padding: 26px 20px;
	}

	.ec-auth__switch {
		display: flex;
	}

	.ec-auth__switch a {
		flex: 1;
		min-width: 0;
	}

	.ec-gform .gfield--width-half,
	.ec-gform .gfield--width-third,
	.ec-gform .gfield--width-quarter {
		grid-column: span 12;
	}

	.ec-gform .gform_button,
	.ec-gform .gform_footer input[type="submit"] {
		width: 100%;
		min-width: 0;
	}

	.ec-newsletter__form .gform_button,
	.ec-newsletter__form .gform_footer input[type="submit"] {
		width: 120px;
	}

	.ec-thankyou__hero {
		padding: 36px 20px 30px;
	}

	.woocommerce-table--order-details th,
	.woocommerce-table--order-details td {
		padding: 12px;
	}

	.ec-drawer__head,
	.ec-mini-cart,
	.ec-mini-cart__footer,
	.ec-ship-bar {
		padding-left: 18px;
		padding-right: 18px;
	}
}

/* ==========================================================================
   18. Fixes & additions (v1.2)
   ========================================================================== */

/* Product page Qty box: keep the PSD box (generic Woo input styles must not apply) */
.ec-product .ec-qty .ec-qty__input,
.woocommerce form .ec-qty .ec-qty__input {
	width: 100%;
	height: 100%;
	padding: 0 28px 0 16px;
	border: 1px solid #dcdfe4;
	border-radius: 6px;
	box-shadow: none;
	background: var(--ec-white);
	color: #6d6d6d;
	font-family: var(--ec-font-sans);
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
}

.ec-product .ec-qty .ec-qty__input:focus {
	border-color: var(--ec-red);
}

.ec-product .ec-qty .ec-qty__btn {
	right: 6px;
	width: 20px;
	height: 22px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: #325c6d;
}

.ec-product .ec-qty .ec-qty__btn--up {
	top: 6px;
	bottom: auto;
}

.ec-product .ec-qty .ec-qty__btn--down {
	top: auto;
	bottom: 6px;
}

.ec-product .quantity {
	align-items: center;
}

/* Steppers inside Woo forms (cart page) */
.woocommerce form .ec-stepper .ec-stepper__input {
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	text-align: center;
}

.woocommerce form .ec-stepper--sm .ec-stepper__input {
	width: 34px;
}

/* Side cart + cart page thumbnails stay inside their box */
.ec-mini-cart__thumb,
.ec-cart-item__thumb {
	display: block;
	flex: none;
	overflow: hidden;
	padding: 8px;
	border: 1px solid var(--ec-border);
	border-radius: 8px;
	background: var(--ec-white);
}

.ec-mini-cart__thumb {
	width: 78px;
	height: 88px;
}

.ec-cart-item__thumb {
	width: 96px;
	height: 108px;
	border-radius: 10px;
}

.ec-mini-cart__thumb a,
.ec-cart-item__thumb a,
.ec-mini-cart__thumb > img,
.ec-cart-item__thumb > img {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 0;
}

.ec-mini-cart__thumb img,
.ec-cart-item__thumb img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Sticky header: room between logo and menu */
@media (min-width: 992px) {
	.ec-header.is-sticky .ec-header__inner {
		column-gap: 48px;
	}

	.ec-header.is-sticky .ec-nav {
		padding-left: 24px;
	}
}

/* Product rows: incomplete last row is centred */
.ec-product-grid {
	--ec-cols: 6;
	--ec-cgap: 32px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: var(--ec-cgap);
}

.ec-product-grid > * {
	flex: 0 0 calc((100% - (var(--ec-cols) - 1) * var(--ec-cgap)) / var(--ec-cols));
	min-width: 0;
}

.ec-product-grid--shop {
	--ec-cols: 5;
	--ec-cgap: 26px;
}

.ec-product-grid--related {
	--ec-cols: 5;
	--ec-cgap: 35px;
}

@media (max-width: 1399px) {
	.ec-product-grid {
		--ec-cols: 5;
	}

	.ec-product-grid--shop {
		--ec-cols: 4;
	}

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

@media (max-width: 1199px) {
	.ec-product-grid {
		--ec-cols: 4;
		--ec-cgap: 24px;
	}

	.ec-product-grid--shop {
		--ec-cols: 4;
		--ec-cgap: 26px;
	}

	.ec-product-grid--related {
		--ec-cols: 3;
		--ec-cgap: 24px;
	}
}

@media (max-width: 991px) {
	.ec-product-grid {
		--ec-cols: 3;
	}

	.ec-product-grid--shop {
		--ec-cols: 3;
	}

	.ec-product-grid--related {
		--ec-cols: 2;
	}
}

@media (max-width: 767px) {
	.ec-product-grid,
	.ec-product-grid--shop,
	.ec-product-grid--related {
		--ec-cols: 2;
		--ec-cgap: 16px;
	}
}

/* Best selling: category pills are tabs */
.ec-category-bar__tab {
	padding: 0;
	border: 0;
	background: none;
	color: var(--ec-text);
	font-family: var(--ec-font-serif);
	font-size: 18px;
	line-height: 1.5;
	cursor: pointer;
	transition: color var(--ec-transition);
}

.ec-category-bar__tab:hover,
.ec-category-bar__tab:focus-visible,
.ec-category-bar__tab.is-active {
	color: var(--ec-red);
}

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

/* My Account menu: space between items */
.ec-account-nav ul {
	display: grid;
	gap: 6px;
}

.ec-account-nav li {
	margin: 0;
}

/* Password show / hide: eye icon inside the field */
.woocommerce .password-input,
.ec-password {
	position: relative;
	display: block;
}

.woocommerce .password-input input {
	padding-right: 52px !important;
}

.woocommerce .show-password-input,
.ec-password__toggle {
	position: absolute;
	top: 50%;
	right: 10px;
	bottom: auto;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5b5b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
	box-shadow: none;
	transform: translateY(-50%);
	cursor: pointer;
}

.ec-password .ec-password__toggle {
	top: auto;
	bottom: 9px;
	transform: none;
}

.woocommerce .show-password-input:hover,
.ec-password__toggle:hover {
	background-color: var(--ec-bg-panel);
}

.woocommerce .show-password-input.display-password,
.ec-password__toggle.is-shown {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ba2628' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7c2 0 3.7.7 5.1 1.6M22 12s-3.6 7-10 7c-2 0-3.7-.7-5.1-1.6'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='m3 3 18 18'/%3E%3C/svg%3E");
}

.woocommerce .show-password-input::after,
.woocommerce .show-password-input::before {
	display: none;
}

/* Profile photo */
.woocommerce form .ec-avatar-field,
.ec-avatar-field {
	display: flex !important;
	align-items: center;
	gap: 26px;
	margin: 0 0 28px !important;
	padding: 24px 28px !important;
	border: 1px solid var(--ec-border);
	border-radius: 18px;
	background: linear-gradient(120deg, var(--ec-bg-panel) 0, #f8fafc 100%);
}

.woocommerce form .ec-avatar-field .ec-avatar-field__img {
	position: relative;
	display: block !important;
	flex: none;
	width: 112px;
	height: 112px;
	margin: 0 !important;
	border-radius: 50%;
	cursor: pointer;
}

.ec-avatar-field__img img {
	display: block;
	width: 112px;
	height: 112px;
	border: 4px solid var(--ec-white);
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(30, 40, 60, 0.14);
	object-fit: cover;
	transition: filter var(--ec-transition);
}

.ec-avatar-field__img:hover img {
	filter: brightness(0.92);
}

.ec-avatar-field__cam {
	position: absolute;
	right: 2px;
	bottom: 4px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 3px solid var(--ec-white);
	border-radius: 50%;
	background: var(--ec-red);
	color: var(--ec-white);
	box-shadow: 0 4px 10px rgba(186, 38, 40, 0.35);
	transition: transform var(--ec-transition);
}

.ec-avatar-field__img:hover .ec-avatar-field__cam {
	transform: scale(1.08);
}

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

.ec-avatar-field__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.ec-avatar-field__title {
	margin: 0;
	color: var(--ec-text-dark);
	font-family: var(--ec-font-serif);
	font-size: 22px;
	line-height: 1.2;
}

.ec-avatar-field__hint {
	margin: 0 0 10px;
	color: var(--ec-text-soft);
	font-size: 13px;
}

.ec-avatar-field__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
}

.ec-avatar-field__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.woocommerce form .ec-avatar-field .ec-avatar-field__upload {
	display: inline-flex !important;
	width: auto;
	min-width: 0;
	min-height: 42px;
	margin: 0 !important;
	padding: 8px 22px;
	color: var(--ec-white) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.ec-avatar-field__input:focus-visible + .ec-avatar-field__upload {
	outline: 2px solid var(--ec-orange);
	outline-offset: 2px;
}

.woocommerce form .ec-avatar-field .ec-avatar-field__remove {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
	color: var(--ec-text-soft) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	cursor: pointer;
}

.ec-avatar-field__remove input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--ec-red);
}

.ec-avatar-field__remove:hover span {
	color: var(--ec-red);
}

.ec-avatar-field__file {
	margin: 10px 0 0;
	padding: 7px 12px;
	border-radius: 10px;
	background: #e8f6ed;
	color: #24442d;
	font-size: 13px;
}

.ec-avatar-field__file.is-error {
	background: #fdeeee;
	color: var(--ec-red);
}

.ec-avatar-field.is-changed .ec-avatar-field__img img {
	border-color: #c9ead4;
}

@media (max-width: 575px) {
	.woocommerce form .ec-avatar-field,
	.ec-avatar-field {
		flex-direction: column;
		align-items: center;
		padding: 22px 18px !important;
		text-align: center;
	}

	.ec-avatar-field__body {
		align-items: center;
	}

	.ec-avatar-field__actions {
		justify-content: center;
	}
}

.ec-account-nav__avatar img {
	object-fit: cover;
}

/* Sort by dropdown */
.ec-sort {
	position: relative;
}

.ec-sort__select--hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.ec-dropdown {
	position: relative;
}

.ec-dropdown__btn {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 170px;
	padding: 0 4px 0 10px;
	border: 0;
	background: none;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	text-align: left;
	cursor: pointer;
}

.ec-dropdown__btn::after {
	content: "";
	width: 14px;
	height: 14px;
	margin-left: auto;
	background: 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") center / 14px no-repeat;
	transition: transform var(--ec-transition);
}

.ec-dropdown.is-open .ec-dropdown__btn::after {
	transform: rotate(180deg);
}

.ec-dropdown__list {
	position: absolute;
	top: calc(100% + 16px);
	right: -14px;
	z-index: 30;
	min-width: 230px;
	margin: 0;
	padding: 8px;
	border: 1px solid #c9d6e6;
	border-radius: 16px;
	background: var(--ec-white);
	box-shadow: 0 14px 34px rgba(5, 81, 148, 0.14);
	list-style: none;
}

.ec-dropdown__list li {
	padding: 10px 14px;
	border-radius: 10px;
	color: #434343;
	font-size: 14px;
	white-space: nowrap;
	cursor: pointer;
}

.ec-dropdown__list li:hover,
.ec-dropdown__list li:focus {
	outline: none;
	background: var(--ec-bg-panel);
	color: var(--ec-blue);
}

.ec-dropdown__list li.is-active {
	color: var(--ec-red);
	font-weight: 500;
}

/* Search: highlight + live results */
mark.ec-hl {
	padding: 0 2px;
	border-radius: 3px;
	background: #ffe9b8;
	color: inherit;
}

.ec-search {
	position: relative;
}

.ec-search.is-loading .ec-search__submit svg {
	animation: ec-pulse 0.8s ease infinite alternate;
}

@keyframes ec-pulse {
	to {
		opacity: 0.35;
	}
}

.ec-live {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	z-index: 60;
	max-height: min(70vh, 560px);
	overflow-y: auto;
	padding: 10px;
	border: 1px solid var(--ec-border);
	border-radius: 18px;
	background: var(--ec-white);
	box-shadow: 0 20px 44px rgba(30, 40, 60, 0.16);
	text-align: left;
}

.ec-live__group + .ec-live__group {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--ec-border);
}

.ec-live__title {
	margin: 4px 10px 6px;
	color: var(--ec-muted);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

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

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

.ec-live__product,
.ec-live__term {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 12px;
	font-size: 14px;
}

.ec-live__product:hover,
.ec-live__product:focus,
.ec-live__term:hover,
.ec-live__term:focus {
	outline: none;
	background: var(--ec-bg-panel);
}

.ec-live__thumb {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 52px;
	padding: 4px;
	border: 1px solid var(--ec-border);
	border-radius: 8px;
	background: var(--ec-white);
}

.ec-live__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ec-live__name {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.35;
}

.ec-live__price {
	color: var(--ec-red);
	font-size: 13px;
}

.ec-live__price del {
	margin-right: 6px;
	color: var(--ec-muted);
}

.ec-live__price ins {
	text-decoration: none;
}

.ec-live__price .screen-reader-text {
	display: none;
}

.ec-live__term small {
	color: var(--ec-muted);
}

.ec-live__all {
	display: block;
	margin-top: 8px;
	padding: 12px;
	border-radius: 12px;
	background: var(--ec-red);
	color: var(--ec-white) !important;
	font-size: 14px;
	text-align: center;
}

.ec-live__all:hover {
	background: var(--ec-red-dark);
}

.ec-live__empty {
	margin: 0;
	padding: 16px 12px;
	color: var(--ec-text-soft);
	font-size: 14px;
}

.ec-search-terms {
	display: grid;
	gap: 10px;
	margin: -10px 0 30px;
	padding: 16px 20px;
	border-radius: 14px;
	background: var(--ec-bg-panel);
}

.ec-search-terms__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.ec-search-terms__label {
	margin-right: 4px;
	color: var(--ec-text-soft);
	font-size: 14px;
}

.ec-search-terms__chip {
	padding: 6px 14px;
	border: 1px solid #d6dbe3;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-white);
	color: var(--ec-text-dark);
	font-size: 14px;
	text-decoration: none;
	transition: border-color var(--ec-transition), color var(--ec-transition);
}

.ec-search-terms__chip:hover {
	border-color: var(--ec-red);
	color: var(--ec-red);
}

.ec-search-terms__chip span {
	color: var(--ec-muted);
	font-size: 12px;
}

/* ==========================================================================
   19. Cart / checkout polish (v1.3)
   ========================================================================== */

/* Header cart: no dropdown arrow (it opens the side cart) */
.ec-header-link--cart .ec-header-link__chevron {
	display: none;
}

/* Quantity stepper: the number sits flat inside the pill */
.ec-stepper input.qty,
.ec-stepper .ec-stepper__input,
.woocommerce .ec-stepper input.input-text {
	width: 44px !important;
	min-width: 0 !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--ec-text-dark);
	font-size: 16px;
	text-align: center;
}

.ec-stepper--sm input.qty,
.ec-stepper--sm .ec-stepper__input {
	width: 34px !important;
	font-size: 14px;
}

.ec-stepper {
	gap: 2px;
	height: 44px;
	padding: 0 5px;
	border-color: #dcdfe4;
	box-shadow: 0 2px 6px rgba(30, 40, 60, 0.04);
}

.ec-stepper__btn {
	width: 32px;
	height: 32px;
	border: 0 !important;
	background: var(--ec-bg-panel);
}

.ec-stepper--sm {
	height: 36px;
}

.ec-stepper--sm .ec-stepper__btn {
	width: 26px;
	height: 26px;
}

.ec-cart-item__qty .quantity {
	justify-content: center;
}

/* Side cart rows: remove icon top-right, content never cut */
.ec-mini-cart {
	overflow-x: hidden;
}

.ec-mini-cart__item {
	grid-template-columns: 78px minmax(0, 1fr);
	padding-right: 0;
}

.ec-mini-cart__name {
	padding-right: 36px;
}

.ec-mini-cart__remove {
	position: absolute;
	top: 14px;
	right: -6px;
}

.ec-mini-cart__row {
	margin-top: 10px;
}

/* Order summary */
.woocommerce-checkout-review-order-table .cart_item td.product-name {
	position: relative;
	height: 92px;
	padding-left: 72px;
	text-align: left;
}

.ec-review-item__thumb {
	position: absolute;
	top: 14px;
	left: 0;
	display: block;
	width: 56px;
	height: 64px;
	padding: 5px;
	border: 1px solid var(--ec-border);
	border-radius: 8px;
	background: var(--ec-white);
}

.ec-review-item__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ec-review-item__name {
	display: block;
	color: var(--ec-text-dark);
	font-size: 15px;
	line-height: 1.4;
}

.woocommerce-checkout-review-order-table td.product-name .product-quantity {
	display: inline-block;
	margin-top: 4px;
	font-size: 13px;
}

.woocommerce-checkout-review-order-table td.product-name .variation {
	margin-top: 4px;
	font-size: 13px;
}

.woocommerce-checkout-review-order-table td.product-total {
	width: 90px;
	white-space: nowrap;
	vertical-align: top;
}

.woocommerce-checkout-review-order-table tfoot th {
	width: 50%;
	color: var(--ec-text-soft);
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li {
	justify-content: flex-end;
	white-space: nowrap;
}

/* Billing / shipping: two fields per row */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper {
	column-gap: 20px;
}

.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row,
.woocommerce-address-fields__field-wrapper .form-row {
	grid-column: auto !important;
}

.woocommerce-billing-fields__field-wrapper .form-row.ec-full,
.woocommerce-shipping-fields__field-wrapper .form-row.ec-full,
.woocommerce-additional-fields .form-row {
	grid-column: 1 / -1 !important;
}

@media (max-width: 767px) {
	.woocommerce-billing-fields__field-wrapper .form-row,
	.woocommerce-shipping-fields__field-wrapper .form-row,
	.woocommerce-address-fields__field-wrapper .form-row {
		grid-column: 1 / -1 !important;
	}
}

/* Order notes */
.woocommerce-shipping-fields + .woocommerce-additional-fields,
.woocommerce-additional-fields {
	margin-top: 8px;
}

.woocommerce-additional-fields > h3 {
	display: none;
}

.woocommerce form .ec-notes {
	margin: 0;
	padding: 22px 24px;
	border: 1px dashed #cfd8e4;
	border-radius: 16px;
	background: var(--ec-bg-panel);
}

.woocommerce form .ec-notes > label {
	display: flex !important;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px !important;
	color: var(--ec-text-dark) !important;
	font-family: var(--ec-font-serif);
	font-size: 22px !important;
	font-weight: 400 !important;
}

.woocommerce form .ec-notes > label::before {
	content: "";
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	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='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E") center / 18px no-repeat;
	box-shadow: 0 2px 8px rgba(30, 40, 60, 0.08);
}

.woocommerce form .ec-notes > label .optional {
	margin-left: 2px;
	padding: 3px 10px;
	border-radius: var(--ec-radius-pill);
	background: var(--ec-white);
	color: var(--ec-muted);
	font-family: var(--ec-font-sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.04em;
}

.woocommerce form .ec-notes textarea {
	display: block;
	width: 100%;
	height: auto;
	min-height: 130px;
	padding: 14px 16px;
	border: 1px solid #d6dbe3;
	border-radius: 12px;
	background: var(--ec-white);
	font-size: 15px;
	line-height: 1.55;
	resize: vertical;
}

.woocommerce form .ec-notes textarea::placeholder {
	color: #9aa1ae;
}

.woocommerce form .ec-notes .description {
	display: flex !important;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ec-text-soft);
	font-size: 13px;
	position: static;
	box-shadow: none;
}

.woocommerce form .ec-notes .description::before {
	content: "";
	width: 15px;
	height: 15px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9e55' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / 15px no-repeat;
}

@media (max-width: 767px) {
	.woocommerce form .ec-notes {
		padding: 18px;
	}

	.woocommerce form .ec-notes > label {
		font-size: 19px !important;
	}
}

/* ==========================================================================
   20. Submit loaders (forms + checkout)
   ========================================================================== */

.ec-busy {
	cursor: wait !important;
	pointer-events: none;
	opacity: 0.92;
}

button.ec-busy,
a.ec-busy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.ec-busy__spinner {
	flex: none;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: ec-spin 0.7s linear infinite;
}

/* <input type="submit"> (Gravity Forms): spinner as background */
input.ec-busy {
	padding-left: 52px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23ffffff' stroke-opacity='.35' stroke-width='2.5'/%3E%3Cpath d='M12 3a9 9 0 0 1 9 9' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='0.7s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: 22px center !important;
	background-size: 20px 20px !important;
}

/* Gravity Forms' own spinner is replaced by the button loader */
.ec-gform .gform_ajax_spinner,
.ec-gform .gform-loader {
	display: none !important;
}

/* Checkout: button stays visible above WooCommerce's overlay while processing */
#place_order.ec-busy,
form.checkout.processing #place_order {
	position: relative;
	z-index: 1001;
	opacity: 1;
	background: var(--ec-red-dark);
	cursor: wait !important;
}

/* Product page add to cart: spinner + text */
.single_add_to_cart_button.loading {
	cursor: wait;
}

/* ==========================================================================
   21. Sliders with few slides (no scrolling)
   ========================================================================== */

.ec-slider__dots[hidden] {
	display: none !important;
}

.ec-slider.is-static .ec-slider__track {
	justify-content: center;
}

.ec-slider.is-static .ec-slider__arrow {
	display: none;
}

/* ==========================================================================
   22. Forgot / reset password (same card as login)
   ========================================================================== */

.ec-wc-page .ec-auth {
	padding-top: 0;
}

.ec-auth--password .ec-auth__card {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ec-auth__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--ec-bg-panel);
	color: var(--ec-red);
}

.ec-auth__icon svg {
	width: 28px;
	height: 28px;
}

.ec-auth__icon--mail {
	background: #e8f6ed;
	color: #2e9e55;
}

.ec-auth__lede {
	margin: -12px 0 24px;
	color: var(--ec-text-soft);
	font-size: 16px;
	line-height: 1.55;
}

.ec-auth--password .woocommerce-ResetPassword {
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.ec-auth--password .woocommerce form .form-row,
.ec-auth--password .form-row {
	margin: 0;
}

.ec-auth__actions {
	margin: 0 0 18px;
}

.ec-auth__back {
	margin-top: 22px;
}

.ec-auth__back a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}

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

.ec-auth--password .ec-auth__panel {
	min-height: 520px;
}

/* ==========================================================================
   23. Bulk buying: space between "Popular wholesale products" and the form
   ========================================================================== */

.ec-best--flat {
	padding-bottom: var(--ec-section-y, 100px);
}

/* Gravity Forms: no error summary above the form (field messages stay) */
.gform_wrapper .gform_validation_errors,
.ec-gform .gform_validation_errors {
	display: none !important;
}

/* Checkout / address forms: every field lines up in its row */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper {
	align-items: start;
}

@media (min-width: 768px) {
	.woocommerce form .form-row > label.screen-reader-text + .woocommerce-input-wrapper {
		margin-top: 28px;
	}
}

/* ==========================================================================
   24. Product page = PSD (variation options look like the Pack Size chips)
   ========================================================================== */

.ec-variations {
	gap: 16px;
	margin: 0 0 26px;
}

.ec-variation__head {
	margin-bottom: 14px;
}

.ec-variation__label {
	color: var(--ec-text-soft);
	font-family: var(--ec-font-serif);
	font-size: 22px;
	font-weight: 400;
}

.ec-variation__chosen {
	font-family: var(--ec-font-serif);
	font-size: 16px;
}

.ec-chips--choice {
	gap: 12px 22px;
}

.ec-chip {
	min-width: 0;
	padding: 6px 14px;
	border: 1px solid var(--ec-red);
	border-radius: 6px;
	background: transparent;
	color: var(--ec-text-soft);
	font-family: var(--ec-font-serif);
	font-size: 18px;
	line-height: 1.4;
}

.ec-chip:hover {
	background: rgba(186, 38, 40, 0.06);
}

.ec-chip.is-active {
	border-color: var(--ec-red);
	background: var(--ec-red);
	color: var(--ec-white);
}

.ec-chip:disabled {
	border-color: #d6dbe3;
}

.ec-variation__reset {
	margin-top: -4px;
	color: var(--ec-text-soft);
	font-size: 13px;
}

.ec-variation__reset:hover {
	color: var(--ec-red);
}

/* Cart row (Qty + Add to Cart) spacing as in the PSD */
.ec-product__summary .ec-cart-form {
	margin: 0;
}

.ec-product__summary .single_variation_wrap .woocommerce-variation {
	margin: 0;
}

/* ==========================================================================
   25. Product gallery thumbnails: small squares, 4 fit beside the main image
   ========================================================================== */

.ec-gallery__thumb {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	height: auto;
	padding: 0;
}

.ec-gallery__thumb img {
	position: absolute;
	top: 10%;
	left: 10%;
	width: 80%;
	height: 80%;
	max-width: none;
	max-height: none;
	object-fit: contain;
}

@media (min-width: 992px) {
	.ec-gallery {
		grid-template-columns: clamp(84px, 7vw, 118px) minmax(0, 1fr);
		align-items: stretch;
	}

	/* The thumbnail column is as tall as the main image; extra thumbs scroll. */
	.ec-gallery__thumbs {
		align-content: start;
		height: 0;
		min-height: 100%;
		overflow-y: auto;
		scrollbar-width: thin;
		padding-right: 2px;
	}

	.ec-gallery__thumbs::-webkit-scrollbar {
		width: 4px;
	}

	.ec-gallery__thumbs::-webkit-scrollbar-thumb {
		border-radius: 4px;
		background: #c9d0da;
	}
}

/* ==========================================================================
   26. Product page price: regular price looks like the sale price (PSD)
   ========================================================================== */

/* Hidden "Original price was / Current price is" text must stay hidden. */
.ec-product__price .screen-reader-text,
.ec-product-card__price .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* No sale: the single price is big and red like <ins> */
.ec-product__price > .woocommerce-Price-amount,
.ec-product__price > .price > .woocommerce-Price-amount {
	color: var(--ec-red);
	font-size: 46px;
	font-weight: 500;
	line-height: 1.1;
}

/* Variable range "$19.95 – $37.69" */
.ec-product__price {
	flex-wrap: wrap;
	align-items: baseline;
}

.ec-product__price > span[aria-hidden="true"]:not(.woocommerce-Price-amount) {
	color: var(--ec-text-soft);
	font-size: 30px;
}

@media (max-width: 991px) {
	.ec-product__price > .woocommerce-Price-amount,
	.ec-product__price > .price > .woocommerce-Price-amount {
		font-size: 36px;
	}
}

/* ==========================================================================
   27. Mobile fixes (checked at 390px)
   ========================================================================== */

/* Gravity Forms: red * on required fields like the design */
.ec-gform .gfield_label:has(.gfield_required_text)::after {
	content: " *";
	color: var(--ec-red);
}

/* Login: "Remember me" in text colour */
.ec-auth .ec-check,
.ec-auth .ec-check span {
	color: var(--ec-text) !important;
	font-weight: 400 !important;
}

/* Forgot / reset password: same width as the login card */
.ec-wc-page .ec-auth .ec-container {
	width: 100%;
}

.ec-auth--password .ec-auth__panel {
	min-height: 0;
}

@media (min-width: 992px) {
	.ec-auth--password .ec-auth__panel {
		min-height: 520px;
	}
}

@media (max-width: 767px) {
	/* Best Selling category tabs: one line, swipe for more */
	.ec-category-bar {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: auto;
		max-width: 100%;
		overflow-x: auto;
		padding: 12px 22px;
		gap: 22px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.ec-category-bar::-webkit-scrollbar {
		display: none;
	}

	.ec-category-bar__tab {
		flex: none;
		white-space: nowrap;
		scroll-snap-align: center;
		font-size: 17px;
	}

	/* Just arrived tabs: one line */
	.ec-tabs {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 6px;
		margin-right: calc(var(--ec-gutter) * -1);
		margin-left: calc(var(--ec-gutter) * -1);
		padding: 4px var(--ec-gutter) 8px;
		overflow-x: auto;
		scrollbar-width: none;
	}

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

	.ec-tabs__tab {
		flex: none;
		padding: 0 16px;
		white-space: nowrap;
	}

	.ec-tabs__tab:first-child {
		margin-left: auto;
	}

	.ec-tabs__tab:last-child {
		margin-right: auto;
	}

	/* Target clients: an odd last card is centred */
	.ec-clients__grid > li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - 8px);
	}

	/* Footer newsletter: email field + button stay side by side */
	.ec-footer .ec-newsletter__form {
		padding: 5px;
	}

	.ec-footer .ec-newsletter__form .gform_wrapper form {
		display: flex !important;
		align-items: center;
		gap: 4px;
	}

	.ec-footer .ec-newsletter__form .gform-body {
		flex: 1 1 auto !important;
		min-width: 0 !important;
	}

	.ec-footer .ec-newsletter__form .gform_footer {
		flex: 0 0 auto !important;
		width: auto !important;
		margin: 0 !important;
	}

	.ec-footer .ec-newsletter__form .gform_footer .gform_button,
	.ec-footer .ec-newsletter__form .gform_footer input[type="submit"] {
		width: 112px !important;
		min-width: 0 !important;
		height: 48px !important;
		min-height: 0 !important;
		padding: 0 12px !important;
		font-size: 15px !important;
		letter-spacing: 0 !important;
		text-transform: none !important;
	}

	.ec-footer .ec-newsletter__form input[type="email"] {
		width: 100% !important;
		padding: 0 12px !important;
		font-size: 15px !important;
	}
}

/* Product page: the gallery keeps its own height instead of stretching to the
   summary (the square main image would otherwise grow past its column). */
.ec-product__inner {
	align-items: start;
}

.ec-gallery {
	align-content: start;
}

.ec-gallery__main {
	width: 100%;
	min-width: 0;
}

/* ==========================================================================
   38. Image fit: any image size stays inside its box
   (absolute images never stretch the box they sit in)
   ========================================================================== */

.ec-product-card__image {
	position: relative;
}

.ec-product-card__image img {
	position: absolute;
	top: 10%;
	left: 18%;
	width: 64%;
	height: 80%;
	max-width: none;
	max-height: none;
	object-fit: contain;
}

.ec-live__thumb {
	position: relative;
	overflow: hidden;
}

.ec-live__thumb img {
	position: absolute;
	top: 4px;
	left: 4px;
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	max-width: none;
	object-fit: contain;
}

.ec-review-item__thumb {
	overflow: hidden;
}

/* ==========================================================================
   39. Shop filters: button + drawer from the left (below 992px)
   ========================================================================== */

.ec-filter-toggle__overlay,
.ec-filter-toggle__head {
	display: none;
}

@media (max-width: 991px) {
	.ec-filter-toggle {
		border: 0;
		border-radius: 0;
	}

	.ec-filter-toggle__summary {
		display: flex;
		justify-content: flex-start;
		width: 100%;
		height: 48px;
		gap: 10px;
		padding: 11px 22px;
		border: 1px solid #e3e7ef;
		border-radius: var(--ec-radius-pill);
		background: var(--ec-white);
		font-size: 17px;
	}

	.ec-filter-toggle__summary svg {
		width: 18px;
		height: 18px;
		color: var(--ec-red);
	}

	.ec-filter-toggle__overlay {
		position: fixed;
		inset: 0;
		z-index: 1000;
		display: block;
		background: rgba(15, 18, 24, 0.55);
		animation: ec-fade-in 0.3s ease;
	}

	.ec-filter-toggle__panel {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 1001;
		width: min(340px, 86vw);
		padding: 0 18px 30px;
		overflow-y: auto;
		background: var(--ec-white);
		box-shadow: 10px 0 40px rgba(0, 0, 0, 0.2);
		animation: ec-slide-left 0.3s ease;
		overscroll-behavior: contain;
	}

	.ec-filter-toggle__head {
		position: sticky;
		top: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0 -18px 18px;
		padding: 14px 18px;
		border-bottom: 1px solid var(--ec-border);
		background: var(--ec-white);
	}

	.ec-filter-toggle__title {
		margin: 0;
		font-family: var(--ec-font-serif);
		font-size: 20px;
	}

	.ec-filter-toggle__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-filter-toggle__close svg {
		width: 20px;
		height: 20px;
	}

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

	/* Sort by: full width, list opens under the whole pill */
	.ec-sort {
		flex: 1 1 100%;
		width: 100%;
		height: 48px;
	}

	.ec-sort .ec-dropdown {
		position: static;
		flex: 1;
	}

	.ec-sort .ec-dropdown__btn {
		width: 100%;
		min-width: 0;
	}

	.ec-sort .ec-dropdown__list {
		top: calc(100% + 8px);
		right: 0;
		left: 0;
		min-width: 0;
	}

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

@keyframes ec-slide-left {
	from {
		transform: translateX(-100%);
	}
}

@keyframes ec-fade-in {
	from {
		opacity: 0;
	}
}

/* ==========================================================================
   40. Phone fixes: header, home, about, product, checkout, footer
   ========================================================================== */

/* Best selling dropdown (phones only) */
.ec-category-select {
	display: none;
}

@media (max-width: 991px) {
	/* Header icons: one line, same size, centred */
	.ec-header__actions {
		align-self: center;
		margin-top: 0;
	}

	.ec-header__actions .ec-account {
		display: flex;
	}

	.ec-header-link--account,
	.ec-header-link--cart {
		justify-content: center;
		min-width: 40px;
		height: 40px;
	}

	.ec-header-link__icon--user,
	.ec-header-link__icon-wrap {
		margin-top: 0;
	}

	.ec-header-link__icon--user {
		width: 18px;
		height: 21px;
	}

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

	.ec-header-link__badge {
		top: -9px;
		left: 12px;
		min-width: 19px;
		height: 19px;
		font-size: 10px;
	}

	.ec-nav-toggle {
		align-self: center;
	}

	/* The tinted brands section keeps its gap (plain .ec-brands reset it) */
	.ec-brands.ec-brands--tinted {
		margin-top: var(--ec-section-y);
	}

	.ec-intro__media {
		overflow: hidden;
	}
}

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

	.ec-header-link--account,
	.ec-header-link--cart {
		min-width: 34px;
	}

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

	/* Best selling: dropdown instead of the tab bar */
	.ec-best .ec-category-bar {
		display: none;
	}

	.ec-category-select {
		position: relative;
		display: block;
		max-width: 360px;
		margin: 24px auto 0;
	}

	.ec-category-select__btn {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 50px;
		padding: 0 20px 0 24px;
		border: 1px solid var(--ec-orange);
		border-radius: var(--ec-radius-pill);
		background: var(--ec-white);
		box-shadow: 0 0 8px rgba(186, 38, 40, 0.18);
		color: var(--ec-red);
		font-family: var(--ec-font-serif);
		font-size: 17px;
		cursor: pointer;
	}

	.ec-category-select__btn:focus-visible {
		outline: none;
		border-color: var(--ec-red);
	}

	.ec-category-select__btn svg {
		width: 18px;
		height: 18px;
		transition: transform var(--ec-transition);
	}

	.ec-category-select.is-open .ec-category-select__btn svg {
		transform: rotate(180deg);
	}

	.ec-category-select__list {
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		left: 0;
		z-index: 20;
		max-height: 320px;
		margin: 0;
		padding: 8px;
		overflow-y: auto;
		border: 1px solid var(--ec-border);
		border-radius: 18px;
		background: var(--ec-white);
		box-shadow: 0 18px 40px rgba(30, 40, 60, 0.16);
		list-style: none;
		animation: ec-fade-in 0.2s ease;
	}

	.ec-category-select__option {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 11px 16px;
		border: 0;
		border-radius: 12px;
		background: none;
		color: var(--ec-text);
		font-family: var(--ec-font-serif);
		font-size: 16px;
		text-align: left;
		cursor: pointer;
		transition: background-color var(--ec-transition), color var(--ec-transition);
	}

	.ec-category-select__option svg {
		width: 16px;
		height: 16px;
		opacity: 0;
	}

	.ec-category-select__option:hover,
	.ec-category-select__option:focus-visible {
		outline: none;
		background: var(--ec-bg-panel);
		color: var(--ec-red);
	}

	.ec-category-select__option.is-active {
		background: #fbeaea;
		color: var(--ec-red);
	}

	.ec-category-select__option.is-active svg {
		opacity: 1;
	}

	/* Product cards on phones: a bit more room around the pack */
	.ec-product-card__image img {
		top: 12%;
		left: 15%;
		width: 70%;
		height: 72%;
	}

	/* Rounded photos: smaller corners on phones */
	.ec-feature__img {
		border-radius: 28px;
	}

	.ec-feature__img--sm {
		border-width: 6px;
	}

	.ec-dist-card__media,
	.ec-feature__media--single {
		border-width: 6px;
		border-radius: 36px;
	}

	.ec-intro__media {
		border-radius: 36px 48px 56px 0;
	}

	/* Product page: smaller price + Qty box */
	.ec-product__price > .woocommerce-Price-amount,
	.ec-product__price > .price > .woocommerce-Price-amount,
	.ec-product__price ins {
		font-size: 28px;
	}

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

	.ec-qty {
		width: 66px;
		height: 48px;
	}

	.ec-product .ec-qty .ec-qty__input,
	.woocommerce form .ec-qty .ec-qty__input {
		padding: 0 22px 0 12px;
		font-size: 20px;
	}

	.ec-product .ec-qty .ec-qty__btn {
		right: 4px;
		height: 18px;
	}

	.ec-product .ec-qty .ec-qty__btn--up {
		top: 4px;
	}

	.ec-product .ec-qty .ec-qty__btn--down {
		bottom: 4px;
	}

	/* Checkout: login + coupon fields full width */
	form.checkout_coupon,
	form.woocommerce-form-login.login:not(.ec-auth__form) {
		padding: 18px;
	}

	form.checkout_coupon > p,
	form.woocommerce-form-login.login:not(.ec-auth__form) > p {
		flex: 1 1 100%;
		width: 100%;
		margin: 0;
		float: none;
	}

	form.checkout_coupon input.input-text,
	form.checkout_coupon .button,
	form.woocommerce-form-login.login:not(.ec-auth__form) input.input-text,
	form.woocommerce-form-login.login:not(.ec-auth__form) .password-input {
		width: 100%;
	}

	/* Order summary: product name gets the free width */
	.woocommerce-checkout-review-order-table tfoot th {
		width: auto;
	}

	.woocommerce-checkout-review-order-table td.product-total {
		width: 1%;
		padding-left: 12px;
	}

	/* Footer newsletter: button under the field */
	.ec-footer .ec-newsletter__form {
		height: auto;
		padding: 0;
		background: none;
	}

	.ec-footer .ec-newsletter__form .gform_wrapper form {
		flex-direction: column;
		align-items: stretch !important;
		gap: 12px;
	}

	.ec-footer .ec-newsletter__form input[type="email"] {
		height: 52px !important;
		padding: 0 20px !important;
		border-radius: var(--ec-radius-pill) !important;
		background: var(--ec-white) !important;
	}

	.ec-footer .ec-newsletter__form .gform_footer {
		width: 100% !important;
	}

	.ec-footer .ec-newsletter__form .gform_footer .gform_button,
	.ec-footer .ec-newsletter__form .gform_footer input[type="submit"] {
		width: 100% !important;
		height: 52px !important;
		background: var(--ec-red-dark);
	}

	.ec-newsletter__form .validation_message {
		position: static;
		padding: 8px 20px 0 !important;
		white-space: normal;
	}

	/* Footer: everything centred */
	.ec-footer__main {
		justify-items: center;
		text-align: center;
	}

	.ec-footer__logo {
		display: inline-block;
	}

	.ec-footer__logo img {
		width: 150px;
	}

	.ec-footer__about {
		margin-inline: auto;
	}

	.ec-social,
	.ec-payments {
		justify-content: center;
	}

	/* Footer menus: one block per row, links in a centred line split by dots,
	   dotted line between the blocks */
	.ec-footer__main {
		grid-template-columns: 1fr;
		gap: 0;
		padding-bottom: 0;
	}

	.ec-footer {
		overflow-x: clip;
	}

	.ec-footer__col:last-child {
		padding-bottom: 26px;
	}

	.ec-footer__brand {
		padding-bottom: 26px;
	}

	/* Menus sit on one full-width grey band (semi-transparent over the photo) */
	.ec-footer__col {
		width: 100vw;
		margin-inline: calc(50% - 50vw);
		padding: 22px var(--ec-gutter);
		border-top: 1px dashed rgba(120, 128, 140, 0.45);
		background: rgba(236, 239, 244, 0.88);
		-webkit-backdrop-filter: blur(4px);
		backdrop-filter: blur(4px);
	}

	.ec-footer__brand + .ec-footer__col {
		border-top: 0;
	}

	.ec-footer__heading {
		color: var(--ec-red);
	}

	.ec-footer__heading {
		margin-bottom: 10px;
	}

	/* Each link on its own line */
	.ec-footer-menu {
		max-width: 260px;
		margin: 0 auto;
	}

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

	.ec-footer-menu a {
		display: block;
		padding: 8px 0;
		line-height: 1.4;
	}
}

/* ==========================================================================
   41. Desktop header 992-1399: menu on one line, account text never wraps
   ========================================================================== */

.ec-header-link__text,
.ec-menu > .menu-item > a {
	white-space: nowrap;
}

@media (min-width: 992px) {
	.ec-header.is-sticky .ec-menu {
		flex-wrap: nowrap;
	}
}

/* Sticky bar keeps the search; tighter menu so everything fits on one line */
@media (min-width: 992px) and (max-width: 1599px) {
	.ec-header.is-sticky .ec-header__inner,
	.ec-header.is-sticky .ec-header__inner {
		grid-template-columns: auto minmax(0, 1fr) minmax(180px, 280px) auto;
		grid-template-areas: "logo nav search actions";
		column-gap: 24px;
	}

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

	.ec-header.is-sticky .ec-nav {
		padding-left: 0;
	}

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

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

@media (min-width: 992px) and (max-width: 1399px) {
	/* Logo and actions take what they need, search gets the rest */
	.ec-header__inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		column-gap: 28px;
	}

	.ec-menu {
		flex-wrap: nowrap;
		gap: 0 26px;
	}

	/* Smaller search: shorter and not wider than needed */
	.ec-search {
		justify-self: center;
		width: 100%;
		max-width: 560px;
	}

	.ec-search__input {
		height: 46px;
		padding-left: 22px;
		font-size: 15px;
	}

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

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

	.ec-header__actions {
		margin-top: 28px;
	}

}

@media (min-width: 992px) and (max-width: 1199px) {
	/* Menu runs under search + actions so it has the full width */
	.ec-header__inner {
		grid-template-areas:
			"logo search actions"
			"nav nav nav";
		column-gap: 22px;
	}

	.ec-nav {
		margin-top: 18px;
	}

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

	.ec-header__actions {
		gap: 18px;
	}

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

	/* Sticky bar: icons only so menu + search fit beside them */
	.ec-header.is-sticky .ec-header__inner {
		grid-template-columns: auto minmax(0, 1fr) minmax(160px, 220px) auto;
		grid-template-areas: "logo nav search actions";
		column-gap: 18px;
	}

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

	.ec-header.is-sticky .ec-header-link__text,
	.ec-header.is-sticky .ec-header-link__chevron {
		display: none;
	}

	.ec-header.is-sticky .ec-header-link__icon--user,
	.ec-header.is-sticky .ec-header-link__icon-wrap {
		margin-top: 0;
	}
}

@media (min-width: 992px) and (max-width: 1399px) {
	.ec-header.is-sticky .ec-menu {
		gap: 0 12px;
	}
}

/* ==========================================================================
   42. Home sections at 1199 / 991 / 812 / 767
   ========================================================================== */

@media (max-width: 1199px) {
	/* Feature icons: rows of 3, an incomplete last row is centred */
	.ec-features__grid {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 40px 30px;
	}

	.ec-features__grid > li {
		width: calc((100% - 60px) / 3);
	}

	.ec-banner__content {
		max-width: 900px;
	}

	.ec-banner__title,
	.ec-newsletter__title {
		text-wrap: balance;
	}

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

@media (min-width: 992px) and (max-width: 1199px) {
	/* Footer: the four link columns stay on one row under the logo */
	.ec-footer__main {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

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

	/* Best selling tabs: one line, swipe for more */
	.ec-category-bar {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: auto;
		overflow-x: auto;
		padding: 12px 22px;
		gap: 22px;
		scrollbar-width: none;
	}

	.ec-category-bar::-webkit-scrollbar {
		display: none;
	}

	.ec-category-bar__tab {
		flex: none;
		white-space: nowrap;
	}

	/* Commercial banner: text stays readable over the photo */
	.ec-banner::before {
		background: rgba(0, 0, 0, 0.45);
	}

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

	.ec-banner__content {
		margin-left: 0;
	}

	/* Feature split: heading uses the full width like the text */
	.ec-feature__title {
		max-width: none;
	}

	.ec-feature__media {
		margin-left: 0;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.ec-blog__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 30px 20px;
	}

	.ec-distribution__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: none;
		gap: 30px;
	}
}

@media (max-width: 767px) {
	.ec-features__grid {
		gap: 36px 20px;
	}

	.ec-features__grid > li {
		width: calc((100% - 20px) / 2);
	}

	/* Brands slider: arrows stay so it is clear it swipes */
	.ec-brands__slider {
		padding-inline: 48px;
	}

	.ec-brands .ec-slider__arrow {
		display: grid;
		width: 40px;
		height: 40px;
		top: 33px;
	}
}

@media (min-width: 480px) and (max-width: 767px) {
	.ec-brands .ec-slider {
		--ec-per-view: 2;
		--ec-gap: 16px;
	}
}

@media (max-width: 479px) {
	.ec-features__grid > li {
		width: 100%;
	}
}

/* ==========================================================================
   43. Blog, post and newsletter at 1199 / 991 / 812
   ========================================================================== */

@media (max-width: 1199px) {
	.ec-recent-post {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 12px;
	}

	.ec-recent-post__title {
		font-size: 15px;
	}
}

@media (max-width: 991px) {
	.ec-blog-search {
		width: 100%;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	/* Blog list: two posts per row instead of one huge card */
	.ec-post-rows {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 24px;
	}

	.ec-post-row {
		padding: 0;
	}

	/* Post sidebar: search + categories side by side, recent posts below */
	.ec-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.ec-sidebar > .ec-widget:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	/* Newsletter button must not squeeze the email field */
	.ec-newsletter__form .gform_footer button,
	.ec-newsletter__form .gform_button {
		width: 170px;
		min-width: 0;
		min-height: 51px;
		height: 51px;
		padding: 0 16px;
	}
}

/* ==========================================================================
   44. Shop, product page, cart and login at 1199 / 991 / 812 / 767
   ========================================================================== */

/* Product title stays bigger than the section headings under it */
.ec-product__title {
	font-size: clamp(24px, 2.6vw, 32px);
}

@media (min-width: 992px) and (max-width: 1199px) {
	/* Product page keeps gallery + details side by side */
	.ec-product__inner {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: 32px;
	}

}

@media (min-width: 768px) and (max-width: 991px) {
	/* Gallery: smaller thumbs, extra thumbs scroll beside the main image */
	.ec-gallery {
		grid-template-columns: 96px minmax(0, 1fr);
		align-items: stretch;
		max-width: 640px;
	}

	.ec-gallery__thumbs {
		align-content: start;
		height: 0;
		min-height: 100%;
		overflow-y: auto;
		scrollbar-width: thin;
	}

	.ec-product-grid--related {
		--ec-cols: 3;
	}

	/* Login / sign up card: fields not stretched across the page */
	.ec-auth__card {
		padding: 40px 56px;
	}

	.ec-auth__card > * {
		max-width: 620px;
		margin-inline: auto;
	}
}

@media (max-width: 767px) {
	.ec-product__title {
		font-size: 24px;
	}

	/* Checkout steps: lines centred between the circles */
	.ec-checkout-steps__item:not(.is-current) .ec-checkout-steps__num {
		margin-right: 0;
	}
}

@media (min-width: 576px) and (max-width: 767px) {
	/* Large phones: 3 product cards per row */
	.ec-product-grid,
	.ec-product-grid--shop,
	.ec-product-grid--related {
		--ec-cols: 3;
		--ec-cgap: 14px;
	}

	.ec-arrivals .ec-product-grid > :nth-child(5),
	.ec-arrivals .ec-product-grid > :nth-child(6) {
		display: block;
	}
}

/* Related products: 3 cards wherever the grid has 3 columns */
@media (min-width: 576px) and (max-width: 991px) {
	.ec-product-grid--related > :nth-child(3) {
		display: block;
	}
}

/* ==========================================================================
   45. About, brands, supplier, bulk, contact at 1199 / 991 / 812 / 767
   ========================================================================== */

@media (max-width: 1199px) {
	/* Section spacing between 992 and 1199 (the phone system starts at 991) */
	.ec-feature {
		padding-bottom: 50px;
	}

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

	.ec-clients,
	.ec-form-section,
	.ec-contact {
		padding-bottom: 80px;
	}

	.ec-footer {
		margin-top: 70px;
	}

	/* Stacked intro photo is centred */
	.ec-intro__media {
		width: min(100%, 640px);
		max-width: none;
		margin-inline: auto;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.ec-intro__inner {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: 40px;
	}

	.ec-intro__media {
		width: auto;
	}

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

	/* Forms keep text + form side by side */
	.ec-contact__inner,
	.ec-form-section__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
		gap: 40px;
	}

	.ec-best--flat .ec-product-grid {
		--ec-cols: 3;
	}

	.ec-banner::before {
		background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.55) 100%);
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	/* Target clients: rows of 3, an incomplete last row is centred */
	.ec-clients__grid {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 24px;
	}

	.ec-clients__grid > li {
		width: calc((100% - 48px) / 3);
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.ec-brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ec-brands__slider {
		padding-inline: 56px;
	}

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

@media (max-width: 767px) {
	.ec-feature__media {
		width: 100%;
	}

	.ec-post-card__excerpt {
		max-width: none;
	}
}

/* Thank You page (Gravity Forms redirect) */
.ec-thanks {
	padding: var(--ec-section-y, 80px) 0 0;
}

.ec-thanks__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--ec-red);
	color: #fff;
}

.ec-thanks .ec-404__text {
	margin-top: 24px;
}

.ec-thanks .ec-404__text p {
	margin: 0;
}

/* Checkout: "Returning customer?" login form - text on top, two fields, then Remember me + Login */
form.woocommerce-form-login.login:not(.ec-auth__form) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
	align-items: start;
}

form.woocommerce-form-login.login:not(.ec-auth__form) > * {
	grid-column: 1 / -1;
	width: 100%;
	margin: 0;
	float: none;
}

form.woocommerce-form-login.login:not(.ec-auth__form) > .form-row-first {
	grid-column: 1;
}

form.woocommerce-form-login.login:not(.ec-auth__form) > .form-row-last {
	grid-column: 2;
}

form.woocommerce-form-login.login:not(.ec-auth__form) > .clear {
	display: none;
}

form.woocommerce-form-login.login:not(.ec-auth__form) input.input-text,
form.woocommerce-form-login.login:not(.ec-auth__form) .password-input {
	width: 100%;
}

form.woocommerce-form-login.login:not(.ec-auth__form) > .form-row:not(.form-row-first):not(.form-row-last) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
}

form.woocommerce-form-login.login:not(.ec-auth__form) .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

form.woocommerce-form-login.login:not(.ec-auth__form) .woocommerce-form-login__submit {
	margin: 0;
}

form.woocommerce-form-login.login:not(.ec-auth__form) .lost_password a {
	color: var(--ec-red);
}

@media (max-width: 767px) {
	form.woocommerce-form-login.login:not(.ec-auth__form) {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	form.woocommerce-form-login.login:not(.ec-auth__form) > .form-row-first,
	form.woocommerce-form-login.login:not(.ec-auth__form) > .form-row-last {
		grid-column: 1;
	}

	form.woocommerce-form-login.login:not(.ec-auth__form) .woocommerce-form-login__submit {
		width: 100%;
	}
}

/* Checkout payment methods: radio and name on one centred line */
#payment .wc_payment_method {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 10px;
}

#payment .wc_payment_method > input[type="radio"] {
	flex: 0 0 18px;
	margin: 0;
}

#payment .wc_payment_method > label {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	line-height: 1.4;
}

#payment .wc_payment_method > .payment_box {
	flex: 1 1 100%;
}

/* Pagination: smaller arrow circle, white icon on hover (beats ".ec-pagination a:hover") */
.ec-pagination .ec-pagination__arrow {
	width: 44px;
	height: 44px;
}

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

@media (max-width: 767px) {
	.ec-pagination .ec-pagination__arrow {
		width: 38px;
		height: 38px;
	}
}

/* ==========================================================================
   39. Square product boxes, image fills the box up to the border
   (home, shop, related) + product page main image
   ========================================================================== */

.ec-product-card__media,
.ec-product-grid--shop .ec-product-card__media,
.ec-product-grid--related .ec-product-card__media {
	aspect-ratio: 1;
}

.ec-product-card__image img {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.ec-gallery__main img {
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Tablets: the image is shorter, so the text on it is smaller */
@media (min-width: 768px) and (max-width: 991px) {
	.ec-page-banner__title,
	.ec-shop-banner__title {
		font-size: clamp(30px, 5vw, 40px);
		line-height: 1.1;
	}

	.ec-page-banner__text,
	.ec-shop-banner__text {
		margin-top: 8px;
		font-size: 16px;
		line-height: 1.25;
	}
}

@media (max-width: 991px) {
	.ec-features--plain {
		padding-top: 40px;
	}
}

/* Phones: the text does not fit on the image, it goes centred under it */
@media (max-width: 767px) {
	.ec-page-banner__inner,
	.ec-shop-banner__inner {
		position: static;
		display: block;
		padding-block: 18px;
		text-align: center;
	}

	.ec-page-banner__title,
	.ec-shop-banner__title {
		font-size: 26px;
		line-height: 1.1;
	}

	.ec-page-banner__text,
	.ec-shop-banner__text {
		margin-top: 6px;
		font-size: 15px;
		line-height: 1.25;
	}
}

/* ==========================================================================
   46. Contact page: Location card with all offices left, other cards right
   ========================================================================== */

/* Info column fills the row, so its boxes end level with the form box */
.ec-contact__info {
	display: flex;
	flex-direction: column;
}

.ec-contact-grid {
	display: grid;
	flex: 1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 24px;
	margin-top: 40px;
}

/* Right cards share the Location card's height */
.ec-contact-grid .ec-contact-cards {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
}

.ec-contact-grid .ec-contact-cards > .ec-contact-card {
	flex: 1;
}

/* Map: a pasted embed iframe looks like the default map (full width) */
.ec-map iframe {
	display: block;
	width: 100%;
	height: 450px;
	border: 0;
	background: #e9eef3;
}

/* Form box is as tall as the info column: the Message field takes the extra
   height so there is no empty space under the button */
@media (min-width: 1200px) {
	.ec-contact__form,
	.ec-contact__form .ec-gform,
	.ec-contact__form .gform_wrapper,
	.ec-contact__form form,
	.ec-contact__form .gform-body {
		display: flex;
		flex-direction: column;
	}

	.ec-contact__form .ec-gform,
	.ec-contact__form .gform_wrapper,
	.ec-contact__form form,
	.ec-contact__form .gform-body,
	.ec-contact__form .gform_fields {
		flex: 1;
	}

	/* Last row (Message) grows */
	.ec-contact__form .gform_fields:has(> .gfield--type-textarea) {
		grid-template-rows: repeat(3, auto) 1fr;
	}

	.ec-contact__form .gfield--type-textarea,
	.ec-contact__form .gfield--type-textarea .ginput_container {
		display: flex;
		flex: 1;
		flex-direction: column;
	}

	.ec-contact__form .gfield--type-textarea textarea {
		flex: 1;
		height: auto !important;
		min-height: 150px;
	}
}

/* No addresses: the old two-column card grid */
.ec-contact-grid--plain {
	display: block;
}

.ec-contact-grid--plain .ec-contact-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ec-contact-addresses {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.ec-contact-addresses li {
	padding: 10px 0;
}

.ec-contact-addresses li:first-child {
	padding-top: 0;
}

.ec-contact-addresses li:last-child {
	padding-bottom: 0;
}

.ec-contact-addresses li + li {
	border-top: 1px solid var(--ec-border);
}

.ec-contact-card--addresses .ec-contact-card__title {
	margin: 0 0 4px;
}

.ec-contact-card--addresses p {
	font-size: 14px;
}

@media (max-width: 575px) {
	.ec-contact-grid,
	.ec-contact-grid--plain .ec-contact-cards {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   47. Checkout: Stripe card box (no grey fieldset frames, tidy test note
   and "save card" checkbox). The card fields are Stripe's own iframe; they
   copy the theme input style from #wc-stripe-hidden-style-input.
   ========================================================================== */

#payment .payment_method_stripe .payment_box {
	padding: 16px;
}

#payment .payment_box fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

#payment .wc-stripe-payment-method-instruction {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff6e5;
	color: #6b4e16;
	font-size: 13px;
	line-height: 1.5;
}

#payment .wc-stripe-copy-test-number {
	padding: 0 2px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

#payment .wc-stripe-payment-method-instruction a {
	color: var(--ec-red);
}

/* Only "use a new card" in the list: nothing to choose, so no list */
#payment .woocommerce-SavedPaymentMethods[data-count="0"] {
	display: none;
}

#payment .woocommerce-SavedPaymentMethods-saveNew {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
}

#payment .woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--ec-red);
	cursor: pointer;
}

#payment .woocommerce-SavedPaymentMethods-saveNew label {
	margin: 0;
	color: var(--ec-text);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	cursor: pointer;
}

#wc-stripe-upe-errors:not(:empty) {
	margin-top: 10px;
	color: var(--ec-red);
	font-size: 13px;
}
