:root {
  --ink: #0A0A0A;
  --lime: #D4FF3A;
  --grey: #F6F6F6;
  --line: #E6E6E6;
  --muted: #555;
  --radius: 28px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
input, button, textarea { font-family: inherit; font-size: 15px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #EFEFEF; }
.top .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; color: #444; }
.nav a.pill-dark { color: #fff; }
.lang { display: flex; padding: 3px; background: #F2F2F2; border-radius: 999px; }
.lang button { height: 32px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* buttons */
.pill { display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); }
.pill:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.pill-dark { background: var(--ink); color: #fff; padding: 12px 20px; }
.pill-big { padding: 18px 26px; font-size: 16px; }
.pill-lime { background: var(--lime); color: var(--ink); }

/* hero */
.hero { background: var(--lime); overflow: hidden; }
.hero .wrap { padding-top: 72px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-text { flex: 1 1 480px; min-width: 0; }
.hero h1 { margin: 0; font-weight: 800; font-size: clamp(42px, 6vw, 68px); line-height: 1; letter-spacing: -0.045em; }
.hero p.lead { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: #1E1E1E; max-width: 480px; }
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 600; }
.chips span { background: rgba(10,10,10,.08); padding: 9px 14px; border-radius: 999px; }
.hero-art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.art-circle { width: 400px; aspect-ratio: 1; max-width: 100%; border-radius: 999px; background: #fff; position: relative; }
.sticker { position: absolute; top: 12px; right: 0; width: 104px; height: 104px; border-radius: 999px; background: var(--ink); color: var(--lime); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; line-height: 1; }
.sticker b { font-size: 34px; letter-spacing: -0.04em; }
.sticker small { font-size: 13px; margin-top: 2px; }
.price-tag { position: absolute; bottom: 30px; left: -6px; transform: rotate(8deg); background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 8px 14px; font-weight: 800; font-size: 18px; }
.price-tag small { font-size: 12px; font-weight: 700; }

/* order */
.order { background: var(--ink); color: #fff; }
.order .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.order-intro { flex: 1 1 360px; min-width: 0; }
.tag { display: inline-block; background: var(--lime); color: var(--ink); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.order h2 { margin: 18px 0 0; font-weight: 800; font-size: clamp(36px, 4.5vw, 52px); line-height: 1.02; letter-spacing: -0.04em; }
.order-intro p { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: #BDBDBD; max-width: 420px; }
.card { flex: 1 1 460px; min-width: 0; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed #D6D6D6; border-radius: 18px; background: #FAFAFA; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.drag { border-color: var(--ink); }
.drop.has-file { border-color: var(--ink); background: #F4FFD1; }
.drop-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--lime); display: flex; align-items: center; justify-content: center; }
.drop-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drop-text b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-text small { font-size: 13px; color: #666; }
#file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.grid2, .grid3 { display: grid; gap: 12px; margin-top: 14px; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field label, .field .lbl { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.fld { width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); transition: border-color .2s; }
.fld:focus { outline: none; border-color: var(--ink); }
.fld:disabled { background: #F6F6F6; color: #999; }
.hint { margin: 8px 0 0; font-size: 12px; color: #666; }
.seg { display: flex; gap: 4px; padding: 4px; background: #F2F2F2; border-radius: 999px; }
.seg button { flex: 1; height: 40px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; cursor: pointer; transition: background .2s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.summary { margin-top: 18px; padding: 16px 18px; background: var(--grey); border-radius: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.pay { margin-top: 14px; width: 100%; height: 60px; justify-content: space-between; padding: 0 26px; font-size: 16px; font-weight: 800; }
.pay .amt { font-size: 20px; }
.err { margin: 10px 0 0; font-size: 14px; color: #C2261B; font-weight: 600; }
.note { margin: 12px 0 0; text-align: center; font-size: 12px; color: #666; }
.progress { margin-top: 14px; height: 8px; border-radius: 99px; background: #EEE; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s; }
.done { text-align: center; padding: 24px 4px; }
.done-icon { display: inline-flex; width: 72px; height: 72px; border-radius: 999px; background: var(--lime); align-items: center; justify-content: center; }
.done h3 { margin: 16px 0 6px; font-weight: 800; font-size: 30px; letter-spacing: -0.03em; }
.done p { margin: 0; color: var(--muted); line-height: 1.6; }
.steps { margin: 22px auto 0; max-width: 340px; display: flex; gap: 6px; }
.steps span { flex: 1; height: 8px; border-radius: 99px; background: var(--line); transition: background .3s; }
.steps span.on { background: var(--ink); }
.steps-l { margin: 8px auto 0; max-width: 340px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: #666; }
.order-id { font-family: ui-monospace, monospace; font-size: 13px; background: var(--grey); padding: 4px 8px; border-radius: 8px; }

/* sections */
.sec { padding-top: 56px; padding-bottom: 56px; }
.sec h2 { margin: 0; font-weight: 800; font-size: 40px; letter-spacing: -0.04em; }
.sec h2.center { text-align: center; font-size: clamp(36px, 4vw, 48px); }
.cards3 { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.how { background: var(--grey); border-radius: var(--radius); padding: 32px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.how:hover { transform: translateY(-4px) rotate(-1deg); }
.how.dark { background: var(--ink); color: #fff; }
.how-icon { width: 76px; height: 76px; border-radius: 24px; background: var(--lime); display: flex; align-items: center; justify-content: center; }
.how .num { margin: 26px 0 0; font-size: 13px; font-weight: 800; color: #777; }
.how h3 { margin: 6px 0 8px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.how p { margin: 0; color: var(--muted); line-height: 1.6; }
.how.dark p { color: #BDBDBD; }
.cats { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.cat { border: 2px solid var(--ink); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; font-weight: 800; font-size: 17px; transition: transform .25s; }
.cat:hover { transform: translateY(-4px) rotate(-1deg); }
.cat span { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.prices { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.price { background: var(--grey); border-radius: var(--radius); padding: 32px; }
.price.lime { background: var(--lime); }
.price.dark { background: var(--ink); color: #fff; }
.price p { margin: 0; font-weight: 700; color: var(--muted); }
.price.lime p { color: var(--ink); }
.price.dark p { color: #BDBDBD; }
.price b { display: block; margin: 18px 0 6px; font-weight: 800; font-size: 60px; letter-spacing: -0.05em; line-height: 1; }
.price.dark b { color: var(--lime); }
.price small { color: #666; font-size: 15px; }
.price.dark small { color: #BDBDBD; }
.zone { background: var(--grey); border-radius: 32px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.zone > div { flex: 1 1 320px; min-width: 0; }
.zone p { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.zone-chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.zone-chips span { background: #fff; border: 2px solid var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }

/* footer */
.foot { background: var(--ink); color: #9A9A9A; margin-top: 56px; }
.foot .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 14px; }
.foot .brand { font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -0.03em; }
.foot .brand i { font-style: normal; color: var(--lime); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a, .foot nav button { color: #BDBDBD; text-decoration: none; border: 0; background: none; padding: 0; font-size: 14px; cursor: pointer; }

/* FAQ dialog */
dialog { border: 0; border-radius: var(--radius); padding: 32px; width: min(640px, calc(100% - 32px)); max-height: 85vh; }
dialog::backdrop { background: rgba(10,10,10,.6); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dlg-head h2 { margin: 0; font-weight: 800; font-size: 30px; letter-spacing: -0.03em; }
.x { width: 44px; height: 44px; border-radius: 999px; border: 0; background: #F2F2F2; font-size: 22px; cursor: pointer; }
details { background: var(--grey); border-radius: 20px; padding: 0 20px; margin-bottom: 10px; }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 16px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
details[open] summary::after { content: '\2212'; background: var(--lime); }
details p { margin: 0 0 18px; color: var(--muted); line-height: 1.65; }

/* animation */
@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes ride { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -60; } }
@keyframes wob { 0%,100% { transform: rotate(-12deg); } 50% { transform: rotate(-6deg) scale(1.05); } }
.fu { animation: up .8s cubic-bezier(.2,.7,.2,1) both; } .d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
@supports (animation-timeline: view()) { .sv { animation: up linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; } }
.ride { animation: ride 1.4s ease-in-out infinite; }
.wheel { transform-box: fill-box; transform-origin: center; animation: spin 1s linear infinite; }
.speed { animation: dash 1s linear infinite; }
.sticker { animation: wob 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 640px) {
  .nav > a:not(.pill) { display: none; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 22px; }
  .zone { padding: 26px; }
}

/* ===== lime theme: the whole site uses the hero colour ===== */
body { background: var(--lime); }
.top { background: var(--lime); border-bottom-color: rgba(10,10,10,.1); }
.lang { background: rgba(10,10,10,.08); }
.order { background: var(--lime); color: var(--ink); border-top: 1px solid rgba(10,10,10,.1); }
.order-intro p { color: #1E1E1E; }
.tag { background: var(--ink); color: var(--lime); }
.card { box-shadow: 0 30px 60px -30px rgba(10,10,10,.35); }
.how { background: #fff; }
.how.dark { background: var(--ink); }
.cat { background: #fff; }
.price { background: #fff; }
.price.lime { background: var(--ink); color: #fff; }
.price.lime p { color: #BDBDBD; }
.price.lime b { color: var(--lime); }
.price.lime small { color: #BDBDBD; }
.price.dark { background: #fff; color: var(--ink); }
.price.dark p { color: var(--muted); }
.price.dark b { color: var(--ink); }
.price.dark small { color: #666; }
.zone { background: #fff; }
.foot { background: var(--lime); color: #333; border-top: 1px solid rgba(10,10,10,.12); }
.foot .brand { color: var(--ink); }
.foot .brand i { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; }
.foot nav a, .foot nav button { color: var(--ink); font-weight: 600; }

/* ===== fonts: Bricolage Grotesque for headings, DM Sans for text ===== */
:root { --font: 'DM Sans', system-ui, -apple-system, sans-serif; --display: 'Bricolage Grotesque', 'DM Sans', sans-serif; }
body, input, button, textarea { font-family: var(--font); }
h1, h2, h3, .logo, .sticker, .price b, .price-tag, .pay .amt, .foot .brand, .dlg-head h2, .done h3 { font-family: var(--display); }
h1 { letter-spacing: -0.04em; }
.lang button { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }
.lang { padding: 4px; }
.lang button { height: 40px; min-width: 56px; padding: 0 16px; font-size: 16px; }
.logo-mark { width: 42px; height: 42px; border-radius: 13px; }
.logo-mark { background: #fff; border: 2.5px solid var(--ink); }
.admin-top .logo-mark { border-color: #fff; }

/* ===== login / signup ===== */
.auth-out, .auth-in { display: flex; align-items: center; gap: 14px; }
.link-btn { border: 0; background: none; padding: 6px 2px; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.avatar { width: 24px; height: 24px; border-radius: 999px; background: var(--lime); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.my-order { background: var(--grey); border-radius: 18px; padding: 16px 18px; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.my-order b { display: block; font-size: 15px; }
.my-order small { color: #666; }
.st-badge { flex: none; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #fff; }
.st-badge.on { background: var(--lime); }
[hidden] { display: none !important; }
.nav { font-size: 17px; } .nav > a:not(.pill) { font-weight: 700; color: var(--ink); }
.seg-big button { height: 46px; font-size: 15px; }
.prices { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.price small { line-height: 1.5; }
.photo-mode .grid3 { grid-template-columns: 1fr; }

/* ===== list of chosen files ===== */
.file-list { margin-top: 14px; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.file-list-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--grey); font-size: 13px; font-weight: 700; }
.file-list-head .link-btn { font-size: 13px; }
#fileItems { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; }
.fi { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid #EFEFEF; }
.fi.off .fi-name, .fi.off .fi-meta { opacity: .45; text-decoration: line-through; }
.fi input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ink); flex: none; cursor: pointer; }
.fi-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fi-name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-meta { font-size: 12px; color: #666; }
.fi-price { font-weight: 700; font-size: 14px; flex: none; }
.fi-del { flex: none; width: 34px; height: 34px; border-radius: 999px; border: 0; background: #F2F2F2; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fi-del:hover { background: #FFE1DD; }
.qty { flex: none; display: inline-flex; align-items: center; gap: 2px; background: #F2F2F2; border-radius: 999px; padding: 3px; }
.qty button { width: 30px; height: 30px; border-radius: 999px; border: 0; background: #fff; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; color: var(--ink); }
.qty button:disabled { opacity: .35; cursor: default; }
.qty output { min-width: 24px; text-align: center; font-weight: 800; font-size: 14px; }
@media (max-width: 520px) { .fi { flex-wrap: wrap; } .fi-text { flex-basis: calc(100% - 40px); } .qty { margin-left: 32px; } .fi-price { margin-left: auto; } }
@media (max-width: 640px) { .top { position: static; } .nav { gap: 10px; } }

.cats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* ===== creative order card ===== */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.svc button { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--line); border-radius: 18px; background: #fff; cursor: pointer; text-align: left; transition: border-color .2s, transform .2s, box-shadow .2s; }
.svc button:hover { transform: translateY(-2px); }
.svc button[aria-pressed="true"] { border-color: var(--ink); background: #F4FFD1; box-shadow: 4px 4px 0 var(--ink); }
.svc b { display: block; font-family: var(--display); font-size: 17px; color: var(--ink); }
.svc small { display: block; font-size: 12px; color: #666; margin-top: 2px; }
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.swatches button { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s, transform .2s; }
.swatches button svg { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.swatches button:hover svg { transform: rotate(-6deg) translateY(-2px); }
.swatches button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.swatches b { display: block; font-family: var(--display); font-size: 16px; color: var(--ink); }
.swatches small { color: #666; font-size: 12px; }
.receipt { position: relative; margin-top: 20px; background: #FFFDF5; border: 1.5px dashed #BDBDBD; border-bottom: 0; border-radius: 14px 14px 0 0; padding: 16px 18px 26px; font-size: 14px;
  -webkit-mask: conic-gradient(from 135deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/16px 9px repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat;
          mask: conic-gradient(from 135deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/16px 9px repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat; }
.rc-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1.5px dashed #BDBDBD; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #777; }
.rc-logo { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; text-transform: none; color: var(--ink); }
.rc-rows { list-style: none; margin: 0; padding: 0; }
.rc-row { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; color: #333; }
.rc-row .rc-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.rc-row .rc-x { color: #888; flex: none; }
.rc-dots { flex: 1; border-bottom: 2px dotted #C9C9C9; transform: translateY(-4px); min-width: 12px; }
.rc-empty { color: #999; font-style: italic; padding: 4px 0; }
.rc-del { margin-top: 4px; }
.rc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1.5px dashed #BDBDBD; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.rc-total > span:first-child { font-size: 16px; letter-spacing: 0; }
.rc-foot { margin-top: 8px; text-align: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #888; }
.pay { position: relative; overflow: hidden; background: var(--ink); color: var(--lime); margin-top: 16px; }
.pay .road { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; pointer-events: none; }
.pay .scoot { position: absolute; left: -60px; bottom: 15px; opacity: 0; }
.pay:hover .scoot { animation: peek 1.2s ease-in-out infinite alternate; }
.pay.go .scoot { animation: zoom-away 1.4s cubic-bezier(.5,0,.3,1) forwards; }
.pay.go > span:not(.road) { opacity: .25; }
@keyframes peek { from { left: -60px; opacity: 0; } to { left: 6px; opacity: 1; } }
@keyframes zoom-away { 0% { left: -60px; opacity: 1; } 100% { left: 110%; opacity: 1; } }
@media (max-width: 520px) { .svc, .swatches { grid-template-columns: 1fr; } }

/* ===== print tray: real previews of what will be printed ===== */
.tray { margin-top: 4px; }
.tray-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 14px; font-weight: 700; }
.tray-head .link-btn { font-size: 13px; }
.tray-grid { list-style: none; margin: 0; padding: 4px 4px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 22px 16px; }
.tile { min-width: 0; }
.sheet { position: relative; aspect-ratio: 210 / 297; background: #fff; border: 1px solid #DADADA; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: visible; transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.tray.photos .sheet { aspect-ratio: 3 / 2; }
.sheet img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; display: block; transition: filter .35s ease; }
.tray.bw .sheet img { filter: grayscale(1) contrast(1.05); }
.sheet-ph { font-family: var(--display); font-weight: 800; font-size: 20px; color: #BDBDBD; }
/* extra copies show as sheets stacked underneath */
.tile[data-stack="2"] .sheet { box-shadow: 5px 5px 0 -1px #fff, 5px 5px 0 0 #CFCFCF; }
.tile[data-stack="3"] .sheet { box-shadow: 5px 5px 0 -1px #fff, 5px 5px 0 0 #CFCFCF, 10px 10px 0 -1px #fff, 10px 10px 0 0 #CFCFCF; }
.tile:hover .sheet { transform: translateY(-3px); }
.tile.off .sheet { opacity: .35; transform: none; }
.tile.off .tile-name, .tile.off .tile-meta, .tile.off .tile-price { opacity: .45; }
.tile-pick { position: absolute; top: 6px; left: 6px; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,.18); cursor: pointer; }
.tile-pick input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.tile-del { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 8px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tile-del:hover { background: var(--ink); color: #fff; }
.tile-badge { position: absolute; bottom: 8px; right: 8px; background: var(--ink); color: var(--lime); font-family: var(--display); font-weight: 800; font-size: 14px; padding: 3px 9px; border-radius: 999px; }
.tile-name { margin: 10px 0 0; font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-meta { margin: 2px 0 0; font-size: 12px; color: #666; }
.tile-foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.tile .qty { padding: 2px; }
.tile .qty button { width: 26px; height: 26px; font-size: 16px; }
.tile .qty output { min-width: 18px; font-size: 13px; }
.tile-price { font-weight: 800; font-size: 13px; white-space: nowrap; }
.tile-add label { aspect-ratio: 210 / 297; border: 2px dashed #CFCFCF; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 700; color: #555; cursor: pointer; text-align: center; padding: 8px; transition: border-color .2s, color .2s; }
.tray.photos .tile-add label { aspect-ratio: 3 / 2; }
.tile-add label:hover { border-color: var(--ink); color: var(--ink); }
.tile-add-plus { width: 36px; height: 36px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
/* total */
.sum { margin-top: 22px; padding-top: 16px; border-top: 1px solid #ECECEC; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #555; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.sum-total > span:first-child { font-size: 17px; letter-spacing: 0; }
.pay.go > span { opacity: 1; }
/* quieter service tiles */
.svc button[aria-pressed="true"], .swatches button[aria-pressed="true"] { box-shadow: none; background: #fff; border-color: var(--ink); }
.svc button[aria-pressed="true"] svg path[fill="#fff"], .svc button[aria-pressed="true"] svg rect[fill="#fff"] { fill: var(--lime); }
.tile-pick:focus-within, .tile-del:focus-visible, .qty button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
#fileItems.tray-grid { max-height: none; overflow: visible; padding-bottom: 6px; }

/* ===== step-by-step order (app-like) ===== */
.card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
#orderForm { display: flex; flex-direction: column; min-height: 560px; }
.wiz-head { display: flex; align-items: center; gap: 14px; padding: 24px 28px 0; }
.wiz-back { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s; }
.wiz-back:hover { border-color: var(--ink); }
.wiz-meta { min-width: 0; }
.wiz-count { font-size: 13px; font-weight: 700; color: #777; }
.wiz-title { margin: 2px 0 0; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.035em; }
.wiz-dots { list-style: none; margin: 18px 28px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wiz-dots li { height: 5px; border-radius: 99px; background: #ECECEC; transition: background .35s; position: relative; overflow: hidden; }
.wiz-dots li.is-done { background: var(--ink); }
.wiz-dots li.is-on { background: #ECECEC; }
.wiz-dots li.is-on::after { content: ''; position: absolute; inset: 0; background: var(--ink); animation: fillbar .5s cubic-bezier(.2,.8,.2,1) forwards; transform-origin: left; }
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.wiz-viewport { flex: 1; padding: 22px 28px 8px; overflow: hidden; }
.step.in-r { animation: in-r .42s cubic-bezier(.2,.8,.2,1); }
.step.in-l { animation: in-l .42s cubic-bezier(.2,.8,.2,1); }
@keyframes in-r { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes in-l { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
#err { margin: 0 28px 8px; }
.wiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px 16px 28px; border-top: 1px solid #ECECEC; background: #fff; }
.wiz-total small { display: block; font-size: 12px; font-weight: 700; color: #777; }
.wiz-total b { font-family: var(--display); font-size: 26px; letter-spacing: -0.03em; }
.wiz-next { padding: 16px 22px; font-size: 16px; gap: 8px; }
.wiz-next svg { stroke: var(--lime); }
.step[data-step="1"] .svc { margin-bottom: 16px; }
.mini-prev { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.mini { width: 64px; aspect-ratio: 210/297; border: 1px solid #DADADA; border-radius: 3px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #BDBDBD; box-shadow: 0 6px 14px -8px rgba(0,0,0,.3); }
.mini-prev.photos .mini { aspect-ratio: 3/2; width: 88px; }
.mini img { width: 100%; height: 100%; object-fit: cover; transition: filter .35s; }
.mini-prev.bw .mini img { filter: grayscale(1); }
.step[data-step="2"] .swatches button { padding: 18px; }
.step[data-step="2"] .swatches svg { width: 58px; height: 74px; }
.review { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-height: 260px; overflow-y: auto; }
.rv-item { display: flex; align-items: center; gap: 14px; }
.rv-thumb { flex: none; width: 46px; aspect-ratio: 210/297; border: 1px solid #DADADA; border-radius: 3px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #BDBDBD; }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rv-thumb.bw img { filter: grayscale(1); }
.rv-text { flex: 1; min-width: 0; }
.rv-text b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-text small { color: #666; font-size: 12px; }
.rv-price { font-weight: 800; font-size: 14px; }
.recap { margin-top: 18px; border-top: 1px solid #ECECEC; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.rc-line { display: flex; gap: 12px; align-items: baseline; font-size: 14px; }
.rc-k { flex: none; width: 92px; color: #777; font-weight: 600; }
.rc-v { flex: 1; min-width: 0; }
.rc-edit { font-size: 13px; padding: 0; }
.step[data-step="4"] .sum { margin-top: 14px; }
.step[data-step="4"] .pay { margin-bottom: 4px; }
.step[data-step="4"] .note { margin-bottom: 14px; }
.done { padding: 40px 28px; }
@media (max-width: 520px) {
  .wiz-head, .wiz-viewport { padding-left: 20px; padding-right: 20px; }
  .wiz-dots { margin-left: 20px; margin-right: 20px; }
  .wiz-title { font-size: 26px; }
  .wiz-foot { position: sticky; bottom: 0; padding-left: 20px; }
}
.tray-group { grid-column: 1 / -1; font-family: var(--display); font-weight: 800; font-size: 16px; padding-top: 4px; border-top: 1px solid #ECECEC; margin-top: 4px; }
.tray-group:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.tile.is-photo .sheet { aspect-ratio: 3 / 2; }
.rv-thumb.is-photo { aspect-ratio: 3 / 2; width: 60px; }
.tray.bw .tile.is-photo .sheet img { filter: none; }
.svc-add button { position: relative; }
.svc-add button:hover { border-color: var(--ink); }
.svc-plus { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.tile-add-box { aspect-ratio: 210 / 297; border: 2px dashed #CFCFCF; border-radius: 6px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; padding: 12px; }
.add-mini { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px 6px 6px; font-weight: 700; font-size: 13px; cursor: pointer; transition: border-color .2s; }
.add-mini:hover { border-color: var(--ink); }
.add-mini .tile-add-plus { width: 28px; height: 28px; font-size: 18px; }
/* Documenti / Foto tabs */
.svc-add button[aria-pressed="false"] { opacity: .7; }
.svc-add button[aria-pressed="false"]:hover { opacity: 1; }
.tray:not([hidden]) { margin-top: 14px; }
/* step 2: chosen files with prices */
.review.priced { margin-top: 20px; }
.review.priced .tray-group { list-style: none; font-weight: 700; margin: 14px 0 6px; }
.review.priced .tray-group:first-child { margin-top: 0; }
.review.priced { max-height: none; overflow: visible; }
.priced-cols { margin-top: 22px; display: grid; gap: 18px; }
.priced-h { font-weight: 700; margin: 0 0 8px; }
.priced-col .review.priced { margin-top: 0; }
@media (min-width: 720px) { .priced-cols:has(> .priced-col + .priced-col) { grid-template-columns: 1fr 1fr; } }
/* ---------- document scanner ---------- */
.cam-btn { display: none; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 13px 16px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
@media (pointer: coarse) { .cam-btn:not([hidden]) { display: flex; } }
.scan-dlg { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0A0A0A; color: #fff; display: none; flex-direction: column; font-family: inherit; }
.scan-dlg[open] { display: flex; }
.scan-dlg::backdrop { background: #0A0A0A; }
.sc-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 16px; }
.sc-link { justify-self: start; background: none; border: 0; color: #fff; font: inherit; font-weight: 600; font-size: 16px; padding: 8px 4px; cursor: pointer; }
.sc-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; }
.sc-hint { margin: 0; min-height: 20px; text-align: center; font-size: 14px; color: #BDBDBD; padding: 0 16px; }
.sc-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.sc-view, .sc-result { grid-area: 1 / 1; display: block; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.sc-result { background: #fff; }
.sc-svg { position: absolute; inset: 0; overflow: visible; }
.sc-shade { fill: rgba(0,0,0,.45); pointer-events: none; }
.sc-poly { fill: rgba(212,255,58,.12); stroke: #D4FF3A; stroke-width: 2.5; stroke-linejoin: round; pointer-events: none; }
.sc-h { cursor: grab; touch-action: none; }
.sc-hit { fill: transparent; }
.sc-dot { fill: #fff; stroke: #D4FF3A; stroke-width: 4; transition: r .15s; }
.sc-h.on .sc-dot { r: 15; fill: #D4FF3A; stroke: #fff; }
.sc-loupe { position: absolute; top: 12px; width: 120px; height: 120px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.5); pointer-events: none; }
.sc-busy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(10,10,10,.55); font-weight: 600; }
.sc-busy[hidden] { display: none; }
.sc-spin { width: 38px; height: 38px; border-radius: 50%; border: 4px solid rgba(255,255,255,.25); border-top-color: #D4FF3A; animation: scspin .8s linear infinite; }
@keyframes scspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sc-spin { animation-duration: 2.4s; } }
.sc-filters { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 12px 16px 0; }
.sc-filters[hidden] { display: none; }
.sc-chip { padding: 8px 12px; border-radius: 999px; border: 1.5px solid #3A3A3A; background: #1A1A1A; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.sc-chip[aria-pressed="true"] { background: #D4FF3A; border-color: #D4FF3A; color: #0A0A0A; }
.sc-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
.sc-tool { display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; border-radius: 999px; border: 1.5px solid #3A3A3A; background: #1A1A1A; color: #fff; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.sc-tool[hidden] { display: none; }
.sc-go { margin-left: auto; padding: 13px 26px; border-radius: 999px; border: 0; background: #D4FF3A; color: #0A0A0A; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.sc-go:disabled { opacity: .5; }
.scan-dlg button:focus-visible { outline: 3px solid #D4FF3A; outline-offset: 2px; }
@media (max-width: 420px) { .sc-tool span { display: none; } .sc-tool { padding: 12px; } }
.tile-view { font-size: inherit; padding: 0; }
/* documents / photos drop box */
.drop.drop-box { flex-direction: column; justify-content: center; text-align: center; gap: 10px; padding: 30px 18px 24px; background: #fff; border: 2px dashed #CFCFCF; border-radius: 22px; }
.drop.drop-box:hover, .drop.drop-box.drag { border-color: var(--ink); background: #FBFFEC; }
.drop-ico { display: block; height: 64px; }
.drop-h { font-family: 'Bricolage Grotesque', sans-serif; font-size: 21px; line-height: 1.2; margin-top: 6px; }
.drop-or { font-size: 14px; color: #777; }
.drop-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 2px 0 4px; }
.drop-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: 0; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.drop-btn.pill-lime { box-shadow: inset 0 0 0 2px var(--ink); }
.drop-btn[hidden] { display: none; }
.drop-s { font-size: 13px; color: #777; }
@media (max-width: 380px) { .drop-btns { flex-direction: column; align-items: stretch; } .drop-btn { justify-content: center; } }
/* ---------- Documenti / Foto: paper you can pick up ---------- */
.svc.kinds { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.svc.kinds .kind { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 50px 16px 14px; border: 2px solid #E3E3E3; border-radius: 16px; background: #F6F6F3; opacity: 1; box-shadow: none; transform: none; transition: background .25s, border-color .25s, box-shadow .25s; }
.svc.kinds .kind:hover { border-color: var(--ink); transform: none; }
.svc.kinds .kind[aria-pressed="true"] { background: var(--lime); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.kind-art { position: absolute; left: 6px; top: -30px; width: 120px; height: 84px; pointer-events: none; }
.kind-art svg { display: block; overflow: visible; }
.kind-art g { transition: transform .45s cubic-bezier(.3,1.6,.5,1); transform-box: view-box; transform-origin: 60px 80px; }
.kind[aria-pressed="false"] .kind-art { filter: grayscale(1); opacity: .45; }
.kind[aria-pressed="false"] .k-front { transform: translateY(14px); }
.kind[aria-pressed="false"] .k-mid { transform: translateY(16px); }
.kind[aria-pressed="false"] .k-back { transform: translateY(18px); }
.kind[aria-pressed="true"] .k-back { transform: rotate(-6deg) translateY(-2px); }
.kind[aria-pressed="true"] .k-mid { transform: rotate(4deg); }
.kind[aria-pressed="true"] .k-front { transform: translateY(-4px) rotate(-2deg); }
.kind-photo[aria-pressed="true"] .k-back { transform: rotate(7deg) translate(4px, -2px); }
.svc.kinds .kind-txt b { font-size: 19px; line-height: 1.1; }
.svc.kinds .kind-txt small { font-size: 13px; color: #555; margin-top: 3px; }
.svc.kinds .kind[aria-pressed="true"] .kind-txt small { color: var(--ink); }
.svc.kinds .kind:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 520px) { .svc.kinds { grid-template-columns: 1fr 1fr; gap: 10px; } .svc.kinds .kind { padding: 46px 12px 12px; } .kind-art { left: 0; transform: scale(.9); transform-origin: left top; } .svc.kinds .kind-txt b { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .kind-art g { transition: none; } }
/* pocket: the card face sits in front of the papers, so they peek out of it */
.svc.kinds .kind, .svc.kinds .kind[aria-pressed="true"], .svc.kinds .kind:hover { background: transparent; border-color: transparent; box-shadow: none; isolation: isolate; }
.svc.kinds .kind::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; border: 2px solid #E3E3E3; background: #F6F6F3; transition: background .25s, border-color .25s, box-shadow .25s; }
.svc.kinds .kind:hover::before { border-color: var(--ink); }
.svc.kinds .kind[aria-pressed="true"]::before { background: var(--lime); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.svc.kinds .kind-art { z-index: -2; }
.svc.kinds .kind[aria-pressed="true"] svg path[fill="#fff"], .svc.kinds .kind[aria-pressed="true"] svg rect[fill="#fff"] { fill: #fff; }
.kind[aria-pressed="false"] .kind-art { opacity: .6; }
.kind[aria-pressed="false"] .k-front { transform: translateY(20px); }
.kind[aria-pressed="false"] .k-mid { transform: translateY(24px); }
.kind[aria-pressed="false"] .k-back { transform: translateY(26px); }
.kind[aria-pressed="true"] .k-front { transform: translateY(-8px) rotate(-2deg); }
.svc.kinds { margin-top: 58px; }
.svc.kinds .kind { padding: 20px 16px 14px; }
.svc.kinds .kind-art { top: -60px; }
@media (max-width: 520px) { .svc.kinds .kind { padding: 18px 12px 12px; } .svc.kinds .kind-art { top: -56px; } }
/* ---------- Documenti / Foto: tickets ---------- */
.svc.tix { margin-top: 0; gap: 12px; grid-template-columns: 1fr 1fr; }
.svc.tix .kind, .svc.tix .kind:hover, .svc.tix .kind[aria-pressed="true"] { isolation: auto; box-shadow: none; transform: none; opacity: 1; }
.svc.tix .kind { position: relative; display: block; padding: 16px 18px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; text-align: left; transition: background .2s, color .2s; }
.svc.tix .kind::before, .svc.tix .kind::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); inset: auto; top: 50%; z-index: 1; box-shadow: none; }
.svc.tix .kind::before { left: -10px; clip-path: inset(0 0 0 50%); }
.svc.tix .kind::after { right: -10px; clip-path: inset(0 50% 0 0); }
.svc.tix .kind[aria-pressed="true"] { background: var(--ink); }
.svc.tix .kind[aria-pressed="true"]::before, .svc.tix .kind[aria-pressed="true"]::after { background: #fff; border-color: var(--ink); }
.svc.tix .kind-txt b { display: block; font-size: 20px; line-height: 1.15; color: var(--ink); }
.svc.tix .kind-txt small { display: block; margin-top: 4px; font-size: 13px; color: #666; }
.svc.tix .kind[aria-pressed="true"] .kind-txt b { color: #fff; }
.svc.tix .kind[aria-pressed="true"] .kind-txt small { color: var(--lime); }
.svc.tix .kind:not([aria-pressed="true"]):hover { background: #F7F7F4; }
.svc.tix .kind:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
@media (max-width: 520px) { .svc.tix .kind { padding: 14px 14px; } .svc.tix .kind-txt b { font-size: 18px; } }
.svc.tix .kind { display: flex; flex-direction: column; justify-content: center; }
/* ---------- Documenti / Foto: Canva design ---------- */
.svc.cv { gap: 14px; grid-template-columns: 1fr 1fr; margin: 6px 0 18px; }
.svc.cv .kind, .svc.cv .kind:hover, .svc.cv .kind[aria-pressed="true"] { isolation: auto; transform: none; opacity: 1; }
.svc.cv .kind::before, .svc.cv .kind::after { content: none; }
.svc.cv .kind { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 112px; padding: 18px 12px; border: 2px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: none; transition: background .2s, box-shadow .2s; }
.svc.cv .kind[aria-pressed="true"] { background: var(--lime); box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--lime); }
.svc.cv .kind:not([aria-pressed="true"]):hover { background: #FAFFE6; }
.svc.cv .kind-txt b { display: block; font-size: 24px; line-height: 1.1; letter-spacing: -.3px; color: var(--ink); }
.svc.cv .kind-txt small { display: block; margin-top: 6px; font-size: 14px; color: var(--ink); }
.svc.cv .kind:focus-visible { outline: 3px solid var(--ink); outline-offset: 10px; }
@media (max-width: 520px) { .svc.cv .kind { min-height: 100px; } .svc.cv .kind-txt b { font-size: 21px; } .svc.cv .kind-txt small { font-size: 13px; } }
/* ---------- Documenti / Foto: 3D objects ---------- */
.svc.k3 { grid-template-columns: 1fr 1fr; gap: 14px; margin: 34px 0 18px; }
.svc.k3 .kind, .svc.k3 .kind:hover, .svc.k3 .kind[aria-pressed="true"] { isolation: auto; transform: none; opacity: 1; }
.svc.k3 .kind::before, .svc.k3 .kind::after { content: none; }
.svc.k3 .kind { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 168px; padding: 0 16px 16px; border: 2px solid #E8E8E3; border-radius: 22px; background: #F5F5F1; box-shadow: none; text-align: left; overflow: visible; transition: background .3s, border-color .3s, box-shadow .3s; }
.svc.k3 .kind:hover { border-color: var(--ink); }
.svc.k3 .kind[aria-pressed="true"] { background: var(--lime); border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.kind-img { position: absolute; left: 50%; top: -30px; width: 82%; max-width: 230px; height: auto; transform: translateX(-50%) scale(.9); transform-origin: 50% 80%; filter: saturate(.35) opacity(.85); transition: transform .5s cubic-bezier(.3,1.5,.5,1), filter .3s; pointer-events: none; }
.kind-photo .kind-img { width: 74%; top: -34px; }
.svc.k3 .kind:hover .kind-img { transform: translateX(-50%) translateY(-4px) scale(.94); }
.svc.k3 .kind[aria-pressed="true"] .kind-img { transform: translateX(-50%) translateY(-8px) rotate(-3deg) scale(1.04); filter: none; }
.svc.k3 .kind-photo[aria-pressed="true"] .kind-img { transform: translateX(-50%) translateY(-8px) rotate(3deg) scale(1.04); }
.kind-dot { position: absolute; right: 14px; bottom: 16px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #BDBDB6; background: #fff; transition: background .2s, border-color .2s; }
.svc.k3 .kind[aria-pressed="true"] .kind-dot { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23D4FF3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.svc.k3 .kind-txt { padding-right: 30px; }
.svc.k3 .kind-txt b { display: block; font-size: 21px; line-height: 1.1; letter-spacing: -.3px; color: var(--ink); }
.svc.k3 .kind-txt small { display: block; margin-top: 4px; font-size: 13px; color: #5C5C57; }
.svc.k3 .kind[aria-pressed="true"] .kind-txt small { color: var(--ink); }
.svc.k3 .kind:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (max-width: 520px) { .svc.k3 { gap: 10px; margin-top: 30px; } .svc.k3 .kind { min-height: 150px; padding: 0 12px 12px; border-radius: 18px; } .svc.k3 .kind-txt b { font-size: 18px; } .svc.k3 .kind-txt small { font-size: 12px; } .kind-dot { width: 20px; height: 20px; right: 10px; bottom: 12px; } .svc.k3 .kind-txt { padding-right: 24px; } .kind-img { top: -24px; } }
@media (prefers-reduced-motion: reduce) { .kind-img { transition: none; } }
.kind-dot { top: 12px; bottom: auto; right: 12px; }
.svc.k3 .kind-txt { padding-right: 0; }
@media (max-width: 520px) { .kind-dot { top: 10px; right: 10px; bottom: auto; } .svc.k3 .kind-txt { padding-right: 0; } .kind-img { width: 76%; } .kind-photo .kind-img { width: 70%; } }
/* ---------- Documenti / Foto: calm version ---------- */
.svc.k4 { grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 18px; }
.svc.k4 .kind, .svc.k4 .kind:hover, .svc.k4 .kind[aria-pressed="true"] { isolation: auto; transform: none; opacity: 1; box-shadow: none; }
.svc.k4 .kind::before, .svc.k4 .kind::after { content: none; }
.svc.k4 .kind { position: relative; display: flex; flex-direction: row; align-items: center; gap: 12px; min-height: 0; padding: 12px 14px; border: 1.5px solid #E4E4DF; border-radius: 16px; background: #fff; text-align: left; transition: border-color .2s, background .2s; }
.svc.k4 .kind:hover { border-color: #9A9A94; }
.svc.k4 .kind[aria-pressed="true"] { border: 2px solid var(--ink); padding: 11.5px 13.5px; background: #F6FFD6; }
.svc.k4 .kind-img { position: static; flex: none; width: 52px; max-width: none; height: 44px; object-fit: contain; transform: none; filter: grayscale(1) opacity(.55); transition: filter .2s; }
.svc.k4 .kind-photo .kind-img { width: 52px; top: auto; }
.svc.k4 .kind[aria-pressed="true"] .kind-img, .svc.k4 .kind:hover .kind-img { transform: none; filter: none; }
.svc.k4 .kind-txt b { display: block; font-size: 17px; line-height: 1.15; color: var(--ink); }
.svc.k4 .kind-txt small { display: block; margin-top: 2px; font-size: 12.5px; color: #77776F; }
.svc.k4 .kind:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 520px) { .svc.k4 { gap: 8px; } .svc.k4 .kind { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; } .svc.k4 .kind[aria-pressed="true"] { padding: 11.5px; } .svc.k4 .kind-img { width: 46px; height: 38px; } .svc.k4 .kind-txt b { font-size: 16px; } }
/* ---------- Documenti / Foto: one switch, a sheet of paper slides between them ---------- */
.svc.k5 { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 6px; margin: 4px 0 18px; border-radius: 20px; background: #F1F1EC; }
.k5-slider { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border: 2px solid var(--ink); border-radius: 15px;
  background: linear-gradient(225deg, #fff 0 13px, var(--ink) 13px 15px, var(--lime) 15px);
  transition: transform .45s cubic-bezier(.5,1.4,.5,1); }
.svc.k5:has(#addPhoto[aria-pressed="true"]) .k5-slider { transform: translateX(100%); }
.svc.k5 .kind, .svc.k5 .kind:hover, .svc.k5 .kind[aria-pressed="true"] { position: relative; z-index: 1; isolation: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 0; padding: 14px 10px; border: 0; border-radius: 15px; background: transparent; box-shadow: none; transform: none; opacity: 1; text-align: center; }
.svc.k5 .kind::before, .svc.k5 .kind::after { content: none; }
.svc.k5 .kind-img { display: none; }
.svc.k5 .kind-txt b { display: block; font-size: 18px; line-height: 1.15; color: #8A8A83; transition: color .25s; }
.svc.k5 .kind-txt small { display: block; margin-top: 2px; font-size: 12.5px; color: #A3A39C; transition: color .25s; }
.svc.k5 .kind[aria-pressed="true"] .kind-txt b, .svc.k5 .kind[aria-pressed="true"] .kind-txt small { color: var(--ink); }
.svc.k5 .kind:not([aria-pressed="true"]):hover .kind-txt b { color: var(--ink); }
.svc.k5 .kind:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .k5-slider { transition: none; } }
.k5-slider { border-radius: 15px 5px 15px 15px; background: linear-gradient(225deg, #F1F1EC 0 11px, var(--ink) 11px 13px, #fff 13px 20px, var(--ink) 20px 22px, var(--lime) 22px); }
.k5-slider { border-radius: 15px 0 15px 15px; background: var(--lime); }
.k5-slider::after { content: ""; position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; background: linear-gradient(225deg, #F1F1EC 50%, #fff 50%); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); border-bottom-left-radius: 5px; }
/* switch colours: ink sheet on a light track, lime only as the folded corner + subtitle */
.svc.k5 { background: #F3F3EF; border: 1.5px solid #E7E7E1; }
.k5-slider { border: 0; background: var(--ink); box-shadow: 0 6px 18px rgba(10,10,10,.18); transition: transform .5s cubic-bezier(.5,1.35,.45,1); }
.k5-slider::after { top: 0; right: 0; width: 18px; height: 18px; background: linear-gradient(225deg, #F3F3EF 50%, var(--lime) 50%); border: 0; border-bottom-left-radius: 4px; }
.svc.k5 .kind-txt b { display: inline-flex; align-items: center; gap: 7px; font-size: 18px; color: #6F6F68; }
.k5-ico { flex: none; transition: transform .45s cubic-bezier(.5,1.6,.5,1); }
.svc.k5 .kind-txt small { color: #9C9C95; }
.svc.k5 .kind[aria-pressed="true"] .kind-txt b { color: #fff; }
.svc.k5 .kind[aria-pressed="true"] .kind-txt small { color: var(--lime); }
.svc.k5 .kind[aria-pressed="true"] .k5-ico { transform: rotate(-8deg) scale(1.1); color: var(--lime); }
.svc.k5 .kind:not([aria-pressed="true"]):hover .kind-txt b { color: var(--ink); }
.svc.k5 .kind:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
/* ---------- Documenti / Foto: same soft style as the upload box ---------- */
.svc.k7 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 4px 0 16px; background: none; border: 0; }
.svc.k7 .kind, .svc.k7 .kind:hover, .svc.k7 .kind[aria-pressed="true"] { position: relative; isolation: auto; transform: none; opacity: 1; box-shadow: none; }
.svc.k7 .kind::before, .svc.k7 .kind::after { content: none; }
.svc.k7 .kind { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 0; padding: 18px 12px 16px; border: 1.5px solid #E2E2E2; border-radius: 16px; background: #fff; text-align: center; transition: border-color .2s, background .2s; }
.svc.k7 .kind:hover { border-color: #B9B4C4; }
.svc.k7 .kind[aria-pressed="true"] { border: 2px solid #1A1A1A; padding: 17.5px 11.5px 15.5px; background: #F7F4FC; }
.k7-ico { display: block; height: 40px; width: auto; transition: transform .25s; }
.svc.k7 .kind[aria-pressed="true"] .k7-ico { transform: translateY(-2px); }
.svc.k7 .kind-txt b { display: block; font-size: 17px; line-height: 1.15; color: #1A1A1A; }
.svc.k7 .kind-txt small { display: block; margin-top: 3px; font-size: 13px; color: #6B6B6B; }
.svc.k7 .kind[aria-pressed="false"] .kind-txt b { color: #555; }
.svc.k7 .kind:focus-visible { outline: 3px solid #1A1A1A; outline-offset: 3px; }
@media (max-width: 520px) { .svc.k7 { gap: 10px; } .svc.k7 .kind { padding: 14px 8px 12px; gap: 8px; } .svc.k7 .kind[aria-pressed="true"] { padding: 13.5px 7.5px 11.5px; } .k7-ico { height: 34px; } .svc.k7 .kind-txt b { font-size: 16px; } .svc.k7 .kind-txt small { font-size: 12px; } }
/* photos: purple upload button */
.drop-btn .ico-cloud { display: none; }
.drop-btn.btn-photo .ico-up { display: none; }
.drop-btn.btn-photo .ico-cloud { display: block; }
.drop-btn.btn-photo { gap: 10px; padding: 14px 24px; border-radius: 12px; background: linear-gradient(135deg, #A35BFF 0%, #7B2FF7 100%); color: #fff; font-size: 16px; box-shadow: 0 6px 18px rgba(123,47,247,.28); transition: transform .15s, box-shadow .2s, filter .2s; }
.drop-btn.btn-photo:hover { filter: brightness(1.06); box-shadow: 0 8px 22px rgba(123,47,247,.36); transform: translateY(-1px); }
.drop-btn.btn-photo:active { transform: translateY(0); }
/* ---------- sign-in options ---------- */
.auth-quick { display: grid; gap: 10px; }
.q-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 18px; border: 1.5px solid #DADADA; border-radius: 999px; background: #fff; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.q-btn:hover { border-color: var(--ink); background: #FAFAFA; }
.or-line { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: #888; font-size: 13px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: #E6E6E6; }
/* ---------- OTP ---------- */
dialog.otp { width: min(420px, calc(100% - 32px)); }
.otp-text { margin: -6px 0 16px; color: #555; font-size: 15px; }
.otp-go { width: 100%; justify-content: center; margin-top: 16px; }
.otp-code { font-size: 28px; letter-spacing: .5em; text-align: center; font-weight: 800; }
#otpStep2 .link-btn { display: block; margin: 12px auto 0; }
#recaptchaBox { height: 0; overflow: hidden; }
/* ---------- account ---------- */
dialog.acct { width: min(560px, calc(100% - 32px)); }
.acct-tabs { margin-bottom: 18px; }
.my-order { align-items: flex-start; }
.mo-info { min-width: 0; }
.mo-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.mo-acts { display: flex; gap: 12px; }
.mo-acts .link-btn { font-size: 14px; }
.row-inline { display: flex; gap: 8px; }
.row-inline .fld { flex: 1; min-width: 0; }
.prof-list { list-style: none; margin: 18px 0; padding: 0; border-top: 1px solid #EEE; }
.prof-list li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid #EEE; }
.prof-list li span { width: 84px; color: #777; font-size: 14px; }
.prof-list li b { flex: 1; font-size: 15px; word-break: break-all; }
.acct-out { width: 100%; justify-content: center; background: #F2F2F2; color: var(--ink); }
.addr-list { list-style: none; margin: 0 0 16px; padding: 0; }
.addr-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #EEE; }
.addr-item div { flex: 1; min-width: 0; }
.addr-item b { display: block; font-size: 15px; }
.addr-item small { display: block; color: #666; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-btn.danger { color: #C0392B; }
.addr-add { display: grid; gap: 8px; }
.addr-add .pill { justify-content: center; }
.addr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
.addr-chip { padding: 7px 12px; border-radius: 999px; border: 1.5px solid #DADADA; background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.addr-chip:hover { border-color: var(--ink); background: #F6FFD6; }
/* ---------- delivery by distance ---------- */
.addr-tools { display: flex; justify-content: flex-end; margin-top: 6px; }
.gps-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.del-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 10px 0 0; padding: 11px 14px; border-radius: 12px; font-size: 14px; }
.del-info[hidden] { display: none; }
.del-info.is-wait { background: #F3F3EF; color: #555; }
.del-info.is-ok { background: #F6FFD6; border: 1.5px solid #CBEA4A; color: var(--ink); }
.del-info.is-ok b { font-weight: 800; }
.del-info.is-bad { background: #FFF1EF; border: 1.5px solid #F3C2BB; color: #A02B1E; }
.price b .p-from { display: inline; font-size: 22px; font-weight: 700; letter-spacing: 0; color: inherit; vertical-align: middle; }
/* live location button: easy to tap */
.addr-tools { justify-content: flex-start; margin-top: 8px; }
.gps-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.gps-btn:hover { background: #F6FFD6; }
/* delivery area map */
.zone-map { position: relative; height: 340px; border-radius: 22px; overflow: hidden; background: #F4F4F0; border: 2px solid var(--ink); z-index: 0; }
.zone-map .zone-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.zone-map.is-live .zone-fallback { display: none; }
.zone-map .leaflet-container, .zone-map.leaflet-container { font-family: inherit; }
.zone-tip { background: var(--ink); color: #fff; border: 0; border-radius: 8px; font-weight: 700; padding: 3px 8px; box-shadow: none; }
.zone-tip::before { border-top-color: var(--ink) !important; }
@media (max-width: 600px) { .zone-map { height: 260px; } }
.foot-plus { display: block; font-size: 12px; color: #777; margin-top: 2px; }
.zone-map .zone-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.za-places text { paint-order: stroke; stroke: #F4F7E6; stroke-width: 4px; stroke-linejoin: round; }
.zone-map { aspect-ratio: 480 / 340; height: auto; } @media (max-width: 600px) { .zone-map { height: auto; } }
.price b.p-text { font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; margin-top: 22px; }
/* phone header: language switch + login buttons always on one line, in both languages */
@media (max-width: 480px) {
  .top .nav { flex-wrap: nowrap; gap: 8px; width: 100%; }
  .top .lang { padding: 3px; flex: none; }
  .top .lang button { height: 36px; min-width: 40px; padding: 0 10px; font-size: 14px; }
  .top .auth-out, .top .auth-in { gap: 6px; flex: 1; justify-content: flex-end; min-width: 0; }
  .top .auth-out .pill, .top .auth-in .pill { padding: 10px 14px; font-size: 14px; white-space: nowrap; }
}
@media (max-width: 350px) { .top .auth-out .pill, .top .auth-in .pill { padding: 9px 10px; font-size: 13px; } }
/* order button: same look as "Avanti" — black pill, white text, one line */
.pill.pay { background: var(--ink); color: #fff; height: 58px; padding: 0 8px 0 22px; gap: 12px; white-space: nowrap; font-size: 15.5px; font-weight: 700; }
.pill.pay > span[data-i18n="pay"] { overflow: hidden; text-overflow: ellipsis; }
.pill.pay .amt { flex: none; display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 17px; font-weight: 800; }
.pill.pay:hover { background: #1F1F1F; }
@media (max-width: 380px) { .pill.pay { font-size: 14px; padding-left: 16px; } .pill.pay .amt { padding: 0 12px; font-size: 16px; } }

/* sign in with Google before placing the order */
.g-need { margin-top: 12px; text-align: center; }
.g-need[hidden] { display: none; }
.g-need p { margin: 0 0 8px; font-size: 13px; color: #555; }
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 48px; padding: 0 16px; border: 1px solid #747775; border-radius: 999px; background: #fff; color: #1f1f1f; font-family: Roboto, Arial, sans-serif; font-size: 15px; font-weight: 500; letter-spacing: .25px; cursor: pointer; transition: background .15s, box-shadow .15s; }
.g-btn svg { flex: none; width: 20px; height: 20px; }
.g-btn:hover { background: #f8f9fa; box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); }
.g-btn:active { background: #eceff1; }
.g-btn:focus-visible { outline: 3px solid #0b57d0; outline-offset: 2px; }
.g-btn[hidden] { display: none; }
.pay.locked { background: #d9d9d9; color: #8a8a8a; cursor: not-allowed; }
.pay.locked .scoot { display: none; }

.pay.locked .amt { background: #c4c4c4 !important; color: #7a7a7a !important; }

/* local SEO text + FAQ on the page */
.seo { max-width: 760px; }
.seo-p { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.faq-h { margin: 36px 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.seo-en { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
html[lang="en"] .seo-en { display: none; }
