/* ==========================================================================
   Enhance-d Shop - matches enhance-d.com
   ========================================================================== */

:root {
	--ed-ink: #0f1b24;
	--ed-ink-2: #1b1f37;
	--ed-body: #335b7a;
	--ed-muted: #6b7a90;
	--ed-bg: #f5f6fa;
	--ed-bg-alt: #eef0fb;
	--ed-surface: #ffffff;
	--ed-line: rgba(15, 27, 36, .08);
	--ed-primary: #5666f0;
	--ed-primary-dark: #4452d6;
	--ed-primary-soft: rgba(86, 102, 240, .1);
	--ed-navy: #151d86;
	--ed-gradient: linear-gradient(258deg, #ff6d34 0%, #8054f8 100%);
	--ed-radius-lg: 24px;
	--ed-radius: 16px;
	--ed-radius-sm: 12px;
	--ed-shadow: 0 8px 24px rgba(21, 22, 30, .08);
	--ed-shadow-lg: 0 18px 44px rgba(21, 22, 30, .12);
	--ed-head: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ed-sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ed-header-h: 72px;

	--ast-global-color-0: #5666f0;
	--ast-global-color-1: #4452d6;
	--ast-global-color-2: #0f1b24;
	--ast-global-color-3: #335b7a;
	--ast-global-color-4: #f5f6fa;
	--ast-global-color-5: #ffffff;
}

/* --------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body,
body.ed-shop,
.ast-plain-container,
.ast-separate-container,
.ast-plain-container .site-content,
.ast-separate-container .site-content,
#page {
	background: var(--ed-bg) !important;
}
body.ed-shop {
	font-family: var(--ed-sans);
	color: var(--ed-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.ed-shop p, .ed-shop li, .ed-shop td, .ed-shop th, .ed-shop input, .ed-shop select, .ed-shop textarea, .ed-shop button, .ed-shop label {
	font-family: var(--ed-sans);
}
.ed-shop .entry-content p,
.ed-shop .woocommerce-product-details__short-description,
.ed-shop .woocommerce-Tabs-panel { color: var(--ed-body); }

.ed-shop h1, .ed-shop h2, .ed-shop h3, .ed-shop h4, .ed-shop h5, .ed-shop h6,
.ed-shop .entry-title, .ed-shop .page-title, .ed-shop .product_title {
	font-family: var(--ed-head) !important;
	color: var(--ed-ink);
	letter-spacing: -0.02em;
}
.ed-shop h1, .ed-shop .entry-title, .ed-shop .product_title { font-weight: 900; }
.ed-shop h2, .ed-shop h3 { font-weight: 700; }

.ed-shop a { color: var(--ed-primary); }
.ed-shop a:hover { color: var(--ed-primary-dark); }
.ed-shop ::selection { background: rgba(86, 102, 240, .2); }
.ed-shop :focus-visible { outline: 2px solid var(--ed-primary); outline-offset: 2px; }

.ed-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

/* Wider Astra content container to match */
.ed-shop .site-content > .ast-container,
.ed-shop.ast-plain-container .site-content > .ast-container {
	max-width: 1200px !important;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}
@media (max-width: 560px) {
	.ed-shop .site-content > .ast-container { padding-left: 16px; padding-right: 16px; }
}

/* Hide Astra's own mobile off-canvas (we use our own) */
#ast-mobile-popup-wrapper, .ast-mobile-popup-drawer { display: none !important; }

/* --------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------- */
.ed-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 26px;
	border-radius: 999px;
	border: 0;
	font-family: var(--ed-sans);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
	white-space: nowrap;
}
.ed-btn svg { width: 18px; height: 18px; }
.ed-btn--primary { background: var(--ed-primary); color: #fff !important; box-shadow: 0 12px 32px rgba(86, 102, 240, .28); }
.ed-btn--primary:hover { background: var(--ed-primary-dark); transform: translateY(-1px); box-shadow: 0 16px 36px rgba(86, 102, 240, .34); }
.ed-btn--ghost { background: #fff; color: var(--ed-ink) !important; box-shadow: inset 0 0 0 1px var(--ed-line), var(--ed-shadow); }
.ed-btn--ghost:hover { transform: translateY(-1px); color: var(--ed-primary) !important; }
.ed-btn--gradient { background: var(--ed-gradient); color: #fff !important; border-radius: 8px; font-weight: 500; font-size: 14px; }
.ed-btn--gradient:hover { opacity: .92; transform: translateY(-1px); }
.ed-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

.ed-eyebrow {
	margin: 0 0 14px;
	font-family: var(--ed-sans) !important;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ed-primary) !important;
}
.ed-eyebrow--light { color: rgba(255, 255, 255, .8) !important; }

/* --------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------- */
.ed-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
/* Blur lives on a pseudo-element so it doesn't trap the fixed mobile menu */
.ed-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(248, 249, 251, .9);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.ed-menu-open .ed-header::before { background: var(--ed-bg); }
.admin-bar .ed-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ed-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ed-header { top: 0; } }
.ed-header.is-scrolled { border-bottom-color: var(--ed-line); box-shadow: 0 4px 20px rgba(21, 22, 30, .04); }

.ed-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--ed-header-h);
}
.ed-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
	flex-shrink: 0;
}
.ed-brand__logo svg { display: block; width: 150px; height: auto; }
.ed-brand__tag {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--ed-primary-soft);
	color: var(--ed-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
}

