/* ============================================
   SewBranded — Bright, Fun, Creative
   Thread motif · Purple/Pink palette
   Lead-gen focused
   ============================================ */

/* Brand fonts, self-hosted (was a render-blocking Google Fonts @import) */
/* Caveat 500 latin-ext */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/caveat-latin-ext-6b226757.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Caveat 500 latin */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/caveat-latin-4230ff7b.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Caveat 700 latin-ext */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/caveat-latin-ext-6b226757.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Caveat 700 latin */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/caveat-latin-4230ff7b.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 300 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/outfit-latin-ext-f37fa50e.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 300 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/outfit-latin-c8e7a734.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 400 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/outfit-latin-ext-f37fa50e.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 400 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/outfit-latin-c8e7a734.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 500 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/outfit-latin-ext-f37fa50e.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 500 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/outfit-latin-c8e7a734.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 600 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/outfit-latin-ext-f37fa50e.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 600 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/outfit-latin-c8e7a734.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 700 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/outfit-latin-ext-f37fa50e.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 700 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/outfit-latin-c8e7a734.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 800 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/outfit-latin-ext-f37fa50e.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 800 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/outfit-latin-c8e7a734.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
    --purple-900: #2d1054;
    --purple-800: #3f1a6e;
    --purple-700: #5c2d91;
    --purple-600: #7b3faf;
    --purple-500: #9b59c7;
    --purple-400: #b47dd8;
    --purple-300: #d0a8e8;
    --purple-200: #e8d4f5;
    --purple-100: #f5edfc;
    --purple-50: #faf7fe;

    --pink-600: #d63384;
    --pink-500: #e84393;
    --pink-400: #f06dab;
    --pink-300: #f5a0c7;
    --pink-200: #fad1e5;
    --pink-100: #fdeef5;

    --coral: #ff6b6b;
    --yellow: #ffd93d;
    --mint: #6bcb77;
    --sky: #4d96ff;

    --dark: #1a1128;
    --charcoal: #2e2240;
    --grey-700: #4a3d5c;
    --grey-500: #7a6f8a;
    --grey-400: #9e95ad;
    --grey-300: #c4bfd0;
    --grey-200: #e0dde6;
    --grey-100: #f0eef4;
    --off-white: #faf9fc;
    --white: #ffffff;

    --gradient-hero: linear-gradient(135deg, var(--purple-800) 0%, var(--purple-600) 40%, var(--pink-600) 100%);
    --gradient-accent: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-500) 100%);
    --gradient-soft: linear-gradient(135deg, var(--purple-100) 0%, var(--pink-100) 100%);

    --font-display: 'Outfit', sans-serif;
    --font-script: 'Caveat', cursive;

    --max-width: 1140px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 100px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-display);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--purple-600); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--purple-800); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================
   STITCH / THREAD MOTIF
   The signature visual element
   ============================================ */

/* Dashed "stitch" border */
.stitch-border {
    border: 2px dashed var(--purple-300);
    border-radius: var(--radius);
}

/* Decorative thread line — used as section dividers */
.thread-line {
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--purple-400) 0px,
        var(--purple-400) 8px,
        transparent 8px,
        transparent 14px
    );
    margin: 0 auto;
    width: 120px;
}

/* Thread curve SVG motif for backgrounds */
.thread-bg {
    position: absolute;
    pointer-events: none;
    opacity: 0.07;
}

/* Needle + thread icon accent */
.needle-icon::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--pink-500) 0px,
        var(--pink-500) 4px,
        transparent 4px,
        transparent 7px
    );
    vertical-align: middle;
    margin-left: 8px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--grey-200);
    transition: all 0.3s ease;
}
.nav.scrolled {
    box-shadow: 0 2px 20px rgba(45,16,84,0.08);
}
.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.nav-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.03em;
}
.nav.scrolled .nav-logo-text,
.hero .nav-logo-text { color: var(--dark); }
.footer-logo-img {
    height: 60px;
}
.guest-logo-img {
    height: 100px;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.6)) drop-shadow(0 0 4px rgba(255,255,255,0.9));
}

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--grey-700);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple-600); }

.nav-cta {
    background: var(--gradient-accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(123,63,175,0.3);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}

/* Thread curve decorations */
.hero-thread {
    position: absolute;
    pointer-events: none;
}
.hero-thread-1 {
    top: 15%;
    right: -5%;
    width: 400px;
    height: 400px;
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: 50%;
}
.hero-thread-2 {
    bottom: 10%;
    left: -8%;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(255,255,255,0.07);
    border-radius: 50%;
}
.hero-thread-3 {
    top: 40%;
    right: 15%;
    width: 150px;
    height: 150px;
    border: 2px dashed rgba(255,255,255,0.08);
    border-radius: 50%;
}
/* Stitch-line decorations */
.hero-stitch {
    position: absolute;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.15) 0px,
        rgba(255,255,255,0.15) 8px,
        transparent 8px,
        transparent 16px
    );
    pointer-events: none;
}
.hero-stitch-1 { width: 200px; top: 25%; left: 5%; transform: rotate(-15deg); }
.hero-stitch-2 { width: 150px; bottom: 30%; right: 8%; transform: rotate(20deg); }
.hero-stitch-3 { width: 180px; top: 60%; left: 55%; transform: rotate(-8deg); }

/* Bobbin/spool dots */
.hero-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.hero-title .script {
    font-family: var(--font-script);
    font-weight: 700;
    font-size: 1.15em;
    display: inline-block;
    color: var(--yellow);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}
.hero-proof-avatars {
    display: flex;
}
.hero-proof-avatars span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    margin-left: -8px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.hero-proof-avatars span:first-child { margin-left: 0; }

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual-card {
    width: 340px;
    height: 420px;
    background: rgba(255,255,255,0.08);
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(4px);
    position: relative;
}
/* Floating service tags */
.hero-tag {
    position: absolute;
    background: var(--white);
    color: var(--purple-700);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}
.hero-tag:nth-child(2) { top: 10%; right: -30px; animation-delay: 0s; }
.hero-tag:nth-child(3) { bottom: 25%; left: -40px; animation-delay: 0.5s; }
.hero-tag:nth-child(4) { top: 45%; right: -50px; animation-delay: 1s; }
.hero-tag:nth-child(5) { bottom: 5%; right: 10%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 14px 30px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--white);
    color: var(--purple-700);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
    color: var(--purple-700);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.18);
    color: var(--white);
}

.btn-purple {
    background: var(--gradient-accent);
    color: var(--white);
}
.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(123,63,175,0.35);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--purple-600);
    border-color: var(--purple-300);
}
.btn-outline:hover {
    border-color: var(--purple-600);
    background: var(--purple-50);
}

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 6rem 0; }

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--purple-500);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--grey-500);
    max-width: 550px;
    line-height: 1.7;
    font-weight: 400;
}

.section-purple {
    background: var(--gradient-hero);
    color: var(--white);
    /* Contain the decorative .hero-thread circles, which sit partly
       off-edge — unclipped they made the page wider than the window. */
    position: relative;
    overflow: hidden;
}
.section-purple .section-label { color: var(--pink-300); }
.section-purple .section-title { color: var(--white); }
.section-purple .section-subtitle { color: rgba(255,255,255,0.7); }

.section-soft {
    background: var(--gradient-soft);
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(45,16,84,0.1);
    border-color: var(--purple-200);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border: 2px dashed var(--purple-300);
}
.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--purple-600);
    fill: none;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}
.service-card p {
    font-size: 0.875rem;
    color: var(--grey-500);
    line-height: 1.7;
}
.service-tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pink-500);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}
/* Thread line connecting steps */
.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.2) 0px,
        rgba(255,255,255,0.2) 6px,
        transparent 6px,
        transparent 12px
    );
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-script);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yellow);
    margin: 0 auto 1rem;
}
.process-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.process-step p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* ============================================
   GALLERY / WORK SHOWCASE
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 3rem;
}
.gallery-item {
    aspect-ratio: 1;
    background: var(--gradient-soft);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--purple-200);
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item span {
    font-size: 0.7rem;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 1rem;
}
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.testimonial {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--grey-200);
    position: relative;
}
.testimonial::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
}
.testimonial-stars {
    color: var(--yellow);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 0.9rem;
    color: var(--grey-700);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.testimonial-author {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--dark);
}
.testimonial-role {
    font-size: 0.75rem;
    color: var(--grey-400);
}

