/*
 * EASYPICK storefront styles — the marketplace design.
 *
 * theme.json emits the palette presets, font faces and block defaults. This
 * file holds the component CSS. All colours are custom properties defined once
 * in :root below (the --ep-* set is also relied on by the easypick plugins).
 */

/* ================================================================= tokens == */

:root {
	/* Contract with the plugins. */
	--ep-orange: #FF4B26;
	--ep-orange-deep: #C2371A;
	--ep-ink: #0E1116;
	--ep-paper: #F5F4F1;
	--ep-card: #FFFFFF;
	--ep-line: #E4E1DA;
	--ep-line-strong: #DCD8D0;
	--ep-muted: #5A5F67;
	--ep-radius: 14px;
	--ep-font-head: 'Bricolage Grotesque', Archivo, sans-serif;
	--ep-font-body: Archivo, Helvetica, sans-serif;

	/* Theme-only tokens from the design. */
	--ep-orange-press: #E13D1B;
	--ep-orange-soft: #FF7A5C;
	--ep-orange-wash: #FFEDE8;
	--ep-orange-wash-2: #FFF3EF;
	--ep-line-soft: #EFEDE7;
	--ep-line-faint: #F0EEE8;
	--ep-chip: #F2F0EA;
	--ep-stripe-a: #E8E5DE;
	--ep-stripe-b: #F2F0EA;
	--ep-dashed: #CFCBC2;
	--ep-grey-1: #3A3F47;
	--ep-grey-2: #4A4F57;
	--ep-grey-3: #6A6F77;
	--ep-grey-4: #7C838C;
	--ep-grey-5: #8A8F97;
	--ep-grey-6: #9A9FA7;
	--ep-on-dark: #C9CDD3;
	--ep-on-dark-muted: #A0A5AD;
	--ep-footer-text: #B9BEC5;
	--ep-footer-rule: #262C33;
	--ep-dark-card: #171B21;
	--ep-dark-line: #343A42;
	--ep-green: #2F6B45;
	--ep-green-wash: #EDEFEA;
	--ep-white: #FFFFFF;
	--ep-shadow-pop: 0 18px 40px rgba(14, 17, 22, 0.12);
	--ep-wrap: 1320px;
	--ep-gutter: 20px;
}

/* ================================================================== base == */

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

body {
	background: var(--ep-paper);
	color: var(--ep-ink);
	font-family: var(--ep-font-body);
	margin: 0;
}

.wp-site-blocks > * { margin-block: 0; }
.wp-site-blocks > .ep-tp { display: contents; }
.wp-site-blocks { padding: 0; }

img, svg { max-width: 100%; }

a { color: var(--ep-orange-deep); text-decoration: none; }
a:hover { color: var(--ep-orange); }

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

html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: #D6D3CC; border-radius: 99px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap;
}

.ep-wrap {
	max-width: var(--ep-wrap);
	margin-inline: auto;
	padding-inline: var(--ep-gutter);
	width: 100%;
}

.ep-section { padding-top: 40px; }
.ep-section:first-child { padding-top: 24px; }

.ep-sechead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}
.ep-sechead h2, .ep-sectitle { margin: 0; font-size: 28px; }
.ep-sectitle { margin-bottom: 14px; }
.ep-sechead a { font-size: 14px; font-weight: 600; }

h1, h2, h3, h4 {
	font-family: var(--ep-font-head);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.08;
}

.ep-i { flex: none; vertical-align: middle; }

.ep-eyebrow {
	margin: 0 0 10px;
	font-family: var(--ep-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ep-grey-5);
}

/* Striped placeholder tile (no product photo yet). */
.ep-ph {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 6px;
	background: repeating-linear-gradient(135deg, var(--ep-stripe-a) 0 8px, var(--ep-stripe-b) 8px 16px);
	border: 1px dashed var(--ep-dashed);
	border-radius: 10px;
}
.ep-ph__cap {
	font-size: 10px;
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: var(--ep-grey-5);
	text-align: center;
	max-width: 100%;
}

/* ================================================================ buttons == */

.ep-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1.5px solid transparent;
	border-radius: 12px;
	padding: 12px 18px;
	font: 700 14px/1.2 var(--ep-font-body);
	cursor: pointer;
	text-align: center;
	transition: background .15s, border-color .15s, color .15s;
}
.ep-btn--sm { padding: 10px 16px; border-radius: 10px; font-size: 13px; }
.ep-btn--lg { padding: 14px 24px; font-size: 16px; }
.ep-btn--block { display: flex; width: 100%; }
.ep-btn--orange { background: var(--ep-orange); color: var(--ep-white); }
.ep-btn--orange:hover { background: var(--ep-orange-press); color: var(--ep-white); }
.ep-btn--ink { background: var(--ep-ink); color: var(--ep-paper); }
.ep-btn--ink:hover { background: var(--ep-grey-1); color: var(--ep-paper); }
.ep-btn--ghost { background: var(--ep-white); border-color: var(--ep-line-strong); color: var(--ep-ink); }
.ep-btn--ghost:hover { border-color: var(--ep-orange); color: var(--ep-orange-deep); }
.ep-btn--paper { background: var(--ep-paper); border-color: var(--ep-line-strong); color: var(--ep-ink); }
.ep-btn--paper:hover { background: var(--ep-ink); border-color: var(--ep-ink); color: var(--ep-paper); }
.ep-btn--outline { border-color: var(--ep-grey-2); color: var(--ep-white); }
.ep-btn--outline:hover { border-color: var(--ep-white); color: var(--ep-white); }
.ep-btn:disabled, .ep-btn.is-busy { opacity: .6; cursor: not-allowed; }

.ep-linkbtn {
	background: none; border: 0; padding: 0;
	font: 600 13px/1.2 var(--ep-font-body);
	color: var(--ep-orange-deep);
	text-decoration: underline;
	cursor: pointer;
}

.ep-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px;
	background: none; border: 1px solid var(--ep-line); border-radius: 8px;
	color: var(--ep-ink); cursor: pointer;
}
.ep-iconbtn:hover { border-color: var(--ep-ink); }

/* Mobile navigation is intentionally a separate control layer: the page
 * content can bleed edge-to-edge while frequent actions stay thumb-reachable. */
.ep-mobile-nav { display: none; }

/* Add-to-cart confirmation. Deliberately not the drawer: it sits out of the
   way, says what happened, and offers the cart rather than forcing it. */