.ed-nav { flex: 1; display: flex; justify-content: center; }
.ed-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ed-nav__list > li { position: relative; margin: 0; }
.ed-nav__list a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 8px 12px;
	border-radius: 8px;
	font-family: var(--ed-sans);
	font-size: 14px;
	font-weight: 400;
	color: var(--ed-ink-2) !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color .15s ease, background .15s ease;
}
.ed-nav__list a:hover,
.ed-nav__list .current-menu-item > a,
.ed-nav__list .current-menu-ancestor > a { color: var(--ed-primary) !important; }
/* Astra injects its own arrow icons into menus - hide them and draw our own */
.ed-nav .ast-icon, .ed-nav .dropdown-menu-toggle, .ed-nav .ast-menu-toggle { display: none !important; }
.ed-nav__list > .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin: -3px 0 0 4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .7;
}
.ed-nav .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border-radius: var(--ed-radius);
	box-shadow: var(--ed-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.ed-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.ed-nav__list > li:hover > .sub-menu,
.ed-nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ed-nav .sub-menu a { padding: 10px 12px; }
.ed-nav .sub-menu a:hover { background: var(--ed-bg); }
.ed-sub-toggle { display: none; }
.ed-nav__cta-mobile { display: none !important; }

.ed-header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ed-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ed-ink-2) !important;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.ed-icon-btn:hover { background: rgba(15, 27, 36, .05); color: var(--ed-primary) !important; }
.ed-icon-btn svg { width: 20px; height: 20px; }
.ed-cart-count {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ed-gradient);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	box-sizing: border-box;
}
.ed-cart-count.is-empty { display: none; }
.ed-header__actions .ed-btn--gradient { margin-left: 8px; }
.ed-menu-toggle { display: none; }
.ed-menu-toggle__close { display: none; }

/* Search panel */
.ed-search { border-top: 1px solid var(--ed-line); padding: 16px 0; background: rgba(248, 249, 251, .96); }
.ed-search[hidden] { display: none; }
.ed-search__form {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 640px;
	margin: 0 auto;
	padding: 6px 6px 6px 18px;
	background: #fff;
	border-radius: 999px;
	box-shadow: var(--ed-shadow);
}
.ed-search__form > svg { width: 20px; height: 20px; color: var(--ed-muted); flex-shrink: 0; }
.ed-search__form input[type="search"] {
	flex: 1;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 16px;
	padding: 8px 0;
	outline: none;
}

