/* Whisker & Keepsake storefront. Design system from the Website Mockup Machine team pick
   (job 10fae4ff0c52, Nova + 7 agreed amendments), adapted to the real store's pages. */

:root {
  --paper: #f7f5ed; --ink: #292a25; --muted: #62645c; --yellow: #edf583; --lilac: #d5c4fb; --pink: #f4bfae;
  --line: #292a2526; --white: #fffef9; --radius: 26px; --focus: #6545ad; --good: #405729; --bad: #a42e36;
}
@supports (color: oklch(90% .1 100)) { :root { --yellow: oklch(94% .135 112); --lilac: oklch(85% .08 300); } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 "DM Sans", system-ui, sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .5; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
main:focus-visible { outline-offset: -3px; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Manrope, sans-serif; line-height: 1.08; letter-spacing: -.055em; }
h1 { font-size: clamp(48px, 5.7vw, 82px); font-weight: 600; }
h2 { font-size: clamp(35px, 4vw, 55px); font-weight: 600; }
h3 { font-size: 23px; letter-spacing: -.035em; }
[hidden] { display: none !important; }
code { font-size: .9em; }

.wrap { width: min(1280px, calc(100% - 80px)); margin: auto; }
.narrow { max-width: 620px; margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.skip { position: fixed; top: -100px; left: 10px; background: var(--ink); color: #fff; padding: 10px; z-index: 100; }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.checker {
  background-color: #eee9de;
  background-image: conic-gradient(#f7f4ec 25%, transparent 0 50%, #f7f4ec 0 75%, transparent 0);
  background-size: 24px 24px;
}

/* --- Header & footer --- */
.announcement { background: var(--ink); color: var(--paper); text-align: center; font-size: 11px; letter-spacing: .08em; padding: 9px 16px; }
.announcement span { color: var(--yellow); }
header { border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.header-inner { height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -1px; line-height: 1.05; }
.logo svg { width: 38px; height: 42px; flex-shrink: 0; }
.logo small { font-size: 14px; letter-spacing: -.4px; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { font-size: 13px; font-weight: 600; position: relative; }
.nav a::after { content: ""; position: absolute; bottom: -7px; left: 0; width: 0; height: 2px; background: var(--ink); transition: width .2s; }
.nav a:hover::after, .nav a[aria-current=page]::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.footer { border-top: 1px solid var(--line); padding: 31px 0; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer .logo { font-size: 16px; }
.footer p { font-size: 11px; color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 20px; font-size: 12px; white-space: nowrap; }

/* --- Buttons & small bits --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--ink); border-radius: 99px;
  padding: 14px 23px; background: var(--ink); color: var(--white); font-weight: 600; font-size: 14px; min-height: 48px;
  transition: transform .2s, box-shadow .2s; text-align: center;
}
.btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 5px 0 #292a2517; }
.btn.light, .btn-ghost { background: transparent; color: var(--ink); }
.btn.yellow { background: var(--yellow); color: var(--ink); border-color: transparent; }
.btn.small, .btn-small { padding: 10px 17px; min-height: 40px; font-size: 12px; }
.btn.full { width: 100%; }
.arrow { font-size: 21px; line-height: 1; }
.eyebrow { display: flex; align-items: center; gap: 9px; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .13em; font-family: "DM Sans", sans-serif; }
.dot { width: 7px; height: 7px; background: #647042; border-radius: 50%; flex-shrink: 0; }
.text-link { border-bottom: 1px solid var(--ink); padding-bottom: 3px; font-size: 13px; font-weight: 600; }
.bare-btn { background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; padding: 9px 0; min-height: 44px; font-size: 12px; display: inline-flex; align-items: center; }
.disclosure { font-size: 11px; color: var(--muted); line-height: 1.65; }
.error { font-size: 12px; color: var(--bad); margin-top: 7px; overflow-wrap: anywhere; }
.good { color: var(--good); font-weight: 600; }
.bad { color: var(--bad); font-weight: 600; }
.pill { display: inline-block; padding: 4px 11px; border-radius: 99px; background: #ebe8dd; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pill.ok { background: #e4ebd2; color: var(--good); }
.pill.warn { background: #f8e7c4; color: #7a5200; }
.spinner { width: 16px; height: 16px; border: 2px solid #292a2530; border-top-color: var(--ink); border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Hero --- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 35px; align-items: center; min-height: 674px; padding-top: 42px; padding-bottom: 50px; }
.hero h1 { margin: 0 0 22px; }
.hero-kicker { margin-bottom: 26px; line-height: 1.4; }
.hero-title { display: block; }
.special { position: relative; display: inline-block; z-index: 0; }
.special::before { content: ""; position: absolute; background: var(--yellow); inset: 47% -7px 1px; z-index: -1; transform: rotate(-2deg); border-radius: 50% 12% 30% 12%; }
.hero-description { max-width: 400px; font-size: 16px; color: var(--muted); line-height: 1.75; }
.hero-ctas { display: flex; gap: 22px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.social-proof { display: flex; align-items: center; gap: 12px; margin-top: 35px; font-size: 11px; }
.avatars { display: flex; padding-left: 4px; }
.avatar { width: 34px; height: 34px; margin-left: -6px; border: 2px solid var(--paper); border-radius: 50%; object-fit: cover; background: #e3d4bc; }
.stars { letter-spacing: 2px; font-size: 11px; display: block; }
/* Hero: a phone tells the story (photo -> before/after cutout -> products). */
.hero-story { position: relative; isolation: isolate; height: 555px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 30px; align-items: center; }
.hero-story::before {
  content: ""; position: absolute; inset: 22px -10px 8px; z-index: -1; border-radius: 50%; filter: blur(10px);
  background: radial-gradient(ellipse at 25% 35%, #dcc8fcaa, transparent 58%), radial-gradient(ellipse at 78% 62%, #edf583ab, transparent 55%);
}
.story-phone { width: 250px; height: 520px; border-radius: 44px; background: var(--ink); padding: 10px; box-shadow: 0 30px 60px #292a2530, inset 0 0 0 2px #ffffff14; transform: rotate(-2.5deg); position: relative; }
.story-phone::before { content: ""; position: absolute; top: 19px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 99px; background: #000; z-index: 3; }
.story-screen { height: 100%; border-radius: 34px; background: var(--paper); padding: 46px 12px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.story-app { display: flex; align-items: center; justify-content: center; gap: 6px; font: 700 11px Manrope, sans-serif; letter-spacing: -.01em; }
.story-app svg { width: 14px; height: 16px; }
.story-photo { position: relative; flex: 1; min-height: 0; border-radius: 20px; overflow: hidden; background: #cfd9b8; }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* Layers: photo, whole-pet cutout (wiped in from the right by --x), face-only cutout (by --y). */
.story-after, .story-face { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x, 100%)); background-color: var(--lilac);
  background-image: conic-gradient(#ffffff5c 25%, transparent 0 50%, #ffffff5c 0 75%, transparent 0); background-size: 20px 20px; }
.story-face { clip-path: inset(0 0 0 var(--y, 100%)); background-color: #c9b5f5; }
.story-after img, .story-face img { filter: drop-shadow(0 12px 14px #292a2530); }
.story-line { position: absolute; top: 0; bottom: 0; left: var(--k, 100%); width: 3px; margin-left: -1.5px; background: var(--white); opacity: 0; transition: opacity .2s; }
.story-knob { position: absolute; top: 50%; left: var(--k, 100%); opacity: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; font: 700 14px Manrope, sans-serif; box-shadow: 0 4px 14px #292a2533; transition: opacity .2s; }
.story-photo.sweeping .story-line, .story-photo.sweeping .story-knob { opacity: 1; }
.story-label { position: absolute; top: 10px; padding: 4px 9px; border-radius: 99px; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: opacity .25s; opacity: 0; }
.story-label.before { left: 10px; background: var(--white); }
.story-label.after { right: 10px; background: var(--ink); color: var(--paper); }
.story-label.face { right: 10px; background: #6545ad; color: #fff; }
.story-photo.show-before .before, .story-photo.show-after .after, .story-photo.show-face .face { opacity: 1; }
/* The Face only / Whole pet toggle: a sliding highlight, tapped in step 3. */
.story-seg { position: relative; display: flex; padding: 3px; border-radius: 99px; background: #ebe8dd; font-size: 10px; font-weight: 600; }
.story-seg::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 99px; background: var(--white);
  box-shadow: 0 1px 4px #0000000f; transform: translateX(100%); transition: transform .45s cubic-bezier(.3, 1.35, .5, 1), box-shadow .3s; }
.story-seg[data-crop="face"]::before { transform: none; box-shadow: 0 0 0 2px #6545ad66, 0 2px 8px #6545ad33; }
.story-seg span { position: relative; z-index: 1; flex: 1; text-align: center; padding: 5px 0; color: var(--muted); transition: color .3s; }
.story-seg[data-crop="body"] span:last-of-type, .story-seg[data-crop="face"] span:first-of-type { color: var(--ink); }
.story-seg .story-tap { left: 25%; }
.story-button { position: relative; background: var(--ink); color: var(--paper); border-radius: 99px; padding: 11px; text-align: center; font-size: 12px; font-weight: 600; }
.story-tap { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: #ffffffbb; opacity: 0; }
.hero-story[data-step="0"] .story-button .story-tap { animation: story-tap 1.1s .9s ease-out; }
.hero-story[data-step="2"] .story-seg .story-tap { animation: story-tap 1s .15s ease-out; }
@keyframes story-tap { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(3.2); } }
.story-side { position: relative; display: grid; gap: 16px; }
.story-out { position: relative; display: block; height: 300px; border-radius: 30px; background-color: var(--lilac); overflow: hidden; transition: background-color .6s ease; box-shadow: 0 16px 40px #292a2512; }
.story-out::before { content: ""; position: absolute; inset: 10% 14% 22%; border-radius: 50%; background: #ffffff70; filter: blur(28px); }
.story-out img { position: absolute; left: 16%; top: 6%; width: 68%; height: 70%; object-fit: contain; opacity: 0; transform: translateX(-70px) scale(.6) rotate(-8deg);
  transition: opacity .4s, transform .7s cubic-bezier(.2, .9, .25, 1.25); filter: drop-shadow(0 16px 18px #292a2526); }
.story-out img.on { opacity: 1; transform: none; }
.story-wait { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #292a2588; transition: opacity .3s; }
.story-card { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 18px; padding: 10px 16px;
  box-shadow: 0 10px 26px #292a251a; transition: opacity .3s, transform .4s; }
.story-card b { display: block; font: 700 15px/1.2 Manrope, sans-serif; letter-spacing: -.02em; }
.story-card small { color: var(--muted); font-size: 12px; }
.story-card strong { margin-left: auto; font: 700 17px Manrope, sans-serif; }
.hero-story:not(.landed) .story-card { opacity: 0; transform: translateY(10px); }
.hero-story.landed .story-wait { opacity: 0; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.story-steps button { position: relative; overflow: hidden; width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; text-align: left;
  border: 0; background: none; padding: 8px 12px; border-radius: 14px; color: var(--muted); font-size: 14px; }
.story-steps button span { font: 800 12px Manrope, sans-serif; letter-spacing: .06em; }
.story-steps button.on { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: 0 4px 14px #292a2512; }
.story-steps button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #6545ad; }
.story-steps button.on i { animation: story-progress var(--dur, 2s) linear forwards; }
@keyframes story-progress { to { width: 100%; } }
.story-tag {
  position: absolute; top: -34px; right: -8px; z-index: 2; width: 100px; height: 100px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--yellow); border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 11px; line-height: 1.35; transform: rotate(11deg);
}
.story-tag span { font-size: 24px; line-height: 1; }
.benefits { border-block: 1px solid var(--line); display: flex; justify-content: space-between; gap: 22px; padding: 21px 0; font-size: 12px; }
.benefits span { display: flex; gap: 10px; align-items: center; }
.benefits b { font-size: 19px; font-weight: 400; }

/* --- Sections & products --- */
.section { padding: 82px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head .eyebrow { margin-bottom: 16px; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { min-width: 0; }
.product-art { height: 330px; border-radius: var(--radius); position: relative; overflow: hidden; display: block; border: 1px solid #292a2509; }
.product-art > img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .4s; }
.product-art.is-photo > img { mix-blend-mode: normal; }
a.product-art:hover > img { transform: rotate(-3deg) scale(1.05); }
.badge { position: absolute; top: 17px; left: 17px; border-radius: 20px; padding: 5px 10px; background: #fffef9ef; font-size: 9px; font-weight: 700; letter-spacing: .05em; z-index: 1; }
.round-arrow { position: absolute; bottom: 17px; right: 17px; border-radius: 50%; width: 38px; height: 38px; background: #fffef9e8; display: grid; place-items: center; font-size: 21px; }
a.product-art:hover .round-arrow { background: var(--yellow); }
.product-info { display: flex; justify-content: space-between; gap: 14px; margin: 17px 3px 0; }
.product-info h3 { font-size: 17px; letter-spacing: -.025em; }
.product-info p { font-size: 11px; color: var(--muted); margin-top: 5px; }
.product-info strong { font-size: 13px; font-weight: 500; white-space: nowrap; }

.how-panel { background: var(--ink); color: var(--paper); border-radius: 34px; padding: 50px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; scroll-margin-top: 24px; }
.how-panel h2 { margin-top: 20px; }
.how-panel h2 em { font-style: normal; color: var(--yellow); }
.how-panel .btn { margin-top: 30px; }
.how-steps { display: grid; gap: 25px; }
.how-step { display: grid; grid-template-columns: 37px minmax(0, 1fr); gap: 18px; padding-bottom: 24px; border-bottom: 1px solid #ffffff25; }
.how-step:last-child { border: 0; padding: 0; }
.step-number { border: 1px solid #ffffff50; border-radius: 50%; height: 34px; width: 34px; display: grid; place-items: center; font-size: 12px; color: var(--yellow); }
.how-step h3 { font-size: 19px; letter-spacing: -.025em; margin: 4px 0 9px; }
.how-step p { color: #c6c7ba; font-size: 13px; max-width: 360px; }
.love-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 75px; align-items: center; }
.note-art { height: 380px; border-radius: 28px; position: relative; overflow: hidden; background: #f0d9ca; }
.note-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.note-art span { position: absolute; left: 20px; bottom: 17px; background: var(--paper); padding: 7px 13px; border-radius: 20px; font-size: 11px; }
.quote-text { font-family: Manrope, sans-serif; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.4; letter-spacing: -.045em; margin: 14px 0 22px; }
.quote-credit { font-size: 12px; }
.sample-note { font-size: 11px; color: var(--muted); margin-top: 15px; }
@supports (animation-timeline: view()) {
  .scroll-reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 25%; }
  @keyframes rise { from { transform: translateY(22px); } to { transform: translateY(0); } }
}

/* --- Studio pages (create / design / order) --- */
.view { min-height: 60vh; }
.page-top { padding: 52px 0 30px; }
.page-top h1 { font-size: clamp(43px, 5vw, 66px); margin: 15px 0; }
.page-top p { max-width: 610px; color: var(--muted); }
.studio-path { display: flex; gap: 9px; flex-wrap: wrap; margin: 0 0 25px; font-size: 11px; }
.studio-path span { background: #ebe8dd; padding: 6px 12px; border-radius: 30px; }
.studio-path span.done { background: #e4ebd2; }
.studio-path span.current { background: var(--ink); color: var(--white); }
.studio-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; padding-bottom: 65px; align-items: start; }
.studio-shell > * { min-width: 0; }
.preview-column { position: sticky; top: 25px; }
.studio-preview { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; position: relative; min-height: 460px; display: grid; place-items: center; padding: 50px 30px 30px; transition: background-color .2s; }
.studio-photo { max-height: 420px; width: 100%; object-fit: contain; filter: drop-shadow(0 20px 18px #00000014); }
.preview-tag { position: absolute; left: 17px; top: 17px; z-index: 1; font-size: 9px; letter-spacing: .04em; background: var(--white); border-radius: 20px; padding: 6px 11px; }
.preview-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 3px; font-size: 12px; }
.studio-controls { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 27px; }
.control-section + .control-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.control-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: -.02em; line-height: 1.4; }
.control-title span { background: var(--yellow); width: 25px; height: 25px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.upload-zone { display: block; background: var(--paper); border: 1px dashed #87877a; border-radius: 15px; padding: 30px 18px; text-align: center; position: relative; cursor: pointer; transition: background .15s, border-color .15s; }
.upload-zone input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.upload-zone:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.upload-zone.drag { background: #eee6fd; border-color: #8064a1; }
.upload-zone strong { display: block; font-size: 14px; margin: 5px 0; overflow-wrap: anywhere; }
.upload-zone p { font-size: 11px; color: var(--muted); }
.upload-icon { font-size: 25px; }
.faq { margin-top: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-size: 12px; font-weight: 600; min-height: 30px; }
.faq details p { font-size: 12px; color: var(--muted); padding: 7px 0; line-height: 1.7; }

.field { display: grid; gap: 7px; font-size: 12px; font-weight: 600; min-width: 0; }
.field input, .field select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #bcbdb2; border-radius: 9px; background: var(--white); padding: 10px 11px; color: var(--ink); font-size: 16px; font-weight: 400; }
.field .muted { font-weight: 400; }
fieldset { border: 0; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 12px; letter-spacing: -.02em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 12px; }
.qty-field { grid-template-columns: auto 90px; align-items: center; justify-content: start; gap: 14px; }

/* Processing */
.processing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 45px; align-items: center; padding-bottom: 65px; }
.processing-photo { position: relative; border-radius: 28px; overflow: hidden; border: 9px solid white; box-shadow: 0 20px 60px #33332917; transform: rotate(-3deg); max-height: 520px; }
.processing-photo img { display: block; width: 100%; max-height: 500px; object-fit: cover; }
.scan { position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(transparent, #edf58399 60%, #d5c4fbcc); mix-blend-mode: multiply; animation: scan 1.8s ease-in-out infinite alternate; }
@keyframes scan { from { top: -30%; } to { top: 100%; } }
.processing-copy h2 { font-size: clamp(32px, 3.5vw, 46px); margin-bottom: 18px; }
.progress { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; counter-reset: s; }
.progress li { counter-increment: s; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.progress li::before { content: counter(s, decimal-leading-zero); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; flex-shrink: 0; background: var(--white); }
.progress li.active { color: var(--ink); font-weight: 600; }
.progress li.active::before { background: var(--yellow); border-color: var(--ink); animation: pulse 1s ease-in-out infinite alternate; }
.progress li.done { color: var(--ink); }
.progress li.done::before { content: "✓"; background: #e4ebd2; border-color: transparent; }
@keyframes pulse { to { transform: scale(1.12); } }

/* Review */
.review { background: #f6f3ec; border: 1px solid var(--line); border-radius: 17px; padding: 14px; display: grid; gap: 10px; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.source-chip { font-size: 9px; letter-spacing: .04em; background: #e7def5; padding: 4px 8px; border-radius: 20px; white-space: nowrap; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 99px; padding: 4px; }
.seg button { border: 0; background: transparent; border-radius: 99px; min-height: 40px; font-size: 13px; font-weight: 600; transition: background .15s; }
.seg button.on { background: var(--ink); color: var(--white); }
.seg button:not(.on):not(:disabled):hover { background: #ebe8dd; }
.qa-note { font-size: 12px; border-radius: 12px; padding: 10px 12px; line-height: 1.55; }
.qa-note.wait-bg { background: #ebe8dd; }
.qa-note.good-bg { background: #e4ebd2; color: var(--good); }
.qa-note.warn-bg { background: #f8e7c4; color: #5d3f00; }
.notes { margin: 0; padding-left: 18px; font-size: 12px; color: var(--muted); }
.notes:empty { display: none; }
.upload-review { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.review-image { height: 170px; border-radius: 14px; overflow: hidden; position: relative; background: #e8e3d9; }
.review-image.checker { background-color: #eee9de; background-image: conic-gradient(#f7f4ec 25%, transparent 0 50%, #f7f4ec 0 75%, transparent 0); background-size: 18px 18px; }
.review-image img { width: 100%; height: 100%; object-fit: contain; }
.review-image span { position: absolute; bottom: 7px; left: 7px; background: #fffef9f0; padding: 3px 8px; border-radius: 20px; font-size: 9px; }
.bg-picker { display: flex; align-items: center; gap: 7px; }
.swatch { height: 34px; width: 34px; border-radius: 50%; border: 5px solid var(--white); outline: 1px solid #292a2533; position: relative; padding: 0; background-size: 10px 10px; }
.swatch.on { outline: 2px solid var(--ink); }
.swatch:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.product-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.product-row { min-width: 0; }
.product-row-link { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 16px; padding: 7px 7px 10px; height: 100%; transition: border-color .15s, transform .15s; }
.product-row-link:hover { border-color: #8064a1; transform: translateY(-2px); }
.product-row-art { display: block; border-radius: 11px; overflow: hidden; aspect-ratio: 1; }
.product-row-art img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; display: block; }
.product-row-body { display: grid; gap: 2px; padding: 0 3px; min-width: 0; }
.product-row-title { font-size: 13px; letter-spacing: -.02em; line-height: 1.25; }
.product-row-label { font-size: 10px; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
.product-row-price { font-size: 12px; font-weight: 600; margin-top: 3px; }
.size-note { font-size: 11px; color: var(--muted); margin-top: 9px; }

/* Shop */
.filter-row { display: flex; gap: 9px; flex-wrap: wrap; margin: 0 0 28px; }
.filter { border: 1px solid var(--line); border-radius: 30px; padding: 10px 18px; min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
.filter:hover { border-color: var(--ink); }
.filter[aria-current=page] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.shop-grid { padding-bottom: 70px; row-gap: 35px; }

/* Order */
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 6px; }
.gallery { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--white); }
.gallery-main { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-status { position: absolute; left: 17px; right: 17px; bottom: 17px; background: #fffef9f0; backdrop-filter: blur(12px); border-radius: 16px; padding: 11px 14px; font-size: 12px; display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 35px #292a2512; }
.thumbs { display: flex; gap: 8px; padding: 0 12px 12px; overflow-x: auto; }
.thumbs:empty { display: none; }
.thumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: 12px; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; }
.thumbs img.on { border-color: var(--ink); }
.studio-summary { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin: 23px 0 15px; }
.studio-summary b { font-size: 17px; }
.studio-summary strong { font-size: 23px; white-space: nowrap; }
.studio-summary p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.choice-summary .text-link { font-size: 12px; }
.totals { background: #eae6f4; border-radius: 20px; padding: 18px 20px; margin: 22px 0 16px; display: grid; gap: 8px; text-align: left; }
.totals > div { display: flex; justify-content: space-between; gap: 15px; font-size: 13px; }
.totals .total { border-top: 1px solid #292a2530; padding-top: 12px; margin-top: 4px; font-size: 18px; font-weight: 600; }
.approve { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 6px 0 16px; cursor: pointer; }
.approve input { width: 20px; height: 20px; accent-color: var(--ink); margin: 1px 0 0; flex-shrink: 0; }
.narrow h1 { font-size: clamp(34px, 4vw, 46px); }
.success-mark { background: var(--yellow); border-radius: 50%; height: 70px; width: 70px; display: grid; place-items: center; font-size: 32px; margin: 0 auto 20px; }
.dialog-copy { font-size: 14px; color: var(--muted); margin: 14px 0 18px; overflow-wrap: anywhere; }
.done-mockup { width: 100%; max-width: 380px; border-radius: 20px; margin: 6px auto; display: block; }
.empty { padding: 50px 20px 90px; text-align: center; }
.empty-symbol { font-size: 60px; }
.empty h2 { margin: 15px 0; font-size: 35px; }
.empty p { color: var(--muted); margin-bottom: 25px; }

/* --- Admin (owner dashboard) --- */
.admin h1 { font-size: 46px; margin-bottom: 18px; }
.admin h2 { font-size: 30px; margin: 30px 0 10px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.card-body { padding: 12px 14px; }
.status-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.order-list { display: grid; gap: 14px; margin: 14px 0 30px; }
.admin-order { display: grid; grid-template-columns: 160px 1fr; }
.admin-order > img { width: 100%; height: 100%; object-fit: cover; background: #eee9de; }
.admin-order-body { padding: 16px 18px; }
.admin-order-body h3 { font-size: 18px; }
.admin-order-body p { margin: 8px 0; }
.actions { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.status-new { background: #f8e7c4; color: #7a5200; }
.status-in_printify { background: #e7def5; color: #4b3474; }
.status-in_production { background: #e4ebd2; color: var(--good); }
.status-payment_pending { background: #dfe6ee; color: #2f4a66; }
.status-shipped { background: #d9eadf; color: #23603a; }
.status-delivered { background: #e4ebd2; color: var(--good); }
.attention { color: #8a3b12; background: #fbeadf; padding: 6px 10px; border-radius: 8px; }
.status-cancelled { background: #ebe8dd; color: var(--muted); }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.admin-design img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.admin-design form { margin-top: 6px; }
.admin a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }

/* Gift occasions and FAQ (homepage) */
.occasions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.occasion { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 26px; background: var(--bg); transition: transform .25s ease, box-shadow .25s ease; }
.occasion:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #292a2514; }
.occasion h3 { font-size: 21px; }
.occasion p { font-size: 13.5px; line-height: 1.6; color: #45463f; flex: 1; }
.occasion .text-link { align-self: flex-start; font-size: 13px; }
.home-faq { padding-top: 0; }
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 600 22px Manrope, sans-serif; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary h3 { font-size: 17px; letter-spacing: -.02em; }
.faq-item p { padding: 0 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 720px; }

/* --- Responsive --- */
/* Product landing pages (/custom-pet-socks etc.) */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 26px 0 0; font-size: 12px; color: var(--muted); }
.crumbs a { color: var(--ink); border-bottom: 1px solid var(--line); }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; padding: 26px 0 10px; }
.pdp-art { position: relative; border-radius: 34px; overflow: hidden; aspect-ratio: 1; border: 1px solid #292a2509; }
.pdp-art img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; display: block; }
.pdp-art.is-photo img { mix-blend-mode: normal; }
.pdp-info { padding-top: 12px; }
.pdp-info h1 { font-size: clamp(38px, 4.2vw, 58px); margin: 16px 0 14px; }
.pdp-price { font: 700 22px Manrope, sans-serif; letter-spacing: -.02em; }
.pdp-intro { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 16px 0 20px; max-width: 520px; }
.pdp-details { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.pdp-details li { display: flex; gap: 10px; font-size: 14px; }
.pdp-details li::before { content: "✓"; color: var(--good); font-weight: 700; }
.pdp-cta { margin: 14px 0 10px; }
.mini-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-steps li { display: grid; grid-template-columns: 37px minmax(0, 1fr); gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.mini-steps .step-number { border-color: var(--line); color: var(--ink); background: var(--yellow); }
.mini-steps h3 { font-size: 17px; margin: 5px 0 6px; letter-spacing: -.02em; }
.mini-steps p { font-size: 13px; color: var(--muted); }
.pdp-steps { padding-bottom: 0; padding-top: 60px; }
.pdp-gift { margin-top: 60px; background: var(--ink); color: var(--paper); border-radius: 34px; padding: 46px 50px; }
.pdp-gift h2 { margin: 16px 0 14px; }
.pdp-gift p:last-child { color: #c6c7ba; font-size: 16px; line-height: 1.7; max-width: 720px; }
.pdp-related { padding-top: 0; }
.footer-gifts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.footer-gifts a:hover { color: var(--ink); text-decoration: underline; }
.picked-note { margin-bottom: 24px; display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px 10px 10px; font-size: 13px; }
.picked-note img { background: var(--paper); mix-blend-mode: multiply; width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.product-row.picked .product-row-link { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.picked-tag { display: inline-block; background: var(--yellow); border-radius: 99px; padding: 1px 7px; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pdp-info { padding-top: 0; }
  .mini-steps { grid-template-columns: minmax(0, 1fr); }
  .pdp-gift { padding: 32px 26px; border-radius: 28px; }
}

@media (min-width: 1500px) { .hero { gap: 75px; } }
@media (max-width: 1000px) {
  .occasions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-story { grid-template-columns: 212px minmax(0, 1fr); gap: 18px; height: 480px; }
  .story-phone { width: 212px; height: 450px; border-radius: 38px; padding: 8px; }
  .story-screen { border-radius: 30px; padding: 40px 10px 12px; gap: 8px; }
  .story-out { height: 250px; }
  .story-card { flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 13px; }
  .story-card strong { margin-left: 0; font-size: 15px; }
  .story-steps button { font-size: 12.5px; padding: 7px 10px; }
  .story-tag { width: 84px; height: 84px; font-size: 9.5px; top: -26px; }
  .wrap { width: calc(100% - 48px); }
  .nav { gap: 20px; }
  .header-actions .btn { display: none; }
  .hero { gap: 16px; min-height: 600px; }
  .hero h1 { font-size: clamp(48px, 6.2vw, 67px); }
  .benefits { font-size: 10px; gap: 15px; }
  .product-art { height: 260px; }
  .how-panel { padding: 35px; gap: 35px; }
  .love-note { gap: 35px; }
  .studio-shell { gap: 22px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .studio-controls { padding: 19px; }
  .studio-preview { min-height: 360px; }
  .studio-photo { max-height: 320px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 > :first-child { grid-column: 1 / -1; }
  .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .occasions { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .occasion { padding: 20px; }
  .faq-item { padding: 0 16px; } .faq-item summary h3 { font-size: 15px; }
  .hero-story { width: min(100%, 420px); margin: 14px auto 0; height: auto; grid-template-columns: 168px minmax(0, 1fr); gap: 14px 12px; }
  .story-side { display: contents; }
  .story-phone { width: 168px; height: 356px; border-radius: 30px; padding: 7px; }
  .story-phone::before { top: 13px; width: 48px; height: 14px; margin-left: -24px; }
  .story-screen { border-radius: 24px; padding: 30px 8px 9px; gap: 7px; }
  .story-app { font-size: 9px; } .story-app svg { width: 11px; height: 12px; }
  .story-label { font-size: 7.5px; padding: 3px 7px; top: 7px; } .story-label.before { left: 7px; } .story-label.after { right: 7px; }
  .story-knob { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: 12px; }
  .story-seg { font-size: 8px; } .story-button { font-size: 10px; padding: 8px; }
  .story-out { height: 300px; border-radius: 24px; }
  .story-out img { left: 10%; top: 8%; width: 80%; height: 62%; }
  .story-card { flex-direction: column; align-items: flex-start; gap: 2px; left: 8px; right: 8px; bottom: 8px; padding: 8px 12px; border-radius: 14px; }
  .story-card b { font-size: 13px; } .story-card small { font-size: 10.5px; } .story-card strong { margin-left: 0; font-size: 14px; }
  .story-steps { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 4px 6px; }
  .story-steps button { grid-template-columns: 22px 1fr; gap: 4px; font-size: 11.5px; line-height: 1.3; padding: 7px 8px; height: 100%; }
  .story-steps button span { font-size: 10.5px; }
  .story-tag { width: 72px; height: 72px; font-size: 8px; top: -12px; right: -6px; }
  .story-tag span { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .announcement { font-size: 9px; padding: 8px 10px; }
  .header-inner { height: 76px; gap: 13px; }
  .logo { font-size: 17px; gap: 6px; }
  .logo small { font-size: 12px; }
  .logo svg { width: 28px; height: 34px; }
  .nav { gap: 14px; margin-left: auto; }
  .nav a { font-size: 11px; }
  .nav .how-link { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 35px; padding-bottom: 25px; gap: 10px; min-height: 0; }
  .hero h1 { font-size: clamp(46px, 14vw, 55px); margin: 0 0 18px; letter-spacing: -.065em; }
  .hero-kicker { margin-bottom: 21px; letter-spacing: .13em; }
  .hero-description { font-size: 14px; }
  .hero-ctas { margin-top: 24px; gap: 23px; }
  .btn { padding: 14px 20px; font-size: 12px; }
  .benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 19px 0; font-size: 10px; }
  .benefits span:last-child { grid-column: 1 / -1; justify-content: center; }
  .section { padding: 50px 0; }
  .section-head { flex-direction: column; align-items: start; gap: 18px; margin-bottom: 23px; }
  .section-head h2 { font-size: 34px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .product-art { height: 190px; border-radius: 19px; }
  .badge { top: 10px; left: 10px; font-size: 8px; padding: 4px 7px; max-width: calc(100% - 20px); }
  .round-arrow { width: 30px; height: 30px; right: 10px; bottom: 10px; font-size: 17px; }
  .product-info { flex-wrap: wrap; gap: 4px; margin-top: 11px; }
  .product-info h3 { font-size: 14px; line-height: 1.25; }
  .product-info p { font-size: 10px; }
  .filter { font-size: 11px; padding: 8px 13px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .how-panel { grid-template-columns: minmax(0, 1fr); padding: 28px; gap: 34px; border-radius: 25px; }
  .how-panel h2 { font-size: 38px; }
  .love-note { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .note-art { height: 300px; }
  .quote-text { font-size: 27px; }
  .footer-inner { flex-wrap: wrap; gap: 20px; }
  .footer-inner > p { order: 3; width: 100%; }
  .page-top { padding-top: 34px; }
  .page-top h1 { font-size: 43px; }
  .page-top p { font-size: 13px; }
  .studio-shell, .processing { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .preview-column { position: static; }
  .studio-preview { min-height: 290px; padding: 44px 16px 16px; }
  .studio-photo { max-height: 260px; }
  .studio-controls { padding: 18px; }
  .preview-column .faq { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .review-image { height: 140px; }
  .admin-order { grid-template-columns: 1fr; }
  .admin-order > img { height: 200px; }
}
@media (max-width: 360px) { .logo { font-size: 15px; } .nav a { font-size: 10px; } .wrap { width: calc(100% - 28px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --- Owner analytics ------------------------------------------------------------------- */
.admin-nav { display: flex; gap: 6px; margin: 14px 0 24px; }
.admin .admin-nav a { text-decoration: none; padding: 7px 14px; border-radius: 99px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); }
.admin-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.an-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.seg-links { display: inline-flex; flex-wrap: wrap; max-width: 100%; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: var(--white); }
.admin .seg-links a { white-space: nowrap; text-decoration: none; padding: 5px 11px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.seg-links a[aria-current="true"] { background: var(--lilac); }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; font-size: inherit; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 18px 0; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; }
.tile-label { font-size: 12px; color: var(--muted); }
.tile-value { font: 600 24px/1.1 "DM Sans", system-ui, sans-serif; }
.an-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 14px; min-width: 0; }
.an-card h3 { font-size: 18px; margin-bottom: 6px; }
.an-card h4 { font: 600 14px/1.3 Manrope, sans-serif; margin: 18px 0 8px; }
.an-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.an-grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.an-grid > .an-card { margin-bottom: 0; }
.an-grid + .an-card, .an-grid + .an-grid { margin-top: 14px; }
.an-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.an-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 4px 8px 6px 0; border-bottom: 1px solid var(--line); }
.an-table td { padding: 6px 8px 6px 0; border-bottom: 1px solid #292a2510; vertical-align: middle; }
.an-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.an-table .bar-col { width: 22%; min-width: 60px; }
.share { display: block; height: 8px; border-radius: 99px; background: #ece6f8; overflow: hidden; }
.share > span { display: block; height: 100%; border-radius: 99px; background: #6545ad; }
.funnel { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.funnel li { display: grid; grid-template-columns: minmax(150px, 230px) 1fr 52px 52px; align-items: center; gap: 12px; font-size: 14px; }
.funnel-track { height: 20px; position: relative; outline-offset: 2px; }
.funnel-bar { display: block; height: 100%; min-width: 2px; background: #6545ad; border-radius: 0 4px 4px 0; }
.funnel-count { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.funnel-pct { text-align: right; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.cols { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 120px; border-bottom: 1px solid #292a2526; padding-top: 14px; margin-top: 8px; }
.cols-max { position: absolute; top: -2px; left: 0; font-size: 11px; color: var(--muted); }
.col { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; outline-offset: 1px; }
.col > span { display: block; width: 100%; max-width: 24px; background: #6545ad; border-radius: 4px 4px 0 0; }
.cols-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.abandoned { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.abandoned-item { display: flex; gap: 10px; align-items: center; font-size: 12px; line-height: 1.4; padding: 6px; border-radius: 12px; border: 1px solid var(--line); }
.admin .abandoned-item, .admin .abandoned-item * { text-decoration: none; }
.abandoned-item:hover { background: var(--paper); }
.abandoned-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 9px; flex: none; }
.tip { position: absolute; transform: translate(-50%, -100%); background: var(--ink); color: var(--paper); font-size: 12px; padding: 5px 9px; border-radius: 8px; pointer-events: none; white-space: nowrap; z-index: 10; }
@media (max-width: 640px) { .funnel li { grid-template-columns: 1fr 44px 44px; } .funnel-track { grid-column: 1 / -1; grid-row: 2; } }