.ep-toast {
	position: fixed; z-index: 60;
	inset-block-end: calc(20px + env(safe-area-inset-bottom, 0px));
	inset-inline-end: 20px; inset-inline-start: auto;
	display: flex; align-items: center; gap: 14px;
	max-width: min(420px, calc(100vw - 32px));
	padding: 12px 14px;
	background: var(--ep-ink); color: var(--ep-white);
	border-radius: 12px; box-shadow: 0 16px 40px rgba(14, 17, 22, .28);
	font-size: 14px; font-weight: 600;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.ep-toast.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.ep-toast__msg { min-width: 0; }
.ep-toast__link {
	flex: none; margin-inline-start: auto;
	background: none; border: 0; padding: 4px 2px; cursor: pointer;
	color: var(--ep-orange-soft); font: inherit; font-weight: 700;
	text-decoration: underline; text-underline-offset: 3px;
}
.ep-toast__link:hover { color: var(--ep-white); }
@media (max-width: 860px) {
	/* clear the fixed mobile nav bar (min-height 68px) */
	.ep-toast {
		inset-inline: 16px;
		inset-block-end: calc(80px + env(safe-area-inset-bottom, 0px));
		max-width: none;
	}
}
.ep-cartpill__n.is-bump, .ep-mobile-nav__count.is-bump { animation: ep-count-bump .42s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes ep-count-bump {
	0% { transform: scale(1); }
	40% { transform: scale(1.45); }
	100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.ep-toast { transition: opacity .01s linear, visibility .01s; transform: none; }
	.ep-toast.is-on { transform: none; }
	.ep-cartpill__n.is-bump, .ep-mobile-nav__count.is-bump { animation: none; }
}

.ep-tag {
	display: inline-block;
	font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--ep-orange-deep); background: var(--ep-orange-wash);
	border-radius: 6px; padding: 4px 9px;
}

/* Chips */
.ep-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-chip {
	display: inline-block;
	background: var(--ep-white);
	color: var(--ep-ink);
	border: 1px solid var(--ep-line-strong);
	border-radius: 99px;
	padding: 9px 15px;
	font-size: 13px; font-weight: 600; white-space: nowrap;
}
.ep-chip:hover { border-color: var(--ep-ink); color: var(--ep-ink); }
.ep-chip.is-on { background: var(--ep-ink); border-color: var(--ep-ink); color: var(--ep-paper); }
.ep-chip--small { padding: 6px 12px; font-size: 12px; }

/* Progress bar (free delivery) */
.ep-bar { height: 8px; border-radius: 99px; background: var(--ep-stripe-a); overflow: hidden; }
.ep-bar > span { display: block; height: 100%; background: var(--ep-orange); border-radius: 99px; transition: width .3s; }

.ep-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.ep-panel {
	background: var(--ep-white);
	border: 1px solid var(--ep-line);
	border-radius: 16px;
	padding: 18px;
}

.ep-empty {
	background: var(--ep-white);
	border: 1px solid var(--ep-line);
	border-radius: 16px;
	padding: 32px 20px;
	text-align: center;
	color: var(--ep-muted);
}
.ep-empty h2 { margin: 0 0 6px; font-size: 22px; color: var(--ep-ink); }

/* ============================================================ header chrome == */

.ep-ticker { background: var(--ep-orange); color: var(--ep-white); }
.ep-ticker__in {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	padding-block: 9px;
	font-size: 13px; font-weight: 600; text-align: center;
}
.ep-ticker__dot { font-size: 14px; flex: none; }

.ep-deliver { background: var(--ep-white); border-bottom: 1px solid var(--ep-line); }
.ep-deliver__in {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px;
	padding-block: 7px;
	font-size: 13px; color: var(--ep-grey-2);
}
.ep-deliver__to { display: inline-flex; align-items: center; gap: 7px; }
.ep-deliver strong { color: var(--ep-ink); }
.ep-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ep-orange); display: inline-block; flex: none; }
.ep-deliver__sep { color: #C9C5BC; }
.ep-deliver__links { margin-left: auto; display: flex; gap: 18px; white-space: nowrap; }
.ep-deliver__links a { color: var(--ep-grey-2); }
.ep-deliver__links a:hover { color: var(--ep-orange-deep); }

.ep-hdr { background: var(--ep-white); border-bottom: 1px solid var(--ep-line); z-index: 30; position: relative; }
@media (min-width: 901px) {
	.ep-hdr { position: sticky; top: 0; }
	.admin-bar .ep-hdr { top: 32px; }
}

.ep-hdr__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 12px; }
.ep-brand { display: flex; align-items: center; flex: none; order: 1; }
.ep-brand img { height: 44px; width: auto; display: block; }

.ep-search { position: relative; flex: 1 1 300px; min-width: 0; order: 2; }
.ep-search__box {
	display: flex;
	border: 2px solid var(--ep-ink);
	border-radius: 12px;
	overflow: hidden;
	background: var(--ep-white);
}
.ep-search__scope {
	appearance: none; -webkit-appearance: none;
	background: var(--ep-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%230E1116' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
	border: 0; border-right: 1px solid var(--ep-line);
	padding: 0 32px 0 14px;
	font-size: 14px; font-weight: 600; color: var(--ep-ink);
	max-width: 132px; text-overflow: ellipsis;
	cursor: pointer;
}
.ep-search__input {
	flex: 1; min-width: 0;
	border: 0; outline: 0;
	padding: 12px 14px;
	font-size: 15px; color: var(--ep-ink);
	background: transparent;
	-webkit-appearance: none; appearance: none;
}
.ep-search__input::-webkit-search-cancel-button { display: none; }
.ep-search__box:focus-within { border-color: var(--ep-orange); }
.ep-search__go {
	background: var(--ep-orange); color: var(--ep-white);
	border: 0; padding: 0 22px;
	font: 700 15px var(--ep-font-body);
}
.ep-search__go:hover { background: var(--ep-orange-press); }

.ep-suggest {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0;
	background: var(--ep-white);
	border: 1px solid var(--ep-line);
	border-radius: 12px;
	box-shadow: var(--ep-shadow-pop);
	padding: 8px;
	z-index: 40;
	max-height: min(70vh, 460px);
	overflow-y: auto;
}
.ep-suggest[hidden] { display: none; }
.ep-suggest__title {
	font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--ep-grey-5); padding: 8px 10px;
}
.ep-suggest a {
	display: flex; align-items: center; gap: 10px;
	padding: 9px 10px; border-radius: 8px;
	color: var(--ep-ink); font-size: 14px;
}
.ep-suggest a:hover, .ep-suggest a[aria-selected="true"] { background: var(--ep-paper); color: var(--ep-ink); }
.ep-suggest__ic { color: var(--ep-orange); display: inline-flex; }
.ep-suggest__img { width: 36px; height: 36px; border-radius: 6px; overflow: hidden; flex: none; background: var(--ep-chip); }
.ep-suggest__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-suggest__name { flex: 1; min-width: 0; font-weight: 600; }
.ep-suggest__price { font-size: 13px; color: var(--ep-grey-3); white-space: nowrap; }
.ep-suggest__all { font-weight: 700; color: var(--ep-orange-deep) !important; }
.ep-suggest__empty { padding: 10px; font-size: 14px; color: var(--ep-grey-3); }

.ep-hdr__tools { display: flex; align-items: center; gap: 8px; order: 3; }
.ep-signin {
	border: 1px solid var(--ep-line); border-radius: 10px;
	padding: 10px 14px;
	font-size: 14px; font-weight: 600; color: var(--ep-ink); white-space: nowrap;
}
.ep-signin:hover { border-color: var(--ep-ink); color: var(--ep-ink); }
.ep-cartpill {
	display: inline-flex; align-items: center; gap: 9px;
	background: var(--ep-ink); color: var(--ep-paper);
	border-radius: 10px; padding: 10px 16px;
	font-size: 14px; font-weight: 700; white-space: nowrap;
}
.ep-cartpill:hover { color: var(--ep-paper); background: var(--ep-grey-1); }
.ep-cartpill__n {
	background: var(--ep-orange); color: var(--ep-white);
	border-radius: 99px; min-width: 22px; padding: 1px 6px;
	font-size: 12px; text-align: center;
}

