/*
Theme Name: Looma Apparels
Theme URI: https://www.loomaapparels.com
Author: Looma Apparels
Description: Multi-page website theme for Looma Apparels — shop with product pages, dropshipping, bulk orders, printing, price estimator, size guide, about, contact and a quote list. Activating the theme creates all pages and menus automatically. Edit business details in Appearance → Customize → Looma Business Details; edit products and prices in inc/catalog.php.
Version: 2.9.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: looma
*/

/* ============================================================
   Fonts (self-hosted)
   ============================================================ */
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap; src: url(assets/fonts/archivo-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url(assets/fonts/archivo-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url(assets/fonts/archivo-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url(assets/fonts/archivo-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-display: swap; src: url(assets/fonts/archivo-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Allura"; font-weight: 400; font-display: swap; src: url(assets/fonts/allura-latin-400-normal.woff2) format("woff2"); }

/* ============================================================
   Tokens
   ============================================================ */
:root {
	--ink: #0b1426;
	--ink-2: #1a2336;
	--paper: #f6f5f1;
	--tint: #eeece6;
	--card: #ffffff;
	--muted: #5c6373;
	--line: #e2dfd8;
	--accent: #e8542b;
	--wa: #1fa855;
	--r: 18px;
	--r-sm: 12px;
	--shadow: 0 1px 2px rgba(11, 20, 38, .05), 0 10px 30px rgba(11, 20, 38, .07);
	--shadow-lg: 0 30px 70px rgba(11, 20, 38, .18);
	--head: "Archivo", "Arial Black", system-ui, sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.eyebrow { font-family: var(--head); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.eyebrow.center { text-align: center; }
.section-title { font-size: clamp(30px, 4.4vw, 54px); font-weight: 900; letter-spacing: -.03em; }
.section-sub { color: var(--muted); max-width: 58ch; font-size: 17px; }
.block-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.fineprint { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.fineprint.center { text-align: center; margin-top: 24px; }
.lead { font-size: 18px; color: var(--muted); }

/* ============================================================
   Buttons & links
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 10px 24px rgba(11, 20, 38, .25); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; box-shadow: 0 10px 24px rgba(31, 168, 85, .3); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }
.pill { display: inline-block; font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.pill-light { background: #fff; color: var(--ink); }

/* ============================================================
   Header
   ============================================================ */
.announce { background: var(--ink); color: #dfe3ea; font-size: 13px; text-align: center; padding: 9px 0; letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 241, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11, 20, 38, .06); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; color: var(--ink); flex: none; }
.wordmark-main { font-family: var(--head); font-weight: 900; font-size: 27px; letter-spacing: -.01em; }
.wordmark-sub { font-family: var(--head); font-weight: 600; font-size: 9px; letter-spacing: .6em; margin-top: 4px; padding-left: .6em; }
.custom-logo { max-height: 52px; width: auto; }
.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 6px; list-style: none; }
.nav-list a { display: block; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: background .2s ease; }
.nav-list a:hover { background: var(--tint); }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { background: var(--ink); color: #fff; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; transition: background .2s ease; }
.header-icon:hover { background: var(--tint); }
.header-icon .icon { width: 24px; height: 24px; }
.quote-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; background: none; border: 0; cursor: pointer; border-radius: 50%; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline; }

@media (max-width: 1080px) {
	.site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
	.nav-toggle { display: grid; }
	.header-cta { display: none; }
	.primary-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); flex-direction: column; justify-content: flex-start; gap: 24px; background: var(--paper); padding: calc(var(--header-h) + 64px) 28px 28px; box-shadow: var(--shadow-lg); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; z-index: -1; overflow-y: auto; }
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.nav-open::before { content: ""; position: fixed; inset: 0; background: rgba(11, 20, 38, .4); z-index: 40; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { font-family: var(--head); font-weight: 800; font-size: 22px; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
	.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current_page_item > a { background: none; color: var(--accent); }
	.nav-mobile-extra { display: grid; gap: 14px; }
	.nav-phone { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; }
	.wordmark, .custom-logo-link, .header-actions { position: relative; z-index: 2; }
}

/* ============================================================
   Home hero
   ============================================================ */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(46px, 7.2vw, 98px); font-weight: 900; letter-spacing: -.045em; line-height: .92; margin-bottom: 26px; }
.hero-title span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 50ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; font-weight: 500; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust .icon { color: var(--wa); }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 12 / 13; object-fit: cover; }
.hero-chip { position: absolute; left: -24px; bottom: 32px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow-lg); text-decoration: none; max-width: 90%; transition: transform .2s ease; }
.hero-chip:hover { transform: translateY(-3px); }
.hero-chip-dot { width: 42px; height: 42px; border-radius: 12px; background: var(--sw); flex: none; }
.hero-chip strong { display: block; font-family: var(--head); font-size: 15px; line-height: 1.2; }
.hero-chip small { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-chip { left: 12px; bottom: 12px; }
}

.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--head); font-weight: 800; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; padding: 0 26px; white-space: nowrap; display: flex; align-items: center; gap: 52px; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-tight { padding-top: clamp(32px, 5vw, 64px); }
.section-tint { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .section-sub { margin: 0; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 0%, #ffffff 0%, var(--paper) 60%); }
.page-hero-title { font-size: clamp(40px, 6.4vw, 84px); font-weight: 900; letter-spacing: -.045em; line-height: .95; max-width: 16ch; }
.page-hero-title span { color: var(--accent); }
.page-hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; margin: 0; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: clamp(22px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ============================================================
   Product cards & grid
   ============================================================ */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.p-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .p-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .p-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .p-grid, .p-grid-4 { gap: 10px; } }
.p-card { display: flex; flex-direction: column; min-width: 0; }
.p-card-media { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: #e9e8e4; aspect-ratio: 15 / 17; }
.p-card-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.p-card:hover .p-card-photo { transform: scale(1.04); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.p-card-body { padding: 14px 4px 0; }
.p-card-title { font-size: 18px; font-weight: 800; margin: 10px 0 2px; letter-spacing: -.01em; }
.p-card-title a { text-decoration: none; }
.p-card-title a::after { content: ""; position: absolute; inset: 0; }
.p-card { position: relative; }
.p-card-spec { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.p-card-price { font-family: var(--head); font-weight: 800; font-size: 20px; margin: 0; }
.p-card-price span, .p-card-price small { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; position: relative; z-index: 2; }
.swatch-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--sw); border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); padding: 0; cursor: pointer; transition: box-shadow .15s ease; }
.swatch-dot:hover, .swatch-dot.is-active { box-shadow: 0 0 0 2px var(--ink); }
.swatches .more { font-size: 12px; font-weight: 600; color: var(--muted); }

.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 9px 18px; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort select { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font-weight: 500; }

.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
@media (max-width: 760px) { .info-row { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 16px; background: var(--card); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.info-card h2 { font-size: 17px; margin-bottom: 4px; }
.info-card p { color: var(--muted); font-size: 15px; margin: 0; }
.usp-icon { width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--tint); display: grid; place-items: center; color: var(--ink); }
.usp-icon .icon { width: 26px; height: 26px; }
.usp-icon.wa { background: #e3f6ea; color: var(--wa); }

/* ============================================================
   Home: split cards, printing tiles, estimate band, USPs
   ============================================================ */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 860px) { .split-cards { grid-template-columns: 1fr; } }
.split-card { display: flex; flex-direction: column; background: var(--card); border-radius: 24px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.split-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.split-card-media { aspect-ratio: 7 / 5; overflow: hidden; }
.split-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.split-card:hover .split-card-media img { transform: scale(1.04); }
.split-card-body { padding: clamp(22px, 3vw, 36px); }
.split-card-body h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; }
.split-card-body p:not(.eyebrow) { color: var(--muted); }

.tech-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1000px) { .tech-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .tech-row { grid-template-columns: repeat(2, 1fr); } }
.tech-tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; text-decoration: none; background: #111; }
.tech-tile img { object-position: center 35%; }
.tech-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tech-tile:hover img { transform: scale(1.07); }
.tech-tile-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; }
.tech-tile-label strong { display: block; font-family: var(--head); font-size: 17px; }
.tech-tile-label small { font-size: 12.5px; opacity: .8; }

.estimate-band { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.estimate-band::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(232, 84, 43, .25), transparent); }
.estimate-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .estimate-grid { grid-template-columns: 1fr; } }
.estimate-band .section-sub { color: #b9bfcc; margin-bottom: 28px; }
.estimate-examples { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.estimate-examples li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: 20px; }
.estimate-examples span { display: block; font-size: 14px; color: #c9cdd6; }
.estimate-examples strong { display: block; font-family: var(--head); font-size: clamp(28px, 3vw, 36px); font-weight: 900; margin: 4px 0 0; }
.estimate-examples small { color: #8f97a8; font-size: 12.5px; }

.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .usp-grid { grid-template-columns: 1fr; } }
.usp { background: var(--card); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow); }
.usp h3 { font-size: 18px; margin: 18px 0 6px; }
.usp p { color: var(--muted); font-size: 15px; margin: 0; }
.ideal { margin-top: clamp(40px, 6vw, 72px); }
.ideal-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ideal-list li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; background: var(--card); border-radius: var(--r); padding: 24px 12px; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.ideal-list .icon { width: 34px; height: 34px; }
@media (max-width: 860px) { .ideal-list { grid-template-columns: repeat(2, 1fr); } .ideal-list li:last-child { grid-column: span 2; } }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 10px; }
.faq details, .pdp-acc details { background: var(--card); border-radius: var(--r-sm); padding: 0 22px; }
.faq summary, .pdp-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--head); font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker, .pdp-acc summary::-webkit-details-marker { display: none; }
.faq-icon { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--tint); display: grid; place-items: center; transition: transform .25s ease; }
details[open] > summary .faq-icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }
.form-split .faq { margin-top: 28px; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; max-width: 20ch; margin-bottom: 10px; }
.cta-text { color: #b9bfcc; max-width: 52ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   Product page
   ============================================================ */
.product-page > .container > .crumbs { padding-top: 28px; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .pdp-gallery { position: static; } }
.pdp-stage { position: relative; border-radius: 26px; background: #e9e8e4; aspect-ratio: 15 / 17; overflow: hidden; }
.pdp-view { position: absolute; inset: 0; }
.pdp-photo { width: 100%; height: 100%; object-fit: cover; }
.pdp-view.is-active { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: scale(.98); } }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumb { flex: 1; max-width: 120px; background: var(--card); border: 2px solid transparent; border-radius: 14px; padding: 8px 8px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); transition: border-color .2s ease; }
.pdp-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.pdp-thumb.is-active { border-color: var(--ink); color: var(--ink); }
.pdp-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.pdp-title { font-size: clamp(34px, 4.4vw, 54px); font-weight: 900; letter-spacing: -.035em; margin-bottom: 10px; }
.pdp-title span { color: var(--muted); font-weight: 800; }
.pdp-tagline { font-size: 18px; color: var(--muted); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 22px 0 16px; }
.pdp-price strong { font-family: var(--head); font-size: 44px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.pdp-price span { color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin-bottom: 26px; }
.tier { background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; text-align: center; transition: all .2s ease; }
.tier span { display: block; font-size: 12px; color: var(--muted); }
.tier strong { font-family: var(--head); font-size: 17px; }
.tier.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.tier.is-active span { color: #c9cdd6; }
.opt { border-top: 1px solid var(--line); padding: 18px 0; }
.opt-label { font-size: 14.5px; margin: 0 0 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.opt-link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.opt-hint { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.opt-hint strong { color: var(--accent); }
.colour-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.colour-opt { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; transition: box-shadow .15s ease, transform .15s ease; }
.colour-opt:hover { transform: scale(1.08); }
.colour-opt.is-active { box-shadow: 0 0 0 2px var(--ink); }
.size-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt { min-width: 56px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; cursor: pointer; transition: all .15s ease; }
.size-opt:hover { border-color: var(--ink); }
.size-opt.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.qty-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.stepper { display: flex; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; }
.stepper button { width: 46px; height: 46px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.stepper button:hover { background: var(--tint); }
.stepper input { width: 70px; border: 0; background: none; text-align: center; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-total { margin: 0; color: var(--muted); }
.qty-total strong { font-family: var(--head); font-size: 22px; color: var(--ink); margin-left: 6px; }
.pdp-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 8px 0 14px; }
@media (max-width: 520px) { .pdp-actions { grid-template-columns: 1fr; } }
.pdp-customise { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-sm); background: #fff4ef; border: 1px solid #f7d4c6; text-decoration: none; font-size: 14.5px; line-height: 1.45; }
.pdp-customise > .icon { color: var(--accent); width: 26px; height: 26px; }
.pdp-customise span { flex: 1; }
.pdp-perks { list-style: none; display: grid; gap: 10px; margin: 22px 0; font-size: 14.5px; }
.pdp-perks li { display: flex; align-items: center; gap: 10px; }
.pdp-acc { display: grid; gap: 8px; }
.pdp-acc details { border: 1px solid var(--line); }
.pdp-acc details > *:not(summary) { margin-bottom: 20px; }
.feature-list { list-style: none; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; font-size: 15px; }
.feature-list .icon { color: var(--wa); margin-top: 3px; }
.feature-list strong { margin-right: 4px; }

/* ============================================================
   Content pages
   ============================================================ */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature-split.reverse .feature-split-media { order: 2; }
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; } .feature-split.reverse .feature-split-media { order: 0; } }
.feature-split-media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); }
.icon-list { list-style: none; display: grid; gap: 22px; margin-top: 26px; }
.icon-list li { display: flex; gap: 18px; align-items: flex-start; }
.icon-list h3 { font-size: 18px; margin: 4px 0 4px; }
.icon-list p { color: var(--muted); margin: 0; font-size: 15.5px; }
.prose p:not(.eyebrow) { font-size: 17px; color: #3a4150; }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { counter-increment: s; background: var(--card); border-radius: var(--r); padding: 26px 20px; position: relative; }
.steps li::before { content: "0" counter(s); position: absolute; top: 20px; right: 20px; font-family: var(--head); font-weight: 900; font-size: 28px; color: var(--line); }
.step-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.step-icon .icon { width: 24px; height: 24px; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.couriers-wrap { margin-top: 48px; }
.couriers { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.couriers li { background: var(--card); border-radius: 999px; padding: 10px 20px; font-family: var(--head); font-weight: 700; font-size: 15px; color: #3a4150; }

.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .form-split { grid-template-columns: 1fr; } }
.form-card { background: var(--card); border-radius: 24px; padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-card .section-sub { font-size: 15.5px; margin-bottom: 22px; }

/* Printing */
.jump { position: sticky; top: var(--header-h); z-index: 20; background: rgba(246, 245, 241, .95); border-bottom: 1px solid var(--line); }
.jump .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.jump a { flex: none; text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.jump a:hover { border-color: var(--ink); }
.tech-list { display: grid; gap: clamp(40px, 6vw, 80px); }
.tech-item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; scroll-margin-top: calc(var(--header-h) + 70px); }
.tech-item.reverse .tech-item-media { order: 2; }
@media (max-width: 860px) { .tech-item { grid-template-columns: 1fr; } .tech-item.reverse .tech-item-media { order: 0; } }
.tech-item-media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; object-fit: cover; }
.tech-item-body h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 900; margin: 16px 0 12px; }
.check-list { list-style: none; display: grid; gap: 10px; margin: 20px 0 26px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--wa); margin-top: 3px; }
.dtf-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .dtf-grid { grid-template-columns: 1fr; } }
.free { color: var(--wa); font-weight: 700; }
.roll-card { background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; }
.roll-card h3 { font-size: 28px; font-weight: 900; margin: 16px 0 6px; }
.roll-price { font-family: var(--head); font-size: 44px; font-weight: 900; margin: 0 0 10px; }
.roll-price small { font-size: 16px; color: #b9bfcc; font-weight: 600; }
.roll-card p:not(.roll-price) { color: #c9cdd6; }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-sm); }
.table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15px; border-radius: var(--r-sm); overflow: hidden; }
.table th { background: var(--ink); color: #fff; font-family: var(--head); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 14px 12px; white-space: nowrap; }
.table td { text-align: center; padding: 13px 12px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.table tbody tr:hover td { background: #faf9f6; }
.table-matrix td:first-child, .table-matrix th:first-child { text-align: left; }
.table-matrix td:first-child a { text-decoration: none; display: block; }
.table-matrix td:first-child small { display: block; color: var(--muted); font-size: 13px; }
@media (max-width: 520px) { .table { font-size: 14px; } .table th, .table td { padding: 11px 8px; } }


.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { background: var(--card); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; }
.guide-num { font-family: var(--head); font-weight: 900; font-size: 15px; color: var(--accent); margin: 0 0 6px; }
.guide-card h3 { font-size: 18px; min-height: 2.2em; }
.guide-media { aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: #efeeeb; margin: 6px 0 14px; }
.guide-media img { width: 100%; height: 100%; object-fit: cover; }
.guide-text { font-size: 14.5px; color: var(--muted); }
.guide-prices { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 14px; }
.guide-prices div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.guide-prices span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.guide-prices strong { display: block; font-family: var(--head); font-size: 26px; font-weight: 900; }
.guide-prices small { font-size: 11.5px; color: var(--muted); }

/* Size guide */
.size-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .size-grid { grid-template-columns: 1fr; } }
.tabs { display: inline-flex; background: var(--tint); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.tab { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-tagline { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.measure { margin: 0; background: var(--card); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }
.measure img { width: 100%; border-radius: 14px; }
.measure figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.fit-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .fit-compare { grid-template-columns: 1fr; } }
.fit-card { background: var(--card); border-radius: 24px; padding: 28px; }
.fit-card img { width: 100%; aspect-ratio: 15 / 13; object-fit: cover; object-position: center 30%; border-radius: 16px; margin-bottom: 18px; }
.fit-card h2 { font-size: 24px; }
.fit-card p { color: var(--muted); margin: 0; }

/* About */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats div { background: var(--card); border-radius: var(--r); padding: 30px 16px; }
.stats strong { display: block; font-family: var(--head); font-size: clamp(36px, 4.6vw, 56px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.stats span { color: var(--muted); font-size: 14.5px; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { background: var(--card); border-radius: var(--r); padding: 24px; text-decoration: none; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; transition: transform .2s ease, box-shadow .2s ease; min-width: 0; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-card .usp-icon { margin-bottom: 14px; }
.contact-card small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-card strong { font-family: var(--head); font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.map-card { background: var(--card); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.map-card iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; display: block; background: var(--tint); }
.map-info { padding: 22px 24px; display: grid; gap: 6px; }
.map-info span { color: var(--muted); display: flex; gap: 8px; align-items: center; }

/* Quote list */
.quote-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-empty { background: var(--card); border-radius: 24px; padding: 48px 28px; text-align: center; }
.quote-empty > .icon { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--muted); }
.quote-empty h2 { font-size: 24px; }
.quote-empty p { color: var(--muted); }
.quote-list { list-style: none; display: grid; gap: 12px; }
.q-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: var(--card); border-radius: var(--r); padding: 14px; }
.q-thumb { border-radius: 12px; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #fff, #ecebe6); display: grid; place-items: center; overflow: hidden; }
.q-thumb img { width: 100%; height: 100%; object-fit: cover; }
.q-thumb span { width: 60%; height: 60%; border-radius: 12px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.q-info h3 { font-size: 16.5px; margin: 0 0 4px; }
.q-info h3 a { text-decoration: none; }
.q-info p { margin: 0; color: var(--muted); font-size: 14px; }
.q-side { display: grid; justify-items: end; gap: 8px; }
.q-side strong { font-family: var(--head); font-size: 18px; }
.q-controls { display: flex; align-items: center; gap: 6px; }
.q-controls input { width: 64px; padding: 7px; border: 1.5px solid var(--line); border-radius: 10px; text-align: center; font-weight: 600; }
.q-remove { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tint); cursor: pointer; display: grid; place-items: center; }
.q-remove:hover { background: #fde2da; color: var(--accent); }
@media (max-width: 520px) { .q-item { grid-template-columns: 64px 1fr; } .q-side { grid-column: 1 / -1; grid-template-columns: 1fr auto; justify-items: stretch; align-items: center; } }
.quote-summary { background: var(--card); border-radius: var(--r); padding: 20px 22px; margin-top: 14px; display: grid; gap: 8px; }
.quote-summary > div { display: flex; justify-content: space-between; gap: 12px; }
.quote-summary .total { border-top: 1px solid var(--line); padding-top: 10px; font-family: var(--head); font-size: 20px; }

/* Forms */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 20, 38, .08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 520px) { .form-actions .btn { flex: 1 1 100%; } }
.notice { padding: 13px 16px; border-radius: var(--r-sm); font-weight: 500; }
.notice-ok { background: #e3f6ea; color: #14572f; }
.notice-err { background: #fde8e3; color: #8a2a12; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #070d1a; color: #aab0bd; padding-top: clamp(56px, 7vw, 88px); font-size: 15px; overflow: hidden; }
.site-footer .wordmark { color: #fff; margin-bottom: 18px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { max-width: 360px; }
.footer-tagline { font-family: var(--head); font-weight: 800; color: #fff; font-size: 18px; }
.footer-title { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { text-decoration: none; color: #aab0bd; transition: color .2s ease; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.social a:hover { background: #fff; color: var(--ink); }
.footer-word { font-family: var(--head); font-weight: 900; font-size: clamp(90px, 22vw, 320px); line-height: .8; letter-spacing: -.05em; text-align: center; color: rgba(255, 255, 255, .05); margin: clamp(40px, 6vw, 72px) 0 -.06em; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 24px; font-size: 13.5px; position: relative; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(31, 168, 85, .45); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 30px; height: 30px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; font-weight: 500; width: max-content; max-width: calc(100vw - 32px); animation: toast .3s ease; }
.toast a { color: #fff; font-weight: 700; white-space: nowrap; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ============================================================
   Blog / generic pages
   ============================================================ */
.page-main { padding: clamp(40px, 6vw, 80px) 0; }
.page-title { font-size: clamp(34px, 5vw, 56px); font-weight: 900; }
.post-date { color: var(--muted); font-size: 14px; }
.page-thumb { margin: 20px 0; }
.page-thumb img { border-radius: var(--r); }
.entry-content { font-size: 17px; }
.entry-content h2 { font-size: 30px; margin-top: 1.4em; }
.entry-content h3 { font-size: 22px; margin-top: 1.2em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1em; }
.entry-content a { text-decoration-thickness: 2px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.post-list { display: grid; gap: 28px; }
.post-item { background: var(--card); border-radius: var(--r); padding: 24px; }
.post-title { font-size: 24px; }
.post-title a { text-decoration: none; }
.nav-links { display: flex; gap: 8px; margin-top: 32px; }
.page-numbers { padding: 8px 14px; border-radius: 8px; background: var(--card); text-decoration: none; }
.page-numbers.current { background: var(--ink); color: #fff; }

/* Reveal-on-scroll (class added by main.js) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.split-card.reveal.is-visible:hover { transform: translateY(-4px); }

/* Let grid children shrink so wide tables scroll inside them. */
.hero-grid > *, .pdp > *, .feature-split > *, .form-split > *, .dtf-grid > *, .size-grid > *, .quote-grid > *, .faq-wrap > *, .estimate-grid > *, .tech-item > * { min-width: 0; }
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ============================================================
   Order builder (Price Estimator)
   ============================================================ */
.builder-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-bottom: 24px; }
.builder-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.builder-steps span { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; font-weight: 600; }
.builder-steps b { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; }
.builder-hint { color: var(--muted); margin: 0; max-width: 46ch; font-size: 15px; }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
@media (max-width: 1080px) { .builder { grid-template-columns: 1fr; } }
.builder-main { display: grid; gap: 16px; min-width: 0; }
.lines { display: grid; gap: 16px; min-width: 0; }
.lines > *, .line-body, .step { min-width: 0; }

.line { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); border: 1.5px solid transparent; transition: border-color .2s ease; scroll-margin-top: calc(var(--header-h) + 16px); }
.line.is-open { border-color: var(--ink); }
.line-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 14px; }
.line-toggle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.line-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--tint); flex: none; }
.line-title { display: grid; min-width: 0; }
.line-title small { white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.line-title strong { font-family: var(--head); font-size: 17px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-title [data-meta] { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-total { font-family: var(--head); font-size: 20px; white-space: nowrap; }
.line-tools { display: flex; gap: 4px; }
.tool { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--tint); cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
.tool:hover { background: var(--line); }
.tool[data-del]:hover { background: #fde2da; color: var(--accent); }
.tool.chev .icon { transition: transform .25s ease; }
.line.is-open .tool.chev .icon { transform: rotate(180deg); }
.line-body { display: none; padding: 4px 22px 24px; border-top: 1px solid var(--line); }
.line.is-open .line-body { display: block; }
@media (max-width: 600px) {
	.line-head { flex-wrap: wrap; row-gap: 8px; }
	.line-toggle { flex: 1 1 100%; }
	.line-total { order: 3; margin-left: 70px; font-size: 18px; }
	.line-tools { order: 4; margin-left: auto; }
	.line-body { padding: 4px 14px 18px; }
}

.step { padding-top: 20px; }
.step h3 { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.step h3 b { font-family: var(--body); font-weight: 600; color: var(--muted); }
.step-no { width: 24px; height: 24px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-size: 12px; }
.step-aside { margin-left: auto; font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--muted); }

.prod-picker { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.prod-opt { position: relative; display: grid; gap: 2px; text-align: left; background: var(--paper); border: 2px solid transparent; border-radius: 16px; padding: 8px 8px 12px; cursor: pointer; scroll-snap-align: start; transition: border-color .15s ease, transform .15s ease, background .15s ease; }
.prod-opt:hover { transform: translateY(-2px); background: #fff; border-color: var(--line); }
.prod-opt img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.prod-opt-name { font-family: var(--head); font-weight: 800; font-size: 14px; line-height: 1.2; }
.prod-opt-spec { font-size: 12px; color: var(--muted); }
.prod-opt-price { font-size: 12.5px; font-weight: 700; margin-top: 2px; }
.prod-opt .tick { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: none; place-items: center; }
.prod-opt .tick .icon { width: 16px; height: 16px; }
.prod-opt.is-active { border-color: var(--ink); background: #fff; }
.prod-opt.is-active .tick { display: grid; }

.colour-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.colour-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .15s ease; }
.colour-chip .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.colour-chip:hover { border-color: var(--muted); }
.colour-chip.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); font-weight: 700; }

.size-steppers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 860px) { .size-steppers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.size-cell { min-width: 0; background: var(--paper); border: 1.5px solid transparent; border-radius: 14px; padding: 10px 6px 8px; text-align: center; transition: border-color .15s ease, background .15s ease; }
.size-cell.has-qty { background: #fff; border-color: var(--ink); }
.size-name { display: block; font-family: var(--head); font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.mini-stepper { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; gap: 2px; }
.mini-stepper button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--tint); cursor: pointer; display: grid; place-items: center; flex: none; }
.mini-stepper button:hover { background: var(--line); }
.mini-stepper .icon { width: 16px; height: 16px; }
.mini-stepper input { width: 100%; min-width: 0; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 16px; padding: 4px 0; -moz-appearance: textfield; }
.mini-stepper input::-webkit-outer-spin-button, .mini-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.quick button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.quick button:hover { border-color: var(--ink); }
.tier-hint { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.tier-hint b { color: var(--ink); }

.place { display: grid; grid-template-columns: 64px 1fr; gap: 8px 12px; align-items: start; margin-bottom: 12px; }
@media (max-width: 600px) { .place { grid-template-columns: 1fr; } }
.place-label { font-family: var(--head); font-weight: 800; font-size: 14px; padding-top: 14px; }
.print-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 380px) { .print-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.print-chip { display: grid; gap: 1px; justify-items: center; text-align: center; padding: 9px 4px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.print-chip strong { font-family: var(--head); font-size: 14px; line-height: 1.2; }
.print-chip small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.print-chip em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--wa); min-height: 1.2em; }
.print-chip:hover { border-color: var(--muted); }
.print-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.print-chip.is-active small { color: #c9cdd6; }
.print-chip.is-active em { color: #8ee0ae; }
@media (max-width: 480px) { .print-chip { padding: 9px 2px; } .print-chip strong { font-size: 12.5px; } }
.stitch-row { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; font-weight: 600; background: var(--paper); border-radius: 12px; padding: 10px 12px; }
@media (max-width: 600px) { .stitch-row { grid-column: 1; } }
.stitch-row input { width: 110px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; }
.stitch-row small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.label-note { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin: 4px 0 0; }
.label-note .icon { color: var(--wa); width: 18px; height: 18px; }

.add-line { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 20px; border-radius: 22px; border: 2px dashed var(--line); background: transparent; cursor: pointer; text-align: left; transition: border-color .2s ease, background .2s ease; }
.add-line:hover { border-color: var(--ink); background: var(--card); }
.add-line > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--ink); color: #fff; }
.add-line strong { display: block; font-family: var(--head); font-size: 17px; }
.add-line small { color: var(--muted); }

.rules { background: var(--card); border-radius: 18px; padding: 0 20px; }
.rules summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--head); font-weight: 700; }
.rules summary::-webkit-details-marker { display: none; }
.rules ul { margin: 0 0 18px 18px; display: grid; gap: 6px; color: var(--muted); font-size: 14.5px; }

.staff-panel { background: #fff8e8; border: 1px solid #f1dfae; border-radius: 18px; padding: 0 18px; }
.staff-panel summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 14px 0; font-family: var(--head); font-weight: 800; }
.staff-panel summary::-webkit-details-marker { display: none; }
.staff-panel summary small { font-family: var(--body); font-weight: 500; color: #8a6d1c; font-size: 12.5px; }
.staff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 12px; padding-bottom: 6px; }
.staff-notes { grid-column: 1 / -1; }
@media (max-width: 760px) { .staff-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .staff-grid { grid-template-columns: minmax(0, 1fr); } }
.staff-grid > * { min-width: 0; }
.staff-panel summary { flex-wrap: wrap; }
.builder-main > * { min-width: 0; }
.input-group, .field > .input-group { display: flex; margin: 0; }
.input-group input { flex: 1; width: auto !important; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; min-width: 0; }
.input-group select { flex: none; width: 64px !important; padding-left: 10px !important; padding-right: 6px !important; border-left: 0 !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }

.summary { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 1080px) { .summary { position: static; } }
.summary-card { background: var(--ink); color: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow-lg); }
.summary-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.summary-head h2 { font-size: 22px; margin: 0; }
.summary-count { font-size: 14px; color: #b9bfcc; font-weight: 600; }
.summary-lines { list-style: none; display: grid; gap: 6px; max-height: 340px; overflow-y: auto; margin: 0 -6px 14px; padding: 0 6px; }
.summary-lines button { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; text-align: left; background: rgba(255, 255, 255, .06); border: 0; color: #fff; border-radius: 12px; padding: 8px; cursor: pointer; }
.summary-lines button:hover { background: rgba(255, 255, 255, .12); }
.summary-lines img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.summary-lines strong { display: block; font-size: 13.5px; line-height: 1.3; }
.summary-lines small { display: block; font-size: 12px; color: #aab0bd; line-height: 1.35; }
.summary-lines b { font-family: var(--head); font-size: 14.5px; }
.summary-totals { margin: 0; display: grid; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; }
.summary-totals div { display: flex; justify-content: space-between; color: #c9cdd6; font-size: 15px; }
.summary-totals dd { margin: 0; color: #fff; font-weight: 600; }
.summary-totals .grand { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; margin-top: 4px; align-items: baseline; }
.summary-totals .grand dt { font-family: var(--head); font-weight: 800; color: #fff; }
.summary-totals .grand dd { font-family: var(--head); font-weight: 900; font-size: 34px; letter-spacing: -.02em; }
.summary-avg { font-size: 13px; color: #aab0bd; margin: 4px 0 16px; text-align: right; }
.summary-actions { display: grid; gap: 8px; }
.summary-actions-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.summary-actions-row .btn { padding: 10px 8px; font-size: 13.5px; gap: 6px; }
.summary-reset { background: none; border: 0; color: #8f97a8; font-size: 13px; cursor: pointer; text-decoration: underline; justify-self: center; margin-top: 4px; }

.mobile-total { display: none; }
@media (max-width: 1080px) {
	.mobile-total { position: fixed; left: 12px; right: 86px; bottom: 14px; z-index: 55; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 18px; padding: 10px 10px 10px 18px; box-shadow: var(--shadow-lg); }
	.mobile-total small { display: block; color: #b9bfcc; font-size: 12px; }
	.mobile-total strong { font-family: var(--head); font-size: 22px; }
	.builder-section { padding-bottom: 110px; }
}
.builder-send { margin-top: clamp(48px, 7vw, 88px); }

/* Printable quotation */
.quote-doc { display: none; }
@media print {
	body.printing-quote > *:not(.quote-doc) { display: none !important; }
	body.printing-quote .quote-doc { display: block !important; color: #000; font-family: var(--body); font-size: 12px; }
	@page { margin: 14mm; }
}
.qd-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid #0b1426; padding-bottom: 14px; margin-bottom: 16px; }
.qd-logo { font-family: var(--head); font-weight: 900; font-size: 30px; line-height: 1; }
.qd-sub { font-family: var(--head); font-weight: 600; font-size: 9px; letter-spacing: .6em; }
.qd-meta { text-align: right; }
.qd-meta h1 { font-size: 22px; margin: 0 0 4px; }
.qd-meta p { margin: 0; }
.qd-parties { display: flex; gap: 40px; margin-bottom: 16px; }
.qd-parties small { display: block; text-transform: uppercase; letter-spacing: .1em; color: #666; font-size: 10px; }
.qd-table, .qd-totals { width: 100%; border-collapse: collapse; }
.qd-table th { background: #0b1426; color: #fff; text-align: left; padding: 6px 8px; font-size: 11px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.qd-table td { border-bottom: 1px solid #ddd; padding: 7px 8px; vertical-align: top; }
.qd-totals { width: 300px; margin: 12px 0 0 auto; }
.qd-totals td { padding: 4px 8px; }
.qd-totals td:last-child { text-align: right; }
.qd-totals .grand td { border-top: 2px solid #0b1426; font-weight: 800; font-size: 15px; }
.qd-notes, .qd-terms { margin-top: 16px; }
.qd-terms { color: #555; font-size: 10.5px; }

.ship-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #ffd9a8; background: rgba(255, 179, 71, .1); border: 1px solid rgba(255, 179, 71, .25); border-radius: 12px; padding: 10px 12px; margin: 0 0 14px; }
.ship-note .icon { flex: none; margin-top: 1px; }

/* ============================================================
   Design Studio
   ============================================================ */
.ds-head { padding: 24px 0 18px; border-bottom: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 0%, #fff 0%, var(--paper) 60%); }
.ds-head .crumbs { margin-bottom: 14px; }
.ds-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 40px; flex-wrap: wrap; }
.ds-head .eyebrow { margin-bottom: 6px; }
.ds-title { font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; letter-spacing: -.04em; margin: 0; }
.ds-lead { color: var(--muted); max-width: 54ch; margin: 0; }
.ds { padding: 24px 0 64px; }
.ds-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: start; }
@media (max-width: 980px) { .ds-grid { grid-template-columns: 1fr; } .ds { padding-bottom: 110px; } }
.ds-stage-col { position: sticky; top: calc(var(--header-h) + 12px); min-width: 0; }
@media (max-width: 980px) { .ds-stage-col { position: static; } }

.ds-views { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; background: var(--tint); padding: 5px; border-radius: 16px; margin-bottom: 12px; }
.ds-view { position: relative; border: 0; background: transparent; padding: 10px 6px; border-radius: 12px; font-family: var(--head); font-weight: 700; font-size: 14px; cursor: pointer; }
.ds-view:hover { background: rgba(255, 255, 255, .6); }
.ds-view.is-active { background: var(--ink); color: #fff; }
.ds-view b { position: absolute; top: -6px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; display: grid; place-items: center; }
.ds-view b:empty { display: none; }

.ds-stage { position: relative; border-radius: 22px; overflow: hidden; background: #e9e8e4; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: var(--shadow); outline: none; }
.ds-stage:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.ds-stage canvas { display: block; cursor: default; }
.ds-sel { position: absolute; border: 1.5px solid var(--accent); border-radius: 2px; pointer-events: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
.ds-sel .h { position: absolute; width: 18px; height: 18px; background: #fff; border: 2px solid var(--accent); border-radius: 50%; pointer-events: auto; touch-action: none; }
.ds-sel .nw { left: -10px; top: -10px; cursor: nwse-resize; } .ds-sel .ne { right: -10px; top: -10px; cursor: nesw-resize; }
.ds-sel .sw { left: -10px; bottom: -10px; cursor: nesw-resize; } .ds-sel .se { right: -10px; bottom: -10px; cursor: nwse-resize; }
.ds-sel .rot { left: 50%; top: -38px; margin-left: -10px; width: 22px; height: 22px; background: var(--accent); cursor: grab; }
.ds-sel .rot::after { content: ""; position: absolute; left: 9px; top: 20px; width: 2px; height: 14px; background: var(--accent); }
@media (pointer: coarse) { .ds-sel .h { width: 26px; height: 26px; } .ds-sel .nw, .ds-sel .sw { left: -14px; } .ds-sel .ne, .ds-sel .se { right: -14px; } .ds-sel .nw, .ds-sel .ne { top: -14px; } .ds-sel .sw, .ds-sel .se { bottom: -14px; } }
.ds-empty { position: absolute; inset: auto 0 22px; display: flex; justify-content: center; pointer-events: none; }
.ds-empty[hidden] { display: none; }
.ds-empty-btn { pointer-events: auto; display: grid; justify-items: center; gap: 2px; background: rgba(255, 255, 255, .94); border: 2px dashed var(--ink); border-radius: 18px; padding: 14px 26px; cursor: pointer; box-shadow: var(--shadow-lg); }
.ds-empty-btn .icon { width: 28px; height: 28px; }
.ds-empty-btn strong { font-family: var(--head); font-size: 16px; }
.ds-empty-btn small { color: var(--muted); font-size: 12.5px; }
.ds-drop { position: absolute; inset: 10px; border: 3px dashed var(--accent); border-radius: 18px; background: rgba(255, 255, 255, .7); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 20px; pointer-events: none; }
.ds-measure { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; pointer-events: none; white-space: nowrap; }

.ds-toolbar { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ds-tool { display: inline-flex; align-items: center; gap: 6px; height: 40px; min-width: 40px; justify-content: center; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-weight: 600; font-size: 14px; }
.ds-tool:hover { border-color: var(--ink); }
.ds-tool .icon { width: 18px; height: 18px; }
.ds-tool.wide .icon { transform: rotate(90deg); }
.ds-toolbar-sp { flex: 1; }
.ds-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; cursor: pointer; }
.ds-switch input { width: 18px; height: 18px; accent-color: var(--ink); }

.ds-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 150px)); justify-content: center; gap: 8px; margin-top: 12px; }
.ds-thumb { border: 2px solid transparent; background: var(--card); border-radius: 14px; padding: 4px 4px 6px; cursor: pointer; display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ds-thumb canvas { width: 100%; height: auto; border-radius: 10px; }
.ds-thumb.is-active { border-color: var(--ink); color: var(--ink); }

.ds-panel { display: grid; gap: 14px; min-width: 0; }
.ds-card { background: var(--card); border-radius: 20px; padding: 18px 20px 20px; box-shadow: var(--shadow); min-width: 0; }
.ds-card[hidden] { display: none; }
.ds-h { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ds-h > span { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.ds-h em { min-width: 0; font-style: normal; font-family: var(--body); font-weight: 600; color: var(--accent); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-label { font-size: 14px; font-weight: 600; margin: 14px 0 8px; }
.ds-label b, .ds-label em { font-weight: 500; color: var(--muted); font-style: normal; }
.ds-muted { color: var(--muted); font-size: 13.5px; margin: 0; }

.ds-products { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.ds-prod { display: flex; gap: 10px; align-items: center; text-align: left; padding: 6px 10px 6px 6px; border-radius: 14px; border: 2px solid transparent; background: var(--paper); cursor: pointer; }
.ds-prod:hover { border-color: var(--line); }
.ds-prod img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.ds-prod strong { display: block; font-family: var(--head); font-size: 13.5px; line-height: 1.2; }
.ds-prod small { display: block; font-size: 11.5px; color: var(--muted); }
.ds-prod em { font-style: normal; font-size: 12px; font-weight: 700; }
.ds-prod.is-active { border-color: var(--ink); background: #fff; }
.ds-colours { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-col { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13.5px; cursor: pointer; }
.ds-col span { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.ds-col.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); font-weight: 700; }

.ds-add { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ds-add-btn { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; border-radius: 14px; border: 2px dashed var(--line); background: var(--paper); cursor: pointer; }
.ds-add-btn:hover { border-color: var(--ink); background: #fff; }
.ds-add-btn > .icon, .ds-t { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; padding: 8px; flex: none; }
.ds-t { font-family: Georgia, serif; font-weight: 700; font-size: 20px; padding: 0; }
.ds-add-btn strong { display: block; font-family: var(--head); font-size: 14.5px; }
.ds-add-btn small { color: var(--muted); font-size: 12px; }
.ds-layers { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 10px; }
.ds-layers:empty { display: none; }
.ds-layers li { display: flex; align-items: center; gap: 4px; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 4px; }
.ds-layers li.is-active { border-color: var(--accent); background: #fff6f2; }
.ds-layer { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: none; text-align: left; cursor: pointer; padding: 2px; }
.ds-layer canvas { width: 44px; height: 44px; border-radius: 8px; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 12px 12px; flex: none; }
.ds-layer span { min-width: 0; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-layer small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.ds-mini { width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--tint); cursor: pointer; font-size: 11px; flex: none; }
.ds-mini.danger:hover { background: #fde2da; color: var(--accent); }
.ds-tip { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

.ds-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ds-presets button, .ds-actions button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; cursor: pointer; }
.ds-presets button:hover, .ds-actions button:hover { border-color: var(--ink); }
.ds-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.ds-actions .danger { color: #b3261e; }
.ds-slider { display: grid; gap: 2px; margin-bottom: 8px; }
.ds-slider label { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.ds-slider label b { font-weight: 500; color: var(--muted); }
.ds-slider input { width: 100%; accent-color: var(--ink); height: 28px; }
.ds-check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; margin-top: 10px; }
.ds-check[hidden] { display: none; }
.ds-check input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.ds-check small { color: var(--muted); }
.ds-hint, .order-hint { display: flex; align-items: center; gap: 10px; background: #fff7e6; border: 1.5px solid #f3d38b; border-radius: 14px; padding: 10px 12px; margin: 12px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.ds-hint[hidden], .order-hint[hidden] { display: none; }
.ds-hint > span:not(.ds-hint-ico), .order-hint > span:not(.ds-hint-ico) { flex: 1; min-width: 0; }
.ds-hint small, .order-hint small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ds-hint-ico { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #f2b705; color: #3b2a00; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.ds-hint-ico.ok { background: #1f8a4c; color: #fff; }
.ds-hint-add { flex: none; border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ds-hint-add:hover { background: #24304a; }
.ds-quote .ds-hint { background: rgba(242, 183, 5, .12); border-color: rgba(242, 183, 5, .45); color: #fff; }
.ds-quote .ds-hint small { color: #c9cdd6; }
.ds-quote .ds-hint-add { background: #f2b705; color: #1b1400; }
.ds-quote .ds-hint-add:hover { background: #ffc928; }
.ds-bg { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; margin-top: 12px; }
.ds-bg[hidden] { display: none; }
.ds-bg-head { display: grid; gap: 2px; margin-bottom: 10px; }
.ds-bg-head strong { font-family: var(--head); font-size: 15px; }
.ds-bg-head small { color: var(--muted); font-size: 13px; }
.ds-bg-body { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 14px; align-items: start; }
.ds-bg-preview { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.ds-bg-preview canvas { display: block; max-width: 100%; height: auto; cursor: crosshair; }
.ds-bg-tools { display: grid; gap: 10px; min-width: 0; }
.ds-bg-keys { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; align-items: center; }
.ds-bg-key { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 10px 4px 5px; font-size: 12px; font-family: ui-monospace, monospace; cursor: pointer; }
.ds-bg-key i { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.ds-bg-key b { font-family: var(--body); color: var(--muted); }
.ds-bg-key:hover { border-color: #c0392b; }
.ds-bg-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-bg-quick button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.ds-bg-quick button:hover { border-color: var(--ink); }
.ds-bg .ds-slider { margin: 0; }
.ds-bg .ds-check { margin-top: 0; }
.ds-bg-dl { justify-self: start; }
@media (max-width: 520px) { .ds-bg-body { grid-template-columns: 1fr; } .ds-bg-preview canvas { max-height: 260px; width: auto; } }
.ds-quality { font-size: 13px; border-radius: 10px; padding: 8px 10px; margin: 10px 0 0; }
.ds-quality.ok { background: #e3f6ea; color: #14572f; } .ds-quality.warn { background: #fff4d6; color: #7a5a00; } .ds-quality.bad { background: #fde8e3; color: #8a2a12; }
.ds-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
@media (max-width: 480px) { .ds-row, .ds-add { grid-template-columns: 1fr; } }
.ds-text-edit .field { margin-bottom: 10px; }
.ds-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--sw); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; position: relative; }
.ds-sw.is-active { box-shadow: 0 0 0 2px var(--ink); }
.ds-sw.none { background: linear-gradient(135deg, transparent 45%, #c8322a 45% 55%, transparent 55%), #fff; }
.ds-sw.custom { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); overflow: hidden; }
.ds-sw.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.ds-methods { display: grid; gap: 8px; }
.ds-method { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 8px; }
.ds-method-head { display: flex; justify-content: space-between; align-items: baseline; }
.ds-method-head small { color: var(--muted); }
.ds-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); border-radius: 10px; padding: 3px; }
.ds-seg button { border: 0; background: none; padding: 7px; border-radius: 8px; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.ds-seg .is-active { background: var(--ink); color: #fff; }
.ds-stitch { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.ds-stitch input { width: 110px; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; }
.ds-sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1240px) and (min-width: 981px), (max-width: 620px) { .ds-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ds-size { min-width: 0; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 6px; text-align: center; transition: border-color .15s ease, background .15s ease; }
.ds-size.has { border-color: var(--ink); background: #fff; }
.ds-size > span { display: block; font-family: var(--head); font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.ds-size div { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: center; gap: 2px; }
.ds-size button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-weight: 700; font-size: 16px; line-height: 1; padding: 0; color: var(--ink); }
.ds-size button:hover { background: var(--ink); color: #fff; box-shadow: none; }
.ds-size input { width: 100%; min-width: 0; border: 0; background: none; text-align: center; font-weight: 800; font-size: 16px; -moz-appearance: textfield; padding: 0; }
.ds-size.has button { background: var(--tint); box-shadow: none; }
.ds-size input::-webkit-outer-spin-button, .ds-size input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ds-qty-total { color: var(--ink) !important; font-weight: 700 !important; }

.ds-quote { background: var(--ink); color: #fff; }
.ds-quote .ds-h > span { background: #fff; color: var(--ink); }
.ds-q-lines { list-style: none; display: grid; gap: 8px; margin-bottom: 12px; }
.ds-q-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #d6d9e0; }
.ds-q-lines li small { display: block; color: #8f97a8; font-size: 12px; }
.ds-q-lines li b { color: #fff; white-space: nowrap; }
.ds-q-lines li.warn { color: #ffd9a8; }
.ds-q-totals { margin: 0; display: grid; gap: 6px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 12px; }
.ds-q-totals div { display: flex; justify-content: space-between; color: #c9cdd6; font-size: 14.5px; }
.ds-q-totals dd { margin: 0; color: #fff; font-weight: 600; }
.ds-q-totals .grand { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 10px; margin-top: 4px; align-items: baseline; }
.ds-q-totals .grand dt { font-family: var(--head); font-weight: 800; color: #fff; }
.ds-q-totals .grand dd { font-family: var(--head); font-size: 32px; font-weight: 900; }
.ds-ship { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #ffd9a8; margin: 10px 0 16px; }
.ds-send .field > span { color: #d6d9e0; }
.ds-send .field input { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #fff; }
.ds-send .field input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.ds-send-note { font-size: 12.5px; color: #8f97a8; margin: 8px 0 0; text-align: center; }
.ds-send-status { margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; background: rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ds-send-status.ok { background: rgba(31, 168, 85, .2); } .ds-send-status.err { background: rgba(232, 84, 43, .2); }
.ds-send-status .spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ds-reset { display: block; margin: 12px auto 0; background: none; border: 0; color: #8f97a8; text-decoration: underline; cursor: pointer; font-size: 13px; }

.ds-mobile-bar { display: none; }
@media (max-width: 980px) {
	.ds-mobile-bar { position: fixed; left: 12px; right: 86px; bottom: 14px; z-index: 55; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 18px; padding: 10px 10px 10px 16px; box-shadow: var(--shadow-lg); }
	.ds-mobile-bar small { display: block; color: #b9bfcc; font-size: 11.5px; }
	.ds-mobile-bar strong { font-family: var(--head); font-size: 20px; }
}

.pdp-design { background: #f1f4ff; border-color: #d3dcfb; margin-bottom: 10px; }
.pdp-design > .icon { color: #3a55d6; }

/* WordPress admin bar (logged-in users) */
.admin-bar .site-header { top: 32px; }
.admin-bar .jump { top: calc(var(--header-h) + 32px); }
.admin-bar .ds-stage-col, .admin-bar .summary, .admin-bar .pdp-gallery { top: calc(var(--header-h) + 44px); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .jump { top: calc(var(--header-h) + 46px); } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } .admin-bar .jump { top: var(--header-h); } }

/* Size steppers: number on top, − / + underneath (fits every screen width) */
.ds-size div, .mini-stepper { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 4px; justify-items: center; }
.ds-size input, .mini-stepper input { grid-column: 1 / -1; order: -1; font-size: 18px; height: 30px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ds-size input:focus, .mini-stepper input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.ds-size button, .mini-stepper button { width: 100%; max-width: 40px; height: 30px; border-radius: 9px; }
.mini-stepper button { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mini-stepper button:hover { background: var(--ink); color: #fff; box-shadow: none; }
.size-cell.has-qty .mini-stepper button, .ds-size.has button { background: var(--tint); box-shadow: none; }

/* Floating total bars: always one compact line */
.ds-mobile-bar > div, .mobile-total > div { min-width: 0; }
.ds-mobile-bar small, .mobile-total small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) {
	.ds-mobile-bar, .mobile-total { left: 8px; right: 76px; bottom: 10px; padding: 8px 8px 8px 14px; }
	.ds-mobile-bar strong, .mobile-total strong { font-size: 18px; }
	.ds-mobile-bar .btn, .mobile-total .btn { padding: 9px 12px; font-size: 13px; }
	.wa-float { width: 54px; height: 54px; right: 12px; bottom: 12px; }
}

/* Design Studio product picker: photo on top */
.ds-products { grid-auto-columns: minmax(118px, 1fr); }
.ds-prod { flex-direction: column; align-items: stretch; gap: 6px; padding: 6px 6px 10px; }
.ds-prod img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.ds-prod strong { font-size: 13px; }
@media (min-width: 1081px) and (max-width: 1260px) {
	.header-inner { gap: 16px; }
	.nav-list { gap: 0; }
	.nav-list a { padding: 8px 10px; font-size: 14px; }
	.header-cta { display: none; }
}

.ds-send-status { display: block; }
.ds-done-h { margin: 0 0 10px; font-weight: 600; }
.ds-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 10px; }
.ds-steps li { counter-increment: st; display: grid; grid-template-columns: 26px 1fr; gap: 6px 10px; align-items: start; background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; }
.ds-steps li::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; grid-row: span 2; }
.ds-steps .btn { justify-self: start; }

/* Replace / Delete bar under the selected design */
.ds-sel-bar { position: absolute; left: 50%; top: calc(100% + 18px); transform: translateX(-50%); display: flex; gap: 6px; pointer-events: auto; white-space: nowrap; }
.ds-sel-bar button { border: 0; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); cursor: pointer; }
.ds-sel-bar button.danger { background: #c8322a; }
.ds-sel-bar button[hidden] { display: none; }
.ds-sel-bar.inside { top: auto; bottom: 10px; }
.hint-add { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; cursor: pointer; margin-left: 4px; vertical-align: 1px; }
.hint-add:hover { background: #24304a; }
.summary .order-hint { margin: 12px 0 0; }
