/*
Theme Name: EverPaw Block
Theme URI: https://everpawblock.com/
Author: EverPaw Block
Description: A quiet, editorial block theme for EverPaw Block pet portraits and keepsakes.
Version: 1.3.4
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: everpaw-block
*/

:root {
  --epb-ink: #17324D;
  --epb-text: #263238;
  --epb-canvas: #F7F3EC;
  --epb-surface: #FFFDF9;
  --epb-teal: #2F5D5B;
  --epb-sage: #8FA99B;
  --epb-terracotta: #C9785C;
  --epb-brass: #B99A6A;
  --epb-line: rgba(23, 50, 77, 0.14);
  --epb-shadow: 0 18px 50px rgba(23, 50, 77, 0.09);
  --epb-radius: 18px;
  --epb-wide: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }

html { scroll-behavior: smooth; }
body {
  background: var(--epb-canvas);
  color: var(--epb-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

h1, h2, h3, h4, .wp-block-site-title, .epb-display {
  color: var(--epb-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.45rem, 5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.15rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
p { margin-top: 0; }
a { color: var(--epb-teal); text-underline-offset: 0.18em; }
a:hover { color: var(--epb-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--epb-terracotta);
  outline-offset: 3px;
}

.epb-header {
  align-items: center;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--epb-line);
  display: flex;
  gap: 1.75rem;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(1rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 50;
}
.epb-brand {
  align-items: center;
  color: var(--epb-ink);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  gap: 0.55rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.epb-brand .wp-block-site-title { margin: 0; }
.epb-brand .wp-block-site-title a { color: var(--epb-ink); text-decoration: none; }
.epb-brand-mark { margin: 0 !important; }
.epb-brand-mark {
  align-items: center;
  background: var(--epb-teal);
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  font-family: Inter, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  letter-spacing: -0.08em;
  width: 30px;
}
.epb-nav { align-items: center; display: flex; gap: clamp(0.8rem, 2.2vw, 1.8rem); }
.epb-header-nav { gap: clamp(0.8rem, 2.2vw, 1.8rem); }
.epb-nav .wp-block-navigation__container { gap: clamp(0.8rem, 2.2vw, 1.8rem); }
.epb-nav a { color: var(--epb-ink); font-size: 0.92rem; text-decoration: none; }
.epb-nav .wp-block-navigation-item__content { color: var(--epb-ink); font-size: 0.92rem; text-decoration: none; }
.epb-nav a:hover { color: var(--epb-teal); }
.epb-nav .wp-block-navigation-item__content:hover { color: var(--epb-teal); }
.epb-nav-cta, .epb-button {
  background: var(--epb-teal);
  border: 1px solid var(--epb-teal);
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.35rem;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.epb-nav-cta .wp-block-button__link, .epb-button .wp-block-button__link { background: var(--epb-teal); border: 1px solid var(--epb-teal); border-radius: 999px; color: #fff !important; display: inline-flex; font: inherit; justify-content: center; min-height: 48px; padding: 0.72rem 1.35rem; text-decoration: none; }
.wp-block-button.epb-button, .wp-block-button.epb-nav-cta { background: transparent; border: 0; border-radius: 0; min-height: 0; padding: 0; }
.epb-nav-cta:hover, .epb-button:hover { background: var(--epb-ink); box-shadow: 0 8px 22px rgba(23, 50, 77, 0.16); color: #fff !important; transform: translateY(-1px); }
.wp-block-button.epb-button:hover, .wp-block-button.epb-nav-cta:hover { background: transparent; box-shadow: none; transform: none; }
.epb-nav-cta:hover .wp-block-button__link, .epb-button:hover .wp-block-button__link { background: var(--epb-ink); border-color: var(--epb-ink); }
.epb-button-secondary { background: transparent; border-color: var(--epb-ink); color: var(--epb-ink) !important; }
.epb-button-secondary .wp-block-button__link { background: transparent; border-color: var(--epb-ink); color: var(--epb-ink) !important; }
.epb-button-secondary:hover { background: var(--epb-ink); color: #fff !important; }
.epb-button-secondary:hover .wp-block-button__link { background: var(--epb-ink); color: #fff !important; }

.epb-home { overflow: hidden; }
.epb-section { margin: 0 auto; max-width: var(--epb-wide); padding: clamp(4.5rem, 9vw, 7.5rem) 1.25rem; }
.epb-hero { background: var(--epb-canvas); padding-bottom: 4.5rem; padding-top: clamp(4.5rem, 9vw, 8.2rem); }
.epb-hero-inner { align-items: center; display: grid; gap: clamp(2.5rem, 7vw, 6rem); grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr); margin: 0 auto; max-width: var(--epb-wide); padding: 0 1.25rem; }
.wp-block-columns.epb-hero-inner { display: grid; margin-bottom: 0; width: 100%; }
.epb-kicker { color: var(--epb-teal); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.15em; margin-bottom: 1.2rem; text-transform: uppercase; }
.epb-hero h1 { margin: 0 0 1.45rem; max-width: 680px; }
.epb-hero-copy { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 600px; }
.epb-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.epb-trust-line { color: #56636b; font-size: 0.88rem; margin-top: 1.2rem; }
.epb-art-stage { min-height: 420px; position: relative; }
.epb-art-card { background: var(--epb-surface); border: 1px solid rgba(23, 50, 77, 0.11); border-radius: 24px; box-shadow: var(--epb-shadow); min-height: 370px; overflow: hidden; position: absolute; width: min(82%, 390px); }
.epb-art-card-main { right: 0; top: 1.5rem; transform: rotate(2.4deg); }
.epb-art-card-side { bottom: 0; left: 0; min-height: 180px; transform: rotate(-5deg); width: 42%; z-index: 3; }
.epb-art-visual { align-items: center; background: radial-gradient(circle at 72% 22%, rgba(201, 120, 92, 0.42), transparent 28%), radial-gradient(circle at 21% 82%, rgba(143, 169, 155, 0.65), transparent 32%), linear-gradient(145deg, #e9dfd2, #cad3cc 55%, #9eafa8); display: flex; height: 290px; justify-content: center; overflow: hidden; position: relative; }
.wp-block-image.epb-art-visual { margin: 0; }
.epb-art-visual img { display: block; height: 100%; object-fit: cover; position: relative; width: 100%; z-index: 1; }
.epb-art-card-side .epb-art-visual { background: linear-gradient(135deg, #d8c3ad, #829e99); height: 115px; }
.epb-art-visual::before { background: rgba(255, 253, 249, 0.46); border-radius: 50%; content: ""; height: 210px; position: absolute; right: -35px; top: -55px; width: 210px; }
.epb-pet-mark { background: var(--epb-ink); border-radius: 48% 48% 44% 44%; height: 145px; position: relative; width: 145px; z-index: 2; }
.epb-pet-mark::before, .epb-pet-mark::after { background: var(--epb-ink); content: ""; height: 72px; position: absolute; top: -28px; width: 64px; z-index: -1; }
.epb-pet-mark::before { border-radius: 16px 48px 8px 48px; left: 3px; transform: rotate(-26deg); }
.epb-pet-mark::after { border-radius: 48px 16px 48px 8px; right: 3px; transform: rotate(26deg); }
.epb-pet-mark span, .epb-pet-mark span::before { background: var(--epb-canvas); border-radius: 50%; content: ""; height: 13px; position: absolute; top: 56px; width: 13px; }
.epb-pet-mark span { left: 38px; }
.epb-pet-mark span::before { left: 57px; top: 0; }
.epb-art-card-side .epb-pet-mark { height: 68px; width: 68px; }
.epb-art-card-side .epb-pet-mark::before, .epb-art-card-side .epb-pet-mark::after { height: 34px; top: -13px; width: 31px; }
.epb-art-card-side .epb-pet-mark span, .epb-art-card-side .epb-pet-mark span::before { height: 7px; top: 26px; width: 7px; }
.epb-art-card-side .epb-pet-mark span { left: 18px; }
.epb-art-card-side .epb-pet-mark span::before { left: 27px; }
.epb-art-meta { align-items: baseline; display: flex; justify-content: space-between; padding: 1rem 1.1rem 1.15rem; }
.epb-art-meta p { margin: 0; }
.epb-art-meta strong { color: var(--epb-ink); font-family: Georgia, serif; font-size: 1.06rem; }
.epb-art-meta small { color: #69757a; font-size: 0.75rem; }
.epb-side-label { color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; padding: 0.7rem 0.85rem; position: absolute; right: 0.2rem; text-transform: uppercase; top: 0.4rem; z-index: 4; }

.epb-proof-bar { background: var(--epb-ink); color: #fff; }
.epb-proof-inner { align-items: center; display: flex; gap: 1rem; justify-content: space-between; margin: 0 auto; max-width: var(--epb-wide); padding: 1.05rem 1.25rem; }
.epb-proof-inner p { margin: 0; }
.epb-proof-inner p:first-child { color: #fff; font-family: Georgia, serif; font-size: 1.2rem; font-weight: 600; }
.epb-proof-inner p:last-child { color: rgba(255,255,255,0.78); font-size: 0.9rem; }
.epb-proof-inner strong { font-family: Georgia, serif; font-size: 1.2rem; font-weight: 600; }
.epb-proof-inner span { color: rgba(255,255,255,0.78); font-size: 0.9rem; }

.epb-section-heading { margin-bottom: 2.6rem; max-width: 700px; }
.epb-section-heading h2 { margin: 0 0 0.75rem; }
.epb-section-heading p { color: #5d696e; margin-bottom: 0; }
.epb-split { align-items: end; display: flex; gap: 2rem; justify-content: space-between; }
.epb-split .epb-section-heading { margin-bottom: 0; }
.epb-split-link { font-weight: 700; white-space: nowrap; }

.epb-scenario-grid, .epb-product-grid, .epb-process-grid, .epb-style-grid { display: grid; gap: 1rem; }
.wp-block-columns.epb-scenario-grid, .wp-block-columns.epb-product-grid, .wp-block-columns.epb-process-grid, .wp-block-columns.epb-gallery-grid, .wp-block-columns.epb-footer-inner { display: grid; gap: 1rem; margin-bottom: 0; }
.epb-scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.epb-scenario { background: var(--epb-surface); border: 1px solid var(--epb-line); border-radius: var(--epb-radius); min-height: 230px; padding: clamp(1.5rem, 4vw, 2.6rem); position: relative; }
.epb-scenario:nth-child(2) { background: #e8efea; }
.epb-scenario h3 { margin: 0.2rem 0 0.65rem; }
.epb-scenario p { color: #5d696e; max-width: 420px; }
.epb-scenario > p:last-child { bottom: 1.7rem; margin: 0; position: absolute; }
.epb-scenario a { font-weight: 700; }
.epb-scenario .epb-number { color: var(--epb-terracotta); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.15em; }

.epb-process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.epb-process { border-top: 2px solid var(--epb-ink); padding-top: 1.25rem; }
.epb-process-number { color: var(--epb-terracotta); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; }
.epb-process h3 { font-family: Georgia, serif; font-size: 1.35rem; margin: 0.7rem 0 0.45rem; }
.epb-process p { color: #5d696e; font-size: 0.95rem; }

.epb-gallery-section { background: var(--epb-ink); color: #fff; }
.epb-gallery-section h2 { color: #fff; }
.epb-gallery-section .epb-section-heading p { color: rgba(255,255,255,0.72); }
.epb-gallery-grid { display: grid; gap: 1rem; grid-template-columns: 1.2fr 0.8fr 0.8fr; }
.epb-gallery-card { background: #304a5e; border-radius: var(--epb-radius); min-height: 260px; overflow: hidden; position: relative; }
.epb-gallery-card:nth-child(2) { background: #b2c5bc; }
.epb-gallery-card:nth-child(3) { background: #d9b2a0; }
.epb-gallery-card::after { background: linear-gradient(180deg, rgba(23, 50, 77, 0.02) 38%, rgba(23, 50, 77, 0.78) 100%); content: ""; inset: 0; pointer-events: none; position: absolute; z-index: 1; }
.epb-gallery-image { display: block; height: 100%; inset: 0; object-fit: cover; position: absolute; transition: transform 0.45s ease; width: 100%; }
.wp-block-image.epb-gallery-image { margin: 0; }
.epb-gallery-card:hover .epb-gallery-image { transform: scale(1.035); }
.epb-gallery-card .epb-pet-mark { bottom: 2.3rem; height: 120px; position: absolute; right: 2rem; transform: scale(0.92); width: 120px; }
.epb-gallery-card:nth-child(2) .epb-pet-mark { background: #284b4b; }
.epb-gallery-card:nth-child(2) .epb-pet-mark::before, .epb-gallery-card:nth-child(2) .epb-pet-mark::after { background: #284b4b; }
.epb-gallery-card:nth-child(3) .epb-pet-mark { background: #3c3c48; }
.epb-gallery-card:nth-child(3) .epb-pet-mark::before, .epb-gallery-card:nth-child(3) .epb-pet-mark::after { background: #3c3c48; }
.epb-gallery-caption { bottom: 1.15rem; color: #fff; left: 1.25rem; position: absolute; }
.epb-gallery-caption { z-index: 2; }
.epb-gallery-caption p { margin: 0; }
.epb-gallery-caption p:first-child { font-family: Georgia, serif; font-size: 1.2rem; }
.epb-gallery-caption p:last-child { color: rgba(255,255,255,0.72); font-size: 0.8rem; }
.epb-gallery-caption strong { display: block; font-family: Georgia, serif; font-size: 1.2rem; }
.epb-gallery-caption span { color: rgba(255,255,255,0.72); font-size: 0.8rem; }

.epb-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.epb-product-card { background: var(--epb-surface); border: 1px solid var(--epb-line); border-radius: var(--epb-radius); display: flex; flex-direction: column; overflow: hidden; }
.epb-product-art { align-items: center; background: linear-gradient(145deg, #e9dfd2, #c3d0c8); display: flex; min-height: 220px; justify-content: center; position: relative; }
.epb-product-art { overflow: hidden; }
.epb-product-art img { display: block; height: 240px; object-fit: cover; width: 100%; }
.wp-block-image.epb-product-art { margin: 0; }
.epb-product-card:nth-child(2) .epb-product-art { background: linear-gradient(145deg, #304a5e, #91aaa2); }
.epb-product-card:nth-child(2) .epb-pet-mark { background: #fffaf1; }
.epb-product-card:nth-child(2) .epb-pet-mark::before, .epb-product-card:nth-child(2) .epb-pet-mark::after { background: #fffaf1; }
.epb-product-content { padding: 1.5rem; }
.epb-product-content > * { margin-left: 0; margin-right: 0; }
.epb-product-content h3 { margin: 0 0 0.35rem; }
.epb-price { color: var(--epb-teal); font-size: 1.45rem; font-weight: 800; }
.epb-product-content p { color: #5d696e; font-size: 0.95rem; }
.epb-product-content .epb-button { align-self: flex-start; margin-top: 0.8rem; }
.epb-product-content .wp-block-buttons { margin-top: 0.8rem; }

.epb-note { background: #e8efea; border-left: 4px solid var(--epb-teal); border-radius: 0 var(--epb-radius) var(--epb-radius) 0; padding: 1.2rem 1.4rem; }
.epb-note p { margin: 0; }
.epb-note p:first-child { color: var(--epb-ink); font-family: Georgia, serif; font-size: 1.2rem; }
.epb-note p:last-child { color: #53635f; font-size: 0.93rem; margin-top: 0.3rem; }
.epb-intake-wrap { background: var(--epb-surface); border: 1px solid var(--epb-line); border-radius: var(--epb-radius); box-shadow: var(--epb-shadow); margin: 1.5rem 0 2rem; padding: clamp(1.2rem, 4vw, 2rem); }
.epb-intake-form p { margin-bottom: 1rem; }
.epb-intake-form label { color: var(--epb-ink); display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.35rem; }
.epb-intake-form input[type="text"], .epb-intake-form input[type="email"], .epb-intake-form input[type="file"], .epb-intake-form textarea { background: #fff; border: 1px solid rgba(23,50,77,0.24); border-radius: 10px; color: var(--epb-text); font: inherit; max-width: 100%; padding: 0.7rem 0.8rem; width: 100%; }
.epb-intake-form input[type="file"] { padding: 0.55rem; }
.epb-intake-form textarea { min-height: 130px; resize: vertical; }
.epb-intake-form small, .epb-intake-footnote { color: #647178; display: block; font-size: 0.82rem; margin-top: 0.35rem; }
.epb-intake-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.epb-intake-consent label { align-items: flex-start; display: flex; font-size: 0.82rem; font-weight: 500; gap: 0.5rem; }
.epb-intake-consent input { flex: 0 0 auto; margin-top: 0.35rem; }
.epb-intake-submit { background: var(--epb-teal); border: 1px solid var(--epb-teal); border-radius: 999px; color: #fff; cursor: pointer; font: inherit; font-weight: 700; padding: 0.75rem 1.2rem; }
.epb-intake-submit:hover { background: var(--epb-ink); border-color: var(--epb-ink); }
.epb-intake-honeypot { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 1px; }
.epb-intake-notice { border-radius: 12px; display: grid; gap: 0.25rem; margin-bottom: 1rem; padding: 1rem 1.1rem; }
.epb-intake-notice span { font-size: 0.9rem; }
.epb-intake-success { background: #e8efea; border-left: 4px solid var(--epb-teal); }
.epb-intake-error { background: #f8e9e4; border-left: 4px solid var(--epb-terracotta); }

.epb-footer { background: #10263a; color: rgba(255,255,255,0.76); padding: 4rem clamp(1rem, 4vw, 3rem) 2rem; }
.epb-footer-inner { display: grid; gap: 2.5rem; grid-template-columns: 1.5fr repeat(2, 1fr); margin: 0 auto; max-width: var(--epb-wide); }
.epb-footer .epb-brand { color: #fff; }
.epb-footer .epb-brand .wp-block-site-title a { color: var(--epb-canvas); }
.epb-footer .epb-brand .wp-block-site-title a:hover { color: #fff; }
.epb-footer .epb-brand-mark { background: #D9E8D8; box-shadow: 0 0 0 3px rgba(217,232,216,0.12); color: #10263a; }
.epb-footer h3 { color: #fff; font-family: Inter, sans-serif; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.epb-footer a { color: rgba(255,255,255,0.76); display: block; font-size: 0.9rem; margin: 0.4rem 0; text-decoration: none; }
.epb-footer .wp-block-navigation__container { align-items: flex-start; display: flex; flex-direction: column; gap: 0.15rem; }
.epb-footer .wp-block-navigation-item__content { color: rgba(255,255,255,0.76); font-size: 0.9rem; text-decoration: none; }
.epb-footer .wp-block-navigation-item__content:hover { color: #fff; }
.epb-footer a:hover { color: #fff; }
.epb-footer p { font-size: 0.9rem; max-width: 310px; }
.epb-footer-bottom { border-top: 1px solid rgba(255,255,255,0.16); font-size: 0.8rem; margin: 3rem auto 0; max-width: var(--epb-wide); padding-top: 1rem; }
.epb-footer-bottom { color: rgba(255,255,255,0.76); }
.epb-footer-bottom p { margin: 0; }

.epb-content-shell { margin: 0 auto; max-width: 760px; padding: clamp(4rem, 8vw, 7rem) 1.25rem; }
.epb-content-shell > h1 { margin-top: 0; }
.epb-content-shell > .epb-kicker { margin-bottom: 1rem; }
.epb-lead { color: #4f5e65; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; margin-bottom: 3rem; max-width: 680px; }
.epb-content-shell h2 { margin: 3rem 0 0.9rem; }
.epb-content-shell h3 { margin: 0 0 0.6rem; }
.epb-content-shell ul, .epb-content-shell ol { padding-left: 1.25rem; }
.epb-content-shell li { margin: 0.65rem 0; }
.epb-detail-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.5rem 0 2rem; }
.wp-block-columns.epb-detail-grid { display: grid; gap: 1rem; margin-bottom: 2rem; }
.epb-detail-card { background: var(--epb-surface); border: 1px solid var(--epb-line); border-radius: var(--epb-radius); padding: 1.5rem; }
.epb-detail-card p { color: #5d696e; font-size: 0.95rem; margin-bottom: 0; }
.epb-detail-card .epb-process-number { margin-bottom: 0.65rem; }
.wp-block-image.epb-content-image { margin: 2rem 0 3rem; }
.epb-content-image img { border-radius: var(--epb-radius); display: block; height: auto; max-height: 520px; object-fit: cover; width: 100%; }
.wp-block-columns.epb-content-image-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2rem 0 3rem; }
.epb-content-image-grid .wp-block-column { min-width: 0; }
.wp-block-image.epb-content-figure { margin: 0; }
.epb-content-figure img { aspect-ratio: 4 / 3; border-radius: var(--epb-radius); display: block; height: auto; object-fit: cover; width: 100%; }
.epb-content-figure figcaption { color: #5d696e; font-size: 0.85rem; margin-top: 0.6rem; }
.epb-shop-shell { background: var(--epb-canvas); padding: clamp(4rem, 8vw, 7rem) 1.25rem; }
.epb-shop-intro, .epb-shop-results { margin: 0 auto; max-width: var(--epb-wide); }
.epb-shop-intro .wp-block-query-title { color: var(--epb-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.45rem, 5vw, 4.6rem); line-height: 1.08; margin: 0 0 1.4rem; }
.epb-shop-intro .epb-lead { margin-bottom: 2rem; }
.epb-shop-results { margin-top: 3rem; }
.epb-shop-toolbar { align-items: center; display: flex; justify-content: space-between; margin-bottom: 1rem; }
.epb-shop-results .wp-block-woocommerce-product-collection { margin-top: 1rem; }
.epb-shop-results .wc-block-components-product-image img, .epb-shop-results .wc-block-grid__product-image img { border-radius: var(--epb-radius); }
.epb-coming-soon { max-width: var(--epb-wide); padding-bottom: clamp(4.5rem, 8vw, 7rem); padding-top: clamp(4.5rem, 8vw, 7rem); }
.epb-coming-soon-intro { margin: 0 auto; max-width: 820px; }
.epb-coming-soon-intro h1 { margin: 0 0 1.35rem; }
.epb-coming-soon-feature { align-items: center; display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); margin: 3.5rem 0 2.5rem; }
.wp-block-columns.epb-coming-soon-feature > .wp-block-column { min-width: 0; width: auto; }
.epb-coming-soon-feature .wp-block-image { margin: 0; }
.epb-coming-soon-feature .epb-content-image img { max-height: 560px; object-fit: cover; }
.epb-coming-soon-copy h2 { margin: 0 0 0.85rem; }
.epb-coming-soon-copy .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.epb-coming-soon-copy .wp-block-button__link { border-radius: 999px; padding: 0.7rem 1.15rem; }
.epb-coming-soon-copy .is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--epb-ink); color: var(--epb-ink); }
.epb-coming-soon-copy .is-style-outline .wp-block-button__link:hover { background: var(--epb-ink); color: #fff; }
.epb-coming-soon .epb-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.5rem; }
.epb-coming-soon .epb-detail-card { min-height: 190px; }
.epb-content-shell img { border-radius: var(--epb-radius); height: auto; max-width: 100%; }
.epb-content-shell table { border-collapse: collapse; width: 100%; }
.epb-content-shell th, .epb-content-shell td { border-bottom: 1px solid var(--epb-line); padding: 0.8rem; text-align: left; }
.epb-content-shell th { background: var(--epb-ink); color: #fff; }

/* WooCommerce and form polish, kept intentionally lightweight. */
.woocommerce-page .site-main, .woocommerce-page .wp-site-blocks { background: var(--epb-canvas); }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button { background: var(--epb-teal); border-radius: 999px; color: #fff; font-weight: 700; min-height: 46px; padding: 0.7rem 1.2rem; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button:hover { background: var(--epb-ink); color: #fff; }
.woocommerce ul.products li.product, .woocommerce div.product, .woocommerce-cart-form, .woocommerce-checkout-review-order, .woocommerce form.checkout_coupon, .woocommerce form.login { background: var(--epb-surface); border: 1px solid var(--epb-line); border-radius: var(--epb-radius); padding: 1.25rem; }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .woocommerce form .form-row input.input-text { background: #fff; border: 1px solid rgba(23,50,77,0.25); border-radius: 10px; min-height: 46px; padding: 0.65rem 0.75rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 12px; }

@media (max-width: 900px) {
  .epb-nav { gap: 0.75rem; }
  .epb-nav a:not(.epb-nav-cta) { display: none; }
  .epb-hero-inner { grid-template-columns: 1fr; }
  .epb-art-stage { min-height: 390px; max-width: 520px; width: 100%; }
  .epb-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .epb-gallery-grid { grid-template-columns: 1fr 1fr; }
  .epb-gallery-card:first-child { grid-column: 1 / -1; }
  .epb-footer-inner { grid-template-columns: 1.3fr 1fr 1fr; }
  .epb-hero-inner > .wp-block-column { min-width: 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .epb-header { min-height: 64px; padding: 0 1rem; }
  .epb-brand { font-size: 1.13rem; }
  .epb-header .epb-header-actions { display: none !important; }
  .epb-nav-cta { min-height: 42px; padding: 0.55rem 0.9rem; }
  .epb-hero { padding-top: 4rem; }
  .epb-hero-inner { padding: 0 1rem; }
  .epb-hero-inner > .wp-block-column { min-width: 0; width: 100%; }
  .epb-hero h1, .epb-hero-copy { overflow-wrap: anywhere; }
  .epb-art-stage { min-height: 330px; }
  .epb-art-card { min-height: 290px; width: 84%; }
  .epb-art-visual { height: 220px; }
  .epb-art-card-side { min-height: 145px; width: 44%; }
  .epb-art-card-side .epb-art-visual { height: 85px; }
  .epb-proof-inner { align-items: flex-start; flex-direction: column; padding: 1rem; }
  .epb-scenario-grid, .epb-product-grid, .epb-process-grid, .epb-gallery-grid { grid-template-columns: 1fr; }
  .epb-gallery-card:first-child { grid-column: auto; }
  .epb-gallery-card { min-height: 220px; }
  .epb-split { align-items: flex-start; flex-direction: column; }
  .epb-footer-inner { grid-template-columns: 1fr 1fr; }
  .epb-footer-inner > div:first-child { grid-column: 1 / -1; }
  .epb-detail-grid { grid-template-columns: 1fr; }
  .epb-coming-soon-feature { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .epb-coming-soon .epb-detail-grid { grid-template-columns: 1fr; }
  .epb-intake-grid { grid-template-columns: 1fr; }
  .wp-block-columns.epb-content-image-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