/* The basket icon covers "Cart" on desktop; the text link stays in the mobile menu */
@media (min-width: 1181px) {
	.ed-nav__list > li > a[href$="/cart/"] { display: none; }
	.ed-nav { min-width: 0; }
}
/* Header runs a little wider than the content, like enhance-d.com */
.ed-header .ed-container { max-width: 1320px; }
@media (max-width: 1399px) {
	.ed-brand__tag { display: none; }
}
@media (max-width: 1440px) {
	.ed-header__inner { gap: 16px; }
	.ed-nav__list > li > a { padding: 8px 9px; }
}
@media (max-width: 1100px) {
	.ed-hide-md { display: none !important; }
	.ed-nav__list a { padding: 8px 9px; }
}
@media (max-width: 1180px) {
	.ed-header__inner { justify-content: space-between; }
	.ed-menu-toggle { display: inline-flex; }
	.ed-nav {
		position: fixed;
		top: var(--ed-nav-top, var(--ed-header-h));
		left: 0;
		right: 0;
		bottom: 0;
		display: block;
		padding: 16px 24px 40px;
		background: var(--ed-bg);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.ed-menu-open .ed-nav { opacity: 1; visibility: visible; transform: none; }
	.ed-menu-open { overflow: hidden; }
	.ed-menu-open .ed-menu-toggle__open { display: none; }
	.ed-menu-open .ed-menu-toggle__close { display: inline-flex; }
	.ed-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.ed-nav__list > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--ed-line); }
	.ed-nav__list > li > a { flex: 1; padding: 16px 0; font-size: 18px; font-weight: 600; font-family: var(--ed-head); }
	.ed-nav__list > .menu-item-has-children > a::after { display: none; }
	.ed-sub-toggle {
		display: inline-flex;
		width: 40px;
		height: 40px;
		align-items: center;
		justify-content: center;
		border: 0;
		background: transparent;
		cursor: pointer;
		padding: 0;
	}
	.ed-sub-toggle::before {
		content: "";
		width: 8px;
		height: 8px;
		margin-top: -4px;
		border-right: 2px solid var(--ed-ink);
		border-bottom: 2px solid var(--ed-ink);
		transform: rotate(45deg);
		transition: transform .2s ease;
	}
	.is-open > .ed-sub-toggle::before { transform: rotate(-135deg); margin-top: 4px; }
	.ed-nav .sub-menu {
		position: static;
		display: none;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 12px;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.ed-nav .sub-menu::before { display: none; }
	.ed-nav li.is-open > .sub-menu { display: block; }
	.ed-nav .sub-menu a { padding: 10px 0 10px 12px; font-size: 16px; }
	.ed-nav__cta-mobile { display: inline-flex !important; width: 100%; margin-top: 24px; min-height: 52px; font-size: 16px; }
}
@media (max-width: 560px) {
	.ed-container { padding: 0 16px; }
	.ed-header__inner { gap: 8px; }
	.ed-brand__logo svg { width: 122px; }
	.ed-brand__tag { display: none; }
	.ed-hide-sm { display: none !important; }
	.ed-nav { padding: 8px 16px 40px; }
}

/* --------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------- */
.ed-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 56px;
	background:
		radial-gradient(60% 80% at 85% 20%, rgba(128, 84, 248, .12), transparent 60%),
		radial-gradient(40% 60% at 10% 100%, rgba(86, 102, 240, .08), transparent 60%),
		var(--ed-bg);
}
.ed-hero__waves {
	position: absolute;
	right: -120px;
	top: 40px;
	width: 620px;
	height: 420px;
	pointer-events: none;
	opacity: .55;
	background: repeating-radial-gradient(ellipse at 100% 50%, transparent 0 14px, rgba(128, 84, 248, .18) 14px 15px);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 80%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 40%, #000 80%, transparent);
	transform: rotate(-8deg);
}
.ed-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 48px;
}
.ed-hero__title {
	margin: 0 0 18px;
	font-size: clamp(38px, 5.2vw, 58px) !important;
	line-height: 1.08 !important;
	font-weight: 900 !important;
	letter-spacing: -0.02em;
	max-width: 13ch;
}
.ed-hero__lead,
.ed-hero__lead p {
	margin: 0 0 28px;
	max-width: 46ch;
	font-size: 19px;
	line-height: 1.6;
	color: var(--ed-body);
}
.ed-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ed-hero__collage {
	position: relative;
	height: 420px;
}
.ed-hero__card {
	position: absolute;
	display: block;
	width: 58%;
	aspect-ratio: 1 / 1;
	border-radius: var(--ed-radius-lg);
	background: #fff;
	box-shadow: var(--ed-shadow-lg);
	overflow: hidden;
	transition: transform .35s ease;
}
.ed-hero__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-hero__card--1 { left: 0; top: 40px; transform: rotate(-5deg); z-index: 2; }
.ed-hero__card--2 { right: 0; top: 0; width: 50%; transform: rotate(4deg); z-index: 1; }
.ed-hero__card--3 { right: 8%; bottom: 0; width: 44%; transform: rotate(-2deg); z-index: 3; }
.ed-hero__collage:hover .ed-hero__card--1 { transform: rotate(-7deg) translateY(-4px); }
.ed-hero__collage:hover .ed-hero__card--2 { transform: rotate(6deg) translateY(-4px); }
.ed-hero__collage:hover .ed-hero__card--3 { transform: rotate(-1deg) translateY(-4px); }

.ed-hero--compact { padding: 56px 0 32px; }
.ed-hero--compact .ed-hero__title { max-width: none; margin-bottom: 10px; }
.ed-hero--compact .ed-hero__lead { margin-bottom: 0; }

@media (max-width: 900px) {
	.ed-hero { padding: 48px 0 40px; }
	.ed-hero__grid { grid-template-columns: 1fr; gap: 36px; }
	.ed-hero__collage { height: 320px; max-width: 460px; width: 100%; margin: 0 auto; }
	.ed-hero__waves { width: 420px; right: -160px; }
}
@media (max-width: 560px) {
	.ed-hero__lead, .ed-hero__lead p { font-size: 17px; }
	.ed-hero__collage { height: 260px; }
	.ed-hero__actions .ed-btn { flex: 1; }
}