/* Category nav */
.ep-navwrap { border-top: 1px solid var(--ep-line-soft); position: relative; }
.ep-nav__row { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: thin; }
.ep-nav__item {
	display: inline-flex; align-items: center; gap: 5px;
	background: none; border: 0; border-bottom: 2px solid transparent;
	padding: 12px 0;
	font: 600 14px var(--ep-font-body);
	color: var(--ep-grey-1); white-space: nowrap; cursor: pointer;
}
.ep-nav__item:hover, .ep-nav__item[aria-expanded="true"] { color: var(--ep-orange-deep); border-bottom-color: var(--ep-orange); }
.ep-nav__item--deals { color: var(--ep-orange-deep); }
.ep-nav__item--mega[aria-expanded="true"] .ep-i { transform: rotate(180deg); }

.ep-mega {
	position: absolute; top: 100%; left: 0; right: 0;
	background: var(--ep-white);
	border-top: 1px solid var(--ep-line); border-bottom: 1px solid var(--ep-line);
	box-shadow: 0 22px 44px rgba(14, 17, 22, 0.10);
	z-index: 35;
}
.ep-mega[hidden] { display: none; }
.ep-mega__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 22px;
	padding-block: 24px;
}
.ep-mega__title {
	display: block; margin-bottom: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--ep-orange);
}
.ep-mega ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.ep-mega li a { font-size: 14px; color: #2B3038; }
.ep-mega li a:hover { color: var(--ep-orange-deep); }
.ep-mega__promo {
	background: var(--ep-paper); border-radius: 14px; padding: 18px;
	display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
	font-size: 13px; color: var(--ep-muted); line-height: 1.45;
}
.ep-mega__promo img { width: 40px; height: 40px; border-radius: 10px; }
.ep-mega__promo strong { font-size: 15px; color: var(--ep-ink); }
.ep-mega__promo .ep-btn { margin-top: auto; color: var(--ep-paper); }

@media (max-width: 900px) {
	.ep-hdr__row { gap: 10px 12px; }
	.ep-brand img { height: 38px; }
	.ep-hdr__tools { margin-left: auto; }
	.ep-search { order: 3; flex-basis: 100%; }
	.ep-hdr__tools { order: 2; }
}
@media (max-width: 640px) {
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.ep-mobile-nav {
		position: fixed; z-index: 50; inset-inline: 0; bottom: 0;
		display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
		min-height: 68px; padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
		background: var(--ep-white);
		background: color-mix(in srgb, var(--ep-white) 96%, transparent);
		border-top: 1px solid var(--ep-line); box-shadow: 0 -8px 22px rgba(14, 17, 22, .08);
		backdrop-filter: blur(12px);
	}
	.ep-mobile-nav__item {
		position: relative; display: flex; min-height: 52px; min-width: 0; flex-direction: column;
		align-items: center; justify-content: center; gap: 3px; border-radius: 10px;
		color: var(--ep-grey-2); font-size: 10px; font-weight: 700; line-height: 1.1;
	}
	.ep-mobile-nav__item[aria-current="page"], .ep-mobile-nav__item:hover { color: var(--ep-orange-deep); background: var(--ep-orange-wash-2); }
	.ep-mobile-nav__icon { position: relative; display: inline-flex; height: 22px; align-items: center; justify-content: center; }
	.ep-mobile-nav__label { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
	.ep-mobile-nav__count {
		position: absolute; inset-block-start: -7px; inset-inline-end: -11px; min-width: 16px; padding: 1px 4px;
		border: 1px solid var(--ep-white); border-radius: 99px; background: var(--ep-orange); color: var(--ep-white);
		font-size: 10px; line-height: 1.3; text-align: center;
	}
	.ep-deliver__links a:not(:first-child) { display: none; }
	.ep-deliver__sep { display: none; }
	.ep-ticker__in { font-size: 12px; padding-inline: 12px; }
	.ep-signin { padding: 9px 11px; font-size: 13px; }
	.ep-cartpill { padding: 9px 12px; }
	.ep-search__scope { max-width: 84px; padding-left: 10px; padding-right: 26px; background-position: right 9px center; }
	.ep-search__go { padding: 0 14px; }
	.ep-search__input { padding-inline: 10px; font-size: 16px; }
	.ep-iconbtn { width: 44px; height: 44px; }
	.ep-drawer__panel { width: 100%; max-width: 440px; }
	.ep-drawer__head, .ep-drawer__progress, .ep-drawer__foot { padding-inline: 16px; }
	.ep-drawer__lines { padding-inline: 16px; }
}

/* ============================================================ cart drawer == */

body.ep-drawer-open { overflow: hidden; }
.ep-drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.ep-drawer.is-open { visibility: visible; }
.ep-drawer__scrim { position: absolute; inset: 0; background: rgba(14, 17, 22, 0.45); opacity: 0; transition: opacity .2s; }
.ep-drawer.is-open .ep-drawer__scrim { opacity: 1; }
.ep-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(400px, 100%);
	background: var(--ep-paper);
	box-shadow: -20px 0 50px rgba(14, 17, 22, 0.25);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .25s ease;
	outline: 0;
}
.ep-drawer.is-open .ep-drawer__panel { transform: none; }
.ep-drawer__inner { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.ep-drawer__head {
	padding: 16px 20px; background: var(--ep-white); border-bottom: 1px solid var(--ep-line);
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ep-drawer__head h2 { margin: 0; font-size: 20px; }
.ep-drawer__progress { padding: 14px 20px; background: var(--ep-white); border-bottom: 1px solid var(--ep-line); }
.ep-drawer__note { margin: 0 0 8px; font-size: 13px; color: var(--ep-grey-2); }
.ep-drawer__lines { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.ep-drawer__empty { text-align: center; padding: 40px 0; color: var(--ep-grey-3); font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ep-drawer__empty p { margin: 0; }
.ep-drawer__foot { padding: 16px 20px; background: var(--ep-white); border-top: 1px solid var(--ep-line); display: flex; flex-direction: column; gap: 10px; }
.ep-drawer__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ep-grey-2); }
.ep-drawer__row b { color: var(--ep-ink); white-space: nowrap; }
.ep-drawer__row--total { border-top: 1px solid var(--ep-line-soft); padding-top: 10px; font-size: 17px; font-weight: 700; color: var(--ep-ink); }
.ep-drawer__row--total b { font: 800 22px var(--ep-font-head); letter-spacing: -0.03em; }
.ep-drawer__viewcart { text-align: center; font-size: 13px; font-weight: 600; }

.ep-line {
	background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 12px;
	padding: 10px; display: flex; gap: 10px; align-items: center;
}
.ep-line__thumb { width: 48px; height: 48px; flex: none; border-radius: 8px; overflow: hidden; display: block; }
.ep-line__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-line__thumb .ep-ph { border-radius: 8px; }
.ep-line__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ep-line__name { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ep-ink); }
.ep-line__meta { font-size: 12px; color: var(--ep-grey-3); }
.ep-line__price { font-size: 13px; color: var(--ep-grey-3); }

.ep-qty { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.ep-qty button {
	width: 28px; height: 28px;
	border: 1px solid var(--ep-line-strong); background: var(--ep-white); border-radius: 7px;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--ep-ink); padding: 0; cursor: pointer;
}
.ep-qty button:hover:not(:disabled) { border-color: var(--ep-ink); }
.ep-qty button:disabled { opacity: .4; cursor: not-allowed; }
.ep-qty > span { min-width: 18px; text-align: center; font-size: 13px; font-weight: 700; }
.ep-drawer.is-loading .ep-drawer__lines { opacity: .55; pointer-events: none; }

/* ==================================================================== hero == */

.ep-herogrid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.ep-herogrid__side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.ep-hero {
	position: relative; overflow: hidden; min-width: 0;
	background: var(--ep-ink); color: var(--ep-white);
	border-radius: 20px; min-height: 420px; display: flex;
}
.ep-hero__bg {
	position: absolute; inset: 0; opacity: .22;
	background: linear-gradient(115deg, var(--ep-orange) 0%, var(--ep-orange-deep) 100%);
	transition: background .5s;
}
.ep-hero[data-tone="two"] .ep-hero__bg { background: linear-gradient(115deg, var(--ep-ink) 0%, #3A4150 100%); }
.ep-hero[data-tone="three"] .ep-hero__bg { background: linear-gradient(115deg, var(--ep-orange-deep) 0%, var(--ep-ink) 100%); }
.ep-hero__body { position: relative; padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 18px; max-width: 640px; }
.ep-slide { display: flex; flex-direction: column; gap: 18px; }
.ep-slide[hidden] { display: none; }
.ep-hero__kicker {
	align-self: flex-start;
	background: var(--ep-orange); color: var(--ep-white);
	border-radius: 99px; padding: 6px 14px;
	font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ep-hero h1, .ep-hero__h {
	margin: 0; color: var(--ep-white);
	font: 800 48px/1 var(--ep-font-head); letter-spacing: -0.03em; text-wrap: balance;
}
.ep-hero__text { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ep-on-dark); max-width: 44ch; }
.ep-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ep-hero .ep-btn--orange:hover { color: var(--ep-white); }
.ep-hero__dots { display: flex; gap: 9px; margin-top: 8px; }
.ep-hero__dots button {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px;
	background: rgba(255, 255, 255, 0.35); cursor: pointer; transition: width .2s;
}
.ep-hero__dots button.is-on { width: 26px; background: var(--ep-orange); }

.ep-slots__list { display: flex; flex-direction: column; gap: 8px; }
.ep-slot {
	display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
	width: 100%; text-align: left;
	background: var(--ep-white); color: var(--ep-ink);
	border: 1.5px solid var(--ep-line); border-radius: 11px; padding: 11px 13px;
	font: 400 14px var(--ep-font-body); cursor: pointer;
}
.ep-slot:hover { border-color: var(--ep-line-strong); }
.ep-slot.is-on { background: var(--ep-orange-wash); border-color: var(--ep-orange); }
.ep-slot__label { font-weight: 700; }
.ep-slot__note { font-size: 13px; color: var(--ep-grey-3); }

.ep-again { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ep-again .ep-eyebrow { margin: 0; }
.ep-again__title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.ep-again__sub { margin: 0; font-size: 13px; color: var(--ep-grey-3); }
.ep-again__shots { display: flex; gap: 6px; }
.ep-again__shot { flex: 1; aspect-ratio: 1; border-radius: 8px; overflow: hidden; display: block; max-width: 25%; }
.ep-again__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-again .ep-btn { margin-top: auto; }

.ep-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 12px; }
.ep-trust__card { background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 14px; padding: 15px 17px; }
.ep-trust__card strong { display: block; font-size: 15px; }
.ep-trust__card span { display: block; font-size: 13px; color: var(--ep-muted); margin-top: 3px; line-height: 1.45; }

@media (max-width: 980px) {
	.ep-herogrid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.ep-hero { min-height: 0; }
	.ep-hero__body { padding: 28px 20px; gap: 14px; }
	.ep-hero h1, .ep-hero__h { font-size: 34px; }
	.ep-hero__text { font-size: 15px; }
	.ep-hero__actions .ep-btn { flex: 1 1 100%; }
	.ep-sechead h2, .ep-sectitle { font-size: 24px; }
}

/* ============================================================ aisle tiles == */

.ep-aisles { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.ep-aisle {
	background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 14px;
	padding: 13px; display: flex; flex-direction: column; gap: 9px; color: var(--ep-ink);
}
.ep-aisle:hover { border-color: var(--ep-orange); color: var(--ep-ink); }
.ep-aisle__img { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.ep-aisle__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-aisle__name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.ep-aisle__count { font-size: 12px; color: var(--ep-grey-3); margin-top: auto; }

/* ========================================================= product cards == */

.ep-cards {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(198px, 1fr)); gap: 12px;
}
.ep-card {
	background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 14px;
	padding: 12px; display: flex; flex-direction: column; gap: 7px; position: relative; min-width: 0;
}
.ep-card__media { display: block; position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.ep-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-card__badge {
	position: absolute; top: 8px; left: 8px; z-index: 1;
	background: var(--ep-orange); color: var(--ep-white);
	border-radius: 6px; padding: 3px 7px; font-size: 11px; font-weight: 700;
}
.ep-card__title { margin: 0; font: 600 13px/1.3 var(--ep-font-body); letter-spacing: 0; }
.ep-card__title a { color: var(--ep-ink); }
.ep-card__title a:hover { color: var(--ep-orange-deep); }
.ep-card__aisle { font-size: 12px; color: var(--ep-grey-3); }
.ep-card__rating { display: flex; align-items: center; gap: 6px; }
.ep-card__reviews { font-size: 12px; color: var(--ep-grey-5); }
.ep-rating {
	display: inline-flex; align-items: center; gap: 4px;
	background: var(--ep-chip); border-radius: 6px; padding: 2px 6px;
	font-size: 12px; font-weight: 700;
}
.ep-rating .ep-i { color: var(--ep-orange); }
.ep-rating--lg { font-size: 14px; padding: 4px 9px; border-radius: 7px; }
.ep-card__priceRow { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ep-price { font: 700 19px var(--ep-font-head); letter-spacing: -0.02em; }
.ep-price .woocommerce-Price-amount { font: inherit; }
.ep-price__from { font: 500 12px var(--ep-font-body); color: var(--ep-grey-3); letter-spacing: 0; }
.ep-was { font-size: 12px; color: var(--ep-grey-6); text-decoration: line-through; }
.ep-was .woocommerce-Price-amount { font-size: inherit; }
.ep-off { font-size: 12px; font-weight: 700; color: var(--ep-orange-deep); }
.ep-card__signal { font-size: 12px; font-weight: 600; color: var(--ep-orange-deep); }
.ep-express {
	background: var(--ep-ink); color: var(--ep-white); border-radius: 8px; padding: 8px 10px;
	display: flex; align-items: center; gap: 6px;
	font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
	position: relative; overflow: hidden; isolation: isolate;
}
.ep-express .ep-i { color: var(--ep-orange); }
.ep-express b { color: var(--ep-orange-soft); font-weight: 700; }

/* Express pill motion — the bolt carries the "fast" idea, so it gets a slow
   charge pulse, and a light sweep crosses the pill. Delays are staggered per
   card so a full grid never flashes in unison, which reads as noise. */
.ep-express::after {
	content: ""; position: absolute; z-index: -1; inset-block: 0; inline-size: 45%;
	inset-inline-start: -60%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16) 45%, rgba(255, 138, 110, .22) 55%, transparent);
	animation: ep-express-sweep 7s cubic-bezier(.4, 0, .2, 1) infinite;
}
.ep-express .ep-i {
	animation: ep-express-charge 7s ease-in-out infinite;
	transform-origin: center;
}
@keyframes ep-express-sweep {
	0%, 62% { inset-inline-start: -60%; }
	88%, 100% { inset-inline-start: 115%; }
}
@keyframes ep-express-charge {
	0%, 58%, 100% { opacity: .85; transform: scale(1); }
	66% { opacity: 1; transform: scale(1.18); }
	74% { opacity: .9; transform: scale(1); }
	80% { opacity: 1; transform: scale(1.1); }
}
.ep-card:nth-child(4n + 2) .ep-express::after,
.ep-card:nth-child(4n + 2) .ep-express .ep-i { animation-delay: .9s; }
.ep-card:nth-child(4n + 3) .ep-express::after,
.ep-card:nth-child(4n + 3) .ep-express .ep-i { animation-delay: 1.8s; }
.ep-card:nth-child(4n + 4) .ep-express::after,
.ep-card:nth-child(4n + 4) .ep-express .ep-i { animation-delay: 2.7s; }
/* Hovering one card brings its sweep forward instead of waiting for the cycle. */
.ep-card:hover .ep-express::after,
.ep-card:focus-within .ep-express::after { animation-duration: 1.6s; animation-delay: 0s; }
.ep-card:hover .ep-express .ep-i,
.ep-card:focus-within .ep-express .ep-i { animation-duration: 1.6s; animation-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
	.ep-express::after, .ep-express .ep-i { animation: none; }
	.ep-express::after { display: none; }
}
.ep-sameday {
	align-self: flex-start; background: var(--ep-orange-wash); color: var(--ep-orange-deep);
	border-radius: 6px; padding: 5px 9px; font-size: 12px; font-weight: 700;
}
.ep-add {
	margin-top: auto; display: block; width: 100%; text-align: center;
	background: var(--ep-paper); color: var(--ep-ink);
	border: 1px solid var(--ep-line-strong); border-radius: 9px; padding: 10px;
	font: 700 13px var(--ep-font-body); cursor: pointer;
}
.ep-add:hover { background: var(--ep-orange); border-color: var(--ep-orange); color: var(--ep-white); }
.ep-add.is-disabled { opacity: .55; cursor: not-allowed; }
.ep-add.is-disabled:hover { background: var(--ep-paper); border-color: var(--ep-line-strong); color: var(--ep-ink); }
.ep-add.is-busy { opacity: .6; pointer-events: none; }
.ep-add.is-added { background: var(--ep-green); border-color: var(--ep-green); color: var(--ep-white); }
.ep-card--deal .ep-add { background: var(--ep-orange); border-color: var(--ep-orange); color: var(--ep-white); }
.ep-card--deal .ep-add:hover { background: var(--ep-orange-press); }
.ep-card.is-out { opacity: .85; }

@media (max-width: 520px) {
	.ep-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ep-card { padding: 10px; }
	.ep-price { font-size: 17px; }
}

/* ============================================================ today's prices == */

.ep-deals { background: var(--ep-ink); border-radius: 20px; padding: 22px; }
.ep-deals__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ep-deals h2 { margin: 0; font-size: 28px; color: var(--ep-white); }
.ep-deals__head p { margin: 4px 0 0; font-size: 14px; color: var(--ep-on-dark-muted); }
.ep-deals__side { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ep-countdown { display: flex; align-items: center; gap: 7px; }
.ep-countdown__label { font-size: 12px; color: var(--ep-on-dark-muted); font-weight: 600; }
.ep-countdown__u {
	background: var(--ep-orange); color: var(--ep-white);
	border-radius: 8px; padding: 6px 9px; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) { .ep-deals { padding: 16px; border-radius: 16px; } .ep-deals h2 { font-size: 24px; } }

/* =========================================================== how you get it == */

.ep-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.ep-method { background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ep-method__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ep-method__fee { font-size: 13px; color: var(--ep-grey-3); }
.ep-method h3 { margin: 0; font-size: 21px; }
.ep-method p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ep-grey-2); }
.ep-method__note { font-size: 13px; color: var(--ep-grey-5); }

/* ================================================================== shelf == */

.ep-shelf__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.ep-shelf__head h2 { margin: 0; font-size: 28px; }
.ep-shelf__count { font-size: 14px; color: var(--ep-grey-3); }
.ep-chips--aisles { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--ep-line); }
.ep-chips--sub { margin-bottom: 10px; }
.ep-shelf__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ep-sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ep-grey-3); }
.ep-sort select {
	border: 1px solid var(--ep-line-strong); border-radius: 9px; padding: 9px 11px;
	font: 600 13px var(--ep-font-body); background: var(--ep-white); color: var(--ep-ink);
}
.ep-shelf__more { display: flex; justify-content: center; margin-top: 18px; }
.ep-shelf.is-loading .ep-cards { opacity: .5; }
@media (max-width: 640px) {
	.ep-chips--aisles, .ep-shelf__tools .ep-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
	.ep-shelf__tools .ep-chips { flex: 1 1 100%; }
	.ep-sort { margin-left: 0; }
	.ep-shelf__head h2 { font-size: 24px; }
}

/* ============================================================= one store == */

.ep-onestore {
	background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 18px;
	padding: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; align-items: center;
}
.ep-onestore h2 { margin: 0 0 8px; font-size: 26px; }
.ep-onestore p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--ep-grey-2); max-width: 52ch; }
.ep-stats { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }
.ep-stats b { display: block; font: 800 26px var(--ep-font-head); letter-spacing: -0.03em; color: var(--ep-orange); }
.ep-stats span { font-size: 13px; color: var(--ep-grey-3); }
.ep-onestore__addr { font-style: normal; font-size: 14px; color: var(--ep-grey-1); margin-bottom: 16px; }
.ep-onestore__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ep-onestore__map { border-radius: 14px; overflow: hidden; border: 1px solid var(--ep-line); min-height: 230px; background: repeating-linear-gradient(115deg, var(--ep-stripe-a) 0 10px, var(--ep-stripe-b) 10px 20px); }
.ep-onestore__map iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; }
@media (max-width: 640px) { .ep-onestore { padding: 18px; } }

