/* Duggan Group Ltd — website preview. Same look as the CRM: white blocks, company green, Inter. */
:root {
  --green: #33cc98;
  --green-tint: #ecfaf4;
  --ink: #1b2430;
  --muted: #5c6878;
  --line: #e2e7ee;
  --bg: #f4f6f9;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; }
a { color: var(--ink); text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px;
  background: var(--green); color: #fff; font: inherit; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: #2bb586; }
.btn.outline { background: #fff; color: var(--ink); border: 1.5px solid var(--green); }
.btn.light { background: #fff; color: var(--ink); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.preview-flag { background: #fff6d6; color: #6b4e00; text-align: center; font-size: 13px; padding: 6px 12px; }

/* header */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topstrip { background: var(--green); color: var(--ink); font-size: 13px; font-weight: 500; }
.topstrip .wrap { display: flex; justify-content: center; align-items: center; gap: 8px 36px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.ts-item { display: inline-flex; align-items: center; gap: 7px; }
.ts-item svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.topstrip a { color: var(--ink); text-decoration: none; }
.headbar { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo-link img { height: 52px; width: auto; }
.search { position: relative; flex: 1 1 420px; }
.search input { width: 100%; height: 48px; border: 2px solid var(--line); border-radius: 12px; padding: 0 16px 0 46px; font: inherit; font-size: 16px; background: #fbfcfd; }
.search input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(51, 204, 152, .15); }
.search-ico { position: absolute; left: 15px; top: 14px; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search-drop { position: absolute; left: 0; right: 0; top: 54px; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(16, 24, 40, .18); border: 1px solid var(--line); overflow: hidden; z-index: 30; }
.sd-item { display: flex; align-items: center; gap: 14px; padding: 10px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.sd-item:hover, .sd-item.on { background: var(--green-tint); }
.sd-item img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.sd-item .sd-name { font-weight: 600; }
.sd-item .sd-sub { font-size: 13px; color: var(--muted); }
.sd-item .sd-price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.sd-cats { padding: 10px 14px; display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); font-size: 13px; }
.sd-cats a { background: var(--bg); border-radius: 999px; padding: 4px 12px; text-decoration: none; color: var(--ink); }
.sd-all { display: block; padding: 12px 14px; font-weight: 700; text-decoration: none; }
.sd-empty { padding: 16px; }
.head-actions { display: flex; align-items: center; gap: 18px; }
.head-link { font-weight: 600; text-decoration: none; }
.basket-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.basket-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.basket-btn b { background: var(--green); border-radius: 999px; min-width: 22px; padding: 0 6px; text-align: center; font-size: 13px; }
.catnav { border-top: 1px solid var(--line); }
.catnav .wrap { display: flex; gap: 4px; overflow-x: auto; }
.catnav a { padding: 11px 12px; white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 14px; border-bottom: 2px solid transparent; }
.catnav a:hover, .catnav a.on { color: var(--ink); border-bottom-color: var(--green); }

main { padding-top: 28px; padding-bottom: 48px; min-height: 60vh; }

/* home */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 40px; overflow: hidden; }
.hero h1 { font-size: 40px; line-height: 1.12; margin: 0 0 14px; letter-spacing: -.02em; }
.hero h1 span { color: var(--green); }
.hero p { font-size: 17px; color: var(--muted); margin: 0 0 22px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hero-tiles a { display: block; border-radius: 12px; border: 1px solid var(--line); background: #fff; transition: opacity .35s, transform .15s, box-shadow .15s; }
.hero-tiles a:hover { box-shadow: 0 10px 28px rgba(16, 24, 40, .12); border-color: var(--green); }
.hero-tiles a:nth-child(2) { transform: translateY(18px); }
.hero-tiles a.fading { opacity: 0; }
.hero-tiles img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8px; }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0 36px; }
.trust div { background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.trust strong { display: block; }
.trust span { font-size: 13px; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 14px; }
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -.01em; }
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.cat-tile { display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16, 24, 40, .12); }
.cat-tile img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 14px; background: #fff; transition: opacity .3s; }
.cat-tile img.fading { opacity: 0; }
.cat-tile div { padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.cat-tile strong { display: block; }
.cat-tile span { font-size: 13px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.steps div { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.steps b { display: inline-flex; width: 30px; height: 30px; border-radius: 999px; background: var(--green); color: var(--ink); align-items: center; justify-content: center; margin-bottom: 8px; }
.steps p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* shop */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.shop { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.filters { flex: 1 1 230px; max-width: 260px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.filters h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.filters ul { list-style: none; margin: 0 0 18px; padding: 0; }
.filters li a { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 14px; }
.filters li a:hover { background: var(--bg); }
.filters li a.on { background: var(--green-tint); color: var(--ink); font-weight: 600; }
.filters li a span { color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.results { flex: 999 1 560px; min-width: 0; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-bar h1 { font-size: 26px; margin: 0; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sort select { height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; background: #fff; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.prod { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.prod:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16, 24, 40, .12); }
.prod img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 12px; }
.prod-body { padding: 10px 14px 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod-name { font-weight: 600; font-size: 14px; }
.prod-price { margin-top: auto; font-size: 13px; color: var(--muted); }
.prod-price strong { font-size: 18px; color: var(--ink); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 600; background: var(--bg); border-radius: 999px; padding: 2px 8px; color: var(--muted); }
.tag.dig { background: #eef0ff; color: #3a46a8; }

/* product */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.gallery { padding: 18px; }
.gallery .main-img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: opacity .2s; }
.gallery .main-img.fading { opacity: 0; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.thumbs button { padding: 4px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.thumbs button.on { border-color: var(--green); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.buy { padding: 24px; }
.buy h1 { margin: 0 0 4px; font-size: 28px; line-height: 1.2; }
.from-line { color: var(--muted); margin: 0 0 16px; }
.from-line strong { color: var(--ink); font-size: 20px; }
.opt { margin: 16px 0; }
.opt > .lbl { font-weight: 700; font-size: 14px; margin-bottom: 8px; display: block; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.chip.on { border-color: var(--green); background: var(--green-tint); color: var(--ink); font-weight: 600; }
.qty-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty-row input { width: 140px; height: 46px; border: 2px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 17px; font-weight: 600; }
.qty-row input:focus { outline: none; border-color: var(--green); }
.price-box { background: var(--green-tint); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.price-box .total { font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.price-box .each { color: var(--ink); font-weight: 600; }
.price-box .note { font-size: 13px; color: var(--muted); }
.price-box.warn { background: #fff6e5; }
textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; min-height: 80px; }
.breaks { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.breaks th, .breaks td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.breaks th:first-child, .breaks td:first-child { text-align: left; }
.breaks tr.on td { background: var(--green-tint); font-weight: 700; }
.spec { display: grid; grid-template-columns: 120px 1fr; gap: 6px 14px; font-size: 14px; margin-top: 14px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.lead-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; font-size: 14px; }
.lead-line svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #33CC98; stroke-width: 2; stroke-linecap: round; }
.about { margin-top: 28px; padding: 24px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; }
.about h2 { margin: 0 0 10px; font-size: 18px; }
.about p { margin: 0; line-height: 1.6; }
.about .spec { margin-top: 0; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 20px; } }

/* basket + simple pages */
.panel { padding: 24px; }
.basket-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.basket-line img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.field input { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; }
.field.wide { grid-column: 1 / -1; }

/* bands + footer */
.cantfind-band { background: var(--green); color: var(--ink); }
.cantfind-band .wrap { padding-top: 32px; padding-bottom: 32px; }
.cf-inner { max-width: 860px; margin: 0 auto; display: flex; justify-content: center; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.cantfind-band h2 { margin: 0 0 4px; }
.cantfind-band p { margin: 0; }
.site-foot { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot-grid h3 { font-size: 14px; margin: 0 0 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.foot-grid li { margin: 0 0 6px; font-size: 14px; }
.foot-grid li a { text-decoration: none; color: var(--ink); }
.foot-grid li a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); }
.foot-grid p { font-size: 14px; color: var(--muted); }
.foot-logo { height: 44px; width: auto; }
.foot-legal { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 14px; font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 24px; }
  .hero h1 { font-size: 30px; }
  .trust, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp { grid-template-columns: 1fr; }
  .filters { max-width: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topstrip-right { display: none; }
  .head-link { display: none; }
}

/* colour filter + colour dots */
.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.swatch { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 8px; border: 1.5px solid transparent; border-radius: 9px; background: none; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; text-align: left; }
.swatch:hover { background: var(--bg); }
.swatch span { flex: none; width: 20px; height: 20px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .18); }
.swatch em { font-style: normal; }
.swatch.on { border-color: var(--green); background: var(--green-tint); font-weight: 600; }
.link-clear { background: none; border: 0; padding: 6px 0 0; font: inherit; font-size: 13px; text-decoration: underline; text-decoration-color: var(--green); cursor: pointer; color: var(--ink); }
.dots { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.dots span { width: 12px; height: 12px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .18); }
.dots em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 2px; }

.page-title { margin: 4px 0 18px; font-size: 32px; }

/* Quote request forms */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: #fdecec; color: #9b1c1c; font-size: 14px; }
.ts-slot { margin-top: 12px; min-height: 0; }
.thanks h1 { color: var(--ink, #16201c); }

/* Information pages (terms, privacy…) */
.prose { line-height: 1.65; }
.prose h2 { font-size: 18px; margin: 26px 0 8px; }
.prose ul { padding-left: 20px; margin: 8px 0; }
.prose li { margin: 6px 0; }
.prose p { margin: 8px 0; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16, 24, 40, .12); }
.blog-card img, .blog-noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #eef3f1; display: block; }
.blog-card > div { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.blog-card h2 { font-size: 18px; line-height: 1.3; margin: 0; }
.blog-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.blog-more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--green-dark, #1a7a59); font-size: 14px; }
.blog-post { max-width: 860px; }
.blog-post h1 { margin: 6px 0 4px; font-size: 32px; line-height: 1.2; }
.blog-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.blog-post figure { margin: 18px 0; }
.blog-post figure img { max-width: 100%; border-radius: 12px; }
.blog-post blockquote { border-left: 3px solid var(--green); margin: 14px 0; padding: 2px 14px; color: var(--muted); }
.blog-cta { margin-top: 26px; padding: 16px 18px; border-radius: 12px; background: #e9f9f2; }
.section-title { font-size: 20px; margin: 30px 0 14px; }

/* Product type buttons beside the category title */
.results-title { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; min-width: 0; }
.type-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.type-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--green); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; border: 2px solid var(--green); transition: background .15s, color .15s; }
.type-btn span { font-weight: 500; opacity: .75; font-size: 13px; }
.type-btn:hover { background: #2bb886; border-color: #2bb886; }
.type-btn.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.type-btn b { font-weight: 700; }