/* ============================================
   LEAD GEN CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-hero);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section .hero-thread-1,
.cta-section .hero-thread-2,
.cta-section .hero-thread-3 { display: block; }
.cta-section .hero-stitch-1,
.cta-section .hero-stitch-2 { display: block; }

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section .script { font-family: var(--font-script); color: var(--yellow); font-size: 1.3em; }

/* ============================================
   CONTACT / QUOTE FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: var(--gradient-soft);
    border: 2px dashed var(--purple-300);
    border-radius: var(--radius);
    padding: 2.5rem;
}
.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(45,16,84,0.06);
}
.contact-info-icon svg { width: 20px; height: 20px; stroke: var(--purple-600); fill: none; stroke-width: 1.5; }
.contact-info-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-400); margin-bottom: 2px; }
.contact-info-value { font-size: 0.95rem; color: var(--dark); font-weight: 500; }

.contact-form {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--grey-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--off-white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--purple-400);
    box-shadow: 0 0 0 3px rgba(123,63,175,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--grey-400);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    font-size: 0.85rem;
    color: var(--grey-500);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}
.footer h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--grey-500); }
.footer-links a:hover { color: var(--purple-300); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--grey-500);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* JS adds .js-ready to <html> — without it, .anim elements are fully visible (no-JS fallback) */
html:not(.js-ready) .anim { opacity: 1; transform: none; }
html.js-ready .anim { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
/* .visible rule is scoped under html.js-ready so it out-specifies the hide rule above */
html.js-ready .anim.visible { opacity: 1; transform: translateY(0); }

.hero-content > div > * {
    animation: fadeInUp 0.7s ease forwards;
}
.hero-content > div > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > div > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > div > *:nth-child(3) { animation-delay: 0.35s; }
.hero-content > div > *:nth-child(4) { animation-delay: 0.5s; }
.hero-content > div > *:nth-child(5) { animation-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 68px; left: 0; right: 0; background: var(--white);
        padding: 1.5rem; gap: 1rem; border-top: 1px solid var(--grey-200);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }
    .hero-content { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .process-grid::before { display: none; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item.tall { grid-row: span 1; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    section { padding: 4rem 0; }
}

/* =========================================================================
   Admin sidebar shell (Phase 1 — admin portal IA)
   ========================================================================= */
.admin-body { background: var(--purple-50); }
.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 240px; flex-shrink: 0; background: #fff;
    border-right: 1px solid var(--purple-100);
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; bottom: 0; height: 100vh;
    overflow-y: auto; z-index: 50;
}
.admin-sidebar-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 1.1rem 1.25rem; text-decoration: none;
    border-bottom: 1px solid var(--purple-100);
}
.admin-sidebar-brand img { height: 36px; width: auto; }
.admin-sidebar-brand span { font-weight: 800; color: var(--purple-800); letter-spacing: -0.03em; }

.admin-nav { flex: 1; padding: 0.85rem 0.6rem; }
.admin-nav-group { margin-bottom: 0.9rem; }
.admin-nav-label {
    font-size: 0.66rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.09em; color: var(--grey-400);
    padding: 0 0.65rem; margin: 0 0 0.3rem;
}
.admin-nav-link {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 0.65rem; border-radius: 10px;
    color: var(--grey-700); text-decoration: none;
    font-weight: 600; font-size: 0.9rem; line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease;
}
.admin-nav-link svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.7; }
.admin-nav-link:hover { background: var(--purple-50); color: var(--purple-700); }
.admin-nav-link.active { background: var(--gradient-accent); color: #fff; }
.admin-nav-link.active svg { opacity: 1; }

.admin-sidebar-footer {
    padding: 0.6rem; border-top: 1px solid var(--purple-100);
    display: flex; flex-direction: column; gap: 0.2rem;
}
.admin-logout { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; }
.admin-logout:hover { background: #fdeef5; color: var(--coral, #e84393); }

.admin-main { flex: 1; margin-left: 240px; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { display: none; }
.admin-content { padding: 2rem 1.75rem; flex: 1; }
.admin-content .container { padding-left: 0; padding-right: 0; margin-left: 0; }
.admin-overlay { display: none; }

@media (max-width: 900px) {
    .admin-sidebar {
        transform: translateX(-100%); transition: transform 0.25s ease;
        box-shadow: 0 0 40px rgba(0,0,0,0.18);
    }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-topbar {
        display: flex; align-items: center; gap: 0.75rem;
        padding: 0.7rem 1rem; background: #fff;
        border-bottom: 1px solid var(--purple-100);
        position: sticky; top: 0; z-index: 30;
    }
    .admin-topbar-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
    .admin-topbar-brand img { height: 32px; width: auto; }
    .admin-topbar-brand span { font-weight: 800; color: var(--purple-800); }
    .admin-menu-toggle { background: none; border: 0; cursor: pointer; color: var(--purple-700); display: flex; padding: 0; }
    .admin-content { padding: 1.25rem 1rem; }
    .admin-overlay.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 40; }
}

/* =========================================================================
   Admin reports (Phase 3 — tabs + filter bar)
   ========================================================================= */
.report-tabs {
    display: flex; gap: 0.25rem; flex-wrap: wrap;
    border-bottom: 2px solid var(--purple-100); margin-bottom: 1.25rem;
}
.report-tab {
    padding: 0.6rem 1rem; font-weight: 600; font-size: 0.9rem;
    color: var(--grey-500); text-decoration: none;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.report-tab:hover { color: var(--purple-700); }
.report-tab.active { color: var(--purple-700); border-bottom-color: var(--purple-600); }

.report-filters {
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end;
    background: #fff; border: 1px solid var(--purple-100);
    border-radius: var(--radius-sm); padding: 1rem 1.25rem;
}
.report-filters .form-group { margin: 0; }
.report-filters input, .report-filters select { min-width: 150px; }
.report-filters-actions { display: flex; gap: 0.5rem; align-items: center; margin-left: auto; }

@media (max-width: 640px) {
    .report-filters { flex-direction: column; align-items: stretch; }
    .report-filters-actions { margin-left: 0; }
}

/* =========================================================================
   Admin Phase 4 — quotes pills + production board
   ========================================================================= */
.quote-pill {
    display: inline-block; padding: 0.15rem 0.6rem; border-radius: var(--radius-pill);
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
}
.quote-pill-new    { background: var(--purple-100); color: var(--purple-700); }
.quote-pill-quoted { background: #fff6d9; color: #9a7b00; }
.quote-pill-won    { background: #e3f7e6; color: #2c7a3d; }
.quote-pill-lost   { background: var(--grey-100); color: var(--grey-500); }
.quote-pill-spam   { background: #fdecea; color: #b3382c; }

.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.board-col { background: var(--purple-50); border: 1px solid var(--purple-100); border-radius: var(--radius-sm); padding: 0.75rem; }
.board-col-head {
    font-weight: 700; color: var(--purple-800); font-size: 0.9rem;
    padding-bottom: 0.5rem; margin-bottom: 0.75rem; border-bottom: 2px solid var(--purple-200);
}
.board-card { background: #fff; border: 1px solid var(--purple-100); border-radius: var(--radius-sm); padding: 0.75rem; margin-bottom: 0.6rem; }

@media (max-width: 800px) {
    .board-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Admin Phase 5 — alerts panel + CRM timeline
   ========================================================================= */
.alerts-panel {
    background: #fff; border: 1px solid var(--purple-100);
    border-left: 4px solid var(--pink-500);
    border-radius: var(--radius-sm); padding: 0.85rem 1.1rem; margin-bottom: 1.5rem;
}
.alerts-panel-title {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--grey-400); margin-bottom: 0.5rem;
}
.alert-row {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.4rem 0; color: var(--grey-700); text-decoration: none; font-size: 0.9rem; font-weight: 500;
}
.alert-row:hover { color: var(--purple-700); }
.alert-row .alert-arrow { margin-left: auto; color: var(--grey-300); }
.alert-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.alert-warn .alert-dot { background: var(--coral); }
.alert-info .alert-dot { background: var(--yellow); }

.crm-timeline { position: relative; padding-left: 0.5rem; }
.crm-event { display: flex; gap: 0.85rem; padding-bottom: 1.1rem; position: relative; }
.crm-event:not(:last-child)::before {
    content: ''; position: absolute; left: 5px; top: 14px; bottom: 0;
    width: 2px; background: var(--purple-100);
}
.crm-event-dot {
    width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
    background: var(--purple-400); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--purple-200); z-index: 1;
}
.crm-event-design .crm-event-dot { background: var(--purple-400); }
.crm-event-order .crm-event-dot { background: var(--purple-600); }
.crm-event-payment .crm-event-dot { background: var(--mint); }
.crm-event-text { font-size: 0.9rem; color: var(--dark); }
.crm-event-when { font-size: 0.75rem; color: var(--grey-400); margin-top: 0.1rem; }

/* =========================================================================
   Equestrian feature section (high-margin promo band)
   ========================================================================= */
.equestrian {
    background: var(--gradient-soft);
    border-top: 1px solid var(--purple-100);
    border-bottom: 1px solid var(--purple-100);
}
.equestrian-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.equestrian-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--purple-800);
    letter-spacing: -0.02em;
    margin: 0.5rem 0 1rem;
    line-height: 1.1;
}
.equestrian-desc {
    color: var(--grey-700);
    font-size: 1.02rem;
    margin-bottom: 1.25rem;
    max-width: 34rem;
}
.equestrian-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}
.equestrian-chip {
    background: #fff;
    border: 1px solid var(--purple-200);
    color: var(--purple-700);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 8px rgba(123,63,175,0.06);
}
.equestrian-visual img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(45,16,84,0.18);
}
.equestrian-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    aspect-ratio: 9 / 6;
    border: 2px dashed var(--purple-300);
    border-radius: var(--radius);
    color: var(--purple-400);
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.4);
}
.equestrian-placeholder svg { width: 56px; height: 56px; }
.equestrian-placeholder span { font-size: 0.85rem; max-width: 16rem; }