/* Category pills */
.ed-pills {
	display: flex;
	gap: 8px;
	padding: 4px 0 8px;
	margin: 0 0 8px;
	overflow-x: auto;
	scrollbar-width: none;
}
.ed-pills::-webkit-scrollbar { display: none; }
.ed-pill {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ed-line);
	color: var(--ed-ink-2) !important;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none !important;
	transition: all .15s ease;
}
.ed-pill:hover { box-shadow: inset 0 0 0 1px var(--ed-primary); color: var(--ed-primary) !important; }
.ed-pill.is-active { background: var(--ed-ink); color: #fff !important; box-shadow: none; }

/* With a hero, drop Astra's top spacing + duplicate titles/breadcrumbs */
.ed-has-hero .site-content > .ast-container { padding-top: 0; }
.ed-has-hero #primary { margin-top: 16px !important; }
.ed-has-hero .woocommerce-products-header,
.ed-has-hero .ast-woocommerce-container > .woocommerce-breadcrumb,
.ed-has-hero .ast-archive-description,
.ed-has-hero #primary > .woocommerce-breadcrumb { display: none !important; }

/* --------------------------------------------------------------------------
   Shop toolbar + grid
   ----------------------------------------------------------------------- */
.ed-shop .woocommerce-result-count { color: var(--ed-muted); font-size: 14px; margin: 0; line-height: 44px; }
.ed-shop .woocommerce-ordering { margin-bottom: 24px; }

.ed-shop select,
.ed-shop .woocommerce-ordering select,
.ed-shop .woocommerce form .form-row input.input-text,
.ed-shop .woocommerce form .form-row textarea,
.ed-shop .woocommerce form .form-row select,
.ed-shop input[type="text"], .ed-shop input[type="email"], .ed-shop input[type="tel"],
.ed-shop input[type="password"], .ed-shop input[type="number"], .ed-shop textarea,
.ed-shop .select2-container .select2-selection--single,
.ed-shop .woocommerce div.product form.cart .variations select {
	border: 1px solid rgba(15, 27, 36, .12) !important;
	border-radius: var(--ed-radius-sm) !important;
	background-color: #fff !important;
	color: var(--ed-ink);
	min-height: 46px;
	padding-left: 14px;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ed-shop .select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 0; }
.ed-shop .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
.ed-shop input:focus, .ed-shop select:focus, .ed-shop textarea:focus {
	border-color: var(--ed-primary) !important;
	box-shadow: 0 0 0 3px rgba(86, 102, 240, .18) !important;
	outline: none;
}

.ed-shop ul.products { gap: 24px; }
.ed-shop.woocommerce ul.products li.product,
.ed-shop .woocommerce ul.products li.product,
.ed-shop.woocommerce-page ul.products li.product {
	display: flex;
	flex-direction: column;
	background: var(--ed-surface);
	border-radius: var(--ed-radius-lg);
	box-shadow: var(--ed-shadow);
	padding: 0 !important;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.ed-shop ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--ed-shadow-lg); }
.ed-shop ul.products li.product .astra-shop-thumbnail-wrap { position: relative; background: #f1f2f7; margin: 0; }
.ed-shop ul.products li.product .astra-shop-thumbnail-wrap img,
.ed-shop ul.products li.product a img {
	margin: 0 !important;
	border-radius: 0;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform .5s ease;
}
.ed-shop ul.products li.product:hover .astra-shop-thumbnail-wrap img { transform: scale(1.03); }
.ed-shop ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 20px 20px;
}
.ed-shop ul.products li.product .ast-woo-product-category {
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ed-primary);
	opacity: 1;
}
.ed-shop ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ed-head) !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.3;
	color: var(--ed-ink) !important;
	margin: 0 0 6px;
}
.ed-shop ul.products li.product .price {
	font-family: var(--ed-head);
	font-size: 17px !important;
	font-weight: 800;
	color: var(--ed-ink) !important;
	margin-bottom: 14px;
}
.ed-shop ul.products li.product .price del { color: var(--ed-muted) !important; font-weight: 500; }
.ed-shop ul.products li.product .price ins { color: var(--ed-primary); text-decoration: none; }
.ed-shop ul.products li.product .button { margin-top: auto !important; align-self: flex-start; }

/* --------------------------------------------------------------------------
   Woo buttons
   ----------------------------------------------------------------------- */
