/* =========================================================
   Last Minute Print - Design B ("Print Studio")
   Task-first UX · paper & ink palette · magenta accent
   ========================================================= */

:root {
  --paper: #faf7f2;
  --paper-2: #f2ede4;
  --white: #ffffff;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --muted: #6f6a62;
  --line: #e3ddd2;
  --line-2: #d4ccbe;

  --magenta: #d6006f;
  --magenta-dark: #b0005b;
  --magenta-soft: #fde7f2;
  --cyan: #00a3e0;
  --yellow: #ffd23f;
  --green: #138a4b;
  --green-soft: #e3f4ea;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 0 rgba(17, 17, 17, .04), 0 10px 30px -12px rgba(17, 17, 17, .18);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --container: 1240px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font-family: var(--font-body); font-size: 16.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.05; margin: 0 0 .45em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.on-white { background: var(--white); }
.on-ink { background: var(--ink); color: #c9c4bb; }
.on-ink h2, .on-ink h3 { color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 620px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row p { margin: 0; }
.hl { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: var(--radius); border: 2px solid var(--ink); font-weight: 700; font-size: 1rem; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; white-space: nowrap; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-magenta { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.btn-magenta:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.arrow::after { content: "→"; transition: transform .15s; }
.btn:hover .arrow::after, a:hover > .arrow::after { transform: translateX(3px); }

/* ---------- Status strip ---------- */
.status-strip { background: var(--ink); color: #e9e4da; font-size: .88rem; }
.status-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.status-strip strong { color: var(--yellow); }
.status-strip nav { display: flex; gap: 20px; }
.status-strip a:hover { color: #fff; }
.design-flag { background: var(--yellow); color: var(--ink); text-align: center; font-size: .8rem; font-weight: 600; padding: 5px 10px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo img { height: 44px; width: auto; }
.search-bar { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 0 6px 0 16px; height: 50px; transition: border-color .15s; }
.search-bar:focus-within { border-color: var(--ink); }
.search-bar input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; }
.search-bar { position: relative; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(17, 17, 17, .14); padding: 6px; max-height: 70vh; overflow-y: auto; }
.search-results a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a.active { background: var(--paper, #faf7f2); }
.search-results img, .search-results .ph { width: 52px; height: 40px; border-radius: 6px; object-fit: cover; background: #f1ede6; }
.search-results b { display: block; font-size: .95rem; }
.search-results small { display: block; color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.search-results .price { font-size: .82rem; font-weight: 700; white-space: nowrap; }
.search-results .all { display: block; text-align: center; font-weight: 700; font-size: .88rem; color: var(--magenta); padding: 10px; border-top: 1px dashed var(--line-2); margin-top: 4px; border-radius: 0; }
.search-results .none { padding: 14px 12px; color: var(--muted); font-size: .92rem; }
.search-bar button { border: 0; background: var(--ink); color: #fff; border-radius: 7px; height: 38px; padding: 0 14px; font-weight: 700; cursor: pointer; }
.header-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.tool { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 8px; font-size: .75rem; font-weight: 600; color: var(--ink); position: relative; }
.tool:hover { background: var(--paper-2); }
.tool svg { width: 22px; height: 22px; }
.tool .count { position: absolute; top: 0; right: 4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--magenta); color: #fff; font-size: .68rem; line-height: 18px; text-align: center; padding: 0 4px; }
.menu-btn { display: none; border: 0; background: none; cursor: pointer; }
.search-toggle { display: none; border: 0; background: none; cursor: pointer; font: inherit; font-size: .75rem; }

.cat-nav { border-top: 1px solid var(--line); }
.cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.cat-nav li { position: relative; }
.cat-nav a, .cat-nav button.mega-trigger { display: block; padding: 13px 14px; font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap; border: 0; background: none; cursor: pointer; border-bottom: 2px solid transparent; }
.cat-nav a:hover, .cat-nav a.active, .cat-nav button.mega-trigger:hover { border-color: var(--magenta); }
.cat-nav .pill { margin-left: auto; }
.cat-nav .pill a { color: var(--magenta); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; z-index: 40; }
.mega.open { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 32px; padding: 32px var(--gutter); max-width: var(--container); margin: 0 auto; }
.mega h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); margin-bottom: 14px; }
.mega ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mega ul a { font-weight: 600; color: var(--ink); }
.mega ul a:hover { color: var(--magenta); }
.mega ul small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }
.mega-promo { background: var(--magenta-soft); border-radius: var(--radius-lg); padding: 22px; }
.mega-promo h3 { margin-bottom: 6px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .45; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--magenta); }
.hero .lead { margin-bottom: 28px; }
.proof-row { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; color: var(--ink); font-weight: 600; font-size: .95rem; }
.proof-row span { display: inline-flex; align-items: center; gap: 8px; }
.stars { color: #e8a400; letter-spacing: 1px; }

/* Quick order / finder card */
.finder { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: 8px 8px 0 var(--ink); position: relative; }
.finder h2 { font-size: 1.55rem; margin-bottom: 4px; }
.finder > p { color: var(--muted); font-size: .95rem; }
.finder label.f { display: block; font-weight: 700; color: var(--ink); font-size: .9rem; margin: 18px 0 8px; }
.finder select { width: 100%; height: 52px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--paper); font-weight: 600; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 12px 8px; border: 1.5px solid var(--line-2); border-radius: var(--radius); cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--ink); background: var(--paper); }
.seg label small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.seg input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:checked + label small { color: #cfc9bf; }
.seg input:focus-visible + label { outline: 3px solid var(--cyan); }
.finder .result { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); background: var(--green-soft); color: var(--green); font-weight: 600; font-size: .92rem; }
.finder .btn { margin-top: 16px; }
.finder-stamp { position: absolute; top: -18px; right: 22px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border: 2px solid var(--ink); border-radius: 6px; transform: rotate(3deg); }

/* ---------- Cut-off countdown ---------- */
.cutoff { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 16px var(--gutter); background: var(--yellow); color: var(--ink); font-weight: 700; text-align: center; }
.cutoff .clock { font-family: var(--font-head); font-size: 1.25rem; background: var(--ink); color: var(--yellow); padding: 4px 12px; border-radius: 6px; font-variant-numeric: tabular-nums; }

/* ---------- Category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .82)); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile h3 { color: #fff; font-size: 1.45rem; margin-bottom: 4px; }
.cat-tile p { margin: 0; font-size: .9rem; color: #e6e1d8; }
.cat-tile .n { position: absolute; top: 18px; left: 18px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }

/* ---------- Product list (rows on desktop) ---------- */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s, box-shadow .15s; }
.p-card:hover { border-color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.p-card .img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); position: relative; }
.p-card .img img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.tag-today { background: var(--green-soft); color: var(--green); }
.tag-days { background: var(--paper-2); color: var(--ink-2); }
.tag-hot { background: var(--yellow); color: var(--ink); }
.p-card .img .tag { position: absolute; top: 12px; left: 12px; }
.p-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.p-card h3 { margin-bottom: 6px; }
.p-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 16px; flex: 1; }
.p-card .foot { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px dashed var(--line-2); padding-top: 14px; }
.p-card .from { font-size: .8rem; color: var(--muted); }
.p-card .from b { display: block; font-family: var(--font-head); font-size: 1.45rem; color: var(--ink); line-height: 1.1; }
.p-card .go { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; font-size: .85rem; line-height: 1.25; color: var(--magenta); text-align: right; padding-bottom: 2px; }

/* ---------- Audience / who we print for ---------- */
.audience { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.audience-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .audience-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .audience-4 { grid-template-columns: 1fr; } }
.aud { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px; transition: border-color .15s; }
.aud:hover { border-color: var(--ink); }
.aud .e { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.aud h3 { font-size: 1.08rem; margin-bottom: 4px; }
.aud p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: t; border-top: 2px solid #3a3a3a; }
.timeline li { list-style: none; padding: 28px 26px 0 0; position: relative; }
.timeline li::before { counter-increment: t; content: "0" counter(t); position: absolute; top: -15px; left: 0; background: var(--magenta); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9rem; padding: 4px 10px; border-radius: 6px; }
.timeline h3 { margin-top: 10px; }
.timeline p { color: #a8a298; font-size: .95rem; margin: 0; }
.timeline { padding: 0; margin: 0; }

/* ---------- Reviews ---------- */
.review-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.rating-box { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 150px; }
.rating-box .big { font-family: var(--font-head); font-size: 4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.bars { display: grid; gap: 6px; margin: 18px 0 22px; font-size: .85rem; }
.bars div { display: grid; grid-template-columns: 22px 1fr 34px; gap: 8px; align-items: center; }
.bars span.b { height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.bars span.b i { display: block; height: 100%; background: #e8a400; }
.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rv { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.rv p { color: var(--ink-2); margin: 10px 0 14px; }
.rv footer { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.rv footer b { color: var(--ink); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.photo { border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--magenta); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; background: #fff; }
.figures div { padding: 18px; border-right: 1.5px solid var(--line-2); }
.figures div:last-child { border-right: 0; }
.figures-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .figures-4 { grid-template-columns: 1fr 1fr; } .figures-4 div:nth-child(2) { border-right: 0; } .figures-4 div:nth-child(-n+2) { border-bottom: 1.5px solid var(--line-2); } }
.figures b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--ink); line-height: 1.1; }
.figures span { font-size: .85rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 5px; background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq details[open] { border-color: var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; color: var(--ink); font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }

/* ---------- Local area ---------- */
.local { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.local .info { padding: 40px; }
.local iframe, .local .map-consent { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.areas a { padding: 7px 12px; border-radius: 999px; background: var(--paper-2); font-size: .85rem; font-weight: 600; color: var(--ink); }
.areas a:hover { background: var(--ink); color: #fff; }
.hours { width: 100%; border-collapse: collapse; font-size: .93rem; margin-top: 10px; }
.hours td { padding: 7px 0; border-bottom: 1px dashed var(--line-2); }
.hours td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.hours tr.today td { color: var(--magenta); }

/* ---------- Page head ---------- */
.page-head { padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin: 0 0 18px; padding: 0; list-style: none; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Listing page ---------- */
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 150px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.filters h3 { font-size: 1rem; margin: 0 0 12px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.filters legend { font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: 10px; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .95rem; }
.filters input { accent-color: var(--magenta); width: 18px; height: 18px; }
.sortbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.sortbar select { height: 44px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; font-weight: 600; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.pdp-media { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; container-type: inline-size; }
.pdp-thumbs { display: grid; gap: 10px; align-content: start; }
.pdp-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--paper-2); }
.pdp-thumbs button[aria-current="true"] { border-color: var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main { border-radius: var(--radius-lg); overflow: hidden; position: relative; width: 100%; min-width: 0; align-self: stretch; min-height: calc((100cqw - 98px) * .75); background: var(--paper-2); border: 1.5px solid var(--line); }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-title { margin: 32px 0 8px; font-size: clamp(2rem, 4vw, 3rem); }
.pdp-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; font-size: .9rem; }

.step-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 16px; overflow: hidden; }
.step-card > header { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.step-card > header .num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex: 0 0 30px; }
.step-card > header h2 { font-size: 1.2rem; margin: 0; letter-spacing: -.01em; }
.step-card > header .done { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--green); }
.step-card .inner { padding: 22px; }
.opt { margin-bottom: 20px; }
.opt:last-child { margin-bottom: 0; }
.opt-label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 10px; font-size: .95rem; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label { padding: 11px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--paper); cursor: pointer; font-weight: 600; font-size: .93rem; }
.choices input:checked + label { border-color: var(--ink); background: var(--ink); color: #fff; }
.choices input:focus-visible + label { outline: 3px solid var(--cyan); }
.choices input:disabled + label { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.qty-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.qty-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 12px 8px; }
.qty-table td { padding: 0; }
.qty-table tr.row { cursor: pointer; }
.qty-table tr.row td > label { display: block; padding: 13px 12px; border-top: 1px solid var(--line); cursor: pointer; }
.qty-table tr.row:hover td > label { background: var(--paper); }
.qty-table tr.row.sel td > label { background: var(--magenta-soft); }
.qty-table tr.row.sel td:first-child > label { box-shadow: inset 3px 0 0 var(--magenta); }
.qty-table input { accent-color: var(--magenta); margin-right: 8px; }
.qty-table .save { color: var(--green); font-weight: 700; font-size: .8rem; }
.qty-table .each-word { display: none; }
.qty-table td:last-child { text-align: right; }
.qty-table b { color: var(--ink); }

.art-options { display: grid; gap: 10px; }
.art-options > label { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius); cursor: pointer; background: var(--paper); }
.art-options > label:has(input:checked) { border-color: var(--ink); background: #fff; }
.art-options input { accent-color: var(--magenta); margin-top: 4px; }
.art-options strong { display: block; color: var(--ink); }
.art-options small { color: var(--muted); }
.upload { margin-top: 12px; border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 22px; text-align: center; background: #fff; cursor: pointer; display: block; }
.upload:hover, .upload.drag { border-color: var(--magenta); background: var(--magenta-soft); }
.upload input { display: none; }
.upload .file-ok { display: none; color: var(--green); font-weight: 700; margin-top: 8px; }
.upload.has-file .file-ok { display: block; }

.buy-box { position: sticky; top: 150px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: 24px; box-shadow: 8px 8px 0 var(--ink); }
.buy-box h2 { font-size: 1.2rem; margin-bottom: 14px; }
.buy-lines { list-style: none; padding: 0; margin: 0 0 16px; font-size: .92rem; display: grid; gap: 8px; }
.buy-lines li { display: flex; justify-content: space-between; gap: 12px; }
.buy-lines li span:first-child { color: var(--muted); }
.buy-lines li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.ready-by { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--green-soft); color: var(--green); margin-bottom: 16px; }
.ready-by b { display: block; color: var(--ink); font-size: 1.02rem; }
.ready-by small { color: var(--green); font-weight: 600; }
.price-line { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line-2); padding-top: 14px; margin-bottom: 16px; }
.price-line .total { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.price-line small { color: var(--muted); display: block; }
.reassure { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .86rem; color: var(--muted); }

.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--line); }
.spec th, .spec td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 36%; color: var(--ink); background: var(--paper); }

/* ---------- Articles ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; }
.post .img { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--line); margin-bottom: 16px; }
.post .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post:hover .img img { transform: scale(1.04); }
.post .meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; display: flex; gap: 10px; }
.post .meta b { color: var(--magenta); }
.post h3 { font-size: 1.25rem; }
.post:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post p { color: var(--muted); font-size: .95rem; }
.post-lead { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.post-lead .img { aspect-ratio: 16 / 10; margin: 0; }
.post-lead h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.prose { max-width: 720px; font-size: 1.1rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--magenta); font-weight: 600; text-decoration: underline; }
.toc { position: sticky; top: 150px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.toc h3 { font-size: 1rem; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: .93rem; }
.toc a:hover { color: var(--magenta); }
.callout { border-left: 4px solid var(--magenta); background: var(--magenta-soft); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); font-weight: 600; margin: 28px 0; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.fld label { display: block; font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: 6px; }
.fld label small { font-weight: 500; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; height: 52px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; outline: 0; }
.fld textarea { height: auto; min-height: 130px; padding: 14px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17, 17, 17, .07); }
.box { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.box-ink { border: 2px solid var(--ink); }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.c-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: block; transition: border-color .15s; }
.c-card:hover { border-color: var(--ink); }
.c-card .e { font-size: 1.6rem; }
.c-card h3 { font-size: 1.05rem; margin: 10px 0 4px; }
.c-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.c-card b { color: var(--ink); display: block; margin-top: 8px; }

/* ---------- Basket / checkout ---------- */
.progress { display: flex; gap: 0; margin-bottom: 32px; list-style: none; padding: 0; }
.progress li { flex: 1; text-align: center; padding-top: 34px; position: relative; font-size: .88rem; font-weight: 600; color: var(--muted); }
.progress li::before { content: attr(data-n); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--paper); display: grid; place-items: center; font-size: .8rem; z-index: 1; }
.progress li::after { content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 2px; background: var(--line-2); }
.progress li:first-child::after { left: 50%; }
.progress li:last-child::after { right: 50%; }
.progress li.done, .progress li.now { color: var(--ink); }
.progress li.done::before { content: "✓"; background: var(--ink); border-color: var(--ink); color: #fff; }
.progress li.now::before { border-color: var(--magenta); background: var(--magenta); color: #fff; }
.basket { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 12px; }
.line img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); }
.line h3 { font-size: 1.08rem; margin-bottom: 4px; }
.line .opts { font-size: .86rem; color: var(--muted); margin-bottom: 8px; }
.line .art { font-size: .84rem; font-weight: 700; }
.line .art.ok { color: var(--green); }
.line .art.warn { color: var(--magenta); }
.line .p { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--ink); text-align: right; }
.line .actions { display: flex; gap: 14px; margin-top: 8px; font-size: .85rem; }
.line .actions button { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; }
.choose { display: grid; gap: 10px; }
.choose label { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: start; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius); cursor: pointer; background: #fff; }
.choose label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choose input { accent-color: var(--magenta); margin-top: 4px; }
.choose strong { color: var(--ink); display: block; }
.choose small { color: var(--muted); }
.choose .amt { font-weight: 800; color: var(--ink); }
.sum { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sum li { display: flex; justify-content: space-between; }
.sum li.t { border-top: 2px solid var(--ink); padding-top: 14px; margin-top: 6px; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 12px; font-size: .82rem; color: var(--muted); }
.paylogos { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.paylogos span { font-size: .72rem; font-weight: 800; border: 1.5px solid var(--line-2); border-radius: 5px; padding: 3px 7px; color: var(--ink-2); background: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9b3a9; padding: 80px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 36px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.footer .brand-logo img { height: 38px; }
.footer address { font-style: normal; line-height: 1.8; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid #2c2c2c; }
.footer-cta h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #2c2c2c; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Mobile action bar */
.action-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; grid-template-columns: 1fr 1fr 1.3fr; }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; border-radius: 10px; font-size: .76rem; font-weight: 700; color: var(--ink); }
.action-bar a svg { width: 20px; height: 20px; }
.action-bar a.primary { background: var(--magenta); color: #fff; flex-direction: row; gap: 8px; font-size: .9rem; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200px); visibility: hidden; z-index: 70; background: var(--ink); color: #fff; padding: 14px 18px 14px 22px; border-radius: 12px; display: flex; align-items: center; gap: 16px; transition: transform .3s, visibility .3s; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
@media (max-width: 960px) { .toast { bottom: 88px; } }
.toast a { background: var(--yellow); color: var(--ink); padding: 8px 12px; border-radius: 8px; font-weight: 700; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr 360px; gap: 32px; }
}
@media (max-width: 960px) {
  .search-bar { display: none; }
  .menu-btn, .search-toggle { display: inline-flex; }
  /* Phones: search opens as a floating box under the header, so the top row never moves */
  .site-header.search-open .search-bar { display: flex; position: absolute; top: calc(100% + 10px); left: 16px; right: 16px; max-width: none; z-index: 55; box-shadow: 0 14px 34px rgba(17, 17, 17, .16); border-color: var(--ink); }
  .search-toggle .ico-close { display: none; }
  .search-bar input { font-size: 16px; } /* 16px stops iPhones zooming in when typing */
  .site-header.search-open .search-toggle { background: var(--ink); color: #fff; }
  .site-header.search-open .search-toggle .ico-search { display: none; }
  .site-header.search-open .search-toggle .ico-close { display: block; }
  /* Call and basket are already in the bottom bar on phones */
  .header-tools .quote-btn, .header-tools .tool-basket { display: none; }
  .header-tools { gap: 4px; }
  .section { padding: 64px 0; }
  .hero-grid, .split, .review-wrap, .faq-grid, .local, .listing, .pdp, .article-layout, .basket, .post-lead { grid-template-columns: 1fr; gap: 36px; }
  .p-grid, .posts { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .review-list { grid-template-columns: 1fr; }
  .rating-box, .filters, .buy-box, .toc { position: static; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .cat-nav { display: none; }
  .cat-nav.open { display: block; }
  .cat-nav.open ul { flex-direction: column; }
  .status-strip nav { display: none; }
  .local iframe, .local .map-consent { min-height: 300px; }
  .filters { display: none; }
  .filters.open { display: block; }
  .action-bar { display: grid; }
  body { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .p-grid, .posts, .cat-tiles, .audience, .contact-cards, .form { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-tile { aspect-ratio: 3 / 4; padding: 16px; }
  .cat-tile h3 { font-size: 1.1rem; }
  .cat-tile p { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .figures div { border-right: 0; border-bottom: 1.5px solid var(--line-2); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .pdp-media { grid-template-columns: minmax(0, 1fr); }
  .pdp-main { min-height: calc(100cqw * .75); }
  .pdp-thumbs { grid-template-columns: repeat(4, 1fr); order: 2; }
  .line { grid-template-columns: 72px 1fr; }
  .line img { width: 72px; height: 72px; }
  .line .p { grid-column: 2; text-align: left; }
  .finder { padding: 22px; box-shadow: 5px 5px 0 var(--ink); }
  .header-main { gap: 12px; height: 68px; }
  .logo img { height: 40px; }
  .tool span.lbl { display: none; }
  .local .info { padding: 24px; }
  .head-row { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Additions for the live site ---------- */
.areas .area { padding: 7px 12px; border-radius: 999px; background: var(--paper-2); font-size: .85rem; font-weight: 600; color: var(--ink); }
.prose-block ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.prose-block ul li { padding-left: 32px; position: relative; color: var(--ink); font-weight: 600; }
.prose-block ul li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 5px; background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
a.sr-only:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.line .actions form { display: inline; }
.line h3 a:hover { text-decoration: underline; }
.fld input[type="file"] { background: #fff; }

/* Header: quote button + contact icons */
.status-strip nav a { display: inline-flex; align-items: center; gap: 7px; }
.strip-ico { width: 15px; height: 15px; flex: 0 0 15px; color: var(--yellow); }
.quote-btn { gap: 8px; margin-right: 6px; box-shadow: 3px 3px 0 var(--ink); }
.quote-btn:hover { box-shadow: 5px 5px 0 var(--ink); }
.cat-nav .mobile-only { display: none; }
@media (max-width: 960px) {
  .quote-btn { padding: 8px 12px; font-size: .85rem; margin-right: 2px; }
  .quote-btn .long { display: none; }
  .header-tools .tool-call { display: none; }
  .cat-nav.open .mobile-only { display: block; }
  .cat-nav .mobile-only a { color: #fff; background: var(--magenta); border-radius: var(--radius); margin: 6px 0; text-align: center; }
}

.quote-btn .short { display: none; }
@media (max-width: 960px) { .quote-btn .short { display: inline; } }

.strip-ico.wa-ico { width: 17px; height: 17px; flex-basis: 17px; }
.action-bar .wa-ico { width: 22px; height: 22px; }
.c-card .wa-ico { width: 30px; height: 30px; display: block; }

/* Hero: contact buttons + quote form */
.hero-contact { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 26px; }
.hero-contact .btn { padding: 12px 20px; gap: 12px; text-align: left; }
.hero-contact .btn span { display: flex; flex-direction: column; line-height: 1.2; }
.hero-contact .btn small { font-weight: 600; font-size: .75rem; opacity: .85; }
.hero-contact .btn-wa { border-color: #1faa53; background: #25d366; }
.hero-contact .btn-wa:hover { box-shadow: 4px 4px 0 var(--ink); }
.finder input:not([type=radio]), .finder textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--paper); font-weight: 500; outline: 0; }
.finder input:focus, .finder textarea:focus, .finder select:focus { border-color: var(--ink); background: #fff; }
.finder textarea { resize: vertical; min-height: 60px; }
.finder .quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.finder .quote-row .f { margin-top: 16px; }
#hero-quote label.f, #hero-quote span.f { font-weight: 700; color: var(--ink); font-size: .9rem; margin: 14px 0 6px; }
#hero-quote .btn { margin-top: 16px; }
.quote-state { display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 26px 4px 6px; animation: quote-in .35s ease-out; }
.quote-state[hidden] { display: none; }
.quote-state h2 { font-size: 1.6rem; margin: 0 0 8px; }
.quote-state p { color: var(--ink-2); margin: 0 auto 14px; max-width: 420px; }
.quote-state .quote-faster { font-size: .9rem; color: var(--muted); }
.quote-state a:not(.btn) { color: var(--magenta); font-weight: 700; }
.quote-state .btn { margin-top: 8px; }
.quote-icon { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; margin: 4px auto 18px; }
.quote-icon.sending { background: var(--magenta-soft); color: var(--magenta); }
.quote-icon.sending svg { animation: quote-fly 1.1s ease-in-out infinite; }
.quote-icon.done { background: var(--green-soft); color: var(--green); animation: quote-pop .45s cubic-bezier(.2, 1.6, .4, 1); }
.quote-icon.done circle { stroke-dasharray: 170; stroke-dashoffset: 170; animation: quote-draw .5s .1s ease-out forwards; }
.quote-icon.done path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: quote-draw .35s .5s ease-out forwards; }
.box-ink .quote-state h2 { font-size: 1.8rem; }
@keyframes quote-fly { 0% { transform: translate(-4px, 4px) rotate(0); } 50% { transform: translate(5px, -5px) rotate(-6deg); } 100% { transform: translate(-4px, 4px) rotate(0); } }
@keyframes quote-draw { to { stroke-dashoffset: 0; } }
@keyframes quote-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
@keyframes quote-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quote-state, .quote-icon, .quote-icon svg, .quote-icon circle, .quote-icon path { animation: none !important; stroke-dashoffset: 0 !important; } }
@media (max-width: 600px) {
  .hero-contact .btn { flex: 1 1 100%; justify-content: flex-start; }
  .finder .quote-row { grid-template-columns: 1fr; gap: 0; }
}

.hero-contact { display: grid; grid-template-columns: auto auto; justify-content: start; }
.hero-contact .btn { white-space: nowrap; min-width: 0; padding: 11px 16px; }
.hero-contact .btn span { font-size: .95rem; }
@media (max-width: 1180px) { .hero-contact .btn span { font-size: .85rem; } .hero-contact .btn svg { width: 20px; height: 20px; } }
@media (max-width: 960px) { .hero-contact .btn span { font-size: .95rem; } }
@media (max-width: 520px) { .hero-contact { grid-template-columns: 1fr; } }

/* Hero quote form: compact fields, tall details box */
#hero-quote input:not([type=radio]), #hero-quote select { height: 42px; padding: 0 12px; font-size: .93rem; }
#hero-quote select { background-position: right 12px center; }
#hero-quote input[type=date] { padding-right: 8px; color: var(--ink); }
#hero-quote textarea { min-height: 132px; padding: 10px 12px; font-size: .93rem; }
#hero-quote label.f, #hero-quote span.f { margin: 12px 0 5px; font-size: .85rem; }
#hero-quote .quote-row .f { margin-top: 12px; }
#hero-quote h2 { margin-bottom: 2px; }
#hero-quote .btn { margin-top: 14px; }

/* Header call button */
.quote-btn .long { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.quote-btn .long small { font-size: .68rem; font-weight: 600; opacity: .9; }
.quote-btn { padding: 8px 16px; }

@media (max-width: 960px) { .quote-btn .long { display: none !important; } .quote-btn { padding: 8px 12px; } }

.terms-note { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.footer-terms { color: #8f897f; margin: 40px 0 0; max-width: 820px; }

/* Contact cards: everything lines up, details on one line */
.contact-cards .c-card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 20px; }
.c-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; flex: 0 0 44px; }
.c-ico svg { width: 22px; height: 22px; }
.c-ico-phone { background: var(--magenta-soft); color: var(--magenta); }
.c-ico-whatsapp { background: #25d366; }
.c-ico-whatsapp svg { width: 26px; height: 26px; }
.c-ico-email { background: #e6f5fc; color: var(--cyan); }
.c-ico-visit { background: #fff4cc; color: #c28a00; }
.contact-cards .c-card h3 { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.3; }
.contact-cards .c-card p { margin: 0 0 14px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.contact-cards .c-card b { margin-top: auto; white-space: nowrap; font-size: .9rem; letter-spacing: -.01em; max-width: 100%; }
@media (max-width: 1240px) and (min-width: 961px) { .contact-cards .c-card b { font-size: .82rem; } }
@media (max-width: 1100px) and (min-width: 641px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-cards .c-card b { font-size: .9rem; } }

/* Contact cards centred */
.contact-cards .c-card { align-items: center; text-align: center; }
.contact-cards .c-card p, .contact-cards .c-card b { text-align: center; }

/* Contact page: quote form and map box are the same height */
.contact-split { align-items: stretch; gap: 40px; }
.contact-split > form, .contact-split > #visit { height: 100%; }
.contact-split > form { display: flex; flex-direction: column; margin: 0; }
.contact-split > form .btn { margin-top: auto !important; }
.contact-split > form .form { margin-bottom: 18px; }
.contact-split > #visit .local { height: 100%; display: flex; flex-direction: column; }
.contact-split > #visit iframe, .contact-split > #visit .map-consent { flex: 1 1 auto; min-height: 260px; }
.contact-split > #visit .info { flex: 0 0 auto; }
@media (max-width: 960px) { .contact-split > form, .contact-split > #visit, .contact-split > #visit .local { height: auto; } }

/* Page headings (About, Contact, T-shirt...): no breadcrumb, less empty space on top */
.page-hero-block { padding: 40px 0 56px; }
.page-hero-block.no-photo { padding-bottom: 8px; }
@media (max-width: 600px) { .page-hero-block { padding: 28px 0 40px; } }

/* Same-day note: two lines, the call line never wraps */
.sameday-note span { display: block; white-space: nowrap; }
.sameday-note a { color: var(--ink); text-decoration: underline; font-weight: 600; white-space: nowrap; }
@media (max-width: 380px) { .sameday-note span { white-space: normal; } }

/* Checkout: courier price result */
.courier-result { margin: 14px 0 0; }
.addr-find { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.addr-find .btn { height: 52px; white-space: nowrap; }
.addr-msg { margin: 10px 0 0; font-size: .9rem; color: var(--magenta-ink, var(--ink)); font-weight: 600; }
.linkish { background: none; border: 0; padding: 0; margin-top: 10px; font: inherit; font-size: .9rem; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.courier-result .courier-when { display: block; font-size: .85rem; color: var(--ink-2); font-weight: 500; margin-top: 4px; }
.courier-result.callout { background: var(--magenta-soft); }
button[disabled] { opacity: .65; cursor: not-allowed; }

/* Keep hyphenated words (in-house, same-day) on one line */
.nowrap { white-space: nowrap; }

/* Offers sign-up (footer and /join) */
.footer-news { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 40px; align-items: center; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid #2c2c2c; }
.footer-news h3 { color: #fff; margin: 0 0 6px; font-size: 1.4rem; }
.footer-news p { margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type="email"], .newsletter-form input[name="name"] { flex: 1 1 220px; min-width: 0; padding: 14px 16px; border-radius: var(--radius); border: 2px solid var(--line); font: inherit; background: #fff; color: var(--ink); }
.newsletter-form .btn { flex: 0 0 auto; }
.newsletter-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter-small { font-size: .8rem; margin: 10px 0 0; opacity: .75; }
.newsletter-small a { color: inherit; text-decoration: underline; }
.newsletter-error { color: #ff7aa8; font-size: .85rem; margin: 8px 0 0; }
.box .newsletter-error { color: var(--magenta); }
.newsletter-done { margin: 0; padding: 14px 16px; border-radius: var(--radius); background: var(--green-soft); color: var(--green); font-weight: 600; }
@media (max-width: 760px) { .footer-news { grid-template-columns: 1fr; } }

/* Product photo: click to see it bigger in a pop-up on the page */
.pdp-zoom { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pdp-zoom-hint { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.pdp-zoom-hint svg { width: 20px; height: 20px; }
.lightbox { width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 20px 64px 44px; border: 0; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); overflow: visible; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(17, 17, 17, .55); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 10px; }
.lb-btn { position: absolute; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { border-color: var(--ink); }
.lb-close { top: 10px; right: 10px; font-size: 1rem; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lb-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .85rem; }
@media (max-width: 640px) { .lightbox { padding: 52px 12px 60px; } .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } .lb-count { bottom: 20px; } }

/* Click-to-load map: a street-grid picture until the visitor asks for Google Maps */
.map-consent { position: relative; display: grid !important; place-items: center; text-align: center; padding: 24px; background-color: #f1ece3;
  background-image: linear-gradient(28deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%), linear-gradient(-62deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%),
  linear-gradient(0deg, transparent 49%, #e6dfd3 49%, #e6dfd3 51%, transparent 51%), linear-gradient(90deg, transparent 49%, #e6dfd3 49%, #e6dfd3 51%, transparent 51%);
  background-size: 260px 260px, 180px 180px, 60px 60px, 60px 60px; }
.map-consent-inner { display: grid; justify-items: center; gap: 10px; max-width: 320px; background: rgba(255,255,255,.92); border-radius: 14px; padding: 20px 22px; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.map-consent-inner strong { color: var(--ink); font-size: .95rem; line-height: 1.35; }
.map-consent-inner small { color: var(--muted); font-size: .75rem; line-height: 1.4; }
.map-consent-inner small a { color: inherit; text-decoration: underline; }
.map-pin { width: 34px; height: 34px; color: var(--magenta); }

/* Phones: the homepage top section is centred (longer text further down stays left-aligned) */
@media (max-width: 960px) {
  .hero { padding-top: 28px; }
  .hero-grid > div:first-child { text-align: center; }
  .hero-grid > div:first-child .hero-contact { justify-content: center; }
  .hero-grid > div:first-child .lead { font-size: 1rem; max-width: 34em; margin-left: auto; margin-right: auto; }
  .hero-grid > div:first-child .proof-row { justify-content: center; }
  .hero-grid > div:first-child .kicker::after { content: ""; width: 22px; height: 2px; background: currentColor; }
  .search-results a { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .search-results small { max-width: none; }
}
@media (max-width: 480px) {
  .hero-grid > div:first-child .kicker { font-size: .72rem; letter-spacing: .1em; }
  .hero-grid > div:first-child .kicker::before, .hero-grid > div:first-child .kicker::after { display: none; }
}

/* Checkout: links inside the tick-box text (Terms, Refund Policy) */
.step-card label a { color: var(--ink); font-weight: 600; text-decoration: underline; }

/* ---------- Phones: product page, checkout, homepage cards, footer ---------- */
.pdp-sticky, .m-summary { display: none; }
@media (max-width: 960px) {
  /* Sticky price bar replaces the Call / WhatsApp / Basket bar on product pages, and hides while the order box is on screen */
  .pdp-sticky { display: flex; align-items: center; justify-content: space-between; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(17, 17, 17, .08); transition: transform .25s; }
  .pdp-sticky.away { transform: translateY(110%); }
  .pdp-sticky small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
  .pdp-sticky b { font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
  .pdp-sticky .btn { padding: 13px 22px; white-space: nowrap; }
  body:has(.pdp-sticky) .action-bar { display: none; }

  /* Quantity table: each quantity is one even row - "250 cards" with "£0.32 each · save 40%" under it, total on the right */
  .step-card header { flex-wrap: wrap; row-gap: 4px; }
  .qty-table, .qty-table tbody { display: block; }
  .qty-table thead { display: none; }
  .qty-table tr.row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "qty total" "each total"; align-items: center; column-gap: 12px; padding: 12px 10px; border-top: 1px solid var(--line); }
  .qty-table tr.row:first-child { border-top: 0; }
  .qty-table tr.row td { display: block; }
  .qty-table tr.row td:first-child { grid-area: qty; }
  .qty-table tr.row td:nth-child(2):not(:last-child) { grid-area: each; }
  .qty-table tr.row td:last-child { grid-area: total; }
  .qty-table tr.row td > label { padding: 0; border-top: 0; background: none !important; box-shadow: none !important; }
  .qty-table tr.row:hover { background: var(--paper); }
  .qty-table tr.row.sel { background: var(--magenta-soft); box-shadow: inset 3px 0 0 var(--magenta); border-radius: 4px; }
  .qty-table td:first-child > label { white-space: nowrap; font-size: .98rem; }
  .qty-table [data-each] { display: block; padding: 2px 0 0 26px; font-size: .82rem; color: var(--muted); }
  .qty-table .each-word { display: inline; }
  .qty-table [data-each] .save::before { content: "· "; color: var(--muted); font-weight: 400; }
  .qty-table td:last-child b { font-size: 1.05rem; }

  /* Artwork: the drop box stacks its text instead of splitting into two columns */
  .art-options > label.upload { display: block; }

  /* Checkout: short order summary at the top */
  .m-summary { display: block; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius); margin-bottom: 18px; }
  .m-summary summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
  .m-summary summary::-webkit-details-marker { display: none; }
  .m-summary summary span:first-child::after { content: " ▾"; color: var(--muted); }
  .m-summary[open] summary span:first-child::after { content: " ▴"; }
  .m-summary ul { list-style: none; margin: 0; padding: 0 16px 14px; display: grid; gap: 8px; font-size: .92rem; }
  .m-summary li { display: flex; justify-content: space-between; gap: 12px; }
  .m-summary li small { color: var(--muted); }
}
@media (max-width: 600px) {
  /* Homepage and product list: two cards side by side */
  .p-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; } /* !important beats the inline grid on the All products page */
  .p-card .body { padding: 12px 12px 14px; }
  .p-card h3 { font-size: 1rem; }
  .p-card .sub { font-size: .78rem; margin-bottom: 10px; }
  .p-card .img .tag { top: 8px; left: 8px; font-size: .68rem; }
  .p-card .foot { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 10px; }
  .p-card .from b { font-size: 1.2rem; }
  .p-card .go { flex-direction: row; gap: 4px; font-size: .8rem; }
  /* Footer: keep times and the email address in one piece */
  .footer-top > div:last-child { grid-column: 1 / -1; }
  .footer .hours td:last-child { white-space: nowrap; }
}

/* Cookie choice bar (only shown when Google Ads tracking is switched on in Shop settings) */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 16px; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: 6px 6px 0 var(--magenta); font-size: .9rem; line-height: 1.45; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar a { color: inherit; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 18px; }
@media (max-width: 960px) {
  .cookie-bar { bottom: calc(76px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