@media (max-width: 820px) {
    .equestrian-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .equestrian-visual { order: -1; }
}

/* =========================================================================
   Buyer order flow — progress stepper + live price bar
   ========================================================================= */
.flow-steps { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 1.5rem; flex-wrap: wrap; }
.flow-step { display: flex; align-items: center; gap: 0.5rem; }
.flow-step-num {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 700;
}
.flow-step-todo .flow-step-num { background: var(--purple-100); color: var(--purple-400); }
.flow-step-active .flow-step-num { background: var(--gradient-accent); color: #fff; }
.flow-step-done .flow-step-num { background: var(--mint); color: #fff; }
.flow-step-label { font-size: 0.85rem; font-weight: 600; color: var(--grey-400); }
.flow-step-active .flow-step-label { color: var(--purple-800); }
.flow-step-done .flow-step-label { color: var(--grey-700); }
.flow-step-bar { flex: 1; min-width: 18px; height: 2px; background: var(--purple-100); }
a.flow-step-link { text-decoration: none; border-radius: 999px; padding: 0.15rem 0.5rem 0.15rem 0.15rem; margin: -0.15rem -0.5rem -0.15rem -0.15rem; }
a.flow-step-link:hover { background: var(--purple-50); }
a.flow-step-link:hover .flow-step-label { color: var(--purple-700); text-decoration: underline; }
.order-cancel { display: flex; justify-content: center; align-items: center; gap: 0.4rem; margin: 1rem 0 0; font-size: 0.85rem; color: var(--grey-500); }
.order-cancel-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--coral); text-decoration: underline; cursor: pointer; }
.order-cancel-btn:hover { color: var(--pink-600); }

.lp-bar {
    position: sticky; bottom: 0; z-index: 10;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--purple-200); border-radius: var(--radius);
    padding: 0.85rem 1.25rem; margin-top: 1.5rem;
    box-shadow: 0 -6px 24px rgba(45,16,84,0.10);
}
.lp-empty { color: var(--grey-400); font-size: 0.9rem; }
.lp-summary { font-size: 1rem; color: var(--grey-700); }
.lp-summary strong { color: var(--purple-800); }
.lp-note { font-size: 0.78rem; color: var(--grey-400); margin-left: 0.25rem; }

@media (max-width: 520px) {
    .flow-step-todo .flow-step-label, .flow-step-done .flow-step-label { display: none; }
    .lp-bar { flex-direction: column; align-items: stretch; text-align: center; }
    .lp-bar .btn { width: 100%; justify-content: center; }
}

/* =========================================================================
   Buyer order flow v2 — product groups, colour cards, steppers, order bar
   ========================================================================= */

/* Buttons */
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1rem; }

/* Inline alerts */
.app-alert { border-radius: var(--radius-sm); padding: 0.85rem 1.1rem; margin-bottom: 1.25rem; font-weight: 600; font-size: 0.9rem; }
.app-alert-success { background: #eafaf0; color: #1f7a43; border: 1px solid #b7e8c8; }
.app-alert-error { background: #fdecef; color: #b3274a; border: 1px solid #f6c3cf; }

.back-link { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--purple-600); }
.back-link:hover { color: var(--purple-800); }

/* --- Product group tiles (step 2a) --- */
.group-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem;
}
.group-tile {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--grey-200);
    border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
    box-shadow: 0 2px 10px rgba(45,16,84,0.05); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    position: relative; min-height: 200px;
}
.group-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(45,16,84,0.16); border-color: var(--purple-300); color: inherit; }
.group-tile-media {
    display: flex; align-items: center; justify-content: center; height: 150px;
    background: var(--gradient-soft); overflow: hidden;
}
.group-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.group-tile-emoji { font-size: 3rem; }
.group-tile-body { padding: 0.9rem 1.1rem 1.1rem; }
.group-tile-name { display: block; font-weight: 800; font-size: 1.1rem; color: var(--purple-800); }
.group-tile-count { display: block; font-size: 0.8rem; color: var(--grey-500); margin-top: 0.15rem; }
.group-tile-go {
    position: absolute; top: 0.85rem; right: 0.85rem; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.92); color: var(--purple-700); display: flex; align-items: center;
    justify-content: center; font-weight: 800; box-shadow: 0 2px 8px rgba(45,16,84,0.12);
}

/* --- Product block + colour cards (step 2b) --- */
.product-block { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.product-block-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.product-block-name { margin: 0; font-size: 1.3rem; color: var(--purple-800); }
.product-block-price { font-size: 0.85rem; color: var(--grey-500); }
.product-block-desc { color: var(--grey-500); font-size: 0.9rem; margin: 0.5rem 0 0; }

.colour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.colour-card { border: 2px solid var(--grey-100); border-radius: var(--radius-sm); padding: 1rem; transition: border-color 0.15s; }
.colour-card:hover { border-color: var(--purple-200); }
.colour-card-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; }
.colour-swatch { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); flex-shrink: 0; }
.colour-name { font-weight: 700; color: var(--grey-700); text-transform: capitalize; }

.size-list { display: flex; flex-direction: column; gap: 0.5rem; }
.size-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.4rem 0; border-top: 1px solid var(--grey-100); }
.size-row:first-child { border-top: 0; }
.size-meta { display: flex; flex-direction: column; }
.size-label { font-weight: 700; font-size: 0.95rem; }
.size-sub { font-size: 0.72rem; color: var(--grey-500); }

/* Touch steppers */
.stepper { display: inline-flex; align-items: center; gap: 0; border: 2px solid var(--purple-200); border-radius: var(--radius-pill); overflow: hidden; background: #fff; }
.stepper-btn {
    width: 42px; height: 42px; border: 0; background: var(--purple-50); color: var(--purple-700);
    font-size: 1.3rem; font-weight: 700; cursor: pointer; line-height: 1; transition: background 0.15s;
}
.stepper-btn:hover { background: var(--purple-100); }
.stepper-btn:active { background: var(--purple-200); }
.stepper-input {
    width: 48px; height: 42px; border: 0; text-align: center; font-size: 1rem; font-weight: 700;
    color: var(--purple-800); -moz-appearance: textfield; background: #fff;
}
.stepper-input::-webkit-outer-spin-button, .stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* --- Sticky order bar (groups overview + group detail + placement) --- */
.order-bar { position: sticky; bottom: 0; z-index: 20; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-top: 1px solid var(--purple-200); box-shadow: 0 -6px 24px rgba(45,16,84,0.10); padding: 0.85rem 0; margin-top: 1.5rem; }
.order-bar-static { border: 1px solid var(--purple-200); border-radius: var(--radius); }
.order-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0 1.25rem; margin: 0 auto; }
.order-bar-static .order-bar-inner { padding: 0.95rem 1.25rem; }
.order-bar-info { font-size: 0.98rem; color: var(--grey-700); }
.order-bar-info strong { color: var(--purple-800); }
.order-bar-note { font-size: 0.82rem; color: var(--grey-400); }
.order-bar-actions { display: flex; gap: 0.6rem; align-items: center; }

@media (max-width: 600px) {
    .order-bar-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .order-bar-actions { flex-direction: column; }
    .order-bar-actions .btn { width: 100%; justify-content: center; }
    .size-row { flex-wrap: wrap; }
}

/* =========================================================================
   Team kit (group orders)
   ========================================================================= */
.check-row { display:flex; align-items:center; gap:0.6rem; padding:0.55rem 0.7rem; border:1px solid var(--grey-100); border-radius:var(--radius-sm); cursor:pointer; transition:border-color .15s, background .15s; }
.check-row:hover { border-color:var(--purple-200); background:var(--purple-50); }
.check-row input { width:18px; height:18px; flex-shrink:0; }