.ed-shop .woocommerce a.button, .ed-shop a.button,
.ed-shop .woocommerce button.button, .ed-shop button.button,
.ed-shop .woocommerce input.button, .ed-shop input.button,
.ed-shop .woocommerce #respond input#submit,
.ed-shop .woocommerce a.button.alt, .ed-shop .woocommerce button.button.alt,
.ed-shop .wc-block-components-button:not(.is-link),
.ed-shop .wp-element-button,
.ed-shop .single_add_to_cart_button,
.ed-shop .checkout-button,
.ed-shop #place_order {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 22px !important;
	background: var(--ed-primary) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: var(--ed-sans) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	box-shadow: 0 10px 26px rgba(86, 102, 240, .26);
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.ed-shop a.button:hover, .ed-shop button.button:hover, .ed-shop input.button:hover,
.ed-shop .single_add_to_cart_button:hover, .ed-shop #place_order:hover, .ed-shop .checkout-button:hover,
.ed-shop .wc-block-components-button:not(.is-link):hover {
	background: var(--ed-primary-dark) !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 32px rgba(86, 102, 240, .32);
}
.ed-shop .button.disabled, .ed-shop .button:disabled, .ed-shop .single_add_to_cart_button.disabled {
	opacity: .45 !important;
	box-shadow: none !important;
	transform: none !important;
}
.ed-shop .single_add_to_cart_button,
.ed-shop .checkout-button,
.ed-shop #place_order { min-height: 54px; padding: 0 32px !important; font-size: 16px !important; }
.ed-shop a.added_to_cart { margin-left: 10px; font-weight: 600; font-size: 14px; }

/* --------------------------------------------------------------------------
   Single product
   ----------------------------------------------------------------------- */
.ed-shop.single-product .site-content > .ast-container { padding-top: 40px; }
.ed-shop.single-product div.product .woocommerce-product-gallery {
	background: #fff;
	border-radius: var(--ed-radius-lg);
	box-shadow: var(--ed-shadow);
	padding: 12px;
	box-sizing: border-box;
}
.ed-shop.single-product div.product .woocommerce-product-gallery__image img,
.ed-shop.single-product div.product .woocommerce-product-gallery .flex-viewport { border-radius: var(--ed-radius); }
.ed-shop.single-product div.product .flex-control-thumbs { margin-top: 12px !important; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.ed-shop.single-product div.product .flex-control-thumbs li { width: auto !important; padding: 0 !important; margin: 0 !important; }
.ed-shop.single-product div.product .flex-control-thumbs img { border-radius: 10px; opacity: .6; transition: opacity .15s ease; }
.ed-shop.single-product div.product .flex-control-thumbs img.flex-active,
.ed-shop.single-product div.product .flex-control-thumbs img:hover { opacity: 1; }

.ed-shop.single-product .woocommerce-breadcrumb { font-size: 13px; color: var(--ed-muted); margin-bottom: 14px; }
.ed-shop.single-product .woocommerce-breadcrumb a { color: var(--ed-muted); }
.ed-shop.single-product .single-product-category,
.ed-shop.single-product .single-product-category a {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ed-primary);
}
.ed-shop.single-product div.product .product_title { font-size: clamp(32px, 4vw, 48px) !important; line-height: 1.08; margin-bottom: 12px; }
.ed-shop.single-product div.product p.price,
.ed-shop.single-product div.product span.price {
	font-family: var(--ed-head);
	font-size: 28px !important;
	font-weight: 800;
	color: var(--ed-ink) !important;
}
.ed-shop.single-product div.product form.cart { margin-top: 20px; }
.ed-shop.single-product div.product form.cart .variations { margin-bottom: 12px; }
.ed-shop.single-product div.product form.cart .variations th.label,
.ed-shop.single-product div.product form.cart .variations label {
	font-size: 13px;
	font-weight: 700;
	color: var(--ed-ink);
	text-transform: uppercase;
	letter-spacing: .08em;
}
.ed-shop.single-product div.product form.cart .variations td,
.ed-shop.single-product div.product form.cart .variations th { padding-bottom: 8px; }
.ed-shop .quantity .qty { min-height: 54px !important; border-radius: 999px !important; width: 80px; text-align: center; padding: 0 !important; }
.ed-shop .ast-qty-placeholder, .ed-shop .quantity .minus, .ed-shop .quantity .plus {
	border-color: rgba(15, 27, 36, .12) !important;
	background: #fff !important;
	color: var(--ed-ink) !important;
}
.ed-shop .woocommerce-variation-price { margin: 4px 0 12px; }
.ed-shop.single-product .product_meta { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ed-line); font-size: 13px; color: var(--ed-muted); }

