/* Emruth site styles. Tokens come from theme.json. */
:root {
	--navy: var(--wp--preset--color--navy, #002152);
	--deep: var(--wp--preset--color--navy-deep, #00153a);
	--purple: var(--wp--preset--color--purple, #7c3aed);
	--purple-dark: var(--wp--preset--color--purple-dark, #5b21b6);
	--lavender: var(--wp--preset--color--lavender, #ede7ff);
	--lime: var(--wp--preset--color--lime, #c6f135);
	--ink: var(--wp--preset--color--ink, #0b1530);
	--muted: var(--wp--preset--color--muted, #4a5470);
	--display: var(--wp--preset--font-family--display, Impact, sans-serif);
	--edge: 3px solid var(--navy);
	--shadow: 5px 5px 0 var(--navy);
	--radius: 18px;
	--gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
.wp-site-blocks > * { margin-block: 0; }
.emruth-main > * { margin-block: 0; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; z-index: 100; background: var(--lime); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.honeypot { position: absolute; left: -9999px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--navy); letter-spacing: -0.01em; line-height: 1.05; margin-block: 0 .5em; }
h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin-block: 0 1em; }
.eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-dark); margin-bottom: .75rem; }
.fine, small { font-size: .85rem; color: var(--muted); }
.section { max-width: 1240px; margin-inline: auto; padding: clamp(40px, 7vw, 84px) var(--gutter); }
.section.narrow { max-width: 820px; }

/* Buttons */
.button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, button[name="update_cart"], #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px;
	background: var(--purple); color: #fff; border: var(--edge); border-radius: 999px; box-shadow: 4px 4px 0 var(--navy);
	font-family: inherit; font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.button:hover, .wp-block-button__link:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, #place_order:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); background: var(--purple-dark); color: #fff; }
.button:active, .wp-block-button__link:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--navy); }
.button.lime, .is-style-lime .wp-block-button__link, .woocommerce a.button.lime { background: var(--lime); color: var(--navy); }
.button.lime:hover, .is-style-lime .wp-block-button__link:hover { background: #d7ff4a; color: var(--navy); }
.is-style-outline-light .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 var(--purple); }
.is-style-outline-light .wp-block-button__link:hover { background: #fff; color: var(--navy); box-shadow: 6px 6px 0 var(--purple); }
.text-link { display: inline-block; color: var(--purple-dark); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; margin-right: 16px; }

/* Stickers */
.sticker { display: inline-block; padding: 8px 14px; border: var(--edge); border-radius: 12px; box-shadow: 3px 3px 0 var(--navy); font-family: var(--display); font-size: .9rem; text-transform: uppercase; transform: rotate(-4deg); transition: transform .2s ease; }
.sticker:hover { animation: emruth-wiggle .5s ease; }
.sticker-lime { background: var(--lime); color: var(--navy); }
.sticker-purple { background: var(--purple); color: #fff; }
@keyframes emruth-wiggle { 25% { transform: rotate(4deg); } 50% { transform: rotate(-7deg); } 75% { transform: rotate(3deg); } }

/* Announcement and header */
.emruth-announce { display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; padding: 8px 44px; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 700; text-align: center; }
.emruth-announce[hidden] { display: none; }
.emruth-announce a { color: inherit; text-decoration: none; }
.emruth-announce a:hover { color: var(--lime); }
.emruth-announce-close { position: absolute; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; background: none; border: 0; color: #fff; cursor: pointer; }
.emruth-announce-close svg { width: 16px; height: 16px; }
.emruth-site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: var(--edge); }
.admin-bar .emruth-site-header { top: 32px; }
/* The announcement scrolls away; only the main bar stays pinned. */
.emruth-site-header:has(.emruth-announce:not([hidden])) { top: calc(0px - var(--announce-h, 38px)); }
.admin-bar .emruth-site-header:has(.emruth-announce:not([hidden])) { top: calc(32px - var(--announce-h, 38px)); }
.emruth-header { display: flex; align-items: center; gap: 22px; max-width: 1400px; margin-inline: auto; padding: 10px var(--gutter); }
.emruth-logo { flex: none; display: block; line-height: 0; }
.emruth-logo img { width: 190px; height: auto; }
.emruth-menu-btn { display: none; place-items: center; width: 46px; height: 46px; background: var(--lavender); color: var(--navy); border: var(--edge); border-radius: 12px; cursor: pointer; }
.emruth-nav { display: flex; align-items: center; gap: 22px; flex: 1; }
.emruth-nav > a, .emruth-browse > summary { color: var(--navy); font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.emruth-nav > a:hover, .emruth-browse > summary:hover { color: var(--purple); }
.emruth-browse { position: relative; }
.emruth-browse > summary { display: block; list-style: none; padding: 0; border: 0; background: none; }
.emruth-browse > summary::-webkit-details-marker { display: none; }
.emruth-browse > summary::after { content: " +"; color: var(--purple); }
.emruth-browse[open] > summary::after { content: " –"; }
.emruth-browse-panel { position: absolute; top: calc(100% + 18px); left: 0; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 26px; width: min(760px, 88vw); padding: 24px; background: #fff; border: var(--edge); border-radius: var(--radius); box-shadow: var(--shadow); }
.emruth-browse-panel a:not(.button) { display: block; padding: 5px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.emruth-browse-panel a:not(.button):hover { color: var(--purple); }
.emruth-browse-feature { padding: 18px; background: var(--navy); border-radius: 14px; color: #fff; }
.emruth-browse-feature strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.15; margin-bottom: 14px; }
.emruth-header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.emruth-search { display: flex; align-items: center; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; }
.emruth-search input[type="search"] { width: 170px; border: 0; padding: 8px 4px 8px 14px; font: inherit; font-size: .9rem; background: none; }
.emruth-search input[type="search"]:focus { outline: none; }
.emruth-search button { display: grid; place-items: center; width: 40px; height: 38px; background: none; border: 0; color: var(--navy); cursor: pointer; }
.emruth-account, .ea-header-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); border-radius: 50%; }
.emruth-account:hover, .ea-header-cart:hover { background: var(--lavender); }
.ea-header-cart svg { width: 24px; height: 24px; }
.ea-header-cart-count { position: absolute; top: -2px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; background: var(--purple); color: #fff; border: 2px solid var(--navy); border-radius: 999px; font-size: .72rem; font-weight: 800; animation: emruth-pop .35s ease; }
.ea-header-cart-count[hidden] { display: none; }
@keyframes emruth-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* Hero */
.emruth-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(40px, 7vw, 88px) max(var(--gutter), calc((100vw - 1240px) / 2)); color: #fff; background: radial-gradient(circle at 12% 18%, rgba(124, 58, 237, .75), transparent 46%), radial-gradient(circle at 88% 88%, rgba(124, 58, 237, .5), transparent 42%), var(--deep); margin-block: 0; }
.emruth-hero .eyebrow { color: var(--lime); }
.emruth-hero h1 { color: #fff; font-size: clamp(2.9rem, 8.4vw, 6rem); line-height: .98; margin-bottom: 20px; }
.emruth-hero h1 em { font-style: normal; color: var(--lime); }
.emruth-hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; }
.emruth-hero .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; }
.emruth-hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 700; }
.emruth-hero-points li::before { content: "★ "; color: var(--lime); }
.emruth-hero-visual { position: relative; margin: 0; }
.emruth-hero-visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 4px solid #fff; border-radius: 26px; box-shadow: 10px 10px 0 var(--purple); transform: rotate(1.2deg); }
.emruth-hero-visual figcaption { margin-top: 18px; font-size: .72rem; opacity: .8; text-align: right; }
.emruth-hero-visual .sticker { position: absolute; }
.sticker-a { top: -14px; left: -10px; }
.sticker-b { bottom: 34px; right: -6px; transform: rotate(5deg); }

/* Marquee */
.emruth-marquee { overflow: hidden; padding: 14px 0; background: var(--lime); border-block: var(--edge); }
.emruth-marquee-track { display: flex; width: max-content; animation: emruth-scroll 42s linear infinite; }
.emruth-marquee span { padding: 0 22px; font-family: var(--display); font-size: 1.05rem; color: var(--navy); text-transform: uppercase; white-space: nowrap; }
.emruth-marquee span::after { content: "★"; margin-left: 44px; color: var(--purple-dark); }
@keyframes emruth-scroll { to { transform: translateX(-33.333%); } }

/* Audience tiles */
.emruth-who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 18px; }
.emruth-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 230px; padding: 22px; border: var(--edge); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.emruth-tile:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 9px 9px 0 var(--navy); }
.emruth-tile strong { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.05; }
.emruth-tile span { font-weight: 600; }
.tile-lime { background: var(--lime); color: var(--navy); }
.tile-purple { background: var(--purple); color: #fff; }
.tile-lavender { background: var(--lavender); color: var(--navy); }
.tile-navy { background: var(--navy); color: #fff; }

/* Product cards */
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.discovery-grid, .ea-picker-grid, .emruth-search-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.discovery-card, .ea-picker-card, .woocommerce ul.products li.product, .emruth-search-card { position: relative; background: #fff; border: var(--edge) !important; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .16s ease; }
.discovery-card:hover, .ea-picker-card:hover, .woocommerce ul.products li.product:hover, .emruth-search-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--purple); }
.discovery-photo, .ea-picker-card > a:first-child { display: block; position: relative; background: #f4f1ff; text-decoration: none; color: inherit; }
.discovery-photo img, .ea-picker-card img, .emruth-search-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #f4f1ff; transition: transform .2s ease; }
.discovery-card:hover img, .ea-picker-card:hover img { transform: scale(1.04) rotate(-1deg); }
.ea-card-action { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; background: var(--lime); color: var(--navy); border: var(--edge); border-radius: 50%; font-weight: 800; }
.discovery-info { padding: 18px; }
.discovery-info h3 { margin-bottom: 6px; }
.discovery-info h3 a, .ea-picker-card h2, .emruth-search-card h2 { color: var(--navy); text-decoration: none; font-size: 1.1rem; }
.ea-picker-card h2, .emruth-search-card h2 { margin: 14px 16px 6px; }
.ea-picker-card span { display: block; margin: 0 16px 8px; color: var(--purple-dark); font-weight: 800; }
.ea-picker-details { display: block; margin: 0 16px 16px; font-size: .85rem; color: var(--muted); }
.emruth-search-card a { display: block; text-decoration: none; }
.ea-picker-search { display: block; max-width: 460px; margin-bottom: 18px; font-weight: 700; }

/* Offer */
.ea-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; max-width: 1240px; margin: 40px auto 0; padding: clamp(24px, 4vw, 44px); background: var(--purple); color: #fff; border: var(--edge); border-radius: 24px; box-shadow: 8px 8px 0 var(--navy); }
.ea-offer > div { flex: 1 1 380px; }
.ea-offer h2, .ea-offer .eyebrow { color: #fff; }
.ea-offer h2 { color: var(--lime); }
.ea-offer small { color: #fff; }

/* How it works */
.emruth-how { padding: clamp(44px, 7vw, 84px) max(var(--gutter), calc((100vw - 1240px) / 2)); background: var(--lavender); margin-block: 0; }
.emruth-how h2 em { font-style: normal; color: var(--purple); }
.emruth-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; margin-top: 18px; }
.emruth-step { padding: 26px; background: #fff; border: var(--edge); border-radius: var(--radius); box-shadow: var(--shadow); counter-increment: step; margin: 0; }
.emruth-step::before { content: "0" counter(step); display: inline-block; margin-bottom: 12px; padding: 4px 12px; background: var(--lime); color: var(--navy); border: 2px solid var(--navy); border-radius: 10px; font-family: var(--display); transform: rotate(-3deg); }

/* FAQ */
.emruth-faq-item { border: var(--edge); border-radius: 14px; margin-bottom: 12px; background: #fff; }
.emruth-faq-item summary { position: relative; padding: 16px 48px 16px 18px; font-weight: 800; color: var(--navy); cursor: pointer; list-style: none; }
.emruth-faq-item summary::-webkit-details-marker { display: none; }
.emruth-faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-family: var(--display); font-size: 1.4rem; color: var(--purple); transition: transform .15s ease; }
.emruth-faq-item[open] summary::after { transform: rotate(45deg); }
.emruth-faq-item p { padding: 0 18px 16px; margin: 0; }

/* Closing and footer */
.closing { padding: clamp(50px, 8vw, 96px) var(--gutter); text-align: center; color: #fff; background: radial-gradient(circle at 50% 120%, rgba(124, 58, 237, .85), transparent 60%), var(--navy); }
.closing .eyebrow { color: var(--lime); }
.closing h2 { color: #fff; margin-bottom: 24px; }
.emruth-site-footer { background: var(--deep); color: #fff; border-top: 4px solid var(--lime); }
.emruth-footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 32px; max-width: 1240px; margin-inline: auto; padding: 52px var(--gutter) 30px; }
.emruth-site-footer h2 { color: var(--lime); font-size: 1rem; margin-bottom: 12px; }
.emruth-site-footer a { display: block; color: #fff; text-decoration: none; padding: 3px 0; }
.emruth-site-footer a:hover { color: var(--lime); }
.emruth-footer-brand { font-family: var(--display); font-size: 1.5rem; margin-bottom: 8px; }
.emruth-pay { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.emruth-pay li { padding: 3px 9px; background: #fff; color: var(--navy); border-radius: 6px; font-size: .74rem; font-weight: 800; }
.emruth-footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; max-width: 1240px; margin-inline: auto; padding: 18px var(--gutter) 26px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .85rem; }
.emruth-footer-bottom a { padding: 0; }

/* Inner pages */
.page-intro { padding: clamp(44px, 7vw, 84px) max(var(--gutter), calc((100vw - 1240px) / 2)); color: #fff; background: radial-gradient(circle at 90% 10%, rgba(124, 58, 237, .8), transparent 50%), var(--deep); }
.page-intro h1 { color: #fff; }
.page-intro .eyebrow { color: var(--lime); }
.page-intro p:not(.eyebrow) { max-width: 44em; font-size: 1.1rem; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: start; }
.emruth-card { display: block; padding: 24px; background: #fff; color: inherit; border: var(--edge); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; }
a.emruth-card:hover { background: var(--lavender); }
.emruth-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.emruth-note { margin-top: 28px; background: var(--lavender); }
.emruth-card h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 13px; background: var(--lavender); border: 2px solid var(--navy); border-radius: 999px; font-weight: 700; font-size: .85rem; }
.plain-list { padding-left: 20px; }
.emruth-404 { padding: clamp(60px, 10vw, 120px) var(--gutter); text-align: center; color: #fff; background: radial-gradient(circle at 50% 0, rgba(124, 58, 237, .8), transparent 60%), var(--deep); }
.emruth-404 h1 { color: #fff; }
.emruth-404 .wp-block-buttons { justify-content: center; display: flex; gap: 14px; flex-wrap: wrap; }

/* Forms */
input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="date"], input[type="search"]:not(#emruth-search-input), select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--navy); border-radius: 10px; }
.quote-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
#quote-form > label { display: block; font-weight: 700; margin-bottom: 16px; }
#quote-form h2 { font-size: 1.4rem; margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-weight: 700; }
.form-grid label { display: block; }
.quick-qty { margin: 14px 0; font-weight: 700; }
.quick-qty button { margin-left: 8px; padding: 6px 13px; background: var(--lavender); color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; font-weight: 800; cursor: pointer; }
.checkbox-label { display: flex !important; gap: 10px; font-weight: 500 !important; }
.checkbox-label input { width: 20px; height: 20px; flex: none; }
.quote-aside { position: sticky; top: 100px; padding: 24px; background: var(--lavender); border: var(--edge); border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-aside a { display: block; margin-top: 8px; color: var(--purple-dark); font-weight: 800; }
#quote-form .ea-artwork { display: block; margin: 16px 0; }
#quote-form .ea-artwork input { display: block; margin: 6px 0; }
.ea-more-details { margin: 16px 0; padding: 14px 18px; border: 2px solid var(--navy); border-radius: 14px; }
.ea-more-details summary { font-weight: 800; color: var(--navy); cursor: pointer; }
.success { padding: 28px; background: var(--lavender); border: var(--edge); border-radius: var(--radius); }

/* Policy pages */
.policy-hero { padding: clamp(40px, 6vw, 70px) max(var(--gutter), calc((100vw - 1240px) / 2)); background: var(--deep); color: #fff; }
.policy-hero h1 { color: #fff; }
.policy-hero .eyebrow { color: var(--lime); }
.policy-back { display: block; margin-bottom: 14px; color: #fff; font-size: .85rem; }
.policy-shell { max-width: 1240px; margin-inline: auto; padding: 28px var(--gutter) 60px; }
.policy-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.policy-tabs a { padding: 8px 15px; color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; font-weight: 700; text-decoration: none; }
.policy-tabs a[aria-current="page"] { background: var(--purple); color: #fff; }
.policy-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
.policy-sidebar nav a { display: block; padding: 5px 0; color: var(--ink); }
.policy-contact { margin-top: 20px; padding: 18px; background: var(--lavender); border-radius: 14px; }
.policy-contact a { display: block; font-weight: 700; }
.policy-mobile-toc { display: none; }
.policy-document h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* WooCommerce */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 !important; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0 0 16px !important; list-style: none; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; color: var(--navy); text-decoration: none; }
.woocommerce ul.products li.product img { display: block; width: 100%; margin: 0 0 12px !important; aspect-ratio: 1; object-fit: contain; background: #f4f1ff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 16px !important; font-family: var(--display); font-weight: 400; font-size: 1.02rem !important; color: var(--navy); }
.woocommerce ul.products li.product .price { display: block; padding: 0 16px; color: var(--purple-dark) !important; font-weight: 800; font-size: 1rem !important; }
.woocommerce ul.products li.product a.button { margin: 12px 16px 0 !important; min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.ea-category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.ea-category-nav a { padding: 8px 15px; color: var(--navy); background: #fff; border: 2px solid var(--navy); border-radius: 999px; font-weight: 700; font-size: .88rem; text-decoration: none; transition: transform .12s ease; }
.ea-category-nav a:hover, .ea-category-nav a:focus-visible { background: var(--purple); color: #fff; transform: rotate(-2deg); }
.woocommerce-product-search { display: flex; gap: 8px; max-width: 460px; margin-bottom: 20px; }
.woocommerce-product-search button { padding: 0 18px; background: var(--navy); color: #fff; border: 0; border-radius: 10px; font-weight: 800; cursor: pointer; }
.woocommerce .woocommerce-ordering select { width: auto; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { padding: 9px 14px !important; border: 2px solid var(--navy); border-radius: 10px; font-weight: 800; color: var(--navy); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--purple) !important; color: #fff !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border: var(--edge) !important; border-radius: 12px; background: var(--lavender) !important; color: var(--ink) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--purple) !important; }
.woocommerce table.shop_table { border: var(--edge) !important; border-radius: var(--radius) !important; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-size: 1.4rem; }
#place_order { width: 100%; background: var(--lime); color: var(--navy); }

/* Product page */
.emruth-product .product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.emruth-product .woocommerce-product-gallery, .emruth-product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.emruth-product .woocommerce-product-gallery { position: sticky !important; top: 110px; opacity: 1 !important; background: #f4f1ff; border: var(--edge); border-radius: 22px; box-shadow: 8px 8px 0 var(--purple); overflow: hidden; }
.emruth-product .woocommerce-product-gallery img { display: block; width: 100%; height: auto; }
.emruth-product .product_title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.emruth-product .woocommerce-tabs, .emruth-product .related, .emruth-product .up-sells { grid-column: 1 / -1; }
.ea-options { background: var(--lavender) !important; border: var(--edge) !important; border-radius: var(--radius) !important; color: var(--ink) !important; }
.ea-audience button { border: 2px solid var(--navy) !important; color: var(--navy) !important; border-radius: 999px !important; }
.ea-audience button[aria-pressed="true"], .ea-options .ea-audience button[aria-pressed="true"] { background: var(--purple) !important; border-color: var(--navy) !important; color: #fff !important; }
.ea-price-summary { background: var(--navy) !important; border-radius: var(--radius) !important; box-shadow: 5px 5px 0 var(--purple); }
.ea-actions .button { flex: 1 1 200px; }
.ea-actions .button:first-child { background: var(--lime); color: var(--navy); }
.ea-actions .ea-button-outline { background: #fff; color: var(--navy); }
.ea-promises { padding: 18px; background: #fff; border: 2px dashed var(--navy); border-radius: 14px; }
.ea-promises strong { display: block; color: var(--navy); }
.ea-promises span { display: block; margin-bottom: 10px; font-size: .92rem; }
.ea-price-summary { border-color: var(--navy) !important; }
.emruth-sticky-buy { display: none; }

/* Checkout */
.emruth-checkout-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; max-width: 1240px; margin-inline: auto; padding: 12px var(--gutter); }
.emruth-secure { padding: 4px 12px; background: var(--lime); color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; font-size: .8rem; font-weight: 800; }
.emruth-checkout-help { margin-left: auto; color: var(--navy); font-weight: 700; font-size: .9rem; }
.emruth-site-header.is-checkout { position: static; }
.emruth-checkout { padding-top: clamp(24px, 4vw, 44px); }
.emruth-checkout > h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.ea-checkout-intro a { color: var(--purple-dark); font-weight: 800; }
.emruth-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: clamp(24px, 4vw, 56px); align-items: start; }
/* Checkout errors sit across the top of the form, where shoppers will see them. */
.emruth-checkout .woocommerce-NoticeGroup-checkout { grid-column: 1 / -1; grid-row: 1; margin-bottom: 18px; scroll-margin-top: 90px; }
.emruth-checkout #customer_details { grid-column: 1; grid-row: 2 / span 2; float: none; width: auto; }
.emruth-checkout .col2-set .col-1, .emruth-checkout .col2-set .col-2 { float: none !important; width: 100% !important; }
.emruth-checkout #order_review_heading { grid-column: 2; grid-row: 2; margin: 0; padding: 18px 22px 12px; background: var(--lavender); border: var(--edge); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; font-size: 1.3rem; }
.emruth-checkout #order_review { grid-column: 2; grid-row: 3; float: none; width: auto; padding: 0 22px 22px; background: var(--lavender); border: var(--edge); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 5px 5px 0 var(--navy); }
.emruth-checkout h3 { font-size: 1.3rem; margin-top: 8px; }
.emruth-checkout .form-row label { font-weight: 700; }
.emruth-checkout table.shop_table { background: #fff; border-width: 2px !important; }
.emruth-checkout #payment { background: #fff !important; border: 2px solid var(--navy); border-radius: 14px !important; margin-top: 16px; }
.emruth-checkout #payment div.payment_box { background: var(--lavender) !important; color: var(--ink) !important; }
.emruth-checkout #payment div.payment_box::before { border-bottom-color: var(--lavender) !important; }
.emruth-checkout .select2-container--default .select2-selection--single { height: 46px; border: 2px solid var(--navy); border-radius: 10px; }
.emruth-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; }
.emruth-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.emruth-checkout .blockUI.blockOverlay { background: rgba(237, 231, 255, .55) !important; }

/* My account */
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: 100% !important; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 16px; color: var(--navy); background: #fff; border: 2px solid var(--navy); border-radius: 999px; font-weight: 700; text-decoration: none; }
.woocommerce-MyAccount-navigation a:hover { background: var(--lavender); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--purple); color: #fff; }
.woocommerce a.remove { display: grid; place-items: center; width: 34px; height: 34px; color: var(--purple-dark) !important; font-size: 1.4rem; line-height: 1; }
.woocommerce a.remove:hover { background: var(--purple); color: #fff !important; }

/* Drop countdown */
.emruth-drop { padding: clamp(36px, 6vw, 64px) var(--gutter); text-align: center; color: #fff; background: var(--purple); border-bottom: var(--edge); }
.emruth-drop[hidden] { display: none; }
.emruth-drop h2 { color: #fff; margin-top: 14px; }
.emruth-drop-clock { display: flex; justify-content: center; gap: clamp(8px, 2vw, 16px); margin: 22px 0 26px; }
.emruth-drop-clock div { min-width: clamp(64px, 16vw, 104px); padding: 12px 6px; background: #fff; color: var(--navy); border: var(--edge); border-radius: 14px; box-shadow: 4px 4px 0 var(--navy); }
.emruth-drop-clock strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.emruth-drop-clock span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

/* Contact form and cart message */
.emruth-contact-form > label { display: block; margin: 16px 0; font-weight: 700; }
.emruth-contact-form .fine { margin-top: 14px; }
.emruth-form-note { padding: 14px 18px; border: var(--edge); border-radius: 12px; font-weight: 700; }
.emruth-form-note.is-success { background: var(--lime); color: var(--navy); }
.emruth-form-note.is-error { background: var(--lavender); }
.emruth-ship-unlocked { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; background: var(--lavender); border: var(--edge); border-radius: 14px; font-weight: 700; color: var(--navy); }

/* Confetti */
.emruth-confetti { position: fixed; inset: 0; z-index: 99; overflow: hidden; pointer-events: none; }
.emruth-confetti i { position: absolute; top: -12px; width: 10px; height: 14px; border-radius: 2px; animation: emruth-fall 1.5s ease-in forwards; }
@keyframes emruth-fall { to { transform: translateY(105vh) rotate(540deg); } }

/* Tablet */
@media (max-width: 1100px) {
	.emruth-search { display: none; }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.emruth-who-grid, .emruth-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 900px) {
	.admin-bar .emruth-site-header, .admin-bar .emruth-site-header:has(.emruth-announce:not([hidden])) { top: calc(0px - var(--announce-h, 0px)); }
	.emruth-header { flex-wrap: wrap; gap: 10px; }
	.emruth-logo img { width: 150px; }
	.emruth-menu-btn { display: grid; order: 3; }
	.emruth-header-tools { order: 2; gap: 4px; }
	.emruth-nav { display: none; order: 4; flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0; }
	.emruth-nav.is-open { display: flex; }
	.emruth-nav > a, .emruth-browse > summary { display: block; padding: 12px 4px; }
	.emruth-browse-panel { position: static; grid-template-columns: 1fr; width: 100%; box-shadow: none; }
	.emruth-hero, .split-section, .quote-layout, .emruth-how-grid, .emruth-product .product, .emruth-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
	.emruth-checkout #customer_details, .emruth-checkout #order_review_heading, .emruth-checkout #order_review { grid-column: 1; grid-row: auto; }
	.emruth-checkout-help { margin-left: 0; }
	.emruth-product .woocommerce-product-gallery, .quote-aside { position: static; }
	.discovery-grid, .ea-picker-grid, .emruth-search-results { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.emruth-footer-top { grid-template-columns: 1fr 1fr; }
	.policy-layout { grid-template-columns: minmax(0, 1fr); }
	.policy-desktop-toc { display: none; }
	.policy-mobile-toc { display: block; }
	.emruth-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: var(--edge); font-weight: 800; color: var(--navy); }
	.emruth-sticky-buy.is-hidden { display: none; }
	.emruth-sticky-buy .button { min-height: 46px; }
}

@media (max-width: 560px) {
	.emruth-who-grid, .emruth-grid-4, .form-grid { grid-template-columns: minmax(0, 1fr); }
	.emruth-tile { min-height: 150px; }
	.emruth-footer-top { grid-template-columns: minmax(0, 1fr); }
	.discovery-info { padding: 12px; }
	.emruth-hero .wp-block-button, .emruth-hero .wp-block-button__link { width: 100%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.emruth-marquee-track { flex-wrap: wrap; width: auto; }
}