.chip-checks { display:flex; flex-wrap:wrap; gap:0.5rem; }
.chip-check { position:relative; }
.chip-check input { position:absolute; opacity:0; width:0; height:0; }
.chip-check span { display:inline-block; padding:0.35rem 0.85rem; border:2px solid var(--purple-200); border-radius:var(--radius-pill); font-size:0.85rem; font-weight:600; color:var(--grey-700); cursor:pointer; text-transform:capitalize; transition:all .15s; }
.chip-check input:checked + span { background:var(--gradient-accent); color:#fff; border-color:transparent; }
.chip-check input:focus-visible + span { outline:2px solid var(--purple-400); outline-offset:2px; }

/* group-order status pills */
.pill-open { background:#e6f4ff; color:#1d6fb8; }
.pill-closed { background:var(--grey-100); color:var(--grey-700); }
.pill-ordered { background:#eafaf0; color:#1f7a43; }
.pill-cancelled { background:#fdecef; color:#b3274a; }

/* Team-member picker — swatch + size chips, budget pill */
.info-pill { display:block; width:fit-content; margin:0 auto 0.75rem; background:var(--purple-50); border:1px solid var(--purple-200); color:var(--purple-800); border-radius:var(--radius-pill); padding:0.4rem 1rem; font-size:0.88rem; font-weight:600; text-align:center; }
.pick-chips { display:flex; flex-wrap:wrap; gap:0.5rem; margin-top:0.35rem; }
.swatch-pick, .size-pick { display:inline-flex; align-items:center; gap:0.45rem; padding:0.5rem 0.85rem; border:2px solid var(--purple-200); border-radius:var(--radius-pill); background:#fff; font-size:0.9rem; font-weight:600; color:var(--grey-700); cursor:pointer; transition:all .15s; }
.swatch-pick:hover, .size-pick:hover { border-color:var(--purple-400); }
.swatch-pick.selected, .size-pick.selected { background:var(--gradient-accent); color:#fff; border-color:transparent; }
.swatch-pick-dot { width:18px; height:18px; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(0,0,0,0.15); flex-shrink:0; }
.size-pick { min-width:46px; justify-content:center; }

/* =========================================================================
   Print — clean, branded output when a customer prints a page
   ========================================================================= */
@media print {
    .nav, .app-sidebar, .app-footer, footer,
    .order-bar, .lp-bar, .flow-steps, .btn, .back-link,
    form .btn, .nav-toggle { display: none !important; }
    body { background: #ffffff !important; }
    .app-card { box-shadow: none !important; border: 1px solid #e0dde6 !important; break-inside: avoid; }
    a[href]:after { content: ""; }
    .container { max-width: 100% !important; }
}

/* =========================================================================
   Buyer dashboard polish
   ========================================================================= */
/* Purple buttons rendered as links must stay white-on-gradient even inside
   .link-list (whose `a` colour rule otherwise wins on specificity). */
a.btn-purple, a.btn-purple:hover { color: var(--white) !important; }

/* Team kit promo card */
.team-promo {
    display: flex; align-items: center; gap: 1.75rem;
    background: linear-gradient(135deg, var(--purple-50) 0%, var(--pink-100) 100%);
    border: 2px dashed var(--purple-300);
    border-radius: var(--radius); padding: 1.75rem 2rem;
}
.team-promo-visual { display: flex; align-items: center; flex-shrink: 0; }
.team-promo-emoji {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: #fff; box-shadow: 0 4px 14px rgba(45,16,84,0.12);
    font-size: 1.7rem; margin-right: -10px;
}
.team-promo-emoji-lg { width: 68px; height: 68px; font-size: 2.1rem; z-index: 1; }
@media (max-width: 640px) {
    .team-promo { flex-direction: column; text-align: center; }
    .team-promo-body .btn { width: 100%; justify-content: center; }
}

/* Stitch preview thread swatches */
.sb-thread { display:flex; align-items:center; gap:0.5rem; font-size:0.82rem; color:var(--grey-700); }
.sb-thread-dot { width:18px; height:18px; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(0,0,0,0.15); flex-shrink:0; }
.stitch-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; }
.stitch-style { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.3rem; padding: 0.75rem 0.6rem; border: 2px solid var(--grey-200); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.stitch-style:hover { border-color: var(--purple-300); }
.stitch-style:has(input:checked) { border-color: var(--purple-600); background: var(--purple-50); box-shadow: 0 0 0 3px rgba(123,63,175,0.12); }
.stitch-style input { position: absolute; opacity: 0; pointer-events: none; }
.stitch-style input:focus-visible + img { outline: 3px solid var(--purple-400); outline-offset: 2px; border-radius: 8px; }
.stitch-style img { width: 96px; height: 96px; object-fit: contain; }
.stitch-style strong { color: var(--purple-800); font-size: 0.9rem; }
.stitch-style span { color: var(--grey-500); font-size: 0.75rem; line-height: 1.3; }

/* Settings sub-page tabs */
.settings-tabs { display:flex; gap:0.4rem; flex-wrap:wrap; border-bottom:2px solid var(--grey-100); padding-bottom:0; }
.settings-tab { padding:0.55rem 1.1rem; border-radius:10px 10px 0 0; font-weight:600; font-size:0.92rem; color:var(--grey-500); text-decoration:none; border-bottom:2px solid transparent; margin-bottom:-2px; transition:color .15s, background .15s; }
.settings-tab:hover { color:var(--purple-800); background:var(--grey-50, #f9fafb); }
.settings-tab.active { color:var(--purple-800); border-bottom-color:var(--purple-800); background:white; }

.form-hint { font-size:0.82rem; color:var(--grey-500); margin-top:0.25rem; }

/* Editable option lists (settings > options) */
.opt-list { list-style:none; margin:0 0 0.75rem; padding:0; display:flex; flex-direction:column; gap:0.4rem; }
.opt-item { display:flex; align-items:center; gap:0.5rem; background:var(--grey-50, #f9fafb); border:1px solid var(--grey-100); border-radius:10px; padding:0.35rem 0.5rem; }
.opt-item input { flex:1; border:1px solid transparent; background:transparent; padding:0.35rem 0.5rem; border-radius:8px; font:inherit; }
.opt-item input:focus { background:white; border-color:var(--purple-400, #a78bfa); outline:none; }
.opt-handle { cursor:grab; color:var(--grey-500); font-size:1rem; padding:0 0.25rem; user-select:none; touch-action:none; }
.opt-ghost { opacity:0.4; }
.opt-remove { border:0; background:transparent; color:var(--grey-500); font-size:1.25rem; line-height:1; cursor:pointer; padding:0.2rem 0.45rem; border-radius:8px; }
.opt-remove:hover { color:#b91c1c; background:#fee2e2; }

/* Kanban board (drag-and-drop) */
.board-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .board-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .board-grid-4 { grid-template-columns: 1fr; } }
.board-col-cards { min-height: 60px; }
.board-card { cursor: grab; }
.board-card:active { cursor: grabbing; }
.board-card-ghost { opacity: 0.4; border-style: dashed; }

/* Personal / Business audience toggle — overlays the top of the hero
   (transparent wrap + negative margin) so the hero gradient stays seamless. */
.audience-tabs-wrap { position: relative; z-index: 10; display: flex; justify-content: center; padding: 5.75rem 1rem 0; margin-bottom: calc(-5.75rem - 44px); pointer-events: none; }
.audience-tabs { pointer-events: auto; display: inline-flex; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-pill); padding: 0.3rem; backdrop-filter: blur(6px); }
.audience-tab { padding: 0.55rem 1.6rem; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.92rem; color: rgba(255,255,255,0.85); text-decoration: none; transition: background .15s, color .15s; }
.audience-tab:hover { color: #fff; }
.audience-tab.active { background: #fff; color: var(--purple-800); box-shadow: 0 2px 10px rgba(0,0,0,0.18); }

/* UK + EU delivery USP strip */
.delivery-strip { background: var(--purple-800, #5c2d91); color: #fff; padding: 2.25rem 0; border-top: 1px solid rgba(255,255,255,0.12); }
.delivery-strip-inner { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 2rem; align-items: center; }
.delivery-strip-copy h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.4rem; }
.delivery-strip-copy p { font-size: 0.92rem; color: rgba(255,255,255,0.85); line-height: 1.55; }
.delivery-strip-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.delivery-point { display: flex; gap: 0.6rem; align-items: flex-start; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm); padding: 0.8rem 0.9rem; }
.delivery-point-flag { font-size: 1.4rem; line-height: 1; }
.delivery-point strong { display: block; font-size: 0.9rem; }
.delivery-point span:last-child { font-size: 0.78rem; color: rgba(255,255,255,0.75); }
@media (max-width: 900px) {
    .delivery-strip-inner { grid-template-columns: 1fr; gap: 1.25rem; }
    .delivery-strip-points { grid-template-columns: 1fr; }
}

/* Cookie consent banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: #1f2937; color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,0.25); }
.cookie-banner-inner { max-width: 1100px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-banner-text { font-size: 0.85rem; line-height: 1.5; color: rgba(255,255,255,0.85); margin: 0; flex: 1; min-width: 260px; }
.cookie-banner-text strong { color: #fff; }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-banner-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cookie-banner-actions .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Business page hero — deeper, darker purple set than the main hero */
.hero-biz { background: linear-gradient(135deg, #160826 0%, var(--purple-900) 40%, #4c2280 75%, var(--purple-700) 100%); }

/* Mailshot editor mode toggle */
.ms-mode { display:inline-flex; border:1px solid var(--grey-200); border-radius:8px; overflow:hidden; }
.ms-mode-btn { border:0; background:white; padding:0.3rem 0.85rem; font-size:0.78rem; font-weight:600; color:var(--grey-500); cursor:pointer; }
.ms-mode-btn.active { background:var(--purple-700); color:#fff; }

/* Products list grouping */
.prod-cat-row td { background: var(--purple-100); cursor: pointer; font-size: 0.95rem; }
.prod-cat-row.collapsed .prod-caret { display: inline-block; transform: rotate(-90deg); }
.prod-caret { display: inline-block; transition: transform .15s; margin-right: 0.35rem; color: var(--purple-600); }
.prod-type-row td { background: var(--purple-50); color: var(--grey-700); font-weight: 600; font-size: 0.85rem; }
.bulk-bar { position: sticky; top: 0; z-index: 20; }

/* ============================================
   TEAM KIT INVITE PAGE (/team/{token})
   ============================================ */
.tk-body { background: var(--off-white); display: flex; flex-direction: column; min-height: 100vh; }

.tk-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.65rem 1.25rem; background: #fff; border-bottom: 1px solid var(--grey-200); }
.tk-header-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--dark); font-size: 1.05rem; }
.tk-header-brand img { height: 38px; width: auto; }
.tk-header-tag { font-size: 0.78rem; color: var(--grey-500); }

.tk-band { background: var(--gradient-hero); color: #fff; padding: 1.75rem 1.25rem 3.25rem; }
.tk-band-inner { max-width: 1040px; margin: 0 auto; }
.tk-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.3rem; }
.tk-title { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; line-height: 1.15; margin-bottom: 0.45rem; }
.tk-from { font-size: 0.98rem; color: rgba(255,255,255,0.9); max-width: 640px; line-height: 1.55; }
.tk-from strong { color: #fff; }
.tk-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.85rem; }
.tk-pill { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-pill); padding: 0.35rem 0.9rem; font-size: 0.82rem; font-weight: 600; }

.tk-main { flex: 1; max-width: 1040px; width: 100%; margin: -2rem auto 0; padding: 0 1.25rem 2.5rem; }
.tk-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.25rem; align-items: start; }
.tk-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 8px 30px rgba(45,16,84,0.07); }
.tk-message { max-width: 560px; margin: 0 auto; text-align: center; }

.tk-preview-card { padding: 1rem; }
.tk-preview-frame { position: relative; border-radius: 12px; overflow: hidden; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; min-height: 240px; }
.tk-preview-frame img#previewPhoto { width: 100%; height: auto; display: block; }
.tk-preview-frame img#previewDesign { max-width: 55%; max-height: 200px; border-radius: 8px; }
.tk-preview-frame.has-photo img#previewDesign {
    position: absolute; top: 22%; left: 50%; transform: translateX(-50%);
    width: 28%; max-width: none; max-height: none; border-radius: 4px;
    mix-blend-mode: multiply; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
.tk-preview-caption { font-weight: 700; color: var(--purple-800); font-size: 0.92rem; margin: 0.85rem 0 0.15rem; }
.tk-preview-note { font-size: 0.78rem; color: var(--grey-500); }

.tk-about { margin-top: 1.25rem; }
.tk-about-title { font-weight: 800; color: var(--purple-800); font-size: 0.95rem; margin-bottom: 0.5rem; }
.tk-about ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.88rem; color: var(--grey-700); }

.tk-footer { background: var(--dark); color: rgba(255,255,255,0.75); font-size: 0.8rem; padding: 1rem 1.25rem; display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.tk-footer a { color: var(--purple-300); }

@media (max-width: 800px) {
    .tk-grid { grid-template-columns: 1fr; }
    .tk-band { padding: 1.4rem 1.25rem 2.75rem; }
    .tk-preview-frame { min-height: 180px; }
    .tk-preview-frame img#previewDesign { max-height: 150px; }
    .tk-footer { justify-content: center; text-align: center; }
}

/* Placement v2 zone cards */
.pl-zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; margin-top: 1rem; }
.pl-zone { border: 2px solid var(--grey-200); border-radius: 14px; padding: 0.85rem; transition: border-color .15s; }
.pl-zone.active { border-color: var(--purple-400); background: var(--purple-50); }
.pl-zone-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.pl-zone-modes { display: inline-flex; border: 1px solid var(--grey-200); border-radius: 8px; overflow: hidden; background: #fff; }
.pl-mode { border: 0; background: #fff; padding: 0.25rem 0.7rem; font-size: 0.75rem; font-weight: 700; color: var(--grey-500); cursor: pointer; }
.pl-mode.selected { background: var(--purple-700); color: #fff; }
.pl-zone-canvas canvas { width: 100%; height: auto; border-radius: 10px; display: block; background: var(--purple-100); cursor: move; touch-action: none; }
.pl-measure { margin: 0.45rem 0 0; font-weight: 700; color: var(--purple-800); font-size: 0.9rem; }

/* Stitched text shown in the font the customer picked (setting embroidery_fonts):
   the same faces the text designer draws with (FONT_FACES in buyer/designs/text). */
.emb-font { font-family: Arial, sans-serif; font-weight: 800; }
.emb-font[data-emb-font="Serif"] { font-family: Georgia, serif; font-weight: 700; }
.emb-font[data-emb-font="Script"] { font-family: 'Brush Script MT', cursive; font-style: italic; font-weight: 700; }
.emb-font[data-emb-font="Varsity"] { font-family: 'Arial Black', sans-serif; font-weight: 800; }

/* Size guide (partials/size-guide): sizes across, measures down. */
.size-guide-wrap { overflow-x: auto; margin-top: 0.5rem; }
.size-guide { border-collapse: collapse; font-size: 0.9rem; min-width: 100%; }
.size-guide th, .size-guide td { padding: 0.45rem 0.7rem; border-bottom: 1px solid var(--grey-100); text-align: center; white-space: nowrap; }
.size-guide thead th { color: var(--purple-800); font-weight: 800; background: var(--purple-50, #faf5ff); }
.size-guide tbody th { text-align: left; color: var(--grey-700); font-weight: 700; }
.size-guide-note { margin: 0.4rem 0 0; font-size: 0.8rem; color: var(--grey-500); }
.product-block-sizes { margin-top: 0.5rem; font-size: 0.9rem; }
.product-block-sizes summary { cursor: pointer; font-weight: 700; color: var(--purple-700); }
.pl-zone-text input { width: 100%; padding: 0.6rem 0.8rem; border: 1px solid var(--grey-200); border-radius: 8px; font: inherit; }
.pl-zone-empty { position: relative; border-radius: 10px; overflow: hidden; }
.pl-zone-empty img { width: 100%; display: block; filter: grayscale(1) opacity(0.45); }
.pl-zone-empty span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; color: var(--grey-500); }

/* Team multi-item picker cards */
.mp-card { border: 2px solid var(--grey-200); border-radius: 14px; padding: 0.9rem; margin-bottom: 0.85rem; }
.mp-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.mp-tick { font-size: 0.78rem; font-weight: 700; color: var(--grey-500); }
.mp-tick.done { color: var(--mint); }


/* The audience toggle overlays the hero — push hero content down so it
   never collides with the badge, especially on phones. */
.audience-tabs-wrap + .hero { padding-top: 150px; }
@media (max-width: 900px) {
    .audience-tabs-wrap + .hero { padding-top: 185px; }
}

/* Production placement guide (admin order page) */
.pl-prod { display: flex; gap: 0.75rem; align-items: center; padding: 0.5rem 0; }
.pl-prod + .pl-prod { border-top: 1px dashed var(--grey-100); }
.pl-prod-img { width: 120px; height: auto; border-radius: 8px; border: 1px solid var(--grey-200); background: #fff; flex-shrink: 0; }
.pl-prod-text { width: 120px; min-height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px dashed var(--purple-300); background: var(--purple-50); flex-shrink: 0; padding: 0.5rem; text-align: center; }
.pl-prod-meta { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.85rem; color: var(--grey-700); }
.pl-prod-meta strong { color: var(--purple-800); }
.pl-prod-noimg .pl-prod-fallback { display: inline !important; }

/* ============================================
   RANGE SHOWCASE (business page catalogue)
   ============================================ */
.range-section { padding: 6rem 0; background: var(--white); }
.range-filters {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
    margin: 2.25rem auto 0;
}
.range-filter {
    border: 1.5px solid var(--grey-200); background: var(--white); color: var(--grey-700);
    border-radius: 999px; padding: 0.5rem 1.1rem; font: inherit; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
}
.range-filter:hover { border-color: var(--purple-300); color: var(--purple-700); }
.range-filter.active { background: var(--gradient-accent); border-color: transparent; color: var(--white); }
.range-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem;
}
.range-card {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
    overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.range-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(63, 26, 110, 0.12); border-color: var(--purple-200); }
.range-media {
    position: relative; aspect-ratio: 1 / 1; background: var(--gradient-soft);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.range-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.range-card:hover .range-media img { transform: scale(1.04); }
.range-media-fallback {
    font-family: var(--font-script); font-size: 4rem; color: var(--purple-300);
}
.range-type {
    position: absolute; top: 0.75rem; left: 0.75rem;
    background: rgba(255,255,255,0.92); color: var(--purple-700);
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    padding: 0.3rem 0.6rem; border-radius: 999px;
}
.range-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.range-cat { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--pink-500); }
.range-name { font-size: 1.02rem; font-weight: 800; color: var(--dark); line-height: 1.3; margin: 0; }
.range-colours { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.15rem; }
.range-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); }
.range-more { font-size: 0.7rem; font-weight: 700; color: var(--grey-500); }
.range-colour-count { margin-left: auto; font-size: 0.72rem; color: var(--grey-500); }
.range-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 0.6rem; border-top: 1px dashed var(--grey-200); }
.range-sizes { font-size: 0.78rem; color: var(--grey-500); font-weight: 600; }
.range-price { font-size: 0.8rem; color: var(--grey-500); }
.range-price strong { font-size: 1.05rem; color: var(--purple-800); }
.range-note { text-align: center; color: var(--grey-500); font-size: 0.9rem; margin-top: 2.5rem; }
.range-note a { color: var(--purple-600); font-weight: 700; }
@media (max-width: 1024px) { .range-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .range-section { padding: 4rem 0; } }
@media (max-width: 420px)  { .range-grid { grid-template-columns: minmax(0, 1fr); } }

/* Editorial tiles woven into the range grid */
.range-promo {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
    background: var(--gradient-hero); color: var(--white);
    border-radius: var(--radius); padding: 2.25rem 2.5rem; margin: 0.5rem 0;
    position: relative; overflow: hidden;
}
.range-promo::after {
    content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
    border-radius: 50%; border: 1px dashed rgba(255,255,255,0.25); pointer-events: none;
}
.range-promo-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--pink-300); }
.range-promo h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0.4rem 0 0.6rem; color: var(--white); }
.range-promo p { color: rgba(255,255,255,0.78); line-height: 1.65; margin: 0 0 1.2rem; max-width: 560px; }
.range-promo-points { display: flex; flex-direction: column; gap: 0.75rem; }
.range-promo-points div { display: flex; align-items: center; gap: 0.75rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 0.7rem 1rem; }
.range-promo-points span { font-size: 1.5rem; }
.range-promo-points strong { font-size: 0.95rem; }
@media (max-width: 768px) {
    .range-promo { grid-template-columns: 1fr; padding: 1.6rem 1.4rem; }
    .range-promo-points { flex-direction: row; flex-wrap: wrap; }
    .range-promo-points div { flex: 1 1 140px; }
}

/* Range leading the page: branded header band, brand sections as full-bleed breaks */
.range-band { padding-bottom: 0.5rem; }
.range-lead { padding-top: 0; }
.range-lead .range-band {
    background: var(--gradient-hero); color: var(--white);
    padding: 150px 0 3rem; margin-bottom: 2.5rem; position: relative; overflow: hidden;
}
.range-lead .range-band::after {
    content: ''; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px;
    border-radius: 50%; border: 2px dashed rgba(255,255,255,0.1); pointer-events: none;
}
.range-lead .range-band .section-label { color: var(--pink-300); }
.range-lead .range-band .section-title { color: var(--white); }
.range-lead .range-band .section-title .script { background: none !important; -webkit-text-fill-color: var(--yellow) !important; color: var(--yellow); }
.range-lead .range-band .section-subtitle { color: rgba(255,255,255,0.75); }
.range-lead .range-band .range-filter { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: var(--white); }
.range-lead .range-band .range-filter:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }
.range-lead .range-band .range-filter.active { background: var(--white); color: var(--purple-800); }
.range-lead .range-grid { margin-top: 0; }
@media (max-width: 900px) { .range-lead .range-band { padding-top: 185px; } }

/* A brand section dropped into the grid: spans every column and bleeds to
   the viewport edges (body has overflow-x: hidden). */
/* Full-bleed break: equal negative margins out to the viewport edges (no
   fixed 100vw width — that made the break's size feed into the column
   sizing, so on very wide/zoomed-out screens the 1fr tracks grew past the
   container and the whole grid, break included, slid off to the right). */
.range-break { grid-column: 1 / -1; min-width: 0; margin: 1.5rem calc(50% - 50vw + var(--sb-w, 0px) / 2); }
.range-break .hero { min-height: auto; padding: 90px 0 80px; }
.range-break > section { margin: 0; }

/* Hidden cards/breaks must actually hide — .range-card's display:flex beats
   the browser's built-in [hidden] rule otherwise. */
.range-card[hidden], .range-break[hidden] { display: none !important; }

/* Sticky category filter bar (sits under the fixed nav; top set by JS) */
.range-filterbar {
    position: sticky; top: 69px; z-index: 900;
    background: rgba(255,255,255,0.94); backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    padding: 0.75rem 0; margin-bottom: 1.5rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, padding 0.2s ease;
}
.range-filterbar.is-stuck { box-shadow: 0 8px 24px rgba(63, 26, 110, 0.10); border-bottom-color: var(--grey-200); padding: 0.5rem 0; }
.range-filterbar .range-filters {
    margin: 0 auto; max-width: 1200px; padding: 0 1.25rem;
    flex-wrap: nowrap; overflow-x: auto; justify-content: safe center;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.range-filterbar .range-filters::-webkit-scrollbar { display: none; }
.range-filterbar .range-filter { flex: 0 0 auto; white-space: nowrap; }
.range-filter-count { font-size: 0.72rem; font-weight: 700; opacity: 0.6; margin-left: 0.2rem; }
.range-filter.active .range-filter-count { opacity: 0.85; }
.range-lead .range-band { margin-bottom: 0; }

/* Catalogue image blur-up: a tiny inline preview sits under the photo,
   which fades in once loaded — no empty flash, no pop. */
.range-media { isolation: isolate; }
.range-blur {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    filter: blur(14px); transform: scale(1.15);
}
.range-media img { position: relative; z-index: 1; opacity: 0; transition: opacity 0.35s ease, transform 0.4s ease; }
.range-media img.is-loaded { opacity: 1; }
.range-media .range-type { z-index: 2; }
/* No JS? Never hide the photos. */
@media (scripting: none) { .range-media img { opacity: 1; } }

/* ============================================
   PRODUCT + CATEGORY PAGES (indexable catalogue)
   ============================================ */
.pdp { padding: 110px 0 3rem; background: var(--white); }
.pdp-crumbs { font-size: 0.85rem; color: var(--grey-500); margin-bottom: 1.5rem; }
.pdp-crumbs a { color: var(--purple-600); text-decoration: none; }
.pdp-crumbs a:hover { text-decoration: underline; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.pdp-media {
    position: relative; isolation: isolate; aspect-ratio: 1 / 1; border-radius: var(--radius);
    overflow: hidden; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--grey-200);
}
.pdp-media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; opacity: 0; transition: opacity 0.35s ease; }
.pdp-media img.is-loaded { opacity: 1; }
@media (scripting: none) { .pdp-media img { opacity: 1; } }
.pdp-info .range-cat { text-decoration: none; }
.pdp-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--dark); margin: 0.4rem 0 0.75rem; }
.pdp-price { font-size: 1rem; color: var(--grey-500); margin: 0 0 0.4rem; }
.pdp-price strong { font-size: 1.7rem; color: var(--purple-800); }
.pdp-price span { font-size: 0.85rem; }
.pdp-stock { font-size: 0.9rem; color: var(--purple-600); font-weight: 600; margin: 0 0 1.5rem; }
.pdp-h { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey-500); margin: 1.25rem 0 0.6rem; }
.pdp-colours { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; }
.pdp-colours li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--grey-700); }
.pdp-sizes { font-weight: 600; color: var(--grey-700); margin: 0; }
.pdp-cta { margin-top: 1.75rem; }
.pdp-note { font-size: 0.85rem; color: var(--grey-500); margin: 0.6rem 0 1.25rem; }
.pdp-points { list-style: none; padding: 1rem 1.2rem; margin: 0; border-radius: 12px; background: var(--purple-50); border: 1px solid var(--purple-100); display: grid; gap: 0.45rem; font-size: 0.9rem; color: var(--grey-700); }
.pdp-points li::before { content: '✓'; color: var(--purple-600); font-weight: 800; margin-right: 0.5rem; }
.pdp-desc { margin-top: 3rem; max-width: 760px; color: var(--grey-700); line-height: 1.75; }
.pdp-related { margin-top: 3rem; }
.pdp-related-grid { margin-top: 0.5rem; }
.pdp-lede { max-width: 760px; color: var(--grey-700); line-height: 1.7; margin: 0 0 1.25rem; }
.pdp-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pdp-cats a { border: 1.5px solid var(--grey-200); border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.85rem; font-weight: 600; color: var(--grey-700); text-decoration: none; }
.pdp-cats a span { opacity: 0.55; font-size: 0.75rem; margin-left: 0.15rem; }
.pdp-cats a:hover { border-color: var(--purple-300); color: var(--purple-700); }
.pdp-cats a.is-current { background: var(--gradient-accent); border-color: transparent; color: var(--white); }
@media (max-width: 800px) { .pdp-grid { grid-template-columns: 1fr; gap: 1.5rem; } .pdp { padding-top: 90px; } }

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { background: var(--white); border: 1px solid var(--grey-200); border-radius: 14px; padding: 0 1.25rem; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 700; color: var(--dark); display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--purple-600); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0 0 1rem; color: var(--grey-700); line-height: 1.7; }

/* ---- Range toolbar: search + in-stock, featured row, show-more (Sep 2026) ---- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.range-toolbar { max-width: 1200px; margin: 0 auto 0.6rem; padding: 0 1.25rem; display: flex; gap: 0.6rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.range-search { position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 420px; }
.range-search svg { position: absolute; left: 0.85rem; color: var(--grey-500); pointer-events: none; }
.range-search input { width: 100%; padding: 0.55rem 1rem 0.55rem 2.3rem; border: 1.5px solid var(--grey-200); border-radius: 999px; font: inherit; font-size: 0.9rem; background: var(--white); }
.range-search input:focus { outline: none; border-color: var(--purple-300); box-shadow: 0 0 0 3px var(--purple-100); }
.range-filterbar.is-stuck .range-toolbar { margin-bottom: 0.4rem; }
.range-stock-toggle.active { background: #1f7a4d; border-color: transparent; color: #fff; }
.range-filters-wrap { position: relative; }
.range-filters-wrap::before, .range-filters-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 42px; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; z-index: 1; }
.range-filters-wrap::before { left: 0; background: linear-gradient(to right, rgba(255,255,255,0.97), rgba(255,255,255,0)); }
.range-filters-wrap::after { right: 0; background: linear-gradient(to left, rgba(255,255,255,0.97), rgba(255,255,255,0)); }
.range-filters-wrap.fade-left::before, .range-filters-wrap.fade-right::after { opacity: 1; }
.range-stock { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; background: #1f7a4d; color: #fff; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.28rem 0.55rem; border-radius: 999px; }
.range-featured { margin-bottom: 2rem; }
.range-featured-title { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin: 0 0 1rem; }
.range-featured-grid { margin-top: 0; }
.range-more-wrap { display: flex; justify-content: center; margin-top: 2rem; }
.range-empty { text-align: center; color: var(--grey-500); padding: 2rem 0 0; }
.range-empty a { color: var(--purple-600); font-weight: 700; }

/* Cookie banner: compact on phones so it never hides the page's main button */
@media (max-width: 640px) {
    .cookie-banner-inner { padding: 0.7rem 0.9rem; gap: 0.6rem; }
    .cookie-banner-text { font-size: 0.74rem; line-height: 1.4; min-width: 0; flex-basis: 100%; }
    .cookie-banner-text .cb-more { display: none; }
    .cookie-banner-actions { width: 100%; }
    .cookie-banner-actions .btn { flex: 1; justify-content: center; padding: 0.5rem 0.75rem; font-size: 0.85rem; }
}

/* Product page: typical order price */
.pdp-typical { background: var(--purple-50, #f5f0ff); border-left: 3px solid var(--purple-600, #7c3aed); padding: 0.6rem 0.8rem; border-radius: 6px; font-size: 0.92rem; color: var(--grey-700, #374151); margin: 0.2rem 0 0.8rem; }
.pdp-typical strong { color: var(--purple-800); }
/* Order builder: product carried over from its product page */
.product-block.is-focus { outline: 2px solid var(--purple-600, #7c3aed); outline-offset: 4px; border-radius: 10px; }

/* Order summary: email not yet confirmed */
.verify-callout { background: #fff8e6; border: 1px solid #f5d27a; border-radius: 10px; padding: 0.9rem 1rem; margin-top: 1.25rem; font-size: 0.93rem; color: #5b4500; }
.verify-callout .verify-sent { margin: 0.4rem 0 0; color: #1f7a3a; font-weight: 600; }

/* Testimonials: fewer than three filled slots */
figure.testimonial { margin: 0; }
blockquote.testimonial-text { margin: 0 0 1.25rem; }
.testimonial-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-left: auto; margin-right: auto; }
.testimonial-grid-1 { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
@media (max-width: 968px) { .testimonial-grid-2 { grid-template-columns: 1fr; } }

/* Collections: landing strip + collection page */
.coll-strip { padding: 1rem 0 0.25rem; }
.coll-strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; }
.coll-card { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem; border-radius: 12px; background: linear-gradient(135deg, var(--purple-800, #3b1f6e), var(--purple-600, #7c3aed)); color: #fff; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.coll-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59, 31, 110, .25); }
.coll-card-kicker { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.coll-card-name { font-size: 1.15rem; }
.coll-card-intro { font-size: 0.85rem; opacity: .9; }
.coll-card-go { font-size: 0.85rem; font-weight: 700; margin-top: 0.25rem; }
.coll-until { color: var(--purple-600); font-weight: 600; margin: -0.25rem 0 0.75rem; }

/* Per-colour photos */
.pdp-colour-btn { display: inline-flex; align-items: center; gap: 0.4rem; background: none; border: 1px solid transparent; border-radius: 999px; padding: 0.15rem 0.55rem 0.15rem 0.25rem; font: inherit; color: inherit; cursor: pointer; }
.pdp-colour-btn:hover, .pdp-colour-btn.is-on { border-color: var(--purple-600, #7c3aed); }
.pdp-colour-hint { font-size: 0.78rem; color: var(--grey-500); margin: 0.25rem 0 0; }
.colour-card-photo { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; border: 1px solid var(--grey-100); }

/* Design library search */
.lib-search { margin: 0 0 1rem; }
.lib-search input { width: 100%; max-width: 480px; padding: 0.65rem 0.9rem; border: 1px solid var(--grey-200); border-radius: 999px; font: inherit; }
.lib-empty { color: var(--grey-500); margin: 0.5rem 0 1rem; }
.lib-card[hidden] { display: none !important; }

/* Collection page: ready-made library designs */
.coll-designs { padding: 1rem 0 0; }
.coll-designs-title { font-size: 1.2rem; color: var(--purple-800); margin: 0 0 0.75rem; }
.coll-designs-title span { font-size: 0.75rem; font-weight: 700; color: #1f7a3a; background: #e8f7ee; border-radius: 999px; padding: 0.15rem 0.55rem; margin-left: 0.4rem; vertical-align: middle; }
.coll-designs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.75rem; }
.coll-design-card { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; text-align: center; border: 1px solid var(--grey-100); border-radius: 12px; padding: 0.8rem; background: #fff; }
.coll-design-card strong { color: var(--purple-800); font-size: 0.9rem; }
.coll-design-img { height: 110px; display: flex; align-items: center; justify-content: center; }
.coll-design-img img { max-height: 110px; max-width: 100%; object-fit: contain; }
.coll-designs-note { font-size: 0.85rem; color: var(--grey-500); margin: 0.75rem 0 0; }

/* Collections inside the purple "Our Range" band (below the heading, clear
   of the For Business / For You toggle that overlays the band's top). */
.coll-strip--band { margin: 1.75rem auto 0.5rem; max-width: 1100px; }
.coll-strip--band .coll-strip-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.coll-strip--band .coll-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(4px); text-align: left; }
.coll-strip--band .coll-card:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.45); box-shadow: 0 10px 24px rgba(20, 5, 45, .3); }
.coll-strip--band .coll-card-kicker { color: var(--pink-300); opacity: 1; }
.coll-strip--band .coll-card-go { color: var(--yellow); }
@media (max-width: 640px) {
    /* Phones: swipe sideways through collections instead of stacking them. */
    .coll-strip--band { margin-left: -16px; margin-right: -16px; }
    .coll-strip--band .coll-strip-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 6px; scrollbar-width: none; }
    .coll-strip--band .coll-strip-grid::-webkit-scrollbar { display: none; }
    .coll-strip--band .coll-card { scroll-snap-align: start; }
}


/* About this garment (partials/about-garment): the opening line, ticked features
   beside the details, then care instructions as symbols with their words. */
.about { margin-top: 3rem; max-width: 900px; color: var(--grey-700); }
.about-lede { font-size: 1.12rem; line-height: 1.65; color: var(--purple-900); margin: 0 0 0.5rem; max-width: 62ch; }
.about-h { font-size: 1rem; font-weight: 700; color: var(--purple-800); margin: 1.6rem 0 0.7rem; }
.about-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0 2.5rem; }
@media (max-width: 680px) { .about-cols { grid-template-columns: 1fr; } }
.about-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.about-features li { position: relative; padding-left: 1.9rem; line-height: 1.5; }
.about-features li::before { content: ''; position: absolute; left: 0; top: 0.1rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
    background: var(--purple-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%237b3faf' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat; }
.about-details { display: grid; grid-template-columns: max-content 1fr; gap: 0.45rem 1.25rem; margin: 0; }
.about-details dt { color: var(--grey-500); }
.about-details dd { margin: 0; font-weight: 600; color: var(--purple-900); }
.care-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0.6rem; }
.care-item { display: grid; justify-items: center; align-content: start; gap: 0.45rem; text-align: center; padding: 0.85rem 0.5rem; border-radius: 12px;
    background: var(--purple-50); border: 1px solid var(--purple-100); font-size: 0.82rem; line-height: 1.3; color: var(--grey-700); }
.care-icon { width: 44px; height: 44px; color: var(--purple-800); }
.care-icon text { font-family: inherit; }
.care-note { margin: 0.6rem 0 0; font-size: 0.88rem; color: var(--grey-700); }

/* Embroidered price breakdown (product page) + card label */
.pdp-price-breakdown { font-size: 0.82rem; color: var(--grey-500); margin: -0.2rem 0 0.7rem; }
.range-price small { font-size: 0.72em; color: var(--grey-500); font-weight: 500; }

/* Product reviews: write form, stars, product page list */
.review-write { max-width: 40rem; margin: 0 auto; padding: 7rem 0 4rem; }
.review-write h1 { font-family: var(--font-display); color: var(--purple-800); font-size: 2.2rem; margin: 0 0 0.4rem; }
.review-write .lede { color: var(--grey-500); margin-bottom: 1.5rem; }
.review-item { border: 1px solid var(--grey-200); border-radius: 12px; padding: 1rem 1.1rem; margin: 0 0 1rem; }
.review-item legend { font-weight: 700; color: var(--purple-800); padding: 0 0.3rem; }
.review-item .opt { color: var(--grey-400); font-weight: 400; }
.review-done { color: #1f7a3a; font-weight: 600; margin: 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 0.15rem; margin: 0.2rem 0 0.6rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; color: var(--grey-300, #d1d5db); cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--yellow, #ffd93d); }
.star-input input:focus-visible + label { outline: 2px solid var(--purple-600); border-radius: 4px; }
.stars { color: var(--yellow, #f5b301); letter-spacing: 1px; }
.stars .off { color: var(--grey-300, #d1d5db); }
.pdp-rating { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; color: var(--grey-500); margin: -0.2rem 0 0.6rem; text-decoration: none; }
.pdp-reviews { margin: 2.5rem 0 0; }
.pdp-review { border-top: 1px solid var(--grey-100); padding: 1rem 0; }
.pdp-review h3 { font-size: 1rem; margin: 0.2rem 0; color: var(--purple-800); }
.pdp-review p { margin: 0.2rem 0; color: var(--grey-700); }
.pdp-review .meta { font-size: 0.8rem; color: var(--grey-500); }
.range-rating { font-size: 0.78rem; color: var(--grey-500); }

/* "Shop by collection" photo tiles (replaces the text cards) */
.coll-strip-title { font-size: 0.8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-800); margin: 0 0 0.75rem; text-align: center; }
.coll-strip--band .coll-strip-title { color: var(--pink-300); }
.coll-strip-grid:has(.coll-tile) { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.9rem; }
.coll-tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.coll-tile-media { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(20, 5, 45, .18); transition: transform .18s ease, box-shadow .18s ease; }
.coll-tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease, transform .3s ease; }
.coll-tile-media img.is-loaded { opacity: 1; }
.coll-tile-media .range-blur { position: absolute; inset: 0; background-size: cover; filter: blur(12px); transform: scale(1.1); }
.coll-tile:hover .coll-tile-media, .coll-tile:focus-visible .coll-tile-media { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 5, 45, .3); }
.coll-tile:hover .coll-tile-media img { transform: scale(1.04); }
.coll-tile-initial { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--purple-700), var(--pink-500, #e0457b)); }
.coll-tile-badge { position: absolute; top: 8px; left: 8px; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--yellow, #ffd93d); color: var(--purple-900, #2d1054); font-size: 0.7rem; font-weight: 700; }
.coll-tile-name { margin-top: 0.6rem; font-weight: 700; font-size: 0.98rem; line-height: 1.25; color: var(--purple-800); }
.coll-tile-count { font-size: 0.8rem; color: var(--grey-500); margin-top: 0.15rem; }
.coll-strip--band .coll-tile-name { color: #fff; }
.coll-strip--band .coll-tile-count { color: rgba(255,255,255,.75); }
.coll-strip--band { max-width: 1140px; }
@media (max-width: 640px) {
    .coll-strip--band .coll-strip-grid:has(.coll-tile) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 8px; }
    .coll-strip--band .coll-tile { scroll-snap-align: start; }
}

/* For You: "What we do" photo tiles + compact occasions list */
.service-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.service-tile { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; box-shadow: 0 6px 20px rgba(45, 16, 84, .08); transition: transform .18s ease, box-shadow .18s ease; }
.service-tile:hover, .service-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(45, 16, 84, .16); }
.service-tile-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--purple-50); overflow: hidden; }
.service-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.service-tile:hover .service-tile-media img { transform: scale(1.04); }
.service-tile-body { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.9rem 1rem 1.1rem; }
.service-tile-body strong { color: var(--purple-800); font-size: 1.05rem; }
.service-tile-body span { color: var(--grey-600, #4b5563); font-size: 0.9rem; line-height: 1.45; }
.service-tile-body em { font-style: normal; font-weight: 700; color: var(--purple-600); font-size: 0.85rem; margin-top: 0.25rem; }
.service-also { text-align: center; color: var(--grey-500); margin: 1.4rem 0 0; font-size: 0.92rem; }
.occasion-list { list-style: none; padding: 0; margin: 1.6rem auto 0; max-width: 640px; display: grid; gap: 0.6rem; }
.occasion-list li { display: flex; gap: 0.7rem; align-items: baseline; background: #fff; border-radius: 12px; padding: 0.75rem 1rem; box-shadow: 0 4px 14px rgba(45, 16, 84, .06); color: var(--grey-600, #4b5563); }
.occasion-list li span { font-size: 1.2rem; }
.occasion-list li strong { color: var(--purple-800); white-space: nowrap; }
.coll-strip .coll-strip-title { margin-top: 0.5rem; }
@media (max-width: 968px) { .service-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .service-tiles { gap: 0.7rem; } .service-tile-body { padding: 0.7rem 0.75rem 0.85rem; } .service-tile-body strong { font-size: 0.92rem; } .service-tile-body span { font-size: 0.8rem; } .service-tile-body em { font-size: 0.78rem; } .occasion-list li { flex-wrap: wrap; } }
@media (max-width: 640px) {
    .coll-strip .coll-strip-grid:has(.coll-tile) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
    .coll-strip .coll-tile { scroll-snap-align: start; }
}

/* Workwear page: short header, "Shop by type" tiles, grid in labelled groups */
.ww-points { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding: 0; margin: -0.5rem 0 1.5rem; }
.ww-points li { position: relative; padding-left: 1.3rem; font-size: 0.9rem; font-weight: 600; color: var(--purple-800); }
.ww-points li::before { content: "✓"; position: absolute; left: 0; color: var(--purple-600); }
.ww-types .coll-strip-title { text-align: left; }
.ww-types .coll-strip-grid:has(.coll-tile) { grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); }
.ww-group { scroll-margin-top: 90px; margin-bottom: 2.5rem; }
.ww-group:last-child { margin-bottom: 0; }
.ww-group-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--purple-800); margin: 0 0 1rem; }
.ww-group-title span { font-size: 0.85rem; font-weight: 500; color: var(--grey-500); margin-left: 0.4rem; }
.ww-group .range-grid { margin-top: 0; }
@media (max-width: 640px) {
    .ww-types .coll-strip-grid:has(.coll-tile) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 38%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; padding: 0 24px 8px; margin: 0 -24px; scrollbar-width: none; }
    .ww-types .coll-strip-grid::-webkit-scrollbar { display: none; }
    .ww-types .coll-tile { scroll-snap-align: start; }
}