.ed-shop.single-product .woocommerce-tabs {
	margin-top: 48px;
	padding: 28px 32px;
	background: #fff;
	border-radius: var(--ed-radius-lg);
	box-shadow: var(--ed-shadow);
}
.ed-shop .woocommerce-tabs ul.tabs { border: 0 !important; padding: 0 !important; margin: 0 0 16px !important; display: flex; gap: 8px; flex-wrap: wrap; }
.ed-shop .woocommerce-tabs ul.tabs::before, .ed-shop .woocommerce-tabs ul.tabs li::before, .ed-shop .woocommerce-tabs ul.tabs li::after { display: none !important; }
.ed-shop .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.ed-shop .woocommerce-tabs ul.tabs li a {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 16px !important;
	border-radius: 999px;
	font-family: var(--ed-sans) !important;
	font-size: 14px;
	font-weight: 600 !important;
	color: var(--ed-ink-2) !important;
	box-shadow: inset 0 0 0 1px var(--ed-line);
}
.ed-shop .woocommerce-tabs ul.tabs li.active a { background: var(--ed-ink); color: #fff !important; box-shadow: none; }

.ed-shop .related.products > h2,
.ed-shop .upsells.products > h2,
.ed-shop .cross-sells > h2 { font-size: 32px !important; margin: 64px 0 24px; }

/* Sale badge */
.ed-shop span.onsale, .ed-shop .ast-onsale-card {
	background: var(--ed-gradient) !important;
	color: #fff !important;
	border-radius: 999px !important;
	min-height: 0 !important;
	min-width: 0 !important;
	padding: 6px 12px !important;
	line-height: 1 !important;
	font-size: 12px !important;
	font-weight: 700;
}

/* Astra sticky add-to-cart bar */
.ed-shop .ast-sticky-add-to-cart {
	background: rgba(255, 255, 255, .94) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 -8px 24px rgba(21, 22, 30, .08) !important;
}

/* --------------------------------------------------------------------------
   Cart / checkout / account
   ----------------------------------------------------------------------- */
.ed-shop.woocommerce-cart .entry-title,
.ed-shop.woocommerce-checkout .entry-title,
.ed-shop.woocommerce-account .entry-title { font-size: clamp(32px, 4vw, 44px) !important; }

.ed-shop table.shop_table,
.ed-shop .cart-collaterals .cart_totals,
.ed-shop #order_review,
.ed-shop .woocommerce-MyAccount-navigation,
.ed-shop .woocommerce-MyAccount-content,
.ed-shop .wc-block-cart__main,
.ed-shop .wc-block-cart__sidebar,
.ed-shop .wc-block-checkout__sidebar {
	background: #fff;
	border: 0 !important;
	border-radius: var(--ed-radius-lg) !important;
	box-shadow: var(--ed-shadow);
}
.ed-shop table.shop_table { overflow: hidden; border-collapse: separate !important; }
.ed-shop .wc-block-cart__main, .ed-shop .wc-block-cart__sidebar, .ed-shop .wc-block-checkout__sidebar { padding: 24px 28px !important; box-sizing: border-box; }
.ed-shop .wc-block-cart__sidebar, .ed-shop .wc-block-checkout__sidebar { align-self: flex-start; }
.ed-shop .wc-block-cart-items__header, .ed-shop .wc-block-cart__totals-title { font-family: var(--ed-sans) !important; font-size: 12px !important; letter-spacing: .1em; color: var(--ed-muted) !important; }
.ed-shop .wc-block-components-product-name { font-family: var(--ed-head); font-weight: 700; color: var(--ed-ink) !important; text-decoration: none !important; }
.ed-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.ed-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--ed-head); font-weight: 800; font-size: 20px; }
.ed-shop .wc-block-components-quantity-selector { border-radius: 999px !important; overflow: hidden; }
.ed-shop .wc-block-components-quantity-selector::after { border-radius: 999px !important; border-color: rgba(15, 27, 36, .12) !important; }
@media (max-width: 700px) { .ed-shop .wc-block-cart__main, .ed-shop .wc-block-cart__sidebar, .ed-shop .wc-block-checkout__sidebar { padding: 16px 18px !important; } }
.ed-shop table.shop_table th { font-family: var(--ed-sans); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ed-muted); }
.ed-shop .woocommerce-MyAccount-content { padding: 28px; }
.ed-shop .woocommerce-MyAccount-navigation { padding: 12px; }
.ed-shop .woocommerce-MyAccount-navigation ul { margin: 0; border: 0 !important; }
.ed-shop .woocommerce-MyAccount-navigation ul li { border: 0 !important; }
.ed-shop .woocommerce-MyAccount-navigation ul li a { display: block; padding: 10px 14px !important; border-radius: 10px; color: var(--ed-ink-2); font-weight: 500; }
.ed-shop .woocommerce-MyAccount-navigation ul li.is-active a,
.ed-shop .woocommerce-MyAccount-navigation ul li a:hover { background: var(--ed-primary-soft); color: var(--ed-primary); }