/* ================================================================= footer == */

.ep-footer { margin-top: 56px; background: var(--ep-ink); color: var(--ep-footer-text); }
.ep-footer a { color: var(--ep-footer-text); }
.ep-footer a:hover { color: var(--ep-white); }
.ep-footer__grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; align-items: start;
	padding-top: 40px;
}
.ep-footer__brand img { height: 56px; width: auto; display: block; margin-bottom: 12px; }
.ep-footer address { font-style: normal; font-size: 13px; line-height: 1.65; }
.ep-footer__col h2 {
	margin: 0 0 10px; font: 700 12px var(--ep-font-body);
	color: var(--ep-white); text-transform: uppercase; letter-spacing: 0.08em;
}
.ep-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.ep-footer__col li a { font-size: 14px; }
.ep-footer__news p { margin: 0 0 10px; font-size: 13px; line-height: 1.6; }
.ep-news { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.ep-news input[type="email"] {
	flex: 1 1 130px; min-width: 0;
	border: 1px solid var(--ep-dark-line); background: var(--ep-dark-card); color: var(--ep-white);
	border-radius: 10px; padding: 11px 12px; font-size: 14px; outline: 0;
}
.ep-news input[type="email"]:focus { border-color: var(--ep-orange); }
.ep-news__msg { flex: 1 1 100%; margin: 0 !important; min-height: 1em; font-size: 12px !important; }
.ep-footer__pay { margin-top: 24px; }
.ep-marks { display: flex; gap: 8px; flex-wrap: wrap; }
.ep-mark { border: 1px solid var(--ep-dark-line); border-radius: 7px; padding: 7px 11px; font-size: 12px; color: var(--ep-footer-text); }
.ep-footer__rule { border-top: 1px solid var(--ep-footer-rule); margin-top: 24px; }
.ep-footer__rule .ep-wrap { padding-block: 16px; font-size: 12px; color: var(--ep-grey-4); }

/* ============================================================ product page == */

.ep-main { min-height: 40vh; }
.ep-crumbs, .woocommerce-breadcrumb {
	display: flex; flex-wrap: wrap; gap: 8px;
	font-size: 13px; color: var(--ep-grey-3); margin: 18px 0 16px;
}
.ep-crumbs a { color: var(--ep-orange-deep); }

.ep-pdp__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ep-pdp__gallery { position: relative; min-width: 0; }
.ep-pdp__badge {
	position: absolute; top: 14px; left: 14px; z-index: 5;
	background: var(--ep-orange); color: var(--ep-white);
	border-radius: 7px; padding: 5px 10px; font-size: 12px; font-weight: 700;
}
.woocommerce-product-gallery { opacity: 1 !important; position: relative; margin: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder {
	border-radius: 16px; overflow: hidden; border: 1px solid var(--ep-line); background: var(--ep-white);
}
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.ep-gallery-ph { aspect-ratio: 1; }
.ep-gallery-ph .ep-ph { border-radius: 0; border: 0; padding: 16px; }
.ep-gallery-ph .ep-ph__cap { font-size: 11px; color: var(--ep-grey-3); background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 8px; padding: 7px 9px; }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 6; background: var(--ep-white); border-radius: 50%; width: 36px; height: 36px; text-indent: -9999px; overflow: hidden; border: 1px solid var(--ep-line); }
.woocommerce-product-gallery__trigger::before { content: ""; position: absolute; inset: 10px; border: 2px solid var(--ep-ink); border-radius: 50%; width: 12px; height: 12px; }
.flex-control-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
/* WooCommerce ships a float layout for these (li { width: 25%; float: left }),
   which inside the grid shrank each thumb to a quarter of its own cell. */
.woocommerce div.product div.images .flex-control-thumbs li,
.flex-control-thumbs li { margin: 0; width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs img,
.flex-control-thumbs img {
	width: 100%; display: block; aspect-ratio: 1;
	object-fit: contain; background: var(--ep-white); padding: 6px;
	border: 1px solid var(--ep-line); border-radius: 10px;
	opacity: 1; cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.flex-control-thumbs img:hover { border-color: var(--ep-ink); }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.flex-control-thumbs img.flex-active { border: 2px solid var(--ep-orange); padding: 5px; }
@media (prefers-reduced-motion: reduce) { .flex-control-thumbs img { transition: none; } }
.flex-direction-nav { display: none; }

.ep-pdp__summary { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.ep-pdp__title { margin: 0; font-size: 34px; line-height: 1.08; }
.ep-pdp__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--ep-grey-3); }
.ep-pdp__pricebox { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ep-pdp__price, .ep-pdp__price .woocommerce-Price-amount { font: 800 40px var(--ep-font-head); letter-spacing: -0.03em; }
.ep-pdp__from { font-size: 14px; color: var(--ep-grey-3); }
.ep-pdp__was, .ep-pdp__was .woocommerce-Price-amount { font-size: 16px; font-weight: 400; color: var(--ep-grey-6); }
.ep-pdp__save { font-size: 14px; font-weight: 700; color: var(--ep-orange-deep); white-space: nowrap; }
.ep-pdp__unit { font-size: 13px; color: var(--ep-grey-3); margin-top: -8px; }
.ep-pdp__stockrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ep-stock { border-radius: 7px; padding: 5px 10px; font-size: 13px; font-weight: 700; background: var(--ep-green-wash); color: var(--ep-green); }
.ep-stock--low { background: var(--ep-orange-wash); color: var(--ep-orange-deep); }
.ep-stock--out { background: var(--ep-orange-wash); color: var(--ep-orange-deep); }
.ep-pdp__shelf { font-size: 13px; color: var(--ep-grey-3); }
.ep-pdp__short { font-size: 14px; color: var(--ep-grey-1); line-height: 1.55; }
.ep-pdp__short p { margin: 0; }

/* WooCommerce form inside the buy box */
.ep-pdp__buy .stock, .ep-pdp__buy .woocommerce-variation-price, .ep-pdp__buy .woocommerce-variation-availability { display: none; }
.ep-pdp__buy form.cart { margin: 0; }
.ep-pdp .variations { width: 100%; border: 0; margin: 0 0 6px; border-collapse: collapse; }
.ep-pdp .variations tr { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ep-pdp .variations th, .ep-pdp .variations td { display: block; padding: 0; border: 0; text-align: left; background: none; }
.ep-pdp .variations label { font-size: 13px; font-weight: 700; }
.ep-pdp .variations select { border: 1.5px solid var(--ep-line-strong); border-radius: 10px; padding: 11px 14px; font-size: 14px; background: var(--ep-white); }
.ep-js .ep-pdp .variations select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ep-pdp .reset_variations { font-size: 12px; margin-left: 8px; }
.ep-chipset { display: flex; gap: 8px; flex-wrap: wrap; }
.ep-chipset button {
	background: var(--ep-white); color: var(--ep-ink);
	border: 1.5px solid var(--ep-line-strong); border-radius: 10px; padding: 11px 18px;
	font: 700 14px var(--ep-font-body); cursor: pointer;
}
.ep-chipset button:hover:not(:disabled) { border-color: var(--ep-ink); }
.ep-chipset button[aria-pressed="true"] { background: var(--ep-ink); border-color: var(--ep-ink); color: var(--ep-paper); }
.ep-chipset button:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.ep-pdp .single_variation_wrap .woocommerce-variation-description { font-size: 13px; color: var(--ep-grey-3); margin-bottom: 10px; }
.ep-pdp .woocommerce-variation-add-to-cart, .ep-pdp form.cart:not(.variations_form) { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ep-pdp .quantity { display: inline-flex; align-items: center; border: 1.5px solid var(--ep-line-strong); border-radius: 12px; overflow: hidden; background: var(--ep-white); }
.ep-pdp .quantity input.qty {
	width: 44px; border: 0; text-align: center; font: 700 16px var(--ep-font-body);
	padding: 14px 0; background: transparent; -moz-appearance: textfield; appearance: textfield;
}
.ep-pdp .quantity input.qty::-webkit-outer-spin-button, .ep-pdp .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ep-qtybtn { background: none; border: 0; padding: 13px 16px; font: 700 18px var(--ep-font-body); cursor: pointer; color: var(--ep-ink); }
.ep-qtybtn:hover { background: var(--ep-paper); }
.ep-pdp .single_add_to_cart_button {
	flex: 1 1 190px; background: var(--ep-orange); color: var(--ep-white);
	border: 0; border-radius: 12px; padding: 16px 24px; font: 700 16px var(--ep-font-body); cursor: pointer;
}
.ep-pdp .single_add_to_cart_button:hover { background: var(--ep-orange-press); }
.ep-pdp .single_add_to_cart_button.disabled, .ep-pdp .single_add_to_cart_button:disabled { opacity: .5; cursor: not-allowed; }
.ep-pdp .ep-buy { flex: 1 1 150px; padding: 16px 24px; font-size: 16px; border-radius: 12px; }
.woocommerce-variation-add-to-cart-disabled .ep-buy { opacity: .5; pointer-events: none; }
.ep-pdp__delivery h2 { margin: 0 0 12px; font: 700 15px var(--ep-font-body); letter-spacing: 0; }
.ep-pdp__delivery { display: flex; flex-direction: column; gap: 0; padding: 18px; }
.ep-pdp__cutoff { margin: 12px 0 0; font-size: 13px; color: var(--ep-grey-3); line-height: 1.5; }
.ep-pdp__cutoff strong { color: var(--ep-orange-deep); }
.ep-pdp__assure { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--ep-line); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ep-grey-3); }

/* Tabs / details / bundle */
.ep-pdp__info { margin-top: 40px; }
.ep-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--ep-line); overflow-x: auto; }
.ep-tabs button {
	background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 4px; margin-right: 14px;
	font: 700 15px var(--ep-font-body); color: var(--ep-grey-5); white-space: nowrap; cursor: pointer;
}
.ep-tabs button[aria-selected="true"] { color: var(--ep-ink); border-bottom-color: var(--ep-orange); }
.ep-pdp__infogrid { padding-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; align-items: start; }
.ep-tabpanel[hidden] { display: none; }
.ep-prose { font-size: 15px; line-height: 1.65; color: var(--ep-grey-1); max-width: 68ch; }
.ep-prose > :first-child { margin-top: 0; }
.ep-prose h2, .ep-prose h3 { margin: 1.4em 0 .5em; font-size: 22px; }
.ep-specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.ep-specs th { text-align: left; padding: 11px 14px; background: var(--ep-white); border: 1px solid var(--ep-line); font-weight: 600; color: var(--ep-grey-2); width: 40%; }
.ep-specs td { padding: 11px 14px; border: 1px solid var(--ep-line); background: var(--ep-white); }
.ep-revsum { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.ep-revsum__big b { display: block; font: 800 46px/1 var(--ep-font-head); }
.ep-revsum__big span { font-size: 13px; color: var(--ep-grey-3); }
.ep-revsum__bars { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ep-revsum__row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ep-grey-3); }
.ep-revsum__row > span:first-child { width: 30px; }
.ep-revsum__row > span:last-child { width: 38px; text-align: right; }
.ep-revsum__track { flex: 1; height: 8px; border-radius: 99px; background: var(--ep-stripe-a); overflow: hidden; }
.ep-revsum__track > span { display: block; height: 100%; background: var(--ep-orange); border-radius: 99px; }

.ep-pdp .woocommerce-Reviews-title { display: none; }
.ep-pdp .commentlist { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ep-pdp .commentlist li { background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 14px; padding: 16px; }
.ep-pdp .commentlist img.avatar { display: none; }
.ep-pdp .commentlist .comment_container { margin: 0; }
.ep-pdp .commentlist .meta { font-size: 12px; color: var(--ep-grey-5); margin: 0 0 6px; }
.ep-pdp .commentlist .description p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ep-grey-1); }
.ep-pdp .star-rating { color: var(--ep-orange); font-size: 12px; }
.ep-pdp #review_form input[type="text"], .ep-pdp #review_form input[type="email"], .ep-pdp #review_form textarea, .ep-pdp #review_form select {
	width: 100%; border: 1.5px solid var(--ep-line-strong); border-radius: 11px; padding: 12px 14px; font-size: 14px; background: var(--ep-white);
}
.ep-pdp #review_form .form-submit input { background: var(--ep-orange); color: var(--ep-white); border: 0; border-radius: 10px; padding: 13px 22px; font: 700 14px var(--ep-font-body); cursor: pointer; }

