/* Emruth Press: a print shop's proof sheet. Thin lines, big type, bright inks. Tokens come from theme.json. */
:root {
	--ink: var(--wp--preset--color--ink, #0e1a3a);
	--paper: var(--wp--preset--color--paper, #f6f4ee);
	--sun: var(--wp--preset--color--sun, #ffc933);
	--tomato: var(--wp--preset--color--tomato, #ff5b3a);
	--violet: var(--wp--preset--color--violet, #5b2ee5);
	--mint: var(--wp--preset--color--mint, #86e3c3);
	--sky: var(--wp--preset--color--sky, #b9d2ff);
	--blush: var(--wp--preset--color--blush, #ffc9d6);
	--muted: var(--wp--preset--color--muted, #535a70);
	--tile: #ebe8df;
	--line: 1px solid var(--ink);
	--soft-line: 1px solid #cfccc2;
	--display: var(--wp--preset--font-family--display, Impact, sans-serif);
	--mono: var(--wp--preset--font-family--mono, monospace);
	--gutter: clamp(16px, 3.2vw, 44px);
	--radius: 6px;
	--util-h: 34px;
	/* The design studio stylesheet reads these names. */
	--navy: var(--ink);
	--deep: var(--ink);
	--purple: var(--violet);
	--purple-dark: #4521c0;
	--lavender: #e9e4fb;
	--lime: var(--sun);
	--edge: var(--line);
	--shadow: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); }
img { max-width: 100%; height: auto; }
.wp-site-blocks > *, .emruth-main > * { margin-block: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.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(--sun); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.honeypot { position: absolute; left: -9999px; }
h1, h2 { font-family: var(--display); font-weight: 900; color: var(--ink); letter-spacing: -.005em; line-height: .95; text-transform: uppercase; margin-block: 0 .4em; }
h1 { font-size: clamp(3rem, 7.4vw, 6.75rem); }
h2 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
h3 { font-family: inherit; font-weight: 800; font-size: 1.3rem; line-height: 1.2; color: var(--ink); letter-spacing: 0; text-transform: none; margin-block: 0 .4em; }
p { margin-block: 0 1em; }
small, .fine { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.em-label { margin: 0 0 12px; font-family: var(--mono); font-size: .76rem; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: inherit; }
.em-link, .text-link { display: inline-block; color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; margin-right: 16px; }
.em-link:hover, .text-link:hover { color: var(--violet); }
.em-link::after { content: " →"; }
.section { max-width: 1320px; margin-inline: auto; padding: clamp(36px, 6vw, 72px) var(--gutter); }
.section.narrow { max-width: 860px; }

/* Ink tiles */
.em-bg-sun { background: var(--sun); color: var(--ink); }
.em-bg-sky { background: var(--sky); color: var(--ink); }
.em-bg-mint { background: var(--mint); color: var(--ink); }
.em-bg-blush { background: var(--blush); color: var(--ink); }
.em-bg-tomato { background: var(--tomato); color: var(--ink); }
.em-bg-white { background: #fff; color: var(--ink); }
.em-bg-violet { background: var(--violet); color: #fff; }
.em-bg-ink { background: var(--ink); color: #fff; }

/* 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 22px;
	background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: none;
	font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background .14s ease, color .14s ease, transform .14s ease;
}
.button:hover, .wp-block-button__link:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, #place_order:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.button:active, .wp-block-button__link:active { transform: translateY(1px); }
.button.sun, .is-style-sun .wp-block-button__link, .woocommerce a.button.sun { background: var(--sun); color: var(--ink); border-color: var(--ink); }
.button.sun:hover, .is-style-sun .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.button.sun::after, .is-style-sun .wp-block-button__link::after { content: "→"; }

/* Utility row, main bar and category row */
.emruth-site-header { position: sticky; top: calc(0px - var(--util-h)); z-index: 40; background: #fff; border-bottom: var(--line); }
.admin-bar .emruth-site-header { top: calc(32px - var(--util-h)); }
.em-util { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--util-h); padding-inline: var(--gutter); background: var(--ink); color: #fff; font-family: var(--mono); font-size: .72rem; letter-spacing: .02em; }
.em-util a { color: inherit; text-decoration: none; }
.em-util a:hover { color: var(--sun); }
.em-util-note { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.em-util-links { display: flex; flex: none; gap: 20px; }
.em-bar { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding: 12px var(--gutter); }
.emruth-logo { flex: none; display: block; line-height: 0; }
.emruth-logo img { width: 190px; height: auto; }
.em-search { flex: 1; display: flex; align-items: center; min-width: 0; max-width: 680px; background: var(--paper); border: var(--line); border-radius: var(--radius); }
.em-search input[type="search"] { flex: 1; min-width: 0; min-height: 46px; padding: 8px 14px; font: inherit; color: var(--ink); background: none; border: 0; }
.em-search input[type="search"]::placeholder { color: var(--muted); }
.em-search input[type="search"]:focus { outline: none; }
.em-search:focus-within { outline: 3px solid var(--violet); outline-offset: 1px; }
.em-search button { display: grid; place-items: center; width: 48px; height: 46px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.em-talk { display: flex; flex: none; align-items: center; gap: 10px; margin-left: auto; color: var(--ink); text-decoration: none; }
.em-talk span { display: flex; flex-direction: column; line-height: 1.2; }
.em-talk small { font-size: .72rem; }
.em-talk strong { font-size: .98rem; }
.em-talk:hover strong { color: var(--violet); }
.emruth-header-tools { display: flex; flex: none; align-items: center; gap: 4px; }
.em-tool, .ea-header-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: none; border: 0; border-radius: var(--radius); cursor: pointer; }
.em-tool:hover, .ea-header-cart:hover { background: var(--paper); }
.ea-header-cart svg { width: 24px; height: 24px; }
.ea-header-cart-count { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; background: var(--tomato); color: var(--ink); border-radius: 999px; font-size: .72rem; font-weight: 800; }
.ea-header-cart-count[hidden] { display: none; }
.em-search-btn, .emruth-menu-btn { display: none; }
.em-nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); padding: 0 var(--gutter); border-top: var(--soft-line); font-size: .92rem; font-weight: 600; }
.em-nav > a, .emruth-browse > summary { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.em-nav > a:hover, .emruth-browse > summary:hover { color: var(--violet); }
.em-nav-all { font-weight: 800; }
.em-nav .em-nav-cta { margin-left: auto; padding: 5px 14px; background: var(--sun); border: var(--line); border-radius: var(--radius); font-weight: 700; }
.em-nav .em-nav-cta:hover { background: var(--ink); color: #fff; }
.emruth-browse { position: relative; }
.emruth-browse > summary { list-style: none; }
.emruth-browse > summary::-webkit-details-marker { display: none; }
.emruth-browse > summary::after { content: " +"; }
.emruth-browse[open] > summary::after { content: " –"; }
.em-groups-menu { position: absolute; top: 100%; left: -14px; z-index: 5; display: grid; width: 240px; padding: 8px; background: #fff; border: var(--line); border-radius: var(--radius); }
.em-groups-menu a { padding: 8px 10px; color: var(--ink); text-decoration: none; border-radius: 4px; }
.em-groups-menu a:hover { background: var(--sun); }

/* Hero */
.em-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); margin-block: 0; background: var(--paper); border-bottom: var(--line); }
.em-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5.5vw, 76px) var(--gutter); border-right: var(--line); }
.em-hero h1 { font-size: clamp(3.4rem, 7.7vw, 7.25rem); line-height: .9; margin-bottom: 22px; }
.em-hero h1 mark { display: inline-block; padding: 0 .12em; background: var(--violet); color: #fff; transform: rotate(-1.5deg); }
.em-hero-lead { max-width: 33em; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.em-hero .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.em-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.em-tile { position: relative; display: block; min-height: clamp(180px, 20vw, 300px); overflow: hidden; border-right: var(--line); border-bottom: var(--line); color: var(--ink); text-decoration: none; }
.em-tile:nth-child(3n) { border-right: 0; }
.em-tile:nth-last-child(-n + 3) { border-bottom: 0; }
.em-tile img { position: absolute; inset: 8% 6% 16%; width: 88%; height: 76%; object-fit: contain; transition: transform .22s ease; }
.em-tile:hover img { transform: scale(1.07) rotate(-2deg); }
.em-tile span { position: absolute; left: 12px; bottom: 9px; font-family: var(--display); font-weight: 900; font-size: clamp(1.25rem, 2.1vw, 1.9rem); line-height: 1; text-transform: uppercase; }
.em-tile span::after { content: " →"; font-family: var(--wp--preset--font-family--body); font-weight: 400; }
.em-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; background: #fff; border-bottom: var(--line); }
.em-facts li { padding: 15px var(--gutter); border-right: var(--soft-line); }
.em-facts li:last-child { border-right: 0; }
.em-facts strong { display: block; font-weight: 800; line-height: 1.25; }
.em-facts span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.3; }

/* The $6 ticket */
.em-ticket { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--sun); border-bottom: var(--line); }
.em-ticket-main { padding: clamp(32px, 5vw, 64px) var(--gutter); }
.em-ticket h2 { margin: 0; font-size: clamp(4rem, 11vw, 10.5rem); line-height: .86; }
.em-ticket-stub { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: clamp(24px, 4vw, 52px) var(--gutter); border-left: 2px dashed var(--ink); }
.em-ticket-stub::before, .em-ticket-stub::after { content: ""; position: absolute; left: -15px; width: 28px; height: 14px; background: var(--paper); border: var(--line); }
.em-ticket-stub::before { top: -1px; border-top: 0; border-radius: 0 0 28px 28px; }
.em-ticket-stub::after { bottom: -1px; border-bottom: 0; border-radius: 28px 28px 0 0; }
.em-ticket-stub p { margin: 0; font-size: 1.05rem; font-weight: 500; }
.em-ticket-stub small { color: var(--ink); }

/* Home section headings */
.em-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding: clamp(36px, 5.5vw, 68px) var(--gutter) 22px; }
.em-head h2 { margin: 0; }

/* Product grid */
.em-products { background: var(--paper); }
.em-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--line); border-bottom: var(--line); }
.em-product { display: flex; flex-direction: column; padding-bottom: 16px; background: #fff; border-right: var(--line); border-bottom: var(--line); color: var(--ink); text-decoration: none; }
.em-product:nth-child(4n) { border-right: 0; }
.em-product:nth-last-child(-n + 4) { border-bottom: 0; }
.em-product-photo { display: block; margin-bottom: 12px; padding: 7%; background: var(--tile); transition: background .18s ease; }
.em-product:nth-child(8n + 1) .em-product-photo, .em-product:nth-child(8n + 6) .em-product-photo { background: var(--sun); }
.em-product:nth-child(8n + 2) .em-product-photo, .em-product:nth-child(8n + 7) .em-product-photo { background: var(--sky); }
.em-product:nth-child(8n + 3) .em-product-photo, .em-product:nth-child(8n) .em-product-photo { background: var(--mint); }
.em-product:nth-child(8n + 4) .em-product-photo, .em-product:nth-child(8n + 5) .em-product-photo { background: var(--blush); }
.em-product-photo img { transition: transform .22s ease; }
.em-product:hover .em-product-photo img { transform: scale(1.05) rotate(-1.5deg); }
.em-product:hover .em-product-name { text-decoration: underline; text-underline-offset: 3px; }
.em-product-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.em-product-name { padding-inline: 14px; font-weight: 700; line-height: 1.25; }
.em-product-price { padding: 3px 14px 0; font-family: var(--mono); font-size: .84rem; color: var(--muted); }
.em-product-price .screen-reader-text { font-size: 1px; }

/* Who it's for */
.em-group-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--line); border-bottom: var(--line); }
.em-group { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: clamp(170px, 18vw, 250px); padding: 16px clamp(14px, 1.6vw, 22px); border-right: var(--line); border-bottom: var(--line); text-decoration: none; transition: padding .16s ease; }
.em-group:nth-child(3), .em-group:last-child { border-right: 0; }
.em-group:nth-child(n + 4) { border-bottom: 0; }
.em-group.em-wide { grid-column: span 2; }
.em-group strong { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.9rem); line-height: .95; text-transform: uppercase; }
.em-group.em-wide strong { font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
.em-group span { font-size: .98rem; line-height: 1.3; }
.em-group:hover { padding-bottom: 26px; }

/* Price ladder */
.em-ladder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); padding: clamp(44px, 6.5vw, 88px) var(--gutter); background: var(--ink); color: #fff; }
.em-ladder h2 { color: #fff; }
.em-ladder-copy p:not(.em-label) { max-width: 30em; font-size: 1.08rem; }
.em-ladder-copy .em-label { color: var(--sun); }
.em-ladder-range { display: block; margin-bottom: 16px; font-weight: 700; }
.em-ladder-range span { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.em-ladder-range output { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--sun); }
.em-ladder-range input[type="range"] { display: block; width: 100%; height: 28px; margin: 10px 0 0; padding: 0; background: none; border: 0; accent-color: var(--sun); cursor: pointer; }
.em-ladder-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .92rem; }
.em-ladder-table th, .em-ladder-table td { padding: 9px 12px; text-align: right; border-bottom: 1px solid rgba(255, 255, 255, .22); font-weight: 500; }
.em-ladder-table th:first-child { text-align: left; }
.em-ladder-table thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: #cdd3e4; }
.em-ladder-table tbody tr { cursor: pointer; }
.em-ladder-table tbody tr:hover { background: rgba(255, 255, 255, .08); }
.em-ladder-table tbody tr.is-on { background: var(--sun); color: var(--ink); }
.em-ladder-table .em-dim { opacity: .7; }
.em-ladder small { display: block; margin-top: 14px; color: #cdd3e4; }

/* Print methods */
.em-methods { background: #fff; border-top: var(--line); }
.em-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--line); }
.em-method-grid article { padding: clamp(20px, 2.6vw, 34px) var(--gutter); border-right: var(--line); }
.em-method-grid article:last-child { border-right: 0; }
.em-method-grid .em-label { display: inline-block; padding: 3px 8px; background: var(--tile); }
.em-method-grid h3 { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1; text-transform: uppercase; }
.em-method-grid p:last-child { margin: 0; color: var(--muted); }

/* How it works */
.em-steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); margin-block: 0; background: var(--paper); border-top: var(--line); }
.em-steps-head { align-self: start; position: sticky; top: 120px; padding: clamp(36px, 5.5vw, 68px) var(--gutter); }
.em-steps-list { counter-reset: step; border-left: var(--line); }
.em-step { position: relative; min-height: clamp(200px, 21vw, 290px); margin: 0; padding: clamp(20px, 2.6vw, 32px) var(--gutter); border-bottom: var(--line); counter-increment: step; display: flex; flex-direction: column; justify-content: flex-end; }
.em-step:last-child { border-bottom: 0; }
.em-step::before { content: "0" counter(step); position: absolute; top: clamp(16px, 2vw, 26px); left: var(--gutter); font-family: var(--mono); font-size: .9rem; }
.em-step h3 { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: .95; text-transform: uppercase; margin-bottom: 8px; }
.em-step p { max-width: 34em; margin: 0; }

/* FAQ */
.em-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); margin-block: 0; background: #fff; border-top: var(--line); }
.em-faq-head { padding: clamp(36px, 5.5vw, 68px) var(--gutter); }
.em-faq-list { border-left: var(--line); }
.emruth-faq-item { margin: 0; border-bottom: var(--soft-line); }
.emruth-faq-item:last-child { border-bottom: 0; }
.emruth-faq-item summary { position: relative; padding: 18px 52px 18px var(--gutter); font-weight: 700; font-size: 1.08rem; color: var(--ink); cursor: pointer; list-style: none; }
.emruth-faq-item summary::-webkit-details-marker { display: none; }
.emruth-faq-item summary:hover { background: var(--paper); }
.emruth-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.5rem; font-weight: 400; transition: transform .15s ease; }
.emruth-faq-item[open] summary::after { transform: rotate(45deg); }
.emruth-faq-item p { padding: 0 var(--gutter) 18px; margin: 0; }
.section .emruth-faq-item summary, .section .emruth-faq-item p { padding-left: 0; }

/* Closing and footer */
.em-closing { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(32px, 4vw, 48px); background: var(--violet); color: #fff; border-top: var(--line); }
.em-closing h2 { display: flex; flex-wrap: wrap; gap: 0 .28em; margin: 0 0 22px; color: #fff; font-size: clamp(3.4rem, 11vw, 11rem); line-height: .88; }
.em-closing h2 span:nth-child(2) { color: var(--sun); }
.em-closing-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.em-closing-row p { margin: 0; font-size: 1.15rem; }
.emruth-site-footer { background: var(--ink); color: #fff; }
.emruth-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px var(--gutter) 30px; }
.emruth-site-footer h2 { margin-bottom: 10px; color: var(--sun); font-family: var(--mono); font-weight: 500; font-size: .76rem; letter-spacing: .04em; line-height: 1.3; }
.emruth-site-footer a { display: block; padding: 3px 0; color: #fff; text-decoration: none; }
.emruth-site-footer a:hover { color: var(--sun); }
.em-foot-brand img { width: 190px; margin-bottom: 14px; border: 1px solid rgba(255, 255, 255, .35); }
.em-foot-brand p { max-width: 24em; }
.emruth-site-footer .em-foot-phone { font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1.1; }
.emruth-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px var(--gutter) 24px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .85rem; }
.emruth-footer-bottom a { padding: 0; }
.em-foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.emruth-pay { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.emruth-pay li { padding: 2px 8px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 3px; font-family: var(--mono); font-size: .7rem; }

/* Inner pages */
.page-intro { padding: clamp(34px, 5.5vw, 72px) var(--gutter) clamp(28px, 4vw, 48px); background: var(--paper); border-bottom: var(--line); }
.page-intro-text { max-width: 44em; font-size: 1.12rem; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: start; }
.emruth-card { display: block; padding: 22px; background: #fff; color: inherit; border: var(--line); border-radius: var(--radius); text-decoration: none; }
a.emruth-card:hover { background: var(--sun); }
.emruth-card h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.emruth-card h3 { overflow-wrap: anywhere; }
.emruth-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.emruth-note { margin-top: 18px; background: var(--sky); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 4px 11px; background: #fff; border: var(--line); border-radius: 3px; font-family: var(--mono); font-size: .8rem; }
.plain-list { padding-left: 20px; }
.emruth-404 { padding: clamp(56px, 9vw, 120px) var(--gutter); background: var(--sun); }
.emruth-404 .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* 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: var(--line); border-radius: var(--radius); }
.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: 600; margin-bottom: 16px; }
#quote-form h2 { font-size: 2rem; margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-weight: 600; }
.form-grid label { display: block; }
.quick-qty { margin: 14px 0; font-weight: 600; }
.quick-qty button { margin-left: 6px; padding: 5px 12px; background: #fff; color: var(--ink); border: var(--line); border-radius: 3px; font-family: var(--mono); cursor: pointer; }
.quick-qty button:hover { background: var(--sun); }
.checkbox-label { display: flex !important; gap: 10px; font-weight: 400 !important; }
.checkbox-label input { width: 20px; height: 20px; min-height: 0; flex: none; }
.quote-aside { position: sticky; top: 140px; padding: 22px; background: var(--sky); border: var(--line); border-radius: var(--radius); }
.quote-aside a { display: block; margin-top: 8px; font-weight: 700; }
#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: var(--line); border-radius: var(--radius); }
.ea-more-details summary { font-weight: 700; cursor: pointer; }
.success { padding: 26px; background: var(--mint); border: var(--line); border-radius: var(--radius); }
.emruth-contact-form > label { display: block; margin: 16px 0; font-weight: 600; }
.emruth-contact-form .fine { margin-top: 14px; }
.emruth-form-note { padding: 14px 18px; border: var(--line); border-radius: var(--radius); font-weight: 600; }
.emruth-form-note.is-success { background: var(--mint); }
.emruth-form-note.is-error { background: var(--blush); }

/* Policy pages */
.policy-hero { padding: clamp(34px, 5vw, 64px) var(--gutter); background: var(--paper); border-bottom: var(--line); }
.policy-hero .eyebrow { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; }
.policy-back { display: block; margin-bottom: 14px; font-size: .85rem; }
.policy-shell { max-width: 1320px; margin-inline: auto; padding: 28px var(--gutter) 60px; }
.policy-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.policy-tabs a { padding: 7px 13px; color: var(--ink); background: #fff; border: var(--line); border-radius: 3px; font-weight: 600; text-decoration: none; }
.policy-tabs a[aria-current="page"] { background: var(--ink); 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(--sky); border-radius: var(--radius); }
.policy-contact a { display: block; font-weight: 700; }
.policy-mobile-toc { display: none; }
.policy-document h2 { font-size: 2rem; margin-top: 1.4em; }

/* Shop grid: WooCommerce's own markup */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 !important; padding: 0; list-style: none; border-top: var(--line); border-left: var(--line); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { display: flex; flex-direction: column; width: auto !important; margin: 0 !important; float: none !important; padding: 0 0 14px !important; list-style: none; background: #fff; border-right: var(--line); border-bottom: var(--line); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; flex: 1; color: var(--ink); text-decoration: none; }
.woocommerce ul.products li.product img { display: block; width: 100%; margin: 0 0 12px !important; padding: 7%; aspect-ratio: 1; object-fit: contain; background: var(--tile); transition: background .18s ease; }
.woocommerce ul.products li.product:hover img { background: var(--sun); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0; padding: 0 14px !important; font-family: inherit; font-weight: 700; font-size: 1rem !important; line-height: 1.25; color: var(--ink); text-transform: none; }
.woocommerce ul.products li.product .price { display: block; margin: 0; padding: 4px 14px 0; color: var(--muted) !important; font-family: var(--mono); font-weight: 500; font-size: .84rem !important; }
.woocommerce ul.products li.product a.button { align-self: flex-start; min-height: 0; margin: 10px 14px 0 !important; padding: 0; background: none; color: var(--ink); border: 0; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce ul.products li.product a.button:hover { background: none; color: var(--violet); }
.ea-category-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.ea-category-nav a { padding: 6px 12px; color: var(--ink); background: #fff; border: var(--line); border-radius: 3px; font-weight: 600; font-size: .88rem; text-decoration: none; }
.ea-category-nav a:hover, .ea-category-nav a:focus-visible, .ea-category-nav a[aria-current] { background: var(--ink); color: #fff; }
.woocommerce-product-search { display: flex; gap: 6px; max-width: 460px; margin-bottom: 18px; }
.woocommerce-product-search button { padding: 0 18px; background: var(--ink); color: #fff; border: 0; border-radius: var(--radius); font-weight: 700; cursor: pointer; }
.woocommerce .woocommerce-ordering select { width: auto; }
.woocommerce .woocommerce-result-count { font-family: var(--mono); font-size: .8rem; }
.woocommerce nav.woocommerce-pagination { margin-top: 22px; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; gap: 4px; 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 13px !important; border: var(--line); border-radius: 3px; font-weight: 700; color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink) !important; color: #fff !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border: var(--line) !important; border-radius: var(--radius); background: #fff !important; color: var(--ink) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--violet) !important; }
.woocommerce-error { background: var(--blush) !important; }
.woocommerce table.shop_table { background: #fff; border: var(--line) !important; border-radius: var(--radius) !important; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-size: 2rem; }
#place_order { width: 100%; background: var(--sun); color: var(--ink); }
.woocommerce a.remove { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink) !important; font-size: 1.4rem; line-height: 1; }
.woocommerce a.remove:hover { background: var(--tomato); color: var(--ink) !important; }
.emruth-ship-unlocked { padding: 12px 16px; background: var(--mint); border: var(--line); border-radius: var(--radius); }

/* Design studio product picker */
.discovery-grid, .ea-picker-grid, .emruth-search-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: var(--line); border-left: var(--line); }
.ea-picker-card, .emruth-search-card { position: relative; background: #fff; border-right: var(--line); border-bottom: var(--line); overflow: hidden; }
.ea-picker-card > a:first-child { display: block; background: var(--tile); color: inherit; text-decoration: none; transition: background .18s ease; }
.ea-picker-card:hover > a:first-child { background: var(--sun); }
.ea-picker-card img, .emruth-search-card img { display: block; width: 100%; padding: 7%; aspect-ratio: 1; object-fit: contain; background: var(--tile); }
.ea-picker-card > a:first-child img { background: none; }
.ea-card-action { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; background: #fff; color: var(--ink); border: var(--line); border-radius: 50%; font-weight: 700; }
.ea-picker-card h2, .emruth-search-card h2 { margin: 12px 14px 4px; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.25; text-transform: none; color: var(--ink); }
.ea-picker-card span { display: block; margin: 0 14px 8px; font-family: var(--mono); font-size: .84rem; color: var(--muted); }
.ea-picker-card .ea-card-action { margin: 0; color: var(--ink); }
.ea-picker-details { display: block; margin: 0 14px 14px; font-size: .85rem; color: var(--ink); }
.emruth-search-card a { display: block; color: inherit; text-decoration: none; padding-bottom: 12px; }
.ea-picker-search { display: block; max-width: 460px; margin-bottom: 18px; font-weight: 600; }

/* Product page */
.section.emruth-product { max-width: none; padding: 0 !important; }
.emruth-product .woocommerce-notices-wrapper:empty { display: none; }
.emruth-product .product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; border-bottom: var(--line); }
.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: 118px; opacity: 1 !important; padding: clamp(16px, 4vw, 60px); background: var(--tile); }
.emruth-product .woocommerce-product-gallery img { display: block; width: 100%; height: auto; }
.emruth-product .ea-product-preview { display: block; width: 100%; height: auto; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.emruth-product .summary { padding: clamp(24px, 3.6vw, 52px) var(--gutter); border-left: var(--line); background: var(--paper); }
.emruth-product .product_title { font-size: clamp(2.8rem, 5vw, 4.75rem); }
.emruth-product .woocommerce-tabs, .emruth-product .related, .emruth-product .up-sells { grid-column: 1 / -1; padding: 28px var(--gutter); }
.ea-options { padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: var(--ink) !important; }
.ea-options label { align-self: start; font-weight: 700; }
.ea-options label:has(.em-sizes), .ea-options label:has([data-option="color"]) { grid-column: 1 / -1; }
.ea-options select { height: 46px; }
.ea-product-help { padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; }
.ea-control-heading { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: var(--ink) !important; }
.ea-quality-track { background: #fff !important; border: var(--line) !important; border-radius: var(--radius) !important; padding: 3px !important; box-shadow: none !important; }
.ea-quality-track button { border-radius: 3px !important; color: var(--ink) !important; background: none !important; box-shadow: none !important; }
.ea-quality-track button[aria-pressed="true"] { background: var(--ink) !important; color: #fff !important; }
.ea-audience button { background: #fff !important; border: var(--line) !important; color: var(--ink) !important; border-radius: var(--radius) !important; box-shadow: none !important; }
.ea-audience button[aria-pressed="true"], .ea-options .ea-audience button[aria-pressed="true"] { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.em-size-select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; overflow: hidden; opacity: 0; pointer-events: none; }
.em-sizes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; font-weight: 500; }
.em-sizes button { min-width: 48px; min-height: 44px; padding: 4px 10px; background: #fff; color: var(--ink); border: var(--line); border-radius: 3px; font-family: var(--mono); font-size: .9rem; cursor: pointer; }
.em-sizes button:hover { background: var(--sun); }
.em-sizes button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ea-selected-specs, .ea-quality-details, .ea-size-guide { background: #fff !important; border: var(--line) !important; border-radius: var(--radius) !important; box-shadow: none !important; }
.ea-selected-specs { padding: 14px 16px !important; }
.ea-quality-details, .ea-size-guide { padding: 12px 16px !important; }
.ea-quality-details summary, .ea-size-guide summary { font-weight: 700; cursor: pointer; }
.ea-selected-specs h3 { font-size: 1.05rem; }
.ea-production-panel { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
.ea-price-summary { background: var(--sun) !important; color: var(--ink) !important; border: var(--line) !important; border-radius: var(--radius) !important; box-shadow: none !important; }
.ea-price-summary span, .ea-price-summary small, .ea-price-summary strong { color: var(--ink) !important; }
.ea-price-summary strong { font-family: var(--display); font-weight: 900; font-size: 1.9rem; }
.ea-tier-prices button { background: #fff !important; color: var(--ink) !important; border: var(--line) !important; border-radius: 3px !important; box-shadow: none !important; font-family: var(--mono); }
.ea-tier-prices button[aria-pressed="true"] { background: var(--ink) !important; color: #fff !important; }
.ea-actions .button { flex: 1 1 200px; }
.ea-actions .button:first-child { background: var(--sun); color: var(--ink); }
.ea-actions .button:first-child:hover { background: var(--ink); color: #fff; }
.ea-actions .ea-button-outline { background: #fff; color: var(--ink); }
.ea-actions .ea-button-outline:hover { background: var(--ink); color: #fff; }
.ea-promises { margin: 18px 0 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-top: var(--line) !important; border-radius: 0 !important; color: var(--ink) !important; }
.ea-promises strong { display: block; padding-top: 10px; color: var(--ink); }
.ea-promises span { display: block; padding-bottom: 10px; font-size: .92rem; border-bottom: var(--soft-line); }
.emruth-sticky-buy { display: none; }

/* Checkout */
.emruth-checkout-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px var(--gutter); }
.emruth-secure { padding: 3px 10px; background: var(--mint); border: var(--line); border-radius: 3px; font-family: var(--mono); font-size: .74rem; }
.emruth-checkout-help { margin-left: auto; color: var(--ink); 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(2.8rem, 6vw, 4.75rem); }
.ea-checkout-intro a { font-weight: 700; }
.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 20px 10px; background: #fff; border: var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; font-size: 2rem; }
.emruth-checkout #order_review { grid-column: 2; grid-row: 3; float: none; width: auto; padding: 0 20px 20px; background: #fff; border: var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.emruth-checkout h3 { font-size: 2rem; font-family: var(--display); font-weight: 900; line-height: 1; text-transform: uppercase; margin-top: 8px; }
.emruth-checkout .form-row label { font-weight: 600; }
.emruth-checkout #payment { background: var(--paper) !important; border: var(--line); border-radius: var(--radius) !important; margin-top: 16px; }
.emruth-checkout #payment div.payment_box { background: #fff !important; color: var(--ink) !important; }
.emruth-checkout #payment div.payment_box::before { border-bottom-color: #fff !important; }
.emruth-checkout .select2-container--default .select2-selection--single { height: 46px; border: var(--line); border-radius: var(--radius); }
.emruth-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; }
.emruth-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.emruth-checkout .blockUI.blockOverlay { background: rgba(246, 244, 238, .6) !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: 6px; margin: 0 0 24px; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 9px 14px; color: var(--ink); background: #fff; border: var(--line); border-radius: 3px; font-weight: 600; text-decoration: none; }
.woocommerce-MyAccount-navigation a:hover { background: var(--sun); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }

/* Drop countdown */
.emruth-drop { padding: clamp(32px, 5vw, 60px) var(--gutter); background: var(--tomato); color: var(--ink); border-bottom: var(--line); }
.emruth-drop[hidden] { display: none; }
.emruth-drop-clock { display: flex; gap: 6px; margin: 18px 0 22px; }
.emruth-drop-clock div { min-width: clamp(64px, 14vw, 104px); padding: 10px 6px; text-align: center; background: var(--ink); color: #fff; border-radius: var(--radius); }
.emruth-drop-clock strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.emruth-drop-clock span { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; }

/* 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; animation: emruth-fall 1.5s ease-in forwards; }
@keyframes emruth-fall { to { transform: translateY(105vh) rotate(540deg); } }

/* Smaller laptops: the phone number gives way to the search box */
@media (max-width: 1180px) {
	.em-talk { display: none; }
	.emruth-header-tools { margin-left: auto; }
	.em-nav { overflow-x: auto; scrollbar-width: none; }
	.emruth-browse { position: static; }
	.woocommerce ul.products, .ea-picker-grid, .emruth-search-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.emruth-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones and small tablets */
@media (max-width: 900px) {
	:root { --util-h: 30px; }
	.admin-bar .emruth-site-header { top: calc(0px - var(--util-h)); }
	.em-util-links { display: none; }
	.em-util { justify-content: center; font-family: inherit; font-size: .7rem; letter-spacing: 0; }
	.em-bar { flex-wrap: wrap; gap: 8px; padding-block: 8px; }
	.emruth-logo img { width: 140px; }
	.em-tool, .ea-header-cart { width: 40px; }
	.emruth-header-tools { gap: 2px; }
	.em-tile span::after { content: none; }
	.em-search { display: none; order: 3; flex: 1 0 100%; max-width: none; }
	.em-search.is-open { display: flex; }
	.em-search-btn, .emruth-menu-btn { display: grid; }
	.em-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: 72dvh; overflow-y: auto; padding-bottom: 12px; }
	.em-nav.is-open { display: flex; }
	.em-nav > a, .emruth-browse > summary { padding: 12px 0; border-bottom: var(--soft-line); }
	.em-nav .em-nav-cta { margin: 12px 0 0; padding: 13px; text-align: center; }
	.em-groups-menu { position: static; width: 100%; border: 0; padding: 0 0 8px 8px; }
	.em-hero, .em-ticket, .em-ladder, .em-steps, .em-faq, .split-section, .quote-layout, .emruth-product .product, .emruth-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
	.em-hero-copy { border-right: 0; border-bottom: var(--line); }
	.em-tile { min-height: 42vw; }
	.em-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.em-facts li:nth-child(2) { border-right: 0; }
	.em-facts li:nth-child(-n + 2) { border-bottom: var(--soft-line); }
	.em-facts li { padding: 12px 16px; }
	.em-ticket-stub { border-left: 0; border-top: 2px dashed var(--ink); }
	.em-ticket-stub::before, .em-ticket-stub::after { display: none; }
	.em-product-grid, .woocommerce ul.products, .ea-picker-grid, .emruth-search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.em-product:nth-child(4n) { border-right: var(--line); }
	.em-product:nth-child(2n) { border-right: 0; }
	.em-product:nth-last-child(-n + 4) { border-bottom: var(--line); }
	.em-product:nth-last-child(-n + 2) { border-bottom: 0; }
	.em-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.em-group, .em-group:nth-child(3), .em-group:nth-child(n + 4) { border-right: var(--line); border-bottom: var(--line); }
	.em-group:nth-child(odd):not(.em-wide) { border-right: 0; }
	.em-group:last-child { border-bottom: 0; }
	.em-group { min-height: 150px; }
	.em-method-grid { grid-template-columns: minmax(0, 1fr); }
	.em-method-grid article { border-right: 0; border-bottom: var(--line); }
	.em-method-grid article:last-child { border-bottom: 0; }
	.em-steps-head { position: static; padding-bottom: 8px; }
	.em-steps-list, .em-faq-list { border-left: 0; border-top: var(--line); }
	.em-faq-head { padding-bottom: 20px; }
	.emruth-product .woocommerce-product-gallery, .quote-aside { position: static !important; }
	.emruth-product .summary { border-left: 0; border-top: var(--line); }
	.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-footer-top { grid-template-columns: 1fr 1fr; }
	.em-foot-brand { grid-column: 1 / -1; }
	.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(--line); font-weight: 800; }
	.emruth-sticky-buy.is-hidden { display: none; }
	.emruth-sticky-buy .button { min-height: 46px; }
}

/* The smallest phones: keep the logo and tools on one line */
@media (max-width: 360px) {
	.emruth-logo img { width: 118px; }
	.em-tool, .ea-header-cart { width: 36px; }
	.em-bar { gap: 6px; }
}

@media (max-width: 560px) {
	.emruth-grid-4, .form-grid { grid-template-columns: minmax(0, 1fr); }
	.em-hero .wp-block-button, .em-hero .wp-block-button__link { width: 100%; }
	.em-hero .wp-block-buttons { flex-direction: column; }
	.em-ladder-table th, .em-ladder-table td { padding: 8px 6px; font-size: .84rem; }
	.emruth-footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
