/* Dovitee — print & embroidery theme */

:root {
  --ink: #121417;
  --ink-2: #1d2126;
  --ink-3: #2a2f36;
  --paper: #f5f3ee;
  --paper-2: #ebe8e0;
  --white: #ffffff;
  --line: #ddd9cf;
  --muted: #5d6168;
  --muted-light: #a3a8b0;
  --accent: #d7f205;       /* hi-vis lime */
  --accent-ink: #121417;
  --orange: #f2751a;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: 26px; }
p { margin: 0 0 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; background: var(--ink); }
.on-dark .eyebrow { color: var(--muted-light); }
.on-dark .eyebrow::before { background: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-3); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #e4ff2a; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn svg { width: 16px; height: 16px; }

/* ── Top bar + header ─────────────────────── */
.topbar { background: var(--ink); color: #d4d7dc; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--accent); text-decoration: none; }
.topbar-contact { display: flex; gap: 20px; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 74px; }
.logo {
  font-family: var(--font-display); font-stretch: 75%; font-weight: 900;
  font-size: 30px; letter-spacing: 0.02em; text-decoration: none; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center;
}
.logo-mark::after { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 3px dashed var(--accent); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-3); }
.main-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 12px 20px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; }
.icon-btn svg { width: 20px; height: 20px; }
.call-btn { display: none; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-toggle { display: none; cursor: pointer; }

/* ── Hero ─────────────────────────────────── */
.hero { padding: 64px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 .hl {
  background: linear-gradient(transparent 64%, var(--accent) 64%, var(--accent) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 4px; margin: 0 -4px;
}
.hero .lede { font-size: 19px; color: var(--ink-3); max-width: 540px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7f205' stroke-width='3.5'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero-card {
  position: absolute; inset: 0 8% 6% 0; border-radius: 28px;
  background: var(--paper-2); overflow: hidden;
}
.hero-card img { position: absolute; inset: 4% 4% 0; width: 92%; mix-blend-mode: multiply; }
.hero-print {
  position: absolute; left: 50%; top: 31%; width: 30%; transform: translateX(-50%);
  color: var(--white); text-align: center;
}
.hero-print svg { width: 100%; height: auto; }
.tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 999px; padding: 9px 15px 9px 9px;
  font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(18,20,23,.12);
}
.tag i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: block; }
.tag-print { left: -4%; top: 64%; }
.tag-stitch { right: 0; top: 8%; }
.tag-stitch i { background: var(--ink); border: 3px dashed var(--accent); }

.patch {
  position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 1;
  border-radius: 50%; background: var(--ink); color: var(--accent);
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 18px 40px rgba(18,20,23,.25);
}
.patch::before {
  content: ''; position: absolute; inset: 7%; border-radius: 50%;
  border: 3px dashed rgba(215, 242, 5, .85);
}
.patch::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-linear-gradient(55deg, rgba(255,255,255,.05) 0 2px, transparent 2px 5px);
}
.patch span { position: relative; z-index: 1; font-family: var(--font-display); font-stretch: 75%; font-weight: 900; font-size: clamp(18px, 2.4vw, 30px); line-height: .95; text-transform: uppercase; }
.patch small { display: block; font: 600 10px/1.2 var(--font-body); letter-spacing: .14em; color: var(--muted-light); margin-top: 6px; }