.ep-fbt { background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 16px; padding: 20px; }
.ep-fbt h2 { margin: 0 0 4px; font-size: 21px; }
.ep-fbt__sub { margin: 0 0 16px; font-size: 13px; color: var(--ep-grey-3); }
.ep-fbt__list { display: flex; flex-direction: column; gap: 10px; }
.ep-fbt__item { display: flex; gap: 12px; align-items: center; border: 1px solid var(--ep-line-soft); border-radius: 12px; padding: 10px; cursor: pointer; }
.ep-fbt__item input { width: 18px; height: 18px; accent-color: var(--ep-orange); flex: none; }
.ep-fbt__thumb { width: 54px; height: 54px; flex: none; border-radius: 8px; overflow: hidden; display: block; }
.ep-fbt__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-fbt__text { min-width: 0; flex: 1; font-size: 13px; color: var(--ep-grey-3); }
.ep-fbt__text b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ep-ink); }
.ep-fbt__total { margin: 16px 0 12px; border-top: 1px solid var(--ep-line-soft); padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ep-grey-2); }
.ep-fbt__total b { font: 800 22px var(--ep-font-head); letter-spacing: -0.03em; color: var(--ep-ink); }

.ep-pdp__similar { padding-top: 40px; }
.ep-pdp__similar .ep-sechead h2 { font-size: 24px; }