/* Notices */
.ed-shop .woocommerce-message, .ed-shop .woocommerce-info, .ed-shop .woocommerce-error,
.ed-shop .wc-block-components-notice-banner {
	border: 0 !important;
	border-left: 4px solid var(--ed-primary) !important;
	border-radius: var(--ed-radius) !important;
	background: #fff !important;
	box-shadow: var(--ed-shadow);
	color: var(--ed-ink) !important;
}
.ed-shop .woocommerce-error { border-left-color: #e5484d !important; }
.ed-shop .woocommerce-message::before, .ed-shop .woocommerce-info::before { color: var(--ed-primary) !important; }
.ed-shop .woocommerce-store-notice, .ed-shop p.demo_store {
	background: var(--ed-gradient) !important;
	font-weight: 500;
	font-size: 14px;
}

/* Pagination */
.ed-shop .woocommerce-pagination ul.page-numbers { border: 0 !important; display: flex; gap: 6px; justify-content: center; }
.ed-shop .woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.ed-shop .woocommerce-pagination .page-numbers a,
.ed-shop .woocommerce-pagination .page-numbers span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ed-line);
	color: var(--ed-ink-2) !important;
	font-weight: 600;
}
.ed-shop .woocommerce-pagination .page-numbers span.current { background: var(--ed-ink); color: #fff !important; box-shadow: none; }

/* Plain WP pages */
.ed-shop.page:not(.woocommerce-page) .site-content > .ast-container,
.ed-shop.single-post .site-content > .ast-container { padding-top: 48px; }

/* --------------------------------------------------------------------------
   App band
   ----------------------------------------------------------------------- */
.ed-appband { padding: 72px 0 80px; }
.ed-appband__card {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 48px 56px;
	border-radius: 32px;
	background:
		radial-gradient(70% 140% at 100% 0%, rgba(255, 109, 52, .45), transparent 60%),
		linear-gradient(120deg, #5666f0 0%, #8054f8 100%);
	box-shadow: 0 24px 60px rgba(86, 102, 240, .3);
	color: #fff;
}
.ed-appband__card::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -160px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 18px, rgba(255, 255, 255, .1) 18px 19px);
	pointer-events: none;
}
.ed-appband__copy { position: relative; z-index: 1; max-width: 560px; }
.ed-appband h2 {
	margin: 0 0 12px;
	color: #fff !important;
	font-size: clamp(28px, 3.4vw, 38px) !important;
	line-height: 1.12 !important;
	font-weight: 800 !important;
}
.ed-appband p { margin: 0; color: rgba(255, 255, 255, .85) !important; font-size: 17px; line-height: 1.55; }
.ed-appband__actions { position: relative; z-index: 1; flex-shrink: 0; }
.ed-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.ed-badges a { display: inline-flex; transition: transform .2s ease, opacity .2s ease; }
.ed-badges a:hover { transform: translateY(-1px); opacity: .9; }
.ed-badges img { height: 44px; width: auto; display: block; }
@media (max-width: 860px) {
	.ed-appband { padding: 48px 0 56px; }
	.ed-appband__card { flex-direction: column; align-items: flex-start; padding: 36px 28px; border-radius: 24px; }
}