/* ── Strip ─────────────────────────────────── */
.strip { background: var(--accent); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; }
.strip-track { display: flex; gap: 40px; padding: 16px 0; white-space: nowrap; animation: scroll 40s linear infinite; width: max-content; }
.strip-track span { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 22px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 40px; }
.strip-track span::after { content: '✦'; font-size: 16px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ── Sections ─────────────────────────────── */
.section { padding: 100px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-head h2 { margin: 0; max-width: 680px; }
.section-head p { max-width: 400px; color: var(--muted); margin: 0; }
.on-dark { background: var(--ink); color: var(--white); }
.on-dark .section-head p, .on-dark .muted { color: var(--muted-light); }
.bg-white { background: var(--white); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,20,23,.08); }
.service-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.service-icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 26px; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15px; }
.service ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 14px; }
.service li { padding: 7px 0; border-top: 1px solid var(--paper-2); display: flex; gap: 8px; }
.service li::before { content: '—'; color: var(--muted-light); }
.service .more { margin-top: auto; font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.service .more:hover { text-decoration: underline; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius); padding: 34px; background: var(--ink-2); border: 1px solid var(--ink-3); }
.compare-col.alt { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.compare-col h3 { font-size: 34px; margin-bottom: 6px; }
.compare-col .sub { font-size: 15px; opacity: .75; margin-bottom: 22px; }
.compare-col dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; }
.compare-col dt, .compare-col dd { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); margin: 0; font-size: 15px; }
.compare-col.alt dt, .compare-col.alt dd { border-color: rgba(18,20,23,.15); }
.compare-col dt { font-weight: 600; opacity: .7; }
.compare-note { margin-top: 26px; text-align: center; color: var(--muted-light); }
.compare-note a { color: var(--accent); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.step { padding: 30px 26px 10px 0; position: relative; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-stretch: 75%; font-weight: 900; font-size: 64px; line-height: 1; color: var(--ink); display: block; margin-bottom: 14px; -webkit-text-stroke: 2px var(--ink); color: transparent; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Products */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .2s; }
.pcard:hover { box-shadow: 0 18px 40px rgba(18,20,23,.1); }
.product-img { aspect-ratio: 1; background: var(--paper-2); border-bottom: 1px solid var(--line); position: relative; display: grid; place-items: center; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover .product-img img { transform: scale(1.04); }
.product-img svg { width: 70%; }
.product-img .badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.photo-slot { background: var(--paper); width: 70%; aspect-ratio: 1; border: 2px dashed var(--muted-light); border-radius: 12px; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13px; padding: 12px; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-family: var(--font-body); font-stretch: 100%; text-transform: none; font-weight: 600; font-size: 17px; line-height: 1.3; letter-spacing: 0; margin-bottom: 6px; }
.product-meta { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.pprice { font-weight: 700; font-size: 18px; }
.pprice small { font-weight: 500; font-size: 12px; color: var(--muted); }
.product-foot .go { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.product-foot .go svg { width: 16px; height: 16px; }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.aud { background: var(--paper); padding: 30px; display: flex; gap: 18px; align-items: flex-start; }
.aud svg { flex: 0 0 34px; width: 34px; height: 34px; }
.aud h3 { font-size: 22px; margin-bottom: 4px; }
.aud p { color: var(--muted); font-size: 14px; margin: 0; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-list { display: grid; gap: 4px; }
.why-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ink-3); }
.why-item b { font-family: var(--font-display); font-stretch: 75%; font-size: 22px; text-transform: uppercase; display: block; margin-bottom: 2px; }
.why-item span { color: var(--muted-light); font-size: 15px; }
.why-item i { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-style: normal; font-weight: 800; }

/* Quote */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.quote-aside ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.quote-aside li { display: flex; gap: 12px; align-items: flex-start; }
.quote-aside li svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; }
.contact-card { margin-top: 30px; padding: 22px; border-radius: var(--radius); background: var(--paper-2); }
.contact-card a { font-weight: 600; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; background: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; background: var(--paper); }
.chips input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.upload { border: 2px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; text-align: center; font-size: 14px; color: var(--muted); background: var(--paper); cursor: pointer; }
.upload input { display: block; margin: 8px auto 0; font-size: 13px; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; line-height: 1; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 720px; }

/* CTA band */
.cta-band { background: var(--accent); padding: 80px 0; border-top: 2px solid var(--ink); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 700px; }

/* Footer */
.site-footer { background: var(--ink); color: #c5c9cf; padding: 70px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--ink-3); }
.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: 17px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 12px; color: var(--muted-light); }
.sister { margin-top: 18px; display: inline-block; padding: 8px 14px; border: 1px solid var(--ink-3); border-radius: 999px; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 1080px) {
  .services, .pgrid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--paper); flex-direction: column; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle, .call-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .hero .wrap, .why, .quote, .compare { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .audience { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .topbar .hide-sm { display: none; }
  .services, .pgrid, .audience, .steps, .form { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .compare-col { padding: 24px; }
  .compare-col dl { grid-template-columns: 1fr; }
  .compare-col dd { border-top: 0; padding-top: 0; }
  .form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-header .wrap { gap: 12px; }
  .logo { font-size: 26px; }
}

/* ── Accessibility helpers ───────────────── */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark a:focus-visible { outline-color: var(--accent); }
.custom-logo-link img { max-height: 48px; width: auto; }
.footer-title { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; color: var(--white); font-size: 17px; margin-bottom: 14px; }

/* ── Garment categories ──────────────────── */
.cat-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18,20,23,.1); }
.cat-tile-img { aspect-ratio: 1; background: var(--paper-2); display: block; }
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile-name { font-weight: 700; font-size: 15px; padding: 10px 12px 0; }
.cat-tile-count { font-size: 12px; color: var(--muted); padding: 0 12px 12px; }
.cat-more { margin-top: 26px; padding: 18px 22px; border-radius: var(--radius); background: var(--paper); }
.cat-more p { margin: 0; }
@media (max-width: 1080px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .cat-tiles { grid-template-columns: repeat(2, 1fr); } }

/* ── Local area ──────────────────────────── */
.local { margin-top: 40px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; padding: 34px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.local-title { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.local p { color: var(--muted-light); margin: 0; }
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ink-3); font-size: 14px; }
.areas li:first-child { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 600; }

/* ── Form extras ─────────────────────────── */
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-msg-ok { background: var(--accent); }
.form-msg-error { background: #fde3e1; color: #8a1c12; }

/* ── Content pages ───────────────────────── */
.page-main { padding-top: 60px; }
.entry-wrap { max-width: 860px; }
.woocommerce-cart .entry-wrap, .woocommerce-checkout .entry-wrap, .woocommerce-account .entry-wrap { max-width: var(--wrap); }
.entry-title { font-size: clamp(36px, 5vw, 60px); margin-bottom: 28px; }
.entry-content { font-size: 17px; }
.entry-content h2 { font-size: 30px; margin: 40px 0 12px; }
.entry-content h3 { font-size: 22px; margin: 28px 0 10px; }
.entry-content a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-list { padding: 24px 0; border-bottom: 1px solid var(--line); }
.entry-list h2 { font-size: 28px; }
.entry-list h2 a { text-decoration: none; }

/* ── WooCommerce ─────────────────────────── */
.woo-main { padding-top: 50px; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.woocommerce .page-title, .woocommerce div.product .product_title { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: flex-start; }
.woocommerce ul.products li.product .woosc-btn, .woocommerce ul.products li.product .woosq-btn, .woocommerce ul.products li.product .woosw-btn { display: none !important; }
@media (max-width: 1080px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.woocommerce ul.products li.product a img { border-radius: var(--radius-sm); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; font-weight: 600; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--ink); color: var(--white); border-radius: 999px; padding: 13px 22px; font-weight: 600; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--ink-3); color: var(--white); }
.woocommerce span.onsale { background: var(--accent); color: var(--ink); }
.catalogue-box { margin: 40px 0 10px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; clear: both; }
.catalogue-box strong { display: block; font-family: var(--font-display); font-stretch: 75%; font-size: 26px; text-transform: uppercase; margin-bottom: 4px; }
.catalogue-box span { color: var(--muted-light); }
.catalogue-box-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.catalogue-box .btn-primary { background: var(--accent); color: var(--ink); }
.catalogue-box .btn-ghost { border-color: var(--white); color: var(--white); }

@media (max-width: 900px) {
  .local { grid-template-columns: 1fr; }
  .local { padding: 24px; gap: 20px; }
}
@media (max-width: 600px) {
  .topbar .wrap { font-size: 12px; }
  .topbar.has-phone .wrap > span:first-child { display: none; }
  .topbar:not(.has-phone) .topbar-contact { display: none; }
  .topbar-contact { width: 100%; justify-content: center; }
}

/* ── Real photos ─────────────────────────── */
.hero-photo { inset: 0 6% 8% 0; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.hero-visual .tag-stitch { top: 6%; right: 0; }
.rating-card {
  position: absolute; left: -4%; bottom: 0; background: var(--white); border-radius: 18px; padding: 16px 22px;
  box-shadow: 0 18px 40px rgba(18,20,23,.18); text-decoration: none; display: grid; gap: 2px; min-width: 190px;
}
.rating-card .stars, .review .stars { color: #f5b301; letter-spacing: 2px; font-size: 18px; }
.rating-card strong { font-size: 20px; }
.rating-card small { color: var(--muted); font-size: 13px; }
.rating-card:hover { transform: translateY(-2px); }

.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.work-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.work-item img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.work-item:hover img { transform: scale(1.04); }
.work-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 13px; font-weight: 600; color: var(--white);
  background: linear-gradient(transparent, rgba(18,20,23,.85));
}

.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.reviews-head h2 { margin: 0; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.review p { margin: 0; font-size: 17px; line-height: 1.55; }
.review cite { margin-top: auto; font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }

.local-photo { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 12px; }
.local .areas { margin-top: 18px; }
.local .btn { margin-top: 6px; }

@media (max-width: 1080px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } .rating-card { left: 0; } }
@media (max-width: 600px) { .work-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .work-item figcaption { font-size: 12px; padding: 24px 10px 8px; } }

/* ── Customise & quote builder ───────────── */
.qb { margin: 28px 0 10px; padding: 26px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); clear: both; }
.qb-title { font-size: 28px; margin-bottom: 6px; }
.qb-intro, .qb-help { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.qb-step { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.qb-step legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 0; }
.qb-step legend b { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 13px; }
.qb-select, .qb textarea { width: 100%; font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.qb-positions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qb-pos { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; }
.qb-pos.is-on { border-color: var(--ink); background: var(--white); }
.qb-pos-check { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; }
.qb-pos-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.qb-file { position: relative; font-size: 13px; color: var(--muted); cursor: pointer; }
.qb-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qb-file-label { display: inline-block; padding: 6px 10px; border: 1px dashed var(--muted-light); border-radius: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qb-pos.is-on .qb-file-label { border-color: var(--ink); color: var(--ink); }
.qb-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.qb-sizes label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; text-align: center; }
.qb-sizes input { width: 100%; font: inherit; font-size: 16px; padding: 9px 6px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.qb-error { color: #8a1c12; background: #fde3e1; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; }
.qb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qb-added { margin: 14px 0 0; padding: 12px 14px; background: var(--accent); border-radius: var(--radius-sm); font-weight: 600; }
.qb-fallback { font-size: 14px; color: var(--muted); }
.woocommerce div.product .quote-price, .quote-price { font-weight: 700; color: var(--ink); }
.price .from { font-size: .8em; font-weight: 500; color: var(--muted); }

/* Quote basket on the quote form */
.basket { background: var(--paper); border-radius: var(--radius-sm); padding: 14px; display: grid; gap: 10px; }
.basket-title { margin: 0; font-weight: 700; }
.basket-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; font-size: 13px; }
.basket-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.basket-item div { display: grid; gap: 2px; min-width: 0; }
.basket-item a { text-decoration: none; }
.basket-item span { color: var(--muted); }
.basket-remove { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.basket-more { margin: 0; font-size: 14px; font-weight: 600; }
.quote-pill { position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--ink); color: var(--white); text-decoration: none; padding: 14px 20px; border-radius: 999px; font-weight: 600; box-shadow: 0 10px 30px rgba(18,20,23,.3); }
.quote-pill b { background: var(--accent); color: var(--ink); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }

/* Single product layout */
.woocommerce div.product .woocommerce-product-details__short-description p { margin-bottom: 6px; color: var(--ink-3); }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .qb { padding: 18px; } .qb-positions { grid-template-columns: 1fr; } }

/* Compare / wishlist buttons from plugins don't fit a quote-based shop */
.woocommerce div.product .woosc-btn, .woocommerce div.product .woosw-btn, .woocommerce div.product .woosq-btn, .woocommerce div.product .yith-wcwl-add-to-wishlist { display: none !important; }

.form .basket { grid-column: 1 / -1; }
.basket-item div a b { font-size: 14px; }

.socials { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 600; }
.socials a { color: var(--white); }

/* Colour swatches */
.qb-colour-name { font-weight: 500; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(18,20,23,.18); background: var(--c, var(--paper)); cursor: pointer; padding: 0; position: relative; }
.swatch.is-on { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
.swatch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.swatch.no-hex { width: auto; height: auto; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; }
.qb-note { margin: 8px 0 0; }

.footer-address { line-height: 1.5; }
.footer-address strong { color: var(--white); }

/* Badges */
.woocommerce ul.products li.product { position: relative; }
.badges { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 40px); pointer-events: none; }
.product-img .badges { top: 10px; left: 10px; }
.badges-full { position: static; margin: 0 0 6px; }
.badge-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(18,20,23,.15); }
.badge-best { background: var(--accent); }
.badge-stock { background: #1a7f37; color: var(--white); }
.badge-premium { background: var(--ink); color: var(--white); }
.badge-standard { background: var(--paper-2); }
.badge-value { background: var(--white); border: 1px solid var(--line); }
.badges-full .badge-tag { font-size: 12px; padding: 5px 11px; box-shadow: none; }
.tier-help { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.badge-popular { background: #fff4c2; }

/* Method fee notes + position preview */
.qb .chips span small { display: block; font-size: 11px; font-weight: 500; opacity: .75; }
.qb .chips input:checked + span small { opacity: .85; }
.qb-preview { margin: 0 0 14px; padding: 12px; background: var(--paper); border-radius: var(--radius-sm); }
.qb-preview svg { width: 100%; max-width: 420px; display: block; margin: 0 auto; }
.qb-preview .qb-tee { fill: var(--white); stroke: #b9bcc2; stroke-width: 2; }
.qb-preview text { font: 700 11px var(--font-body); fill: var(--muted); letter-spacing: .1em; }
.qb-zone rect { fill: transparent; stroke: transparent; }
.qb-zone.is-on rect { fill: rgba(215, 242, 5, .45); stroke: var(--ink); stroke-dasharray: 4 3; stroke-width: 1.5; }
.qb-zone.has-art rect { fill: rgba(255,255,255,.6); }
.qb-zone image { display: none; }
.qb-zone.is-on.has-art image { display: inline; }
.qb-preview figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }

/* Photo preview on the real garment */
.qb-photo-preview { background: var(--white); border: 1px solid var(--line); }
.pv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pv { position: relative; aspect-ratio: 886 / 1024; background: #f4f4f2; border-radius: 8px; overflow: hidden; }
.pv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pv-outline { position: absolute; left: 12%; top: 10%; width: 76%; height: 80%; }
.pv-outline path { fill: var(--white); stroke: #b9bcc2; stroke-width: 2; }
.pv-noimg .pv-img { display: none; }
.pv-defs { position: absolute; width: 0; height: 0; }
.pv-sil .pv-img { filter: url(#pv-silhouette); }
.pv-back:not(.pv-noimg) .pv-outline { display: none; }
.pv-zone { position: absolute; display: grid; place-items: center; border-radius: 3px; }
.pv-zone.is-on { outline: 1.5px dashed var(--ink); background: rgba(215, 242, 5, .45); }
.pv-zone.is-on.has-art { background: transparent; outline-color: rgba(18,20,23,.35); }
.pv-art { display: none; max-width: 100%; max-height: 100%; object-fit: contain; }
.pv-zone.is-on.has-art .pv-art { display: block; }
.pv-label { position: absolute; left: 8px; bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Preview in the main image area (desktop) */
.pv-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.pv-tabs button { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.pv-tabs button.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pv-tabs .pv-photos-btn { margin-left: auto; }
.qb-photo-preview:not(.pv-main) .pv-photos-btn { display: none; }
.qb-photo-preview[data-view="front"] .pv-back, .qb-photo-preview[data-view="back"] .pv-front { display: none; }
.qb-photo-preview .pv-pair { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
.woocommerce div.product .pv-main { float: left; width: 48%; margin: 0 0 2em; padding: 16px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { clear: both; }
.pv-main .pv-pair { max-width: none; }
.pv-main figcaption { margin-top: 10px; }
@media (max-width: 767px) { .woocommerce div.product .pv-main { float: none; width: 100%; } }

/* Adjustable design on the preview */
.pv-zone.is-on { cursor: move; touch-action: none; }
.pv-zone.is-dragging { outline-style: solid; }
.pv-handle { display: none; position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--white); cursor: nwse-resize; }
.pv-zone.is-on .pv-handle { display: block; }

.pv-art { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.pv-zone { user-select: none; }
.pv-zone { pointer-events: none; }
.pv-zone.is-on { pointer-events: auto; z-index: 2; }
.pv-zone.is-dragging { z-index: 3; }

/* Cookie banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 720px; margin: 0 auto; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(18,20,23,.25); padding: 18px 20px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; font-size: 14px; }
.consent strong { display: block; margin-bottom: 2px; }
.consent-actions { display: flex; gap: 8px; }
.consent .btn { padding: 11px 20px; }
.footer-legal .cookie-settings { color: var(--muted-light); text-decoration: underline; }