.ep-sticky {
	position: sticky; bottom: 0; margin-top: 32px; z-index: 10;
	background: var(--ep-white); border: 1px solid var(--ep-line); border-bottom: 0; border-radius: 14px 14px 0 0;
	padding: 12px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
	box-shadow: 0 -8px 24px rgba(14, 17, 22, 0.07);
}
.ep-sticky__text { min-width: 0; flex: 1 1 180px; }
.ep-sticky__text b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-sticky__text > span { font-size: 12px; color: var(--ep-grey-3); }

@media (max-width: 760px) {
	.ep-pdp__top { grid-template-columns: minmax(0, 1fr); }
	.ep-pdp__title { font-size: 28px; }
	.ep-pdp__price, .ep-pdp__price .woocommerce-Price-amount { font-size: 34px; }
	.ep-pdp__infogrid { grid-template-columns: minmax(0, 1fr); }
	.ep-sticky { flex-wrap: nowrap; bottom: calc(68px + env(safe-area-inset-bottom)); }
	.ep-sticky .ep-btn { flex: none; }
}

/* ============================================================== archives == */

.ep-shop__title { margin: 6px 0 4px; font-size: 32px; }
.ep-shop__desc { color: var(--ep-muted); font-size: 14px; margin-bottom: 10px; }
.ep-shop__meta { font-size: 13px; color: var(--ep-grey-3); margin-bottom: 10px; }
.ep-shop__meta .woocommerce-result-count { margin: 0; }
.ep-toolbar { margin-bottom: 16px; }
.ep-shop .wc-block-breadcrumbs, .ep-shop .woocommerce-breadcrumb { font-size: 13px; color: var(--ep-grey-3); margin: 18px 0 8px; }
.ep-pager { margin: 26px 0 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.ep-pager .page-numbers {
	display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0 12px;
	background: var(--ep-white); border: 1px solid var(--ep-line-strong); border-radius: 10px; color: var(--ep-ink); font-size: 14px; font-weight: 600;
}
.ep-pager .page-numbers.current { background: var(--ep-ink); border-color: var(--ep-ink); color: var(--ep-paper); }
.ep-pager a.page-numbers:hover { border-color: var(--ep-orange); color: var(--ep-orange-deep); }

/* ============================================================ generic pages == */

.ep-page, .ep-shell { padding-bottom: 24px; }
.ep-page__title, .ep-page h1 { margin: 24px 0 16px; font-size: 32px; }
.ep-404 { padding-block: 48px; }
.ep-page__content { font-size: 15px; line-height: 1.6; max-width: none; }
.ep-page .wp-block-post-content { max-width: 100%; }
.wp-block-button__link { font-weight: 700; }

/* WooCommerce messages */
.woocommerce-notices-wrapper { margin: 14px 0 0; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 14px; padding: 14px 16px;
	background: var(--ep-white); border: 1px solid var(--ep-line); border-left: 4px solid var(--ep-orange);
	border-radius: 12px; font-size: 14px;
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.woocommerce-message .button, .woocommerce-info .button { order: 2; background: var(--ep-ink); color: var(--ep-paper); border-radius: 9px; padding: 9px 14px; font-weight: 700; font-size: 13px; }
.woocommerce-error li { list-style: none; }

/* Cart page (classic) */
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart .woocommerce-cart-form { min-width: 0; background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 18px; padding: 8px 20px 20px; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ep-grey-5); padding: 14px 8px; border-bottom: 1px solid var(--ep-line); }
.woocommerce table.shop_table td { padding: 14px 8px; border-bottom: 1px solid var(--ep-line-faint); vertical-align: middle; font-size: 14px; }
.woocommerce table.cart img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.woocommerce table.cart td.product-name a { font-weight: 600; color: var(--ep-ink); }
.woocommerce table.cart td.product-remove a { color: var(--ep-grey-5); font-size: 20px; }
.woocommerce table.cart .quantity input.qty { width: 64px; border: 1.5px solid var(--ep-line-strong); border-radius: 10px; padding: 9px; text-align: center; font-weight: 700; }
.woocommerce table.cart td.actions { padding-top: 18px; }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; float: left; }
.woocommerce table.cart td.actions .coupon input { border: 1.5px solid var(--ep-line-strong); border-radius: 10px; padding: 11px 12px; font-size: 13px; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .wc-proceed-to-checkout a.checkout-button {
	display: inline-block; background: var(--ep-ink); color: var(--ep-paper); border: 0; border-radius: 10px; padding: 12px 18px; font: 700 14px var(--ep-font-body); cursor: pointer;
}
.woocommerce .button:hover, .woocommerce a.button:hover { background: var(--ep-grey-1); color: var(--ep-paper); }
.woocommerce table.cart td.actions button[name="update_cart"] { float: right; }
.cart-collaterals { min-width: 0; }
.cart-collaterals .cart_totals { background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 18px; padding: 20px; width: 100% !important; float: none !important; }
.cart_totals h2 { margin: 0 0 12px; font-size: 18px; }
.cart_totals table { width: 100%; }
.cart_totals th { text-align: left; font-weight: 500; color: var(--ep-grey-2); font-size: 14px; padding: 8px 0; }
.cart_totals td { text-align: right; padding: 8px 0; font-weight: 700; font-size: 14px; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 17px; border-top: 1px solid var(--ep-line-soft); }
.wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; background: var(--ep-orange); color: var(--ep-white); padding: 15px; font-size: 16px; border-radius: 12px; margin-top: 14px; }
.wc-proceed-to-checkout a.checkout-button:hover { background: var(--ep-orange-press); color: var(--ep-white); }
.cart-empty.woocommerce-info, .return-to-shop { grid-column: 1 / -1; }
.cross-sells { display: none; }
@media (max-width: 900px) {
	.woocommerce-cart .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.woocommerce table.cart thead { display: none; }
	.woocommerce table.cart tr.cart_item { display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--ep-line-faint); }
	.woocommerce table.cart tr.cart_item td { display: block; border: 0; padding: 2px 0; }
	.woocommerce table.cart td.product-remove { grid-column: 3; grid-row: 1; text-align: right; }
	.woocommerce table.cart td.product-thumbnail { grid-column: 1; grid-row: 1 / span 3; }
	.woocommerce table.cart td.product-name { grid-column: 2; grid-row: 1; }
	.woocommerce table.cart td.product-price { display: none; }
	.woocommerce table.cart td.product-quantity { grid-column: 2; grid-row: 2; }
	.woocommerce table.cart td.product-subtotal { grid-column: 3; grid-row: 2; text-align: right; font-weight: 700; }
	.woocommerce table.cart td.actions .coupon { float: none; flex-wrap: wrap; margin-bottom: 10px; }
	.woocommerce table.cart td.actions button[name="update_cart"] { float: none; }
}

/* My account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 16px; display: flex; flex-direction: column; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ep-grey-1); }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--ep-paper); color: var(--ep-ink); }
.woocommerce-MyAccount-content { background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 18px; padding: 22px; min-width: 0; }
.woocommerce-account:not(.logged-in) .woocommerce, .woocommerce-account .u-columns { display: block; }
.woocommerce-account .u-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.woocommerce form.login, .woocommerce form.register, .woocommerce-form-login, .woocommerce-form-register { background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 18px; padding: 22px; margin: 0; }
.woocommerce form .form-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 600; color: var(--ep-grey-2); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea {
	border: 1.5px solid var(--ep-line-strong); border-radius: 11px; padding: 12px 14px; font-size: 14px; background: var(--ep-white); color: var(--ep-ink); width: 100%;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--ep-orange); outline: 0; }
@media (max-width: 760px) {
	.woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }
}

/* Checkout / track-order shells: give the plugin room and a clean canvas. */
.ep-shell .ep-wrap { padding-top: 22px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