/* --------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */
.ed-footer {
	background: #0f1b24 !important;
	color: rgba(255, 255, 255, .7);
	padding: 64px 0 32px;
	font-size: 14px;
}
.ed-footer__top {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 64px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ed-footer__logo svg { display: block; width: 150px; height: auto; margin-bottom: 18px; }
.ed-footer__brand p { margin: 0 0 22px; color: rgba(255, 255, 255, .7) !important; line-height: 1.6; font-size: 14px; }
.ed-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ed-footer h3 {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, .5) !important;
	font-family: var(--ed-sans) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .12em !important;
	text-transform: uppercase;
}
.ed-footer ul { list-style: none; margin: 0; padding: 0; }
.ed-footer li { margin: 0 0 10px; }
.ed-footer a { color: rgba(255, 255, 255, .85) !important; text-decoration: none !important; transition: color .15s ease; }
.ed-footer a:hover { color: #fff !important; }
.ed-footer__bottom { padding-top: 24px; }
.ed-footer__bottom p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .5) !important; }
@media (max-width: 960px) {
	.ed-footer__top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
	.ed-footer { padding-top: 48px; }
	.ed-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

/* --------------------------------------------------------------------------
   Mobile refinements
   ----------------------------------------------------------------------- */
.ed-shop .ed-icon-btn, .ed-shop .ed-sub-toggle { box-shadow: none !important; background-color: transparent; border: 0 !important; }
.ed-shop .ed-icon-btn:hover { background-color: rgba(15, 27, 36, .05); }
.ed-shop ul.products li.product .button { white-space: normal; text-align: center; line-height: 1.2 !important; }
@media (max-width: 768px) {
	.ed-shop ul.products { gap: 14px; }
	.ed-shop.woocommerce ul.products li.product, .ed-shop .woocommerce ul.products li.product { border-radius: 18px; margin-bottom: 0 !important; }
	.ed-shop ul.products li.product .astra-shop-summary-wrap { padding: 12px 12px 14px; }
	.ed-shop ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; }
	.ed-shop ul.products li.product .price { font-size: 15px !important; margin-bottom: 10px; }
	.ed-shop ul.products li.product .button {
		align-self: stretch;
		min-height: 40px;
		padding: 8px 12px !important;
		font-size: 13px !important;
		box-shadow: 0 6px 16px rgba(86, 102, 240, .22);
	}
	.ed-shop .woocommerce-result-count { line-height: 1.4; margin-bottom: 10px; }
	.ed-shop .woocommerce-ordering, .ed-shop .woocommerce-ordering select { width: 100%; }
	.ed-shop.single-product .site-content > .ast-container { padding-top: 20px; }
	.ed-shop.single-product .woocommerce-tabs { padding: 20px; margin-top: 32px; border-radius: 18px; }
	.ed-shop.single-product div.product .woocommerce-product-gallery { padding: 8px; border-radius: 18px; }
	.ed-shop.single-product div.product p.price, .ed-shop.single-product div.product span.price { font-size: 24px !important; }
	.ed-shop .single_add_to_cart_button { flex: 1; }
	.ed-shop .related.products > h2, .ed-shop .upsells.products > h2 { font-size: 26px !important; margin-top: 40px; }
	.ed-shop .woocommerce-MyAccount-content { padding: 20px; }
	.ed-shop .woocommerce-MyAccount-navigation { margin-bottom: 20px; }
	.ed-shop.woocommerce-cart .entry-title, .ed-shop.woocommerce-checkout .entry-title, .ed-shop.woocommerce-account .entry-title { margin-bottom: 8px; }
	.ed-shop .wc-block-cart__sidebar, .ed-shop .wc-block-checkout__sidebar { margin-top: 16px; }
}
.ed-shop .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
.ed-shop .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content { border: 0 !important; }

/* Woo cart/checkout blocks: drop alignwide negative margins so they sit centred */
.ed-shop .entry-content > .alignwide,
.ed-shop .wp-block-woocommerce-cart.alignwide,
.ed-shop .wp-block-woocommerce-checkout.alignwide {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	width: auto !important;
}
@media (max-width: 560px) {
	.ed-shop .site-content > .ast-container,
	.ed-shop.ast-plain-container .site-content > .ast-container { padding-left: 16px; padding-right: 16px; }
}
/* Product gallery thumbnails: softer inactive state, swipeable strip on phones */
.ed-shop.single-product div.product .flex-control-thumbs img { opacity: .75; }
@media (max-width: 768px) {
	.ed-shop.single-product div.product .flex-control-thumbs {
		display: flex !important;
		gap: 8px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-bottom: 2px !important;
	}
	.ed-shop.single-product div.product .flex-control-thumbs::-webkit-scrollbar { display: none; }
	.ed-shop.single-product div.product .flex-control-thumbs li { flex: 0 0 64px; scroll-snap-align: start; }
}

/* Spacing above titles on Woo pages + account nav indent */
.ed-shop.woocommerce-cart .site-content > .ast-container,
.ed-shop.woocommerce-checkout .site-content > .ast-container,
.ed-shop.woocommerce-account .site-content > .ast-container { padding-top: 48px; }
@media (max-width: 768px) {
	.ed-shop.woocommerce-cart .site-content > .ast-container,
	.ed-shop.woocommerce-checkout .site-content > .ast-container,
	.ed-shop.woocommerce-account .site-content > .ast-container,
	.ed-shop.page:not(.woocommerce-page) .site-content > .ast-container { padding-top: 28px; }
}
.ed-shop .woocommerce-MyAccount-navigation ul { padding: 0 !important; list-style: none; }

/* Scroll-to-top button from Astra */
.ed-shop #ast-scroll-top { background: var(--ed-ink) !important; border-radius: 999px !important; }

/* Legacy rule from Additional CSS */
.wp-post-image { object-fit: cover; }
