/*
    CCM Ace — Editorial luxe theme
    Warm-neutral palette built on CSS variables.
    Swap the brand colours in :root when the real CCM palette is confirmed.
*/

:root {
    /* Surfaces */
    --paper: #ffffff;       /* clean white page background */
    --surface: #f7faf9;     /* card / panel surface */
    --surface-2: #eef4f3;   /* tinted teal band */

    /* Ink */
    --ink: #1b2b2b;         /* deep teal-charcoal */
    --ink-soft: #3f4f4e;    /* body copy */
    --muted: #6f7d7c;       /* captions, meta */

    /* Lines */
    --line: #e0e8e7;        /* hairline rule */
    --line-soft: #eef3f2;

    /* Accents (brand colour: Ace petrol teal).
       Variable names kept as --clay/--olive/--gold for back-compat;
       values now hold the teal brand palette. */
    --clay: #2f6b6f;        /* primary petrol teal accent */
    --clay-deep: #21504f;
    --olive: #4f8079;       /* secondary teal */
    --gold: #7faaa4;        /* soft teal highlight */
    --header-bg: rgba(255, 255, 255, 0.85);
    --demo-contrast-bg: #1b2b2b;

    /* Type */
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Shape */
    --radius: 3px;
    --radius-lg: 8px;

    /* Rhythm */
    --gutter: clamp(20px, 6vw, 96px);
    --home-section-y: clamp(48px, 7vw, 92px);
    --trust-strip-y: clamp(28px, 4vw, 46px);
    --home-card-padding: clamp(24px, 3vw, 36px);
    --home-card-min-height: 240px;
    --hero-feature-y: clamp(40px, 8vw, 110px);
}

/* Checkout order summary actions */
.wc-block-components-order-summary-item__description .wc-block-cart-item__prices,
.wc-block-components-order-summary-item__description .wc-block-components-order-summary-item__individual-prices {
    display: none !important;
}

.ccm-checkout-remove-item {
    appearance: none;
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 9px 0 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: var(--clay, #2f6b6f);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
}

.ccm-checkout-remove-item:hover,
.ccm-checkout-remove-item:focus-visible {
    color: var(--ink, #172a2b);
}

.ccm-checkout-remove-item:focus-visible {
    outline: 2px solid var(--clay, #2f6b6f);
    outline-offset: 3px;
}

.ccm-checkout-remove-item:disabled {
    cursor: wait;
    opacity: 0.6;
}

.ccm-checkout-remove-status {
    display: block;
    margin-top: 5px;
    color: #9b2c2c;
    font-size: 11px;
    line-height: 1.4;
}

@media (min-width: 782px) {
    .wp-block-woocommerce-checkout .wc-block-checkout__sidebar.is-sticky {
        top: var(--ccm-sticky-content-offset, 128px) !important;
    }
}

* {
    box-sizing: border-box;
}

body {
    background: var(--paper);
    color: var(--ink-soft);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, .site-brand__wordmark {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.015em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    height: auto;
    max-width: 100%;
}

::selection {
    background: var(--clay);
    color: #fff;
}

/* ---------------------------------------------------------------- Header */

.site-header {
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-bar .site-header {
    top: 32px;
}

.site-header__top {
    align-items: center;
    display: grid;
    gap: clamp(12px, 2vw, 28px);
    grid-template-columns: auto 1fr auto;
    min-height: 92px;
    padding: 18px clamp(20px, 3.2vw, 64px);
}

.site-header__actions {
    align-items: center;
    display: inline-flex;
    gap: clamp(8px, 1.2vw, 18px);
    justify-self: end;
}

.site-header__cta {
    flex: none;
    font-size: 11px;
    padding: 12px 18px;
    white-space: nowrap;
}

.site-brand {
    align-items: flex-start;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    justify-self: start;
    line-height: 1;
    text-align: left;
}

.site-brand__wordmark {
    color: var(--ink);
    display: block;
    font-size: clamp(21px, 1.7vw, 30px);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
}

.site-brand__strapline {
    color: var(--clay);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-actions {
    align-items: center;
    display: inline-flex;
    gap: clamp(4px, 0.8vw, 10px);
}

.icon-link {
    align-items: center;
    background: none;
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
    padding: 0;
    position: relative;
    transition: color 160ms ease, transform 160ms ease;
}

.icon-link:hover,
.icon-link:focus-visible {
    color: var(--clay);
    transform: translateY(-1px);
}

.icon-link--cart strong {
    align-items: center;
    background: var(--clay);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    height: 22px;
    justify-content: center;
    min-width: 22px;
    padding: 0 6px;
    position: absolute;
    right: -4px;
    top: -2px;
}

.icon-user,
.icon-bag,
.icon-search {
    display: inline-block;
    height: 28px;
    position: relative;
    width: 28px;
}

.icon-user::before {
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
    height: 10px;
    left: 8px;
    position: absolute;
    top: 2px;
    width: 10px;
}

.icon-user::after {
    border: 2px solid currentColor;
    border-radius: 50% 50% 0 0;
    border-bottom: 0;
    content: "";
    height: 12px;
    left: 3px;
    position: absolute;
    top: 17px;
    width: 22px;
}

.icon-bag::before {
    border: 2px solid currentColor;
    border-radius: 2px;
    content: "";
    height: 18px;
    left: 3px;
    position: absolute;
    top: 8px;
    width: 22px;
}

.icon-bag::after {
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 50% 50% 0 0;
    content: "";
    height: 8px;
    left: 9px;
    position: absolute;
    top: 2px;
    width: 10px;
}

.icon-search::before {
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
    height: 16px;
    left: 1px;
    position: absolute;
    top: 1px;
    width: 16px;
}

.icon-search::after {
    background: currentColor;
    content: "";
    height: 13px;
    left: 20px;
    position: absolute;
    top: 19px;
    transform: rotate(-45deg);
    transform-origin: top center;
    width: 2px;
}

/* ---------------------------------------------------------------- Nav */

.site-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 1.4vw, 26px);
    justify-content: center;
    margin: 0;
}

.site-nav a,
.site-nav summary {
    color: var(--ink);
    cursor: pointer;
    display: block;
    font-size: clamp(11px, 0.85vw, 12px);
    font-weight: 600;
    letter-spacing: 0.13em;
    list-style: none;
    padding: 14px 2px;
    position: relative;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav summary::-webkit-details-marker {
    display: none;
}

.site-nav a::after,
.site-nav summary::after {
    background: var(--clay);
    bottom: 8px;
    content: "";
    height: 1px;
    left: 2px;
    position: absolute;
    right: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    color: var(--clay);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

/* ---------------------------------------------------------------- Main */

.site-main {
    min-height: 70vh;
}

/* ---------------------------------------------------------------- Homepage hero */

.home-hero {
    align-items: center;
    display: grid;
    isolation: isolate;
    min-height: clamp(560px, 44vw, 760px);
    overflow: hidden;
    position: relative;
    padding: clamp(64px, 7vw, 112px) var(--gutter);
    background: #34302b;
    color: #fff;
}

.home-hero::before {
    background: radial-gradient(ellipse at center, rgba(12, 20, 26, 0.58) 0%, rgba(12, 20, 26, 0.32) 100%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}

.home-hero__copy {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.home-hero__copy h1 {
    color: inherit;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 36px;
}

.home-hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.home-hero__media {
    inset: 0;
    position: absolute;
    z-index: -2;
}

.home-hero__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-hero .home-hero__shop,
.home-hero .home-hero__shop:visited {
    background: #fff;
    border-color: #fff;
    color: #10202f;
    width: 230px;
    max-width: 100%;
    min-height: 52px;
    padding: 16px 24px;
}

.home-hero .home-hero__shop:hover,
.home-hero .home-hero__shop:focus-visible {
    background: #10202f;
    border-color: #10202f;
    color: #fff;
}

.home-hero__visit,
.home-hero__visit:visited {
    align-items: center;
    justify-content: center;
    display: inline-flex;
    box-sizing: border-box;
    min-height: 46px;
    max-width: 100%;
    margin-top: 18px;
    padding: 14px 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    background: rgba(16, 32, 47, 0.28);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.home-hero__visit:hover,
.home-hero__visit:focus-visible {
    background: #fff;
    border-color: #fff;
    color: #10202f;
    text-decoration: none;
}
.home-hero .home-hero__shop:focus-visible,
.home-hero__visit:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}
@media (max-width: 600px) {
    .home-hero {
        min-height: 600px;
    }

    .home-hero::before {
        background: linear-gradient(rgba(12, 20, 26, 0.54), rgba(12, 20, 26, 0.54));
    }

    .home-hero__media img {
        object-position: 60% center;
    }
}
/* ---------------------------------------------------------------- Category grid */

.category-grid {
    display: grid;
    gap: clamp(14px, 1.8vw, 22px);
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.category-card:hover {
    border-color: var(--clay);
    box-shadow: 0 26px 50px -36px rgba(20, 43, 43, 0.5);
    transform: translateY(-3px);
}

.category-card__media {
    aspect-ratio: 4 / 3;
    display: block;
    overflow: hidden;
    position: relative;
}

.category-card__media img,
.category-card__swatch {
    display: block;
    inset: 0;
    object-fit: cover;
    position: absolute;
    height: 100%;
    width: 100%;
}

.category-card__swatch {
    background: repeating-linear-gradient(90deg, #d9c8ad 0 20px, #f1e7d5 20px 34px, #c9b694 34px 44px);
}

.category-card__label {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    font-size: 14px;
    font-weight: 600;
    justify-content: space-between;
    padding: 14px 16px;
}

.category-card__label em {
    color: var(--clay);
    font-style: normal;
    transition: transform 200ms ease;
}

.category-card:hover .category-card__label em {
    transform: translateX(3px);
}

@media (max-width: 980px) {
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.eyebrow {
    color: var(--clay);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

/* Buttons */

.button,
.button:visited,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    align-items: center;
    border-radius: var(--radius);
    border: 1px solid var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0.14em;
    line-height: 1;
    padding: 17px 30px;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button--primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--ink);
    color: var(--paper);
}

.button--primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--clay);
    border-color: var(--clay);
    color: #fff;
}

.button--ghost {
    background: transparent;
    color: var(--ink);
}

.button--ghost:hover {
    background: var(--ink);
    color: var(--paper);
}

/* ---------------------------------------------------------------- Product paths */

.product-paths {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 var(--gutter) clamp(48px, 7vw, 72px);
}

.path-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: grid;
    gap: 14px;
    min-height: 260px;
    padding: clamp(26px, 3vw, 40px);
    transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.path-card:hover {
    border-color: var(--clay);
    box-shadow: 0 30px 60px -40px rgba(20, 43, 43, 0.5);
    transform: translateY(-3px);
}

.path-card span {
    color: var(--clay);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.path-card strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.08;
    max-width: 680px;
}

.path-card em {
    align-items: center;
    align-self: end;
    color: var(--ink);
    display: inline-flex;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    gap: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.path-card em::after {
    border-right: 1.5px solid var(--clay);
    border-top: 1.5px solid var(--clay);
    content: "";
    height: 7px;
    transform: rotate(45deg);
    transition: transform 200ms ease;
    width: 7px;
}

.path-card:hover em::after {
    transform: rotate(45deg) translate(2px, -2px);
}

/* Site search overlay */
.site-search {
    inset: 0;
    pointer-events: none;
    position: fixed;
    visibility: hidden;
    z-index: 140;
}

.site-search.is-open {
    pointer-events: auto;
    visibility: visible;
}

.site-search__overlay {
    background: rgba(20, 43, 43, 0.42);
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 220ms ease;
}

.site-search.is-open .site-search__overlay {
    opacity: 1;
}

.site-search__panel {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px -30px rgba(20, 43, 43, 0.45);
    left: 0;
    opacity: 0;
    padding: clamp(20px, 4vw, 32px) var(--gutter) 18px;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.admin-bar .site-search__panel {
    top: 32px;
}

.site-search.is-open .site-search__panel {
    opacity: 1;
    transform: translateY(0);
}

.site-search__form {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    margin: 0 auto;
    max-width: 760px;
}

.site-search__input {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 16px;
    padding: 14px 22px;
    width: 100%;
}

.site-search__input:focus {
    border-color: var(--clay);
    outline: none;
}

.site-search__submit {
    white-space: nowrap;
}

.site-search__close {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    padding: 0 4px;
}

.site-search__hint {
    color: var(--muted);
    font-size: 13px;
    margin: 10px auto 0;
    max-width: 760px;
    text-align: center;
}

body.search-open {
    overflow: hidden;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Search results page */
.site-search-results {
    padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(48px, 7vw, 88px);
}

.site-search-results__head {
    margin: 0 auto 40px;
    max-width: 760px;
    text-align: center;
}

.site-search-results__head h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0 0 10px;
}

.site-search-results__head p {
    color: var(--ink-soft);
    margin: 0 0 24px;
}

.site-search-results__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.site-search-results__form input {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    flex: 1;
    font-size: 15px;
    min-width: 240px;
    padding: 12px 20px;
}

.site-search-results__form input:focus {
    border-color: var(--clay);
    outline: none;
}

.site-search-results__section {
    margin-bottom: 48px;
}

.site-search-results__section-head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.site-search-results__section-head h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    margin: 0;
}

.site-search-results__section-head a {
    color: var(--clay);
    font-size: 14px;
    font-weight: 600;
}

.site-search-results__empty {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.site-search-results .fabric-card h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    margin: 10px 0;
}

.site-search-results .accessory-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

@media (max-width: 782px) {
    .admin-bar .site-search__panel {
        top: 46px;
    }
}

@media (max-width: 640px) {
    .site-search__form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-search__submit {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* ---------------------------------------------------------------- Fabric archive */

.fabric-archive {
    padding: clamp(48px, 7vw, 96px) var(--gutter);
}

.fabric-archive__intro {
    max-width: 860px;
}

.fabric-archive__intro h1 {
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin: 0 0 20px;
}

.fabric-archive__intro p {
    color: var(--ink-soft);
    font-size: clamp(17px, 1.5vw, 20px);
    margin: 0 0 28px;
}

.fabric-toolbar {
    align-items: center;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    margin: 38px 0 28px;
    padding: 18px 0;
}

.fabric-toolbar span {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.fabric-toolbar strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fabric-filter-toggle {
    background: none;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 10px 20px;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease;
}

.fabric-filter-toggle:hover {
    background: var(--ink);
    color: var(--paper);
}

.fabric-grid__empty {
    color: var(--muted);
    margin: 40px 0;
    text-align: center;
}

.link-button {
    background: none;
    border: 0;
    color: var(--clay);
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
}

/* Fabrics: filter & sort slide-out */
.fabric-filters {
    inset: 0;
    pointer-events: none;
    position: fixed;
    visibility: hidden;
    z-index: 120;
}

.fabric-filters.is-open {
    pointer-events: auto;
    visibility: visible;
}

.fabric-filters__overlay {
    background: rgba(20, 43, 43, 0.42);
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 240ms ease;
}

.fabric-filters.is-open .fabric-filters__overlay {
    opacity: 1;
}

.fabric-filters__panel {
    background: var(--paper);
    box-shadow: -24px 0 70px -32px rgba(20, 43, 43, 0.5);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
    width: min(380px, 92vw);
}

.fabric-filters.is-open .fabric-filters__panel {
    transform: translateX(0);
}

.admin-bar .fabric-filters__panel {
    height: calc(100% - 32px);
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .fabric-filters__panel {
        height: calc(100% - 46px);
        top: 46px;
    }
}

.fabric-filters__head {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 22px 24px;
}

.fabric-filters__head strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
}

.fabric-filters__close {
    background: none;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    padding: 0 4px;
}

.fabric-filters__body {
    flex: 1;
    overflow-y: auto;
    padding: 6px 24px 20px;
}

.fabric-facet {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}

.fabric-facet summary {
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    list-style: none;
    text-transform: uppercase;
}

.fabric-facet summary::-webkit-details-marker {
    display: none;
}

.fabric-facet summary::after {
    content: "+";
    float: right;
    font-weight: 400;
}

.fabric-facet[open] summary::after {
    content: "\2212";
}

.fabric-facet label {
    align-items: center;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    font-size: 14px;
    gap: 10px;
    padding: 8px 0 0;
}

.fabric-facet label input {
    accent-color: var(--clay);
}

.fabric-price-range {
    padding: 14px 0 4px;
}

.fabric-price-range__input {
    accent-color: var(--clay);
    cursor: pointer;
    width: 100%;
}

.fabric-price-range__label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0 0;
}

.fabric-filters__foot {
    border-top: 1px solid var(--line);
    display: flex;
    gap: 12px;
    padding: 18px 24px;
}

.fabric-filters__clear {
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 12px 18px;
    text-transform: uppercase;
}

.fabric-filters__view {
    flex: 1;
    text-align: center;
}

.fabric-grid {
    display: grid;
    gap: clamp(20px, 2.5vw, 32px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------------------------------------------------------------- Accessories archive */

.accessory-archive {
    padding: clamp(20px, 3vw, 36px) var(--gutter) clamp(40px, 6vw, 80px);
}

.accessory-archive .fabric-toolbar {
    margin-top: 0;
}

.accessory-grid {
    display: grid;
    gap: clamp(20px, 2.5vw, 32px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.accessory-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.accessory-card:hover {
    border-color: var(--clay);
    box-shadow: 0 30px 60px -40px rgba(20, 43, 43, 0.5);
    transform: translateY(-3px);
}

.accessory-card__media {
    display: block;
    position: relative;
}

.accessory-card__media img {
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    display: block;
    object-fit: cover;
    width: 100%;
}

.accessory-card__badge {
    background: var(--clay);
    border-radius: 999px;
    color: var(--paper);
    font-size: 11px;
    font-weight: 700;
    left: 14px;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    position: absolute;
    text-transform: uppercase;
    top: 14px;
}

.accessory-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
}

.accessory-card__type {
    color: var(--clay);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.accessory-card h2 {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

.accessory-card h2 a {
    color: inherit;
    text-decoration: none;
}

.accessory-card h2 a:hover {
    color: var(--clay);
}

.accessory-card .price {
    color: var(--clay);
    font-weight: 600;
}

.accessory-card .button {
    align-self: flex-start;
    margin-top: auto;
}

.accessory-grid__empty,
.accessory-empty {
    color: var(--muted);
    margin: 40px 0;
    text-align: center;
}

.accessory-empty h2 {
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 12px;
}

@media (max-width: 980px) {
    .accessory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.fabric-search {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.fabric-search__input {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    flex: 1;
    font-size: 15px;
    min-width: 240px;
    padding: 14px 22px;
}

.fabric-search__input:focus {
    border-color: var(--clay);
    outline: none;
}

.fabric-search__count {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.fabric-search__empty {
    color: var(--muted);
    margin: 30px 0;
    text-align: center;
}

.fabric-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.fabric-card:hover {
    border-color: var(--clay);
    box-shadow: 0 30px 60px -40px rgba(20, 43, 43, 0.5);
    transform: translateY(-3px);
}

.fabric-card img,
.fabric-card__swatch {
    aspect-ratio: 4 / 3;
    background: repeating-linear-gradient(90deg, #d9c8ad 0 26px, #f1e7d5 26px 44px, #c9b694 44px 58px);
    display: block;
    object-fit: cover;
    width: 100%;
}

.fabric-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.fabric-card__group {
    color: var(--clay);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fabric-card h2 {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.1;
    margin: 10px 0;
}

.fabric-card p {
    color: var(--muted);
    margin: 0 0 16px;
}

.fabric-card dl,
.fabric-single dl {
    display: grid;
    gap: 11px;
    margin: 0;
}

.fabric-card dl div,
.fabric-single dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.fabric-card dt,
.fabric-single dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.fabric-card dd,
.fabric-single dd {
    color: var(--ink);
    font-weight: 500;
    margin: 0;
    text-align: right;
}

.fabric-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.fabric-action {
    align-items: center;
    background: transparent;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    color: var(--ink);
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0.12em;
    min-height: 40px;
    padding: 10px 16px;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.fabric-action:hover {
    background: var(--ink);
    color: var(--paper);
}

.fabric-action--primary {
    background: var(--ink);
    color: var(--paper);
}

.fabric-action--primary:hover {
    background: var(--clay);
    border-color: var(--clay);
    color: #fff;
}

.fabric-action::after {
    content: "";
    border-right: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    height: 6px;
    margin-left: 9px;
    transform: rotate(45deg);
    width: 6px;
}

.fabric-empty {
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    color: var(--muted);
    padding: 32px;
}

/* ---------------------------------------------------------------- Curtain journey */

.journey-hero {
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    padding: clamp(48px, 8vw, 100px) var(--gutter);
    text-align: center;
}

.journey-hero h1 {
    font-size: clamp(38px, 5.5vw, 78px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin: 10px auto 16px;
    max-width: 980px;
}

.journey-hero p:last-child {
    color: var(--ink-soft);
    margin: 0 auto;
    max-width: 720px;
}

.curtain-journey {
    display: grid;
    gap: clamp(32px, 5vw, 68px);
    padding: clamp(40px, 6vw, 80px) var(--gutter);
}

.journey-step {
    opacity: 0.5;
    scroll-margin-top: 110px;
    transition: opacity 200ms ease;
}

.journey-step--active {
    opacity: 1;
}

.journey-step__heading {
    align-items: center;
    display: flex;
    gap: 18px;
    margin-bottom: 26px;
}

.journey-step__heading > span {
    align-items: center;
    border: 1px solid var(--clay);
    border-radius: 999px;
    color: var(--clay);
    display: inline-flex;
    font-family: var(--font-display);
    font-weight: 500;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.journey-step--active .journey-step__heading > span {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.journey-step__heading h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 4px 0 0;
}

.fabric-grid--compact,
.fabric-grid--journey {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fabric-grid--journey {
    gap: clamp(28px, 3.5vw, 44px);
}

.fabric-card--select {
    color: inherit;
    padding: 0;
    text-decoration: none;
}

.fabric-card--journey {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.fabric-card--journey:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.fabric-card--journey .fabric-card__media {
    border-radius: 8px;
    display: block;
    overflow: hidden;
}

.fabric-card--journey .fabric-card__media img,
.fabric-card--journey .fabric-card__swatch {
    aspect-ratio: 1 / 1;
    transition: opacity 180ms ease;
}

.fabric-card--journey:hover .fabric-card__media img {
    opacity: 0.94;
}

.fabric-card--journey.is-selected .fabric-card__media {
    box-shadow: 0 0 0 2px var(--ink);
}

.fabric-card--journey .fabric-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0 0;
}

.fabric-card--journey .fabric-card__title {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.fabric-card--journey .fabric-card__title a {
    color: var(--ink);
    text-decoration: none;
}

.fabric-card--journey .fabric-card__title a:hover {
    text-decoration: underline;
}

.fabric-card--journey .fabric-card__desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.fabric-card--journey .fabric-card__price {
    font-size: 15px;
    font-weight: 500;
    margin: 2px 0 0;
}

.fabric-card--journey .fabric-card__price span {
    color: var(--muted);
    font-weight: 400;
}

.fabric-card--journey .fabric-swatches {
    margin: 2px 0 0;
}

.fabric-card--journey .fabric-swatch {
    height: 30px;
    width: 30px;
}

.fabric-card--journey .fabric-card__select {
    color: var(--ink);
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    margin-top: 2px;
    text-decoration: underline;
    text-underline-offset: 3px;
    width: fit-content;
}

.fabric-card--journey .fabric-card__select:hover {
    color: var(--clay);
}

.fabric-card--select .fabric-card__media {
    display: block;
}

.journey-step__content {
    display: grid;
    gap: 28px;
}

.journey-fabric-strip {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--clay);
    border-radius: var(--radius-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    padding: 16px 20px;
}

.journey-fabric-strip img {
    border-radius: 6px;
    height: 64px;
    object-fit: cover;
    width: 64px;
}

.journey-fabric-strip__copy {
    display: grid;
    flex: 1;
    gap: 4px;
    min-width: 0;
}

.journey-fabric-strip__copy span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.journey-fabric-strip__copy strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 500;
    line-height: 1.1;
}

.journey-fabric-strip__change {
    color: var(--clay);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.selected-fabric-bar {
    align-items: center;
    background: linear-gradient(180deg, #fbfcfc, #f3f8f7);
    border: 1px solid #d9e7e5;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -36px rgba(20, 43, 43, 0.42);
    display: grid;
    gap: 16px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin-bottom: 24px;
    padding: 16px 18px;
}

.selected-fabric-bar img {
    border: 1px solid rgba(27, 43, 43, 0.08);
    border-radius: 6px;
    box-shadow: 0 8px 18px -14px rgba(20, 43, 43, 0.45);
    height: 72px;
    object-fit: cover;
    width: 72px;
}

.selected-fabric-bar > div {
    display: grid;
    gap: 4px;
}

.selected-fabric-bar strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.05;
}

.selected-fabric-bar span {
    color: var(--muted);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.selected-fabric-bar a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    margin-left: 0;
    padding: 10px 16px;
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.heading-choice-grid {
    display: grid;
    gap: clamp(16px, 2vw, 24px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.heading-choice-grid__lead {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
    margin: -8px 0 0;
}

.heading-choice-wrap {
    position: relative;
}

.heading-choice-wrap.is-help-active .heading-choice {
    border-color: var(--clay);
}

.heading-choice-wrap.is-help-active .heading-choice__help {
    background: var(--clay);
    border-color: var(--clay);
    color: #fff;
}

.heading-choice__help {
    align-items: center;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(27, 43, 43, 0.1);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 30px;
    z-index: 3;
}

.heading-choice__help:hover,
.heading-choice__help:focus-visible {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    outline: none;
}

.curtain-headings-help-bar {
    align-items: center;
    background: #eef5f4;
    border: 1px solid #d6e6e4;
    border-radius: var(--radius-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    justify-content: space-between;
    margin-bottom: 20px;
    overflow: visible;
    padding: 14px 18px;
    position: relative;
    z-index: 4;
}

.curtain-headings-help-bar p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
    max-width: 52ch;
}

.curtain-headings-help-trigger--primary {
    align-items: center;
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    display: inline-flex;
    gap: 8px;
    padding: 10px 18px;
}

.curtain-headings-help-trigger--primary:hover,
.curtain-headings-help-trigger--primary:focus-visible {
    background: var(--clay);
    border-color: var(--clay);
    color: #fff;
}

.curtain-headings-help-trigger--primary span {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    display: inline-flex;
    font-size: 13px;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.journey-fabric-strip--hero {
    align-items: center;
    gap: 20px 28px;
    padding: 22px 24px;
}

.journey-fabric-strip--hero img {
    border-radius: 10px;
    box-shadow: 0 18px 36px -28px rgba(20, 43, 43, 0.45);
    height: 96px;
    object-fit: cover;
    width: 96px;
}

.journey-fabric-strip__copy em {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.4;
}

.heading-choice {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    color: inherit;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.heading-choice--visual {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    overflow: hidden;
}

.heading-choice--visual .heading-choice__preview {
    border: none;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
}

.heading-choice:hover {
    border-color: rgba(47, 107, 111, 0.45);
    box-shadow: 0 24px 48px -36px rgba(20, 43, 43, 0.35);
    transform: translateY(-2px);
}

.heading-choice__preview {
    align-items: center;
    aspect-ratio: 4 / 5;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    max-height: 320px;
    overflow: hidden;
    padding: 16px 14px 10px;
}

.curtain-journey .heading-choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(0, 300px));
    gap: 16px;
}

.curtain-journey .heading-choice {
    border-color: #e5e7eb;
}

.curtain-journey .heading-choice__preview--photo {
    aspect-ratio: auto;
    background: #fff;
    border-bottom: 0;
    height: 250px;
    padding: 10px;
    width: 100%;
}

.curtain-journey .heading-choice__footer {
    border-top-color: #f1f1f1;
    gap: 10px;
    padding: 12px 14px;
}

.curtain-journey .heading-choice__body strong {
    font-size: 20px;
}

.curtain-journey .heading-choice__cta {
    padding: 10px 12px;
}

.curtain-journey .heading-choice__preview--photo img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.heading-choice__preview .ccm-curtain-svg {
    display: block;
    height: 100%;
    max-height: 100%;
    width: auto;
}

.heading-choice__preview:not(.has-fabric) .ccm-curtain-svg {
    opacity: 0.65;
}

.heading-choice__footer {
    align-items: center;
    border-top: 1px solid var(--line-soft);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 18px 20px 20px;
}

.heading-choice__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.heading-choice strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 500;
    line-height: 1.15;
}

.heading-choice small {
    color: var(--muted);
    display: block;
    font-size: 14px;
    font-style: normal;
}

.heading-choice__cta {
    align-items: center;
    background: var(--ink);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 10px 16px;
    text-transform: uppercase;
    transition: background 180ms ease;
}

.heading-choice:hover .heading-choice__cta {
    background: var(--clay);
}

.heading-choice--editorial {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 220px;
    padding: 28px 28px 24px;
}

.heading-choice__content {
    display: grid;
    flex: 1;
    gap: 10px;
}

.heading-choice__kicker {
    color: var(--clay);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.heading-choice__desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    max-width: 42ch;
}

.heading-choice__meta {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.heading-choice__action {
    align-items: center;
    border-top: 1px solid var(--line-soft);
    color: var(--ink);
    display: flex;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
    justify-content: space-between;
    letter-spacing: 0.08em;
    padding-top: 18px;
    text-transform: uppercase;
}

.heading-choice__arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform 180ms ease;
}

.heading-choice:hover .heading-choice__arrow {
    transform: translateX(4px);
}

.heading-choice.is-help-active {
    border-color: var(--clay);
    box-shadow: 0 0 0 2px rgba(47, 107, 111, 0.18);
}

.journey-step__heading .curtain-headings-help-trigger {
    margin-top: 10px;
}

.curtain-headings-help-trigger {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--clay);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    transition: background 150ms ease, border-color 150ms ease;
}

.curtain-headings-help-trigger:hover,
.curtain-headings-help-trigger:focus-visible {
    background: #eef5f4;
    border-color: var(--clay);
    outline: none;
}

.curtain-headings-help {
    align-items: center;
    background: rgba(20, 43, 43, 0.45);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 24px;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease;
    z-index: 1200;
}

.curtain-headings-help.is-open {
    opacity: 1;
    pointer-events: auto;
}

.curtain-headings-help__dialog {
    background: #fff;
    border: 1px solid #d0d8d7;
    box-shadow: 0 28px 60px -24px rgba(20, 43, 43, 0.45);
    max-height: min(88vh, 720px);
    max-width: min(1120px, 96vw);
    overflow: hidden;
    width: 100%;
}

.curtain-headings-help__head {
    align-items: center;
    border-bottom: 1px solid #e3ecea;
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
}

.curtain-headings-help__head h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin: 0;
}

.curtain-headings-help__close {
    background: transparent;
    border: 0;
    color: #6a7b7b;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    padding: 4px 8px;
}

.curtain-headings-help__body {
    max-height: calc(min(88vh, 720px) - 58px);
    overflow: auto;
}

.curtain-headings-help__table-wrap {
    overflow-x: auto;
}

.curtain-headings-help__table {
    border-collapse: collapse;
    font-size: 13px;
    min-width: 920px;
    width: 100%;
}

.curtain-headings-help__table th,
.curtain-headings-help__table td {
    border: 1px solid #d0d8d7;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.curtain-headings-help__table thead th {
    background: #f4f8f7;
    font-weight: 700;
}

.curtain-headings-help__table tbody th {
    background: #fafcfc;
    font-weight: 700;
    width: 120px;
}

.curtain-headings-help__table [data-heading-col].is-highlight {
    background: #eef6f5;
    box-shadow: inset 0 0 0 2px rgba(47, 107, 111, 0.35);
}

.curtain-headings-help__note,
.curtain-headings-help__cta {
    color: #6a7b7b;
    display: block;
    margin-top: 8px;
}

.curtain-headings-help__cta a {
    color: var(--clay);
    font-weight: 600;
}

.curtain-headings-popover {
    background: #fff;
    border: 1px solid #d0d8d7;
    border-radius: 12px;
    box-shadow: 0 18px 40px -20px rgba(20, 43, 43, 0.45);
    max-width: min(340px, calc(100vw - 32px));
    padding: 14px 16px;
    pointer-events: none;
    position: fixed;
    z-index: 1100;
}

.curtain-headings-popover.is-visible {
    pointer-events: auto;
}

.curtain-headings-popover__title {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    margin: 0 0 10px;
}

.curtain-headings-popover__list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.curtain-headings-popover__list div {
    margin: 0;
}

.curtain-headings-popover__list dt {
    color: #6a7b7b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.curtain-headings-popover__list dd {
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

.curtain-headings-popover__note,
.curtain-headings-popover__cta {
    color: #6a7b7b;
    font-size: 12px;
    margin: 10px 0 0;
}

.curtain-headings-popover__cta a {
    color: var(--clay);
    font-weight: 600;
}

.curtain-headings-popover__all {
    background: transparent;
    border: 0;
    color: var(--clay);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    padding: 0;
    text-decoration: underline;
}

.curtain-headings-compare-wrap {
    position: relative;
    z-index: 5;
}

.curtain-headings-compare-preview {
    background: #fff;
    border: 1px solid #d0d8d7;
    border-radius: 14px;
    box-shadow: 0 22px 48px -18px rgba(20, 43, 43, 0.5);
    max-height: min(420px, 70vh);
    max-width: min(480px, calc(100vw - 32px));
    overflow: auto;
    padding: 16px 18px;
}

.curtain-headings-compare-preview--inline {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    visibility: hidden;
    width: min(420px, 88vw);
    z-index: 30;
}

.curtain-headings-compare-wrap:hover .curtain-headings-compare-preview--inline,
.curtain-headings-compare-wrap:focus-within .curtain-headings-compare-preview--inline,
.curtain-headings-compare-wrap.is-open .curtain-headings-compare-preview--inline {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.curtain-headings-compare-preview__title {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    margin: 0 0 6px;
}

.curtain-headings-compare-preview__intro,
.curtain-headings-compare-preview__foot {
    color: #6a7b7b;
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 12px;
}

.curtain-headings-compare-preview__foot {
    border-top: 1px solid #e3ecea;
    margin: 12px 0 0;
    padding-top: 10px;
}

.curtain-headings-compare-preview__list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.curtain-headings-compare-preview__list li {
    border-left: 3px solid #d6e6e4;
    padding-left: 10px;
    transition: border-color 150ms ease, background 150ms ease;
}

.curtain-headings-compare-preview__list li.is-highlight {
    background: #eef6f5;
    border-left-color: var(--clay);
}

.curtain-headings-compare-preview__list strong {
    color: var(--ink);
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.curtain-headings-compare-preview__list span {
    color: #4a5a5a;
    display: block;
    font-size: 12px;
    line-height: 1.45;
}

.journey-locked {
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    color: var(--muted);
    padding: 32px;
}

/* ---------------------------------------------------------------- Single fabric */

.fabric-single {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1fr);
    padding: clamp(48px, 7vw, 96px) var(--gutter);
}

.fabric-single__image img,
.fabric-single__image .fabric-card__swatch {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    width: 100%;
}

.fabric-single h1 {
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin: 0 0 16px;
}

.fabric-single dl {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    margin: 30px 0;
    padding: 22px 0;
}

/* ---------------------------------------------------------------- WooCommerce */

.content-band,
.woocommerce-shell {
    padding: clamp(40px, 6vw, 80px) var(--gutter);
}

.content-narrow {
    margin: 0 auto;
    max-width: 880px;
}

.woocommerce-products-header__title,
.product_title {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin-top: 0;
}

.woocommerce div.product .product_title {
    font-size: clamp(32px, 3.6vw, 48px);
    margin: 0 0 6px;
}

.ccm-has-fabric .summary .product_title {
    display: none;
}

.ccm-product-hero {
    margin: 0 0 4px;
}

.ccm-has-fabric .summary > *:first-child,
.ccm-has-fabric .ccm-product-hero {
    margin-top: 0;
}

/* Keep the fabric title level with the curtain pole in the left preview. */
@media (min-width: 769px) {
    .ccm-has-fabric.ccm-mtm-product div.summary {
        padding-top: 8px;
    }
}

.ccm-product-hero__title {
    color: #000;
    font-family: var(--font-sans);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 0 14px;
}

.ccm-product-hero__price-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin: 0 0 18px;
}

.ccm-product-hero__badge {
    background: #c00;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 10px;
}

.ccm-product-hero__price {
    color: #000;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.ccm-product-hero__price .woocommerce-Price-amount {
    color: #000;
    font-weight: 700;
}

.ccm-product-hero__price span {
    color: #000;
    font-size: 18px;
    font-weight: 700;
}

.ccm-product-hero__was {
    color: #999;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    text-decoration: line-through;
}

.ccm-product-hero__was .woocommerce-Price-amount {
    color: #999;
    font-weight: 400;
}

.ccm-product-hero__desc {
    margin: 0 0 22px;
    max-width: 36em;
}

.ccm-product-hero__excerpt,
.ccm-product-hero__full {
    color: #666;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

.ccm-product-hero__full p {
    color: #666;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 12px;
}

.ccm-product-hero__full p:last-child {
    margin-bottom: 0;
}

.ccm-product-hero__read-more {
    align-items: center;
    background: none;
    border: 0;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    gap: 6px;
    margin-top: 8px;
    padding: 0;
}

.ccm-product-hero__read-more svg {
    flex: none;
    transition: transform 0.2s ease;
}

.ccm-product-hero__read-more[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.ccm-product-hero__features {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.ccm-product-hero__features li {
    align-items: center;
    color: #000;
    display: flex;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    gap: 12px;
    line-height: 1.35;
}

.ccm-product-hero__icon {
    align-items: center;
    display: inline-flex;
    flex: none;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.ccm-product-hero__icon svg {
    display: block;
    height: 24px;
    width: 24px;
}

.ccm-has-fabric .ccm-estimator {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.ccm-has-fabric .price {
    color: var(--ink);
    display: block;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 18px;
}

.ccm-has-fabric .price .woocommerce-Price-amount {
    color: var(--ink);
    font-weight: 600;
}

.ccm-has-fabric .ccm-fabric-price__unit {
    color: var(--muted);
    font-size: 15px;
    font-weight: 400;
}

.woocommerce div.product .eyebrow {
    margin-bottom: 10px;
}

.woocommerce div.product .price:empty {
    display: none;
}

.ccm-has-fabric .price:empty {
    display: none;
}

.ccm-mtm-product .product_meta,
.ccm-mtm-product form.cart .quantity,
.ccm-mtm-product .demo-colour-picker {
    display: none;
}

.ccm-mtm-product form.cart .single_add_to_cart_button {
    margin-top: 4px;
    min-height: 52px;
    width: 100%;
}

.woocommerce ul.products {
    display: grid;
    gap: clamp(20px, 2.5vw, 32px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 22px;
    transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.woocommerce ul.products li.product:hover {
    border-color: var(--clay);
    box-shadow: 0 30px 60px -40px rgba(20, 43, 43, 0.5);
    transform: translateY(-3px);
}

.woocommerce ul.products li.product img {
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    border-radius: var(--radius);
    object-fit: cover;
    width: 100%;
}

.woocommerce-loop-product__title {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 500;
    margin: 0;
}

.price {
    color: var(--clay);
    display: block;
    font-weight: 600;
}

.woocommerce div.product {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1fr);
}

.woocommerce div.product div.images {
    margin: 0;
}

.woocommerce div.product div.summary {
    margin: 0;
}

.woocommerce-product-gallery,
.woocommerce div.product div.images img {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.ccm-mtm-product .woocommerce-product-gallery {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.ccm-mtm-product .woocommerce-product-gallery .ccm-live-product-preview {
    margin: 0;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
}

.woocommerce div.product form.cart {
    margin-top: 18px;
}

.quantity {
    margin: 20px 0;
}

.quantity input {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    width: 92px;
}

.single_add_to_cart_button {
    min-width: 240px;
}

.product_meta,
.related.products {
    grid-column: 1 / -1;
}

.woocommerce-tabs,
.related.products {
    display: none;
}

/* ---------------------------------------------------------- Order received */

.woocommerce-order > p:first-of-type,
.woocommerce-thankyou-order-received {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 32px;
    max-width: 720px;
}

.woocommerce-order-overview {
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    list-style: none;
    margin: 0 0 44px;
    overflow: hidden;
    padding: 0;
}

.woocommerce-order-overview li {
    background: var(--surface);
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    margin: 0;
    padding: 18px 22px;
    text-transform: uppercase;
}

.woocommerce-order-overview li strong {
    color: var(--ink);
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-top: 9px;
    overflow-wrap: anywhere;
    text-transform: none;
    word-break: break-word;
}

.woocommerce-order-overview li {
    min-width: 0;
}

.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-customer-details h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 400;
    letter-spacing: -0.015em;
    margin: 40px 0 18px;
}

.woocommerce-table--order-details {
    border-collapse: collapse;
    width: 100%;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    text-align: left;
    vertical-align: top;
}

.woocommerce-table--order-details thead th {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.woocommerce-table--order-details td.product-total,
.woocommerce-table--order-details th.product-total,
.woocommerce-table--order-details tfoot td {
    text-align: right;
}

.woocommerce-table--order-details .product-name > a {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
}

.woocommerce-table--order-details tfoot th {
    font-weight: 600;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 20px;
}

.wc-item-meta {
    display: grid;
    gap: 7px;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.wc-item-meta li {
    color: var(--ink-soft);
    display: flex;
    font-size: 14px;
    gap: 10px;
}

.wc-item-meta li strong {
    color: var(--muted);
    flex: none;
    font-weight: 600;
    width: 130px;
}

/* Newsletter welcome modal */
.newsletter-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 24px;
    pointer-events: none;
    position: fixed;
    visibility: hidden;
    z-index: 200;
}

.newsletter-modal.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.newsletter-modal__overlay {
    background: rgba(20, 43, 43, 0.5);
    inset: 0;
    position: absolute;
}

.newsletter-modal__dialog {
    background: var(--paper);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 90px -30px rgba(20, 43, 43, 0.55);
    max-width: 440px;
    padding: 44px 40px 32px;
    position: relative;
    text-align: center;
    transform: translateY(14px) scale(0.98);
    transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.newsletter-modal.is-open .newsletter-modal__dialog {
    transform: translateY(0) scale(1);
}

.newsletter-modal__close {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    position: absolute;
    right: 16px;
    top: 12px;
}

.newsletter-modal__eyebrow {
    color: var(--clay);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.newsletter-modal__title {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 12px;
}

.newsletter-modal__text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 22px;
}

.newsletter-modal__form {
    display: grid;
    gap: 10px;
}

.newsletter-modal__input {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 15px;
    padding: 14px 20px;
    text-align: center;
    width: 100%;
}

.newsletter-modal__input:focus {
    border-color: var(--clay);
    outline: none;
}

.newsletter-modal__submit {
    width: 100%;
}

.newsletter-modal__success {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-size: 15px;
    margin: 0;
    padding: 16px 18px;
}

.newsletter-modal__decline {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0.02em;
    margin-top: 16px;
    text-decoration: underline;
}

/* Checkout gate modal: stands in for real order/payment processing on this demo */
.checkout-gate-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 24px;
    pointer-events: none;
    position: fixed;
    visibility: hidden;
    z-index: 200;
}

.checkout-gate-modal.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.checkout-gate-modal__overlay {
    background: rgba(20, 43, 43, 0.5);
    inset: 0;
    position: absolute;
}

.checkout-gate-modal__dialog {
    background: var(--paper);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 90px -30px rgba(20, 43, 43, 0.55);
    max-width: 440px;
    padding: 44px 40px 32px;
    position: relative;
    text-align: center;
    transform: translateY(14px) scale(0.98);
    transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.checkout-gate-modal.is-open .checkout-gate-modal__dialog {
    transform: translateY(0) scale(1);
}

.checkout-gate-modal__close {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    position: absolute;
    right: 16px;
    top: 12px;
}

.checkout-gate-modal__eyebrow {
    color: var(--clay);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.checkout-gate-modal__title {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 12px;
}

.checkout-gate-modal__text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 24px;
}

.checkout-gate-modal__cta {
    display: block;
    width: 100%;
}

.checkout-gate-modal__decline {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0.02em;
    margin-top: 16px;
    text-decoration: underline;
}

.checkout-gate-hint {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--clay-deep);
    cursor: pointer;
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 0 auto clamp(20px, 3vw, 32px);
    padding: 10px 18px;
    text-align: center;
    transition: border-color 160ms ease, background 160ms ease;
    width: fit-content;
}

.checkout-gate-hint:hover,
.checkout-gate-hint:focus-visible {
    background: #eef5f4;
    border-color: var(--clay);
}

/* Help chat widget */
.help-chat {
    bottom: 24px;
    position: fixed;
    right: 24px;
    z-index: 130;
}

.help-chat__toggle {
    align-items: center;
    background: var(--ink);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 18px 40px -16px rgba(20, 43, 43, 0.65);
    color: var(--paper);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    letter-spacing: 0.08em;
    padding: 14px 20px;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease;
}

.help-chat__toggle:hover {
    background: var(--clay);
    transform: translateY(-2px);
}

.help-chat__toggle::before {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    content: "?";
    display: inline-flex;
    font-size: 14px;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.help-chat__panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    bottom: calc(100% + 14px);
    box-shadow: 0 28px 70px -28px rgba(20, 43, 43, 0.55);
    display: flex;
    flex-direction: column;
    max-height: min(78vh, 680px);
    min-height: 480px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 200ms ease, transform 200ms ease;
    width: min(360px, calc(100vw - 32px));
}

.help-chat.is-open .help-chat__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.help-chat__head {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 18px 18px 16px;
}

.help-chat__eyebrow {
    color: var(--clay);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.help-chat__head strong {
    color: var(--ink);
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
}

.help-chat__close {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 0;
}

.help-chat__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.help-chat__thread {
    flex: 1 1 auto;
    max-height: 240px;
    min-height: 140px;
    overflow-y: auto;
    padding: 16px 18px 8px;
}

.help-chat__messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.help-chat__footer {
    border-top: 1px solid var(--line);
    flex: 0 0 auto;
    padding: 14px 18px 18px;
}

.help-chat__links-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 14px 0 8px;
    text-transform: uppercase;
}

.help-chat__faq-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.help-chat__faqs {
    display: grid;
    gap: 8px;
}

.help-chat__faq {
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    cursor: pointer;
    font-size: 13px;
    line-height: 1.35;
    padding: 10px 12px;
    text-align: left;
    transition: border-color 160ms ease, background 160ms ease;
}

.help-chat__faq:hover:not(:disabled) {
    background: rgba(20, 43, 43, 0.04);
    border-color: var(--clay);
}

.help-chat__faq.is-asked,
.help-chat__faq:disabled {
    cursor: default;
    opacity: 0.55;
}

.help-chat__message {
    animation: help-chat-in 220ms ease;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 88%;
    padding: 12px 14px;
}

@keyframes help-chat-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.help-chat__message p {
    margin: 0;
}

.help-chat__message p + p {
    margin-top: 8px;
}

.help-chat__message--bot {
    align-self: flex-start;
    background: rgba(20, 43, 43, 0.06);
    color: var(--ink-soft);
}

.help-chat__message--user {
    align-self: flex-end;
    background: var(--ink);
    color: var(--paper);
    margin-left: auto;
}

.help-chat__typing {
    align-items: center;
    display: inline-flex;
    gap: 5px;
    min-height: 42px;
    padding: 14px 16px;
    width: auto;
}

.help-chat__typing span {
    animation: help-chat-dot 900ms infinite ease-in-out;
    background: var(--muted);
    border-radius: 999px;
    display: block;
    height: 7px;
    width: 7px;
}

.help-chat__typing span:nth-child(2) {
    animation-delay: 120ms;
}

.help-chat__typing span:nth-child(3) {
    animation-delay: 240ms;
}

@keyframes help-chat-dot {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.help-chat__message a {
    color: var(--clay);
    font-weight: 600;
}

.help-chat__message--user a {
    color: #fff;
}

.help-chat__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.help-chat__action {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 9px 14px;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease;
}

.help-chat__action:hover {
    border-color: var(--clay);
    color: var(--clay);
}

.help-chat__action--muted {
    background: transparent;
    color: var(--muted);
}

@media (max-width: 560px) {
    .help-chat {
        bottom: 16px;
        right: 16px;
    }

    .help-chat__panel {
        bottom: calc(100% + 10px);
        width: min(360px, calc(100vw - 24px));
    }
}

body.cart-drawer-open .help-chat {
    z-index: 110;
}

.wc-item-meta li p {
    margin: 0;
}

.woocommerce-columns--addresses {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.woocommerce-customer-details address {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    font-style: normal;
    line-height: 1.7;
    padding: 22px;
}

/* ---------------------------------------------------------------- Footer */

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    padding: clamp(48px, 6vw, 84px) var(--gutter) 32px;
}

.site-footer__cols {
    display: grid;
    gap: clamp(24px, 3vw, 48px);
    grid-template-columns: repeat(4, minmax(0, 1fr)) 1.3fr;
    margin: 0 auto;
    max-width: 1320px;
}

.footer-col h4 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 500;
    margin: 0 0 20px;
}

.footer-col a {
    color: var(--ink-soft);
    display: block;
    font-size: 15px;
    margin-bottom: 13px;
    transition: color 160ms ease;
    width: fit-content;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: var(--clay);
}

.footer-col--contact .footer-contact {
    align-items: center;
    color: var(--ink-soft);
    display: flex;
    gap: 11px;
    margin: 0 0 15px;
}

.footer-contact__icon {
    color: var(--clay);
    flex: none;
    font-size: 17px;
    line-height: 1;
    width: 18px;
}

.site-footer__bar {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: space-between;
    margin: clamp(36px, 4vw, 56px) auto 0;
    max-width: 1320px;
    padding-top: 26px;
}

.site-footer__bar p {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.02em;
    margin: 0;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-icons span {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(20, 43, 43, 0.05);
    display: inline-flex;
    height: 32px;
    justify-content: center;
    min-width: 46px;
    padding: 0 10px;
}

.payment-icons svg {
    display: block;
    height: auto;
}

/* ---------------------------------------------------------------- Responsive */

/* Header needs more room than the content grid breakpoint below: a full-length
   wordmark + 5 nav links + 3 icons + CTA button don't fit single-row much
   below this, so it gets its own wider stacking threshold. */
@media (max-width: 1180px) {
    .site-header {
        position: static;
    }

    .site-header__top {
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: auto;
        padding-top: 18px;
        text-align: center;
    }

    .site-header__actions {
        justify-content: center;
        justify-self: center;
    }

    .site-brand {
        align-items: center;
        flex-direction: column;
        gap: 10px;
        justify-self: center;
        text-align: center;
    }

    .site-nav {
        gap: 6px 22px;
        padding-bottom: 4px;
        padding-top: 8px;
    }
}

@media (max-width: 860px) {
    .hero,
    .woocommerce div.product,
    .product-paths,
    .fabric-grid,
    .fabric-grid--compact,
    .fabric-grid--journey,
    .heading-choice-grid,
    .fabric-single,
    .woocommerce-columns--addresses,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .selected-fabric-bar,
    .journey-fabric-strip {
        align-items: start;
    }

    .selected-fabric-bar {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .selected-fabric-bar a,
    .journey-fabric-strip__change {
        width: 100%;
    }


    .site-footer__cols {
        gap: 32px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-col--contact {
        grid-column: 1 / -1;
    }

    .site-footer__bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 861px) and (max-width: 1180px) {
    .heading-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fabric-grid--compact,
    .fabric-grid--journey {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ------------------------------------------ Header condense + nav CTA */

.site-header__top,
.site-brand__wordmark,
.site-brand__strapline {
    transition: min-height 200ms ease, padding 200ms ease, font-size 200ms ease, opacity 160ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 14px 32px -24px rgba(20, 43, 43, 0.5);
}

.site-header.is-scrolled .site-header__top {
    min-height: 62px;
    padding-bottom: 6px;
    padding-top: 8px;
}

.site-header.is-scrolled .site-brand__wordmark {
    font-size: clamp(22px, 2.2vw, 30px);
}

.site-header.is-scrolled .site-brand__strapline {
    height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
}

/* ---------------------------------------------------------- Cart drawer */

body.cart-drawer-open {
    overflow: hidden;
}

.cart-drawer {
    inset: 0;
    pointer-events: none;
    position: fixed;
    visibility: hidden;
    z-index: 120;
}

.cart-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.cart-drawer__overlay {
    background: rgba(20, 43, 43, 0.42);
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 240ms ease;
}

.cart-drawer.is-open .cart-drawer__overlay {
    opacity: 1;
}

.cart-drawer__panel {
    background: var(--paper);
    box-shadow: -24px 0 70px -32px rgba(20, 43, 43, 0.5);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
    width: min(420px, 92vw);
}

.cart-drawer.is-open .cart-drawer__panel {
    transform: translateX(0);
}

.admin-bar .cart-drawer__panel {
    height: calc(100% - 32px);
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .cart-drawer__panel {
        height: calc(100% - 46px);
        top: 46px;
    }
}

.cart-drawer__head {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 22px 24px;
}

.cart-drawer__head strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
}

.cart-drawer__close {
    background: none;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    padding: 0 4px;
}

.widget_shopping_cart_content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px 28px;
}

.woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-mini-cart__empty-message {
    color: var(--muted);
}

.woocommerce-mini-cart li {
    border-bottom: 1px solid var(--line);
    display: block;
    min-height: 72px;
    padding: 16px 28px 16px 72px;
    position: relative;
}

.woocommerce-mini-cart li a:not(.remove) {
    color: var(--ink);
    display: block;
    font-weight: 600;
    line-height: 1.3;
}

.woocommerce-mini-cart li img {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    height: 56px;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 16px;
    width: 56px !important;
    background: var(--surface);
}

.woocommerce-mini-cart li .remove {
    color: var(--muted) !important;
    font-size: 20px;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 14px;
}

.woocommerce-mini-cart li .variation {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 8px;
    margin: 8px 0 0;
}

.woocommerce-mini-cart li .variation dt,
.woocommerce-mini-cart li .variation dd {
    font-size: 12.5px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

.woocommerce-mini-cart li .variation dt {
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}

.woocommerce-mini-cart li .variation dd {
    color: var(--ink);
}

.woocommerce-mini-cart li .variation dd p {
    margin: 0;
}

.woocommerce-mini-cart li .quantity {
    color: var(--ink);
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.woocommerce-mini-cart__total {
    border-top: 1px solid var(--line);
    display: flex;
    font-size: 16px;
    justify-content: space-between;
    margin: 18px 0;
    padding-top: 16px;
}

.woocommerce-mini-cart__buttons {
    display: grid;
    gap: 10px;
    margin: 0;
}

.woocommerce-mini-cart__buttons .button {
    text-align: center;
    width: 100%;
}

.woocommerce-mini-cart__buttons .checkout {
    background: var(--clay);
    border-color: var(--clay);
    color: #fff;
}

/* ----------------------------------------------------- Homepage sections */

.trust-strip {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: clamp(20px, 3vw, 36px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: var(--trust-strip-y) var(--gutter);
}

.trust-strip > div {
    border-left: 2px solid var(--clay);
    padding-left: 16px;
}

.trust-strip strong {
    color: var(--ink);
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.trust-strip span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.home-section {
    padding: var(--home-section-y) var(--gutter);
}

.home-section--tint {
    background: var(--surface);
}

.home-section__head {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    justify-content: space-between;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.home-section__head h2 {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.04;
    margin: 6px 0 0;
}

.home-section__head .eyebrow {
    margin: 0;
}

.home-section__link {
    color: var(--clay);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-section__link:hover {
    color: var(--clay-deep);
}

@media (max-width: 860px) {
    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ------------------------------------------------------------ My Account */

.ccm-account-shell {
    padding-top: clamp(24px, 4vw, 48px);
}

/* Login + register (logged out) */
.woocommerce-account:not(.logged-in) .woocommerce {
    margin: 0 auto;
    max-width: 640px;
}

.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper {
    margin: 0 0 20px;
}

.ccm-account-auth {
    display: grid;
    gap: clamp(20px, 3vw, 28px);
    margin: 0 auto clamp(44px, 6vw, 72px);
    max-width: 640px;
}

.ccm-account-auth__intro {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.ccm-account-auth__eyebrow {
    color: var(--clay);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin: 0;
    text-transform: uppercase;
}

.ccm-account-auth__intro h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 50px);
    font-weight: 400;
    line-height: 1.04;
    margin: 0;
    max-width: 12ch;
}

.ccm-account-auth__lede {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
    max-width: 42ch;
}

.ccm-account-auth__card {
    background: linear-gradient(180deg, rgba(247, 250, 249, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 26px 60px -42px rgba(25, 46, 44, 0.28);
    display: grid;
    gap: 22px;
    padding: clamp(24px, 4vw, 38px);
}

.ccm-account-auth__lookup {
    display: grid;
    gap: 10px;
}

.ccm-account-auth__label {
    color: var(--ink-soft);
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ccm-account-auth__lookup-row {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.ccm-account-auth__input {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 16px;
    min-height: 54px;
    padding: 0 16px;
    width: 100%;
}

.ccm-account-auth__input:focus {
    border-color: var(--clay);
    outline: none;
}

.ccm-account-auth__continue {
    min-height: 54px;
    min-width: 146px;
}

.ccm-account-auth__hint,
.ccm-account-auth__copy,
.ccm-account-auth__helper {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.ccm-account-auth__message {
    background: rgba(35, 49, 50, 0.06);
    border-radius: 14px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 12px 14px;
}

.ccm-account-auth__message.is-error {
    background: rgba(133, 41, 41, 0.08);
    color: #7d2d2d;
}

.ccm-account-auth__flow {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 16px;
    padding-top: 22px;
}

.ccm-account-auth__flow[hidden] {
    display: none !important;
}

.ccm-account-auth__back {
    align-self: start;
    background: transparent;
    border: 0;
    color: var(--clay);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 0;
}

.ccm-account-auth__email-chip {
    align-items: center;
    background: rgba(35, 49, 50, 0.06);
    border-radius: 999px;
    color: var(--ink);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    min-height: 36px;
    padding: 0 14px;
    width: fit-content;
}

.ccm-account-auth__flow h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 400;
    margin: 0;
}

.ccm-account-auth .form-row {
    margin: 0 0 16px;
}

.ccm-account-auth .woocommerce-LostPassword {
    margin: 4px 0 0;
}

.ccm-account-auth .woocommerce-form-login__submit,
.ccm-account-auth .woocommerce-form-register__submit {
    width: 100%;
}

/* Form fields across all account/auth forms */
.woocommerce form .form-row {
    display: block;
    margin: 0 0 16px;
}

.woocommerce form .form-row label {
    color: var(--ink-soft);
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row input[type="tel"],
.woocommerce-account input.input-text {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 15px;
    padding: 12px 14px;
    width: 100%;
}

.woocommerce form .form-row input:focus,
.woocommerce-account input.input-text:focus {
    border-color: var(--clay);
    outline: none;
}

.woocommerce-form-login__rememberme {
    color: var(--muted);
    display: inline-flex;
    font-size: 13px;
    gap: 7px;
    margin: 4px 0 16px;
}

.woocommerce-LostPassword a,
.woocommerce form .lost_password a {
    color: var(--clay);
    font-size: 13px;
}

/* Account dashboard (logged in) */
.logged-in.woocommerce-account .woocommerce {
    align-items: start;
    display: grid;
    gap: clamp(24px, 4vw, 56px);
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
}

.ccm-account-nav {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 10px;
    position: sticky;
    top: 120px;
}

.ccm-account-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccm-account-nav li {
    margin: 0;
}

.ccm-account-nav li a {
    border-radius: calc(var(--radius-lg) - 4px);
    color: var(--ink-soft);
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 13px 16px;
    transition: background 160ms ease, color 160ms ease;
}

.ccm-account-nav li a:hover,
.ccm-account-nav li.is-active a {
    background: rgba(20, 43, 43, 0.05);
    color: var(--ink);
}

.ccm-account-nav li.is-active a {
    box-shadow: inset 3px 0 0 var(--clay);
}

.ccm-account-nav__item--customer-logout a {
    color: var(--muted);
}

.woocommerce-MyAccount-content > h2,
.woocommerce-MyAccount-content > h3:first-child {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}

.ccm-account-dashboard__hero {
    margin-bottom: clamp(24px, 4vw, 36px);
}

.ccm-account-dashboard__eyebrow,
.ccm-account-card__eyebrow {
    color: var(--clay);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ccm-account-dashboard__hero h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0 0 12px;
}

.ccm-account-dashboard__hero p,
.ccm-account-card p {
    color: var(--ink-soft);
    margin: 0;
}

.ccm-account-cards {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: clamp(24px, 4vw, 36px);
}

.ccm-account-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
    padding: 24px;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ccm-account-card--featured {
    grid-column: 1 / -1;
}

.ccm-account-card--link {
    color: inherit;
    text-decoration: none;
}

.ccm-account-card--link:hover {
    border-color: var(--clay);
    box-shadow: 0 24px 50px -36px rgba(20, 43, 43, 0.45);
    transform: translateY(-2px);
}

.ccm-account-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

.ccm-account-card h3 a {
    color: inherit;
    text-decoration: none;
}

.ccm-account-card h3 a:hover {
    color: var(--clay);
}

.ccm-account-card__meta,
.ccm-account-card__copy,
.ccm-account-card__note,
.ccm-account-card__total {
    color: var(--muted);
    font-size: 14px;
}

.ccm-account-card__total {
    color: var(--ink);
    font-size: 18px;
    font-weight: 600;
}

.ccm-account-card .button {
    align-self: flex-start;
    margin-top: auto;
}

.ccm-account-status {
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    text-transform: uppercase;
}

.ccm-account-status.is-completed,
.ccm-account-status.is-processing {
    background: #dcfce7;
    color: #166534;
}

.ccm-account-status.is-pending,
.ccm-account-status.is-on-hold {
    background: #fef3c7;
    color: #92400e;
}

.ccm-account-status.is-cancelled,
.ccm-account-status.is-failed,
.ccm-account-status.is-refunded {
    background: #fee2e2;
    color: #991b1b;
}

.ccm-account-snapshot {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 24px;
}

.ccm-account-snapshot__block strong {
    color: var(--ink);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ccm-account-snapshot__block p,
.ccm-account-snapshot__block li {
    color: var(--ink-soft);
    font-size: 14px;
    margin: 0;
}

.ccm-account-snapshot__block a {
    color: var(--clay);
    display: inline-block;
    font-size: 13px;
    margin-top: 8px;
}

.ccm-account-measures {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccm-account-measures li + li {
    margin-top: 10px;
}

.ccm-account-measures span {
    color: var(--muted);
    font-size: 13px;
}

.ccm-account-orders {
    display: grid;
    gap: 18px;
}

.ccm-account-order-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}

.ccm-account-order-card__head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: space-between;
}

.ccm-account-order-card__head h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

.ccm-account-order-card__head h3 a {
    color: inherit;
    text-decoration: none;
}

.ccm-account-order-card__meta,
.ccm-account-order-card__copy,
.ccm-account-order-card__note {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.ccm-account-order-card__foot {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    margin-top: auto;
}

.ccm-account-order-card__total {
    color: var(--ink);
    font-size: 18px;
}

.ccm-account-order-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.button--ghost:hover {
    border-color: var(--ink);
}

.ccm-account-workshop {
    background: rgba(20, 43, 43, 0.05);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    padding: 18px 20px;
}

.ccm-account-workshop strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.ccm-account-workshop p {
    color: var(--ink-soft);
    margin: 0;
}

.ccm-account-line-summary {
    color: var(--ink-soft);
    font-size: 13px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.ccm-account-line-summary li + li {
    margin-top: 4px;
}

.ccm-account-line-summary strong {
    color: var(--ink);
    font-weight: 500;
}

.ccm-account-empty {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 44px);
    text-align: center;
}

.ccm-account-empty h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 10px;
}

.ccm-account-empty p {
    color: var(--ink-soft);
    margin: 0 auto 20px;
    max-width: 420px;
}

.ccm-account-orders__pagination {
    margin-top: 24px;
}

.woocommerce-MyAccount-content p {
    color: var(--ink-soft);
}

.woocommerce-MyAccount-content a:not(.button) {
    color: var(--clay);
}

.woocommerce-Address,
.woocommerce-address-fields {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.woocommerce-Address-title h2,
.woocommerce-address-fields h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    margin-top: 0;
}

@media (max-width: 980px) {
    .ccm-account-cards,
    .ccm-account-snapshot {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .logged-in.woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }

    .ccm-account-auth__lookup-row {
        grid-template-columns: 1fr;
    }

    .ccm-account-auth__continue {
        width: 100%;
    }

    .ccm-account-nav {
        position: static;
    }
}

/* ------------------------------------------------------- Content pages */

.page__title {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin: 0 0 28px;
}

.page__content {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.7;
}

.page__content > * + * {
    margin-top: 18px;
}

.page__content h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-top: 40px;
}

.page__content h3 {
    font-size: 20px;
    font-weight: 500;
    margin-top: 28px;
}

.page__content a {
    color: var(--clay);
}

.page__content ul,
.page__content ol {
    margin-left: 22px;
}

.page__content li + li {
    margin-top: 8px;
}

.page__content strong {
    color: var(--ink);
}

/* Book a measure form */
.measure-form {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
    max-width: 680px;
}

.measure-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.measure-form .measure-form__row--full {
    grid-column: 1 / -1;
}

.measure-form input,
.measure-form textarea {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    padding: 12px 14px;
    width: 100%;
}

.measure-form input:focus,
.measure-form textarea:focus {
    border-color: var(--clay);
    outline: none;
}

.measure-form textarea {
    min-height: 120px;
    resize: vertical;
}

.measure-notice {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-left: 4px solid var(--clay);
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    padding: 18px 22px;
}

@media (max-width: 600px) {
    .measure-form {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------ Fabric pattern swatches (archive) */
.fabric-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 16px;
}

.fabric-swatch {
    background: none;
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    height: 34px;
    overflow: hidden;
    padding: 0;
    width: 34px;
}

.fabric-swatch img {
    aspect-ratio: 1;
    border: 0;
    border-radius: 0;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.fabric-swatch__dot {
    background: #cbd6d5;
    display: block;
    height: 100%;
    width: 100%;
}

.fabric-swatch.is-active {
    border-color: var(--clay);
    box-shadow: 0 0 0 2px var(--clay);
}

.fabric-swatch-more {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    height: 34px;
    letter-spacing: 0.02em;
    padding-left: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.fabric-swatch-more:hover {
    color: var(--clay);
    text-decoration: underline;
}

.fabric-card .price span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
}

/* ------------------------------------------ Fabric product page (buy by metre) */
.fabric-single__sub {
    color: var(--ink-soft);
    margin: 0 0 10px;
}

.fabric-single__price {
    font-family: var(--font-display);
    font-size: 28px;
    margin: 0 0 26px;
}

.fabric-single__price span:first-child {
    color: var(--clay);
    font-weight: 500;
}

.fabric-single__price span:last-child {
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 14px;
}

.fabric-single__swatches {
    margin-bottom: 26px;
}

.fabric-single__label {
    color: var(--muted);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.fabric-buy {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.fabric-buy__qty {
    color: var(--ink-soft);
    display: flex;
    flex-direction: column;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
}

.fabric-buy__qty span {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    gap: 6px;
}

.fabric-buy__qty input {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 14px;
    width: 96px;
}

.fabric-single__make {
    color: var(--clay);
    display: inline-block;
    font-weight: 600;
    margin-top: 8px;
}

.fabric-group__link,
.fabric-group__title {
    display: block;
}

/* ---------------------------------------------------- Live design studio */

.demo-colour-picker {
    bottom: 20px;
    left: 20px;
    position: fixed;
    z-index: 90;
}

.demo-colour-picker__hint {
    align-items: flex-start;
    animation: demo-colour-picker-hint-bob 2.6s ease-in-out infinite;
    bottom: calc(100% + 4px);
    color: var(--clay-deep);
    display: flex;
    flex-direction: column;
    left: 6px;
    pointer-events: none;
    position: absolute;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.demo-colour-picker.is-open .demo-colour-picker__hint,
.demo-colour-picker__hint.is-dismissed {
    opacity: 0;
    visibility: hidden;
}

.demo-colour-picker__hint-text {
    background: var(--paper);
    border-radius: 10px;
    box-shadow: 0 10px 22px -12px rgba(20, 43, 43, 0.4);
    font-family: "Caveat", cursive;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 2px 20px;
    padding: 4px 10px 5px;
    transform: rotate(-4deg);
    white-space: nowrap;
}

.demo-colour-picker__hint-arrow {
    height: 40px;
    width: 30px;
}

@keyframes demo-colour-picker-hint-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
    .demo-colour-picker__hint {
        animation: none;
    }
}

.demo-colour-picker__toggle {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 12px 34px -16px rgba(20, 43, 43, 0.55);
    color: var(--ink);
    cursor: pointer;
    display: flex;
    font: 600 12px/1 var(--font-sans);
    gap: 9px;
    letter-spacing: 0.04em;
    padding: 10px 14px 10px 10px;
}

.demo-colour-picker__toggle-swatch {
    background: var(--clay);
    border: 2px solid var(--paper);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--line);
    height: 22px;
    width: 22px;
}

.demo-colour-picker__panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    bottom: 52px;
    box-shadow: 0 24px 70px -28px rgba(20, 43, 43, 0.65);
    color: var(--ink-soft);
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    padding: 20px;
    position: absolute;
    width: min(320px, calc(100vw - 40px));
}

.demo-colour-picker__panel[hidden] {
    display: none;
}

.demo-colour-picker__heading,
.demo-colour-picker__field {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.demo-colour-picker__heading {
    color: var(--ink);
    margin-bottom: 18px;
}

.demo-colour-picker__heading > div {
    display: grid;
    gap: 3px;
}

.demo-colour-picker__heading strong {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
}

.demo-colour-picker__heading span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.demo-colour-picker__close {
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 0 2px;
}

.demo-colour-picker__field {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    gap: 12px;
    padding: 8px 10px;
}

.demo-colour-picker__group {
    border: 0;
    border-top: 1px solid var(--line-soft);
    margin: 0;
    padding: 15px 0 0;
}

.demo-colour-picker__group + .demo-colour-picker__group {
    margin-top: 15px;
}

.demo-colour-picker__group legend,
.demo-colour-picker__label {
    color: var(--ink);
    display: block;
    float: none;
    font: 600 11px/1.2 var(--font-sans);
    letter-spacing: 0.06em;
    margin: 0 0 9px;
    padding: 0;
    text-transform: uppercase;
    width: 100%;
}

.demo-colour-picker__field input[type="color"] {
    background: transparent;
    border: 0;
    cursor: pointer;
    height: 34px;
    padding: 0;
    width: 52px;
}

.demo-colour-picker__field output {
    color: var(--ink);
    font: 600 12px/1 var(--font-sans);
    letter-spacing: 0.08em;
}

.demo-colour-picker__presets {
    display: flex;
    gap: 10px;
    margin: 13px 0 0;
}

.demo-colour-picker__presets button {
    background: var(--preset-colour);
    border: 2px solid var(--paper);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--line);
    cursor: pointer;
    height: 28px;
    padding: 0;
    width: 28px;
}

.demo-colour-picker__presets button:hover,
.demo-colour-picker__presets button:focus-visible {
    box-shadow: 0 0 0 2px var(--ink);
    transform: scale(1.08);
}

.demo-colour-picker__segments {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    padding: 3px;
}

.demo-colour-picker__segments--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-colour-picker__segments button {
    background: transparent;
    border: 0;
    border-radius: var(--radius);
    color: var(--muted);
    cursor: pointer;
    font: 600 10px/1.2 var(--font-sans);
    padding: 8px 5px;
}

.demo-colour-picker__segments button:hover,
.demo-colour-picker__segments button:focus-visible {
    color: var(--ink);
}

.demo-colour-picker__segments button.is-active {
    background: var(--paper);
    box-shadow: 0 2px 8px -4px rgba(20, 43, 43, 0.45);
    color: var(--clay);
}

.demo-colour-picker__footer {
    align-items: flex-end;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
    padding-top: 15px;
}

.demo-colour-picker__reset {
    background: transparent;
    border: 0;
    color: var(--clay);
    cursor: pointer;
    font: 600 12px/1.2 var(--font-sans);
    padding: 2px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.demo-colour-picker__footer p {
    color: var(--muted);
    font-size: 10px;
    margin: 0;
    text-align: right;
}

html[data-demo-appearance="dark"] .site-footer {
    background: var(--demo-contrast-bg);
}

@media (max-width: 480px) {
    .demo-colour-picker {
        bottom: 12px;
        left: 12px;
    }

    .demo-colour-picker__panel {
        width: min(320px, calc(100vw - 24px));
    }

    .demo-colour-picker__hint-text {
        font-size: 18px;
    }

    .demo-colour-picker__hint-arrow {
        height: 32px;
        width: 24px;
    }
}

/* Site scrollbar. */
html { scrollbar-width: thin; scrollbar-color: #64839c #f3f7fa; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #f3f7fa; }
::-webkit-scrollbar-thumb { background: #64839c; border: 2px solid #f3f7fa; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #0c3150; }

/* Keep the spam trap outside the visible form and keyboard navigation. */
.measure-form .measure-form__trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Two-tier shop header: prominent search above the category navigation. */
.site-nav-toggle { display: none; }

.site-header .site-header__top,
.site-header.is-scrolled .site-header__top {
    grid-template-columns: minmax(230px, 1fr) minmax(240px, 520px) minmax(365px, 1fr);
    gap: 16px 28px;
    min-height: 0;
    padding: 20px clamp(20px, 3.2vw, 64px) 0;
    text-align: left;
}
.site-header .site-brand { align-items: flex-start; gap: 6px; justify-self: start; min-width: 0; text-align: left; }
.site-header .site-brand__wordmark,
.site-header.is-scrolled .site-brand__wordmark { font-size: clamp(22px, 1.8vw, 30px); line-height: 1.15; }
.site-header .site-header__actions { gap: 12px; grid-column: 3; grid-row: 1; justify-content: flex-end; justify-self: end; }
.site-header .site-actions { flex: none; gap: 4px; }
.site-header .icon-link { min-width: 44px; min-height: 44px; }
.site-header .icon-link--cart strong { right: 0; top: 0; }
.site-header .site-header__actions a.site-header__cta { font-size: 10px; padding: 12px 14px; }
.site-header .site-nav {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    gap: clamp(20px, 3vw, 48px);
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    justify-self: stretch;
    padding: 0;
}
.site-header .site-nav a { padding: 18px 4px; }
.site-header__search {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    display: flex;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
}
.site-header__search:focus-within { border-color: var(--clay); box-shadow: 0 0 0 2px color-mix(in srgb, var(--clay) 15%, transparent); }
.site-header__search input[type="search"] {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--ink);
    flex: 1;
    font: inherit;
    font-size: 14px;
    margin: 0;
    min-height: 52px;
    min-width: 0;
    outline: none;
    padding: 12px 16px;
    width: 100%;
}
.site-header__search input::placeholder { color: var(--muted); opacity: 1; }
.site-header__search button { align-items: center; background: transparent; border: 0; color: var(--ink); cursor: pointer; display: flex; flex: none; height: 48px; justify-content: center; padding: 0; width: 48px; }
.site-header__search .icon-search { transform: scale(0.7); }
.site-header__search button:focus-visible,
.site-nav-toggle:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

@media (min-width: 761px) and (max-width: 1100px) {
    .site-header .site-header__top,
    .site-header.is-scrolled .site-header__top { grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; }
    .site-header .site-header__actions { grid-column: 2; }
    .site-header__search { grid-column: 1 / -1; grid-row: 2; justify-self: center; max-width: 600px; }
    .site-header .site-nav { grid-row: 3; }
}

@media (max-width: 760px) {
    .site-header .site-header__top,
    .site-header.is-scrolled .site-header__top { grid-template-columns: minmax(0, 1fr) 44px; gap: 12px; padding: 14px 16px; }
    .site-header .site-brand__wordmark,
    .site-header.is-scrolled .site-brand__wordmark { font-size: clamp(18px, 5.2vw, 24px); }
    .site-header .site-brand__strapline { font-size: 9px; letter-spacing: 0.07em; margin: 0; }
    .site-header--menu-ready .site-nav-toggle { background: transparent; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer; display: block; grid-column: 2; grid-row: 1; height: 44px; justify-self: end; padding: 0; position: relative; width: 44px; }
    .site-nav-toggle span { background: currentColor; border-radius: 2px; height: 2px; left: 10px; position: absolute; top: 14px; width: 22px; }
    .site-nav-toggle span:nth-child(2) { top: 20px; }
    .site-nav-toggle span:nth-child(3) { top: 26px; }
    .is-menu-open .site-nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .is-menu-open .site-nav-toggle span:nth-child(2) { opacity: 0; }
    .is-menu-open .site-nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .site-header__search { grid-column: 1 / -1; grid-row: 2; }
    .site-header__search input[type="search"] { font-size: 16px; min-height: 46px; padding: 10px 12px; }
    .site-header__search button { height: 44px; width: 44px; }
    .site-header .site-header__actions { gap: 14px; grid-column: 1 / -1; grid-row: 3; justify-content: space-between; justify-self: stretch; min-width: 0; }
    .site-header .site-header__actions a.site-header__cta { align-items: center; display: inline-flex; flex: 1; font-size: 10px; justify-content: center; letter-spacing: 0.04em; min-height: 44px; min-width: 0; padding: 10px 8px; }
    .site-header .site-nav { display: grid; gap: 0; grid-row: 4; grid-template-columns: 1fr; padding: 8px 0 0; }
    .site-header--menu-ready .site-nav { display: none; }
    .site-header--menu-ready.is-menu-open .site-nav { display: grid; }
    .site-header .site-nav a { border-radius: 6px; padding: 14px 12px; }
    .site-header .site-nav a::after { display: none; }
    .site-header .site-nav a.is-active { background: var(--surface); }
    .site-header .site-nav a:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
}




/* Clearly labelled account and basket links, with a quieter inline count. */
.site-header .site-actions { gap: 16px; }
.site-header .site-utility-link {
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    gap: 7px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}
.site-header .site-utility-link .icon-user,
.site-header .site-utility-link .icon-bag { flex: none; transform: scale(0.8); }
.site-header .site-utility-link:hover { transform: none; }
.site-header .site-utility-link:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.site-header .icon-link--cart strong {
    background: transparent;
    border-radius: 0;
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    height: auto;
    min-width: 0;
    padding: 0;
    position: static;
}
.site-header .icon-link--cart strong::before { content: '('; }
.site-header .icon-link--cart strong::after { content: ')'; }
@media (max-width: 760px) {
    .site-header .site-actions { gap: 4px; }
    .site-header .site-utility-link__label { display: none; }
    .site-header .icon-link--cart strong {
        background: var(--clay);
        border-radius: 999px;
        color: #fff;
        font-size: 10px;
        font-weight: 600;
        height: 18px;
        min-width: 18px;
        padding: 0 4px;
        position: absolute;
        right: 0;
        top: 1px;
    }
    .site-header .icon-link--cart strong::before,
    .site-header .icon-link--cart strong::after { content: none; }
}

/* Mobile: menu left, centred brand, basket right, with search below. */
.site-header .site-nav .site-nav__mobile-link { display: none; }
@media (max-width: 760px) {
    .site-header .site-header__top,
    .site-header.is-scrolled .site-header__top {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 8px;
        padding: 10px 12px 0;
    }
    .site-header .site-brand {
        align-items: center;
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        text-align: center;
    }
    .site-header .site-brand__wordmark,
    .site-header.is-scrolled .site-brand__wordmark {
        font-size: clamp(16px, 4.6vw, 22px);
        white-space: nowrap;
    }
    .site-header .site-brand__strapline { display: none; }
    .site-header--menu-ready .site-nav-toggle {
        border-color: transparent;
        grid-column: 1;
        justify-self: start;
    }
    .site-header .site-header__actions {
        grid-column: 3;
        grid-row: 1;
        justify-content: flex-end;
        justify-self: end;
    }
    .site-header .site-actions > .site-utility-link:not(.icon-link--cart),
    .site-header .site-header__actions a.site-header__cta { display: none; }
    .site-header__search {
        border-radius: 0;
        border-width: 1px 0 0;
        grid-column: 1 / -1;
        grid-row: 2;
    }
    .site-header__search input[type="search"] { min-height: 44px; padding-left: 6px; }
    .site-header__search input::placeholder { font-size: 12px; }
    .site-header .site-nav { grid-row: 3; }
    .site-header .site-nav .site-nav__mobile-link { display: block; }
    .site-header .site-nav .site-nav__mobile-link--account { border-top: 1px solid var(--line); margin-top: 8px; }
}

/* Helpful empty searches, with inspiration clearly separated from matches. */
.search-breadcrumb { align-items: center; color: var(--muted); display: flex; font-size: 12px; gap: 10px; margin-bottom: 32px; }
.search-breadcrumb a { color: var(--ink); text-underline-offset: 3px; }
.site-search-results--empty .site-search-results__head { margin-bottom: 64px; max-width: 820px; }
.site-search-results--empty .site-search-results__head h1 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; margin-bottom: 20px; overflow-wrap: anywhere; }
.site-search-results--empty .site-search-results__head > p { font-size: 18px; }
.search-guidance { margin: 30px auto 24px; max-width: 660px; }
.site-search-results__head .search-guidance p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.search-guidance a { color: var(--clay); text-underline-offset: 3px; }
.search-inspiration { border-top: 1px solid var(--line); margin: 0 auto; max-width: 1240px; padding-top: 40px; }
.search-inspiration__head { margin-bottom: 28px; text-align: center; }
.search-inspiration__head h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 400; margin: 6px 0 10px; }
.search-inspiration__head > p:last-child { color: var(--muted); font-size: 13px; }
.search-inspiration__grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.search-inspiration__card { color: var(--ink); min-width: 0; text-decoration: none; }
.search-inspiration__image { aspect-ratio: 1; background: var(--surface); border-radius: 8px; display: block; margin-bottom: 14px; overflow: hidden; }
.search-inspiration__image img { display: block; height: 100%; object-fit: cover; width: 100%; transition: transform 180ms ease; }
.search-inspiration__image .fabric-card__swatch { height: 100%; }
.search-inspiration__card strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.search-inspiration__card small { color: var(--muted); display: block; font-size: 12px; margin-top: 4px; }
.search-inspiration__card:hover strong { color: var(--clay); }
.search-inspiration__card:focus-visible { outline: 2px solid var(--clay); outline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) { .search-inspiration__card:hover img { transform: scale(1.03); } }
@media (max-width: 760px) {
    .search-breadcrumb { margin-bottom: 24px; }
    .site-search-results--empty .site-search-results__head { margin-bottom: 40px; }
    .search-inspiration { padding-top: 28px; }
    .search-inspiration__grid { gap: 24px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-search-results--empty .site-search-results__empty .button { flex: 1; min-width: 140px; }
}

/* A welcoming footer with clear shopping, support and social links. */
.site-footer { padding-top: clamp(40px, 5vw, 64px); }
.site-footer .site-footer__cols { gap: 32px; grid-template-columns: 1.5fr 1.1fr 1fr 1.35fr; }
.footer-brand-block { min-width: 0; }
.footer-brand { color: var(--ink); display: inline-block; font-family: var(--font-display); font-size: 25px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; text-decoration: none; }
.footer-brand-block > p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 14px 0 24px; max-width: 260px; }
.footer-socials__label { color: var(--muted); display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; margin-bottom: 10px; text-transform: uppercase; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer .footer-socials a { align-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); display: inline-flex; font-size: 12px; gap: 8px; min-height: 44px; padding: 10px 12px; text-decoration: none; transition: color 160ms ease, border-color 160ms ease; }
.site-footer .footer-socials a:hover { border-color: var(--clay); color: var(--clay); }
.footer-socials svg { flex: none; }
.site-footer .footer-col { min-width: 0; }
.site-footer .footer-col h2 { color: var(--ink); font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.09em; line-height: 1.4; margin: 4px 0 20px; text-transform: uppercase; }
.site-footer .footer-col a { font-size: 14px; line-height: 1.6; margin-bottom: 10px; text-decoration: none; }
.site-footer .footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-col--contact { grid-column: auto; }
.site-footer .footer-col--contact .footer-contact { align-items: flex-start; font-size: 14px; gap: 10px; line-height: 1.75; margin-bottom: 14px; }
.site-footer .footer-contact__icon { height: 18px; margin-top: 3px; width: 18px; }
.footer-contact span { min-width: 0; overflow-wrap: anywhere; }
.site-footer .site-footer__bar { gap: 20px 24px; margin-top: 36px; padding-top: 24px; }
.footer-policies { display: flex; flex-basis: 100%; flex-wrap: wrap; gap: 12px 24px; }
.footer-policies a { color: var(--muted); font-size: 12px; text-decoration: none; }
.footer-policies a:hover { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
@media (min-width: 761px) and (max-width: 1100px) {
    .site-footer .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand-block { grid-column: 1 / -1; }
    .footer-brand-block > p { max-width: 480px; }
}
@media (max-width: 760px) {
    .site-footer .site-footer__cols { gap: 28px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand-block { grid-column: 1 / -1; }
    .footer-brand-block > p { max-width: 360px; }
    .site-footer .footer-col--contact { border-top: 1px solid var(--line); grid-column: 1 / -1; padding-top: 24px; }
    .site-footer .footer-col h2 { margin-bottom: 12px; }
    .site-footer .footer-col > a { align-content: center; margin-bottom: 0; min-height: 40px; padding: 6px 0; }
    .site-footer .site-footer__bar { margin-top: 28px; }
    .footer-policies { gap: 14px 20px; }
    .footer-policies a { line-height: 1.6; padding: 5px 0; }
}

/* A quiet payment-logo row aligned with the footer copyright. */
.footer-payments { align-items: center; display: flex; gap: 14px; max-width: 100%; min-width: 0; }
.footer-payments__label { color: var(--muted); flex: none; font-size: 11px; font-weight: 400; letter-spacing: 0; margin: 0; white-space: nowrap; }
.site-footer .payment-icons { align-items: center; display: flex; flex-wrap: nowrap; gap: 10px; }
.site-footer .payment-icons > span {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 26px;
    min-width: 0;
    padding: 0;
    width: 38px;
}
.site-footer .payment-icons svg { flex: none; height: auto; max-height: 22px; max-width: 100%; }
@media (max-width: 480px) {
    .footer-payments { gap: 10px; }
    .site-footer .payment-icons { gap: 7px; }
    .site-footer .payment-icons > span { width: 34px; }
}


/* Supplied ACE Ecommerce brand artwork. */
.site-header .site-brand { max-width: 100%; }
.site-brand__logo {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
}
@media (max-width: 760px) {
    .site-brand__logo { width: 220px; }
}
/* Keep the supplied logo's white canvas seamless in the sticky header. */
.site-header,
.site-header.is-scrolled {
    background: #fff;
}
/* Compact desktop header, aligned within a centred content width. */
@media (min-width: 761px) {
    .site-header .site-header__top,
    .site-header.is-scrolled .site-header__top {
        box-sizing: border-box;
        width: 100%;
        max-width: 1600px;
        margin-inline: auto;
        padding: 16px 24px 0;
        gap: 10px 24px;
    }

    .site-header .site-brand__logo { width: 240px; }
    .site-header .site-nav a { padding: 15px 4px; }
}
/* Inset hero with a slim white frame. */
.home-hero {
    margin: clamp(12px, 1.5vw, 28px);
}
/* Five-category image story, with curtains at the centre. */
.home-categories {
    max-width: 1360px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 64px);
}
.category-grid--editorial {
    grid-template-columns: 1fr 1.15fr 1fr;
    grid-template-rows: repeat(2, clamp(230px, 16vw, 280px));
    gap: 22px;
}
.category-grid--editorial .category-card {
    position: relative;
    isolation: isolate;
    border: 0;
    border-radius: 10px;
    background: #354048;
    color: #fff;
    min-width: 0;
    text-decoration: none;
    transform: none;
}
.category-grid--editorial .category-card--fabric { grid-area: 1 / 1; }
.category-grid--editorial .category-card--curtains { grid-area: 1 / 2 / 3 / 3; }
.category-grid--editorial .category-card--romans { grid-area: 1 / 3; }
.category-grid--editorial .category-card--cushions { grid-area: 2 / 1; }
.category-grid--editorial .category-card--tiebacks { grid-area: 2 / 3; }
.category-grid--editorial .category-card__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    z-index: -2;
}
.category-grid--editorial .category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(10, 22, 30, 0.62) 0%, rgba(10, 22, 30, 0.24) 100%);
}
.category-grid--editorial .category-card__media img {
    transition: transform 350ms ease;
}
.category-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0;
    padding: 24px;
    text-align: center;
}
.category-card__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 2.2vw, 34px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.category-card__description {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
    max-width: 280px;
}
.category-card__cta {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    padding-bottom: 5px;
    margin-top: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.category-grid--editorial .category-card:hover .category-card__media img { transform: scale(1.035); }
.category-grid--editorial .category-card:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; }
@media (max-width: 980px) {
    .category-grid--editorial { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 260px; }
    .category-grid--editorial .category-card { grid-area: auto; }
    .category-grid--editorial .category-card--tiebacks { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .category-grid--editorial { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 250px; gap: 16px; }
    .category-grid--editorial .category-card--tiebacks { grid-column: auto; }
    .category-card__title { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    .category-grid--editorial .category-card__media img { transition: none; }
    .category-grid--editorial .category-card:hover .category-card__media img { transform: none; }
}
/* Keep each subject in the clear part of its category photograph. */
.category-card--curtains .category-card__media img { object-position: 28% center; }
.category-card--romans .category-card__media img { object-position: 50% 18%; }
.category-card--cushions .category-card__media img { object-position: 50% 55%; }
.category-card--tiebacks .category-card__media img { object-position: 75% 35%; }
.category-card__content { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28); }
@media (max-width: 980px) {
    .category-card--curtains .category-card__media img { object-position: 40% center; }
}
/* A compact bento of practical reasons to choose ACE. */
.home-benefits {
    box-sizing: border-box;
    max-width: 1360px;
    margin-inline: auto;
    padding: 12px clamp(20px, 4vw, 64px) clamp(48px, 6vw, 80px);
}
.home-benefits__heading { margin-bottom: 26px; }
.home-benefits__heading .eyebrow { margin-bottom: 10px; }
.home-benefits__heading h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 400; line-height: 1.15; letter-spacing: -0.025em; }
.benefit-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(160px, auto)); gap: 16px; }
.benefit-card {
    --benefit-bg: #f2f6fa;
    background: var(--benefit-bg);
    color: #10202f;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(16, 32, 47, 0.06);
    border-radius: 18px;
    padding: clamp(22px, 2.5vw, 32px);
    min-width: 0;
}
.benefit-card--measure { --benefit-bg: #102c40; color: #fff; grid-column: 1; grid-row: 1 / 3; }
.benefit-card--price { grid-column: 2; grid-row: 1; }
.benefit-card--fabric { --benefit-bg: #f1ebe2; grid-column: 3; grid-row: 1 / 3; }
.benefit-card--delivery { --benefit-bg: #eaf3f7; grid-column: 2; grid-row: 2; }
.benefit-card__icon { display: block; width: 30px; height: 30px; margin-bottom: 20px; flex: none; }
.benefit-card__icon svg { width: 100%; height: 100%; }
.benefit-card__copy { margin-top: auto; position: relative; z-index: 1; }
.benefit-card__copy h3 { color: inherit; font-size: clamp(20px, 1.8vw, 25px); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; margin: 0 0 10px; }
.benefit-card--measure h3,
.benefit-card--fabric h3 { font-size: clamp(28px, 2.8vw, 38px); }
.benefit-card__copy > p { margin: 0; font-size: 14px; line-height: 1.6; opacity: 0.85; max-width: 290px; }
.benefit-card__copy .benefit-card__eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; opacity: 0.7; }
.benefit-measure { position: absolute; inset: 40px 0 auto; height: 105px; z-index: -1; opacity: 0.5; transform: rotate(-13deg) translateX(32%); }
.benefit-measure span { display: block; height: 20px; width: 100%; margin-bottom: 10px; border: 1px solid #86a9bd; border-radius: 2px; }
.benefit-measure span:nth-child(2) { width: 88%; }
.benefit-measure span:nth-child(3) { width: 76%; }
.benefit-measure i { display: block; position: absolute; inset: 5px 0 auto; height: 9px; background: repeating-linear-gradient(90deg, #86a9bd 0 1px, transparent 1px 16px); }
.benefit-swatches { position: relative; height: 108px; width: 170px; margin: 0 auto 24px; }
.benefit-swatches span { position: absolute; bottom: 0; left: 45px; width: 70px; height: 104px; border-radius: 5px; transform-origin: 50% 95%; border: 1px solid rgba(16, 32, 47, 0.08); box-shadow: 0 4px 10px rgba(16, 32, 47, 0.08); background-image: repeating-linear-gradient(90deg, transparent 0 2px, rgba(255, 255, 255, 0.12) 2px 3px); }
.benefit-swatches span:nth-child(1) { background-color: #b5a18b; transform: rotate(-32deg); }
.benefit-swatches span:nth-child(2) { background-color: #7f969c; transform: rotate(-11deg); }
.benefit-swatches span:nth-child(3) { background-color: #d4c9b7; transform: rotate(11deg); }
.benefit-swatches span:nth-child(4) { background-color: #e6dfd3; transform: rotate(32deg); }
@media (prefers-reduced-motion: no-preference) {
    .benefit-card { transition: transform 220ms ease, box-shadow 220ms ease; }
    .benefit-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -18px rgba(16, 32, 47, 0.3); }
    .benefit-grid.is-visible .benefit-card { animation: benefit-arrive 650ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
    .benefit-grid.is-visible .benefit-card:nth-child(2) { animation-delay: 90ms; }
    .benefit-grid.is-visible .benefit-card:nth-child(3) { animation-delay: 180ms; }
    .benefit-grid.is-visible .benefit-card:nth-child(4) { animation-delay: 270ms; }
    .benefit-swatches span { transition: transform 400ms ease; }
    .benefit-card--fabric:hover .benefit-swatches span:nth-child(1) { transform: rotate(-42deg); }
    .benefit-card--fabric:hover .benefit-swatches span:nth-child(4) { transform: rotate(42deg); }
    @keyframes benefit-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 980px) {
    .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    .benefit-card--measure { grid-column: 1; grid-row: 1 / 3; }
    .benefit-card--price { grid-column: 2; grid-row: 1; }
    .benefit-card--delivery { grid-column: 2; grid-row: 2; }
    .benefit-card--fabric { grid-column: 1 / -1; grid-row: 3; min-height: 220px; padding-right: 42%; }
    .benefit-card--fabric .benefit-swatches { position: absolute; right: 7%; top: 50%; margin: 0; transform: translateY(-50%); }
    .benefit-card--fabric h3 br { display: none; }
}
@media (max-width: 600px) {
    .benefit-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .benefit-grid .benefit-card { grid-column: auto; grid-row: auto; min-height: 0; padding: 24px; }
    .benefit-grid .benefit-card--measure { min-height: 290px; }
    .benefit-grid .benefit-card--fabric { min-height: 280px; }
    .benefit-card--fabric .benefit-swatches { position: relative; right: auto; top: auto; transform: none; height: 95px; margin: 0 auto 24px; }
    .benefit-card--fabric .benefit-swatches span { height: 90px; }
}
/* A small, varied edit of fabric designs, with colourway links. */
.home-discover { background: var(--surface); }
.home-discover__inner {
    box-sizing: border-box;
    max-width: 1360px;
    margin-inline: auto;
    padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 64px);
}
.home-discover .home-section__head { align-items: center; margin-bottom: 28px; }
.home-discover .home-section__head h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.home-discover__browse { display: inline-flex; gap: 14px; font-size: 10px; letter-spacing: 0.08em; white-space: nowrap; }
.home-discover__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-fabric { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.home-fabric__image { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.home-fabric__image img,
.home-fabric__image .fabric-card__swatch { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-fabric__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.home-fabric__brand { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 0.09em; line-height: 1.4; margin: 0 0 7px; text-transform: uppercase; }
.home-fabric h3 { color: var(--ink); font-size: 22px; font-weight: 500; line-height: 1.2; margin: 0 0 6px; }
.home-fabric h3 a { color: inherit; }
.home-fabric__colour-count { margin: 0; font-size: 12px; color: var(--muted); }
.home-fabric__swatches { display: flex; align-items: center; gap: 0; flex-wrap: wrap; margin: 8px 0 12px -8px; }
.home-fabric__swatch,
.home-fabric__more { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; flex: none; }
.home-fabric__swatch img,
.home-fabric__swatch > span { display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(16, 32, 47, 0.16); padding: 2px; background: #fff; }
.home-fabric__swatch:hover img { border-color: var(--clay); }
.home-fabric__more { font-size: 12px; color: var(--ink-soft); }
.home-fabric__explore { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 600; }
.home-fabric a:focus-visible { outline: 2px solid var(--clay); outline-offset: -3px; border-radius: 3px; }
@media (prefers-reduced-motion: no-preference) {
    .home-fabric__image img { transition: transform 350ms ease; }
    .home-fabric__image:hover img,
    .home-fabric__image:focus-visible img { transform: scale(1.04); }
}
@media (max-width: 980px) {
    .home-discover__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .home-discover__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .home-discover__browse { min-height: 44px; }
}
/* Colour selection stays within the homepage preview. */
button.home-fabric__swatch,
button.home-fabric__more { appearance: none; border: 0; border-radius: 0; background: transparent; cursor: pointer; padding: 0; font-family: inherit; }
.home-fabric__swatch[hidden] { display: none; }
.home-fabric__swatch[aria-pressed="true"] img,
.home-fabric__swatch[aria-pressed="true"] > span { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.home-fabric__swatch:focus-visible,
.home-fabric__more:focus-visible { outline: 2px solid var(--clay); outline-offset: -2px; border-radius: 5px; }
/* Quiet, repeating motion for the bento illustrations; the copy stays still. */
@media (prefers-reduced-motion: no-preference) {
    .benefit-measure { animation: benefit-ruler-slide 7s ease-in-out infinite; animation-play-state: paused; }
    .benefit-clock__hand { transform-origin: 16px 17px; animation: benefit-clock-tick 12s steps(12, end) infinite; animation-play-state: paused; }
    .benefit-card--delivery .benefit-card__icon svg { overflow: visible; animation: benefit-van-drive 6s ease-in-out infinite; animation-play-state: paused; }
    .benefit-swatches span { animation: benefit-fabric-fan 7s ease-in-out infinite; animation-play-state: paused; }
    .benefit-swatches span:nth-child(1) { --fan-rest: -32deg; --fan-open: -46deg; }
    .benefit-swatches span:nth-child(2) { --fan-rest: -11deg; --fan-open: -17deg; }
    .benefit-swatches span:nth-child(3) { --fan-rest: 11deg; --fan-open: 17deg; }
    .benefit-swatches span:nth-child(4) { --fan-rest: 32deg; --fan-open: 46deg; }
    .benefit-grid.is-animating .benefit-measure,
    .benefit-grid.is-animating .benefit-clock__hand,
    .benefit-grid.is-animating .benefit-card--delivery .benefit-card__icon svg,
    .benefit-grid.is-animating .benefit-swatches span { animation-play-state: running; }
    @keyframes benefit-ruler-slide {
        0%, 20%, 100% { transform: rotate(-13deg) translateX(32%); }
        50%, 70% { transform: rotate(-13deg) translateX(24%); }
    }
    @keyframes benefit-clock-tick { to { transform: rotate(360deg); } }
    @keyframes benefit-van-drive {
        0%, 20%, 100% { transform: translate(0, 0); }
        40% { transform: translate(9px, -1px); }
        55% { transform: translate(12px, 0); }
        70% { transform: translate(7px, -1px); }
    }
    @keyframes benefit-fabric-fan {
        0%, 15%, 100% { transform: rotate(var(--fan-rest)); }
        45%, 65% { transform: rotate(var(--fan-open)); }
    }
}
/* Fabric catalogue: compact introduction, visible filters and clear design cards. */
.fabric-archive { box-sizing: border-box; max-width: 1360px; margin-inline: auto; padding: 36px clamp(20px, 4vw, 64px) 72px; }
.fabric-archive__intro { max-width: 680px; }
.fabric-archive__intro .eyebrow { font-size: 10px; margin-bottom: 12px; }
.fabric-archive__intro h1 { font-size: clamp(32px, 3.5vw, 46px); margin-bottom: 14px; line-height: 1.1; }
.fabric-archive__intro > p:last-child { font-size: 15px; line-height: 1.6; margin-bottom: 0; }
.fabric-archive .fabric-toolbar { gap: 18px; margin: 28px 0 0; padding: 16px 0; border-bottom: 0; }
.fabric-archive .fabric-toolbar strong { font-size: 11px; }
.fabric-archive__reset { font-size: 12px; margin-left: auto; }
.fabric-archive__reset[hidden] { display: none; }
.fabric-archive__controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(170px, 1.1fr); gap: 12px; margin-bottom: 24px; }
.fabric-archive__controls label { display: block; color: var(--ink-soft); font-size: 11px; font-weight: 600; min-width: 0; }
.fabric-archive__controls select { width: 100%; min-width: 0; min-height: 44px; margin-top: 7px; padding: 10px 30px 10px 12px; background-color: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 12px; cursor: pointer; }
.fabric-archive__controls select:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.fabric-archive .fabric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fabric-archive .fabric-card { background: #fff; border-radius: 12px; }
.fabric-archive .fabric-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.fabric-archive .fabric-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.fabric-archive .fabric-card__media > img,
.fabric-archive .fabric-card__media > .fabric-card__swatch { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.fabric-archive .fabric-card__body { padding: 18px; }
.fabric-archive .fabric-card p.fabric-card__brand { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 7px; }
.fabric-archive .fabric-card h2 { font-size: 22px; margin: 0 0 7px; line-height: 1.2; }
.fabric-archive .fabric-card p.fabric-card__colour { font-size: 12px; line-height: 1.5; margin-bottom: 12px; }
.fabric-archive .fabric-card p.price { margin: 0; color: var(--ink); font-size: 16px; font-weight: 600; }
.fabric-archive .fabric-card .price > span:last-child { color: var(--muted); font-size: 11px; font-weight: 400; }
.fabric-archive .fabric-swatches { gap: 0; margin: 10px 0 14px -7px; }
.fabric-archive .fabric-swatch { appearance: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 7px; border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; }
.fabric-archive .fabric-swatch[hidden] { display: none; }
.fabric-archive .fabric-swatch img,
.fabric-archive .fabric-swatch__dot { width: 28px; height: 28px; border-radius: 50%; padding: 2px; border: 1px solid var(--line); background: #fff; }
.fabric-archive .fabric-swatch.is-active img,
.fabric-archive .fabric-swatch.is-active .fabric-swatch__dot { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.fabric-archive button.fabric-swatch-more { appearance: none; padding: 0; min-width: 40px; min-height: 44px; border: 0; background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.fabric-card__explore { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; font-size: 12px; font-weight: 600; color: var(--ink); }
.fabric-archive .fabric-card a:focus-visible,
.fabric-archive .fabric-card button:focus-visible { outline: 2px solid var(--clay); outline-offset: -2px; }
@media (min-width: 761px) { .fabric-archive .fabric-filter-toggle { display: none; } }
@media (prefers-reduced-motion: no-preference) {
    .fabric-archive .fabric-card__media img { transition: transform 350ms ease; }
    .fabric-archive .fabric-card__media:hover img { transform: scale(1.04); }
}
@media (max-width: 1100px) and (min-width: 981px) { .fabric-archive .fabric-grid { gap: 14px; } .fabric-archive .fabric-card__body { padding: 14px; } }
@media (max-width: 980px) { .fabric-archive .fabric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .fabric-archive { padding-top: 28px; } .fabric-archive__controls { display: none; } .fabric-archive .fabric-toolbar { border-bottom: 1px solid var(--line); margin-bottom: 22px; } }
@media (max-width: 480px) { .fabric-archive .fabric-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.fabric-single__make-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 12px; }

/* Keep the configurator introduction compact and the fabric preview in view. */
.ccm-product-hero__title { margin-bottom: 8px; }
.ccm-product-hero__fabric-meta { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 12px; }
.ccm-product-hero__price-row { margin-bottom: 20px; }
@media (min-width: 981px) {
    .ccm-has-fabric.ccm-mtm-product .woocommerce-product-gallery {
        position: sticky;
        top: var(--ccm-sticky-content-offset, 160px);
        align-self: start;
        width: 100%;
        max-width: 560px;
        margin-inline: auto;
    }
    .ccm-has-fabric.ccm-mtm-product .ccm-live-product-preview__img {
        aspect-ratio: 1 / 1;
        height: auto;
        max-height: max(240px, calc(100dvh - var(--ccm-sticky-content-offset, 160px) - 60px));
        object-fit: cover;
    }
}
/* The two tieback styles, presented as a small dedicated collection. */
.tiebacks-collection { box-sizing: border-box; max-width: 1120px; margin-inline: auto; padding: 40px clamp(20px, 4vw, 64px) 72px; }
.tiebacks-collection__intro { margin-bottom: 30px; }
.tiebacks-collection__intro .eyebrow { margin-bottom: 12px; font-size: 10px; }
.tiebacks-collection__intro h1 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -0.025em; }
.tiebacks-collection__intro > p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.tiebacks-collection__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tieback-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tieback-card__image { display: block; padding: 22px; aspect-ratio: 4 / 3; box-sizing: border-box; background: #fff; }
.tieback-card__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tieback-card__body { padding: 22px; }
.tieback-card h2 { margin: 0 0 10px; font-size: 24px; font-weight: 500; }
.tieback-card h2 a { color: var(--ink); }
.tieback-card__price { margin: 0 0 20px; color: var(--ink); font-size: 18px; font-weight: 600; }
.tieback-card__price > span:last-child { color: var(--muted); font-size: 12px; font-weight: 400; }
.tieback-card__link { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--ink); font-size: 12px; font-weight: 600; }
.tieback-card a:focus-visible { outline: 2px solid var(--clay); outline-offset: -3px; }
@media (max-width: 600px) { .tiebacks-collection__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
/* Accessory collections follow the same width and card scale as fabrics. */
.accessory-collection .fabric-toolbar { border-bottom: 1px solid var(--line); margin-bottom: 24px; padding: 16px 0; }
.accessory-collection__sort { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.accessory-collection__sort select { min-height: 44px; max-width: 190px; padding: 10px 30px 10px 12px; background-color: #fff; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font: inherit; font-size: 12px; }
.accessory-collection .fabric-card__media > img { box-sizing: border-box; object-fit: contain; padding: 14px; background: #fff; }
.accessory-collection .fabric-card p.price { margin-bottom: 20px; }
.accessory-collection__sort select:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
@media (max-width: 480px) { .accessory-collection__sort { gap: 6px; } .accessory-collection__sort select { max-width: 170px; } }
/* Basket: readable specification rows and an order summary beside the items. */
.ccm-basket { box-sizing: border-box; width: 100%; max-width: 1360px; margin-inline: auto; padding: 44px clamp(20px, 4vw, 64px) 72px; }
.ccm-basket__heading { margin-bottom: 36px; }
.ccm-basket__heading h1 { margin: 0 0 12px; color: var(--ink); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; font-weight: 500; letter-spacing: -0.025em; }
.ccm-basket__heading p { margin: 0; color: var(--muted); font-size: 14px; }
.ccm-basket .wp-block-woocommerce-cart { max-width: none; margin: 0; }
.ccm-basket .wc-block-cart { padding-top: 0; font-size: 14px; }
.ccm-basket .wc-block-cart .wc-block-components-main,
.ccm-basket .wc-block-cart .wc-block-components-sidebar { width: 100%; min-width: 0; padding: 0; margin: 0; }
.ccm-basket .wc-block-cart-items { border-collapse: collapse; }
.ccm-basket .wc-block-cart-items th { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 16px; }
.ccm-basket .wc-block-cart-items td { border-color: var(--line); padding-top: 24px; padding-bottom: 26px; }
.ccm-basket .wc-block-cart-items .wc-block-cart-item__image { width: 132px; padding-right: 22px; }
.ccm-basket .wc-block-cart-item__image img { width: 110px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.ccm-basket .wc-block-cart-item__product { min-width: 0; padding-right: 18px; }
.ccm-basket .wc-block-components-product-name { color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.ccm-basket .wc-block-cart-item__prices { margin: 8px 0 14px; font-size: 14px; color: var(--ink); }
.ccm-basket .wc-block-components-product-metadata { margin-top: 12px; font-size: 13px; }
.ccm-basket .wc-block-components-product-metadata__description { display: none; }
.ccm-basket .wc-block-components-product-details { font-size: 13px !important; line-height: 1.5 !important; }
.ccm-basket .wc-block-components-product-details > span { display: grid; grid-template-columns: minmax(105px, 125px) minmax(0, 1fr); gap: 8px; margin-bottom: 5px; }
.ccm-basket .wc-block-components-product-details > span > span[aria-hidden="true"] { display: none; }
.ccm-basket .wc-block-components-product-details__name { color: var(--muted); font-weight: 400; }
.ccm-basket .wc-block-components-product-details__value { color: var(--ink); overflow-wrap: anywhere; }
.ccm-basket .wc-block-cart-item__total-price-and-sale-badge-wrapper { font-size: 16px; font-weight: 600; color: var(--ink); }
.ccm-basket .wc-block-cart-item__remove-link { width: auto; min-height: 44px; padding: 10px 0; margin-top: 10px; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.ccm-basket .wc-block-cart-item__remove-link svg { display: none; }
.ccm-basket .wc-block-cart-item__remove-link::after { content: 'Remove'; }
.ccm-basket .wc-block-cart .wc-block-components-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.ccm-basket .wc-block-cart__totals-title { padding: 0 0 20px; color: var(--ink); font-size: 18px; font-weight: 600; text-transform: none; }
.ccm-basket .wc-block-components-sidebar .wc-block-components-totals-item { padding: 16px 0; font-size: 14px; }
.ccm-basket .wc-block-components-totals-footer-item { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 12px; font-size: 20px; font-weight: 600; }
.ccm-basket .wc-block-cart__submit-container { padding: 0; }
.ccm-basket .wc-block-cart__submit-button,
.ccm-basket .wc-block-cart__submit-button:visited { width: 100%; min-height: 52px; padding: 16px 20px; background: var(--ink); border: 1px solid var(--ink); border-radius: 8px; color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none; }
.ccm-basket .wc-block-cart__submit-button:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff !important; }
.ccm-basket .wc-block-cart__submit-button .wc-block-components-button__text { color: #fff; }
.ccm-basket__continue { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 24px; color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.ccm-basket a:focus-visible,
.ccm-basket button:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
@media (min-width: 981px) {
    .ccm-basket .wc-block-cart.wc-block-components-sidebar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 44px; }
    .ccm-basket .wc-block-cart .wc-block-components-sidebar { position: sticky; top: var(--ccm-sticky-content-offset, 160px); }
}
@media (max-width: 980px) {
    .ccm-basket .wc-block-cart.wc-block-components-sidebar-layout { display: flex; flex-direction: column; gap: 28px; }
    .ccm-basket .wc-block-cart .wc-block-components-sidebar { position: static; }
}
@media (max-width: 600px) {
    .ccm-basket { padding-top: 28px; }
    .ccm-basket__heading { margin-bottom: 24px; }
    .ccm-basket .wc-block-cart-items .wc-block-cart-item__image { width: 80px; padding-right: 14px; }
    .ccm-basket .wc-block-cart-item__image img { width: 66px; }
    .ccm-basket .wc-block-components-product-name { font-size: 15px; }
    .ccm-basket .wc-block-components-product-details > span { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 8px; }
    .ccm-basket .wc-block-components-product-details__name { font-size: 11px; }
    .ccm-basket .wc-block-cart .wc-block-components-sidebar { padding: 22px; }
}
/* Matching payment reassurance immediately below the basket checkout action. */
.ccm-basket .ccm-basket-payments { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 18px; }
.ccm-basket-payments .payment-icons { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.ccm-basket-payments .payment-icons > span { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 26px; min-width: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.ccm-basket-payments .payment-icons svg { flex: none; width: auto; height: auto; max-height: 22px; max-width: 100%; }
/* Checkout shares the basket's proportions and readable order details. */
.ccm-checkout { width: 100%; max-width: 1360px; margin-inline: auto; padding: 36px clamp(20px, 4vw, 64px) 72px; }
.ccm-checkout__heading { margin-bottom: 26px; }
.ccm-checkout__back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.ccm-checkout__heading h1 { margin: 0 0 12px; color: var(--ink); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; font-weight: 500; letter-spacing: -.025em; }
.ccm-checkout__heading p { margin: 0; color: var(--muted); font-size: 14px; }
.ccm-checkout__demo { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; margin-bottom: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13px; }
.ccm-checkout__demo strong { color: var(--ink); font-weight: 600; }
.ccm-checkout__demo p { margin: 4px 0 0; color: var(--muted); }
.ccm-checkout__demo a { display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex-shrink: 0; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ccm-checkout .wp-block-woocommerce-checkout { max-width: none; margin: 0; padding-top: 0; }
.ccm-checkout .wc-block-checkout__main, .ccm-checkout .wc-block-checkout__sidebar { width: 100%; min-width: 0; padding: 0; margin: 0; }
.ccm-checkout .wc-block-components-checkout-step { margin-bottom: 28px; }
.ccm-checkout .wc-block-components-checkout-step__heading { margin-bottom: 16px; }
.ccm-checkout .wc-block-components-checkout-step__title { font-size: 20px; font-weight: 500; color: var(--ink); }
.ccm-checkout .wc-block-components-checkout-step__content { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.ccm-checkout .wc-block-components-text-input input, .ccm-checkout .wc-block-components-combobox .components-combobox-control__input { border-color: var(--line); border-radius: 7px; color: var(--ink); }
.ccm-checkout .wc-block-components-text-input input:focus { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.ccm-checkout .wc-block-components-address-card, .ccm-checkout .wc-block-components-radio-control-accordion-option { border-radius: 8px; }
.ccm-checkout .wc-block-components-order-summary { padding-inline: 22px; }
.ccm-checkout .wc-block-components-order-summary-item { padding-block: 20px; }
.ccm-checkout .wc-block-components-order-summary-item__image img { border-radius: 6px; }
.ccm-checkout .wc-block-components-product-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.ccm-checkout .wc-block-components-product-details { font-size: 12px !important; line-height: 1.5 !important; }
.ccm-checkout .wc-block-components-product-details > span { display: block; margin-bottom: 5px; }
.ccm-checkout .wc-block-components-product-details > span > span[aria-hidden="true"] { display: none; }
.ccm-checkout .wc-block-components-product-details__name { color: var(--muted); font-weight: 400; margin-right: 4px; }
.ccm-checkout .wc-block-components-product-details__value { color: var(--ink); overflow-wrap: anywhere; }
.ccm-checkout .wc-block-components-order-summary__button-text { color: var(--ink); font-size: 18px; font-weight: 600; }
.ccm-checkout .wc-block-components-order-summary__content { margin-top: 8px; }
.ccm-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper { border-color: var(--line); }
.ccm-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item { padding: 18px 22px; font-size: 14px; }
.ccm-checkout .wc-block-components-totals-footer-item { color: var(--ink); font-size: 20px !important; font-weight: 600; }
.ccm-checkout .wc-block-components-checkout-place-order-button { min-height: 52px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.ccm-checkout .wc-block-components-checkout-place-order-button:hover { background: var(--clay-deep); }
.ccm-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text { color: #fff; }
.ccm-checkout a:focus-visible, .ccm-checkout button:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
@media (min-width: 981px) {
    .ccm-checkout .wc-block-checkout.wc-block-components-sidebar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 48px; }
    .ccm-checkout .wc-block-checkout__sidebar { position: sticky; top: var(--ccm-sticky-content-offset, 160px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
    .ccm-checkout .wc-block-components-order-summary.is-large { border: 0; }
}
@media (max-width: 980px) {
    .ccm-checkout .wc-block-checkout.wc-block-components-sidebar-layout { display: flex; flex-direction: column; gap: 28px; }
    .ccm-checkout .wc-block-checkout__sidebar { position: static; }
}
@media (max-width: 600px) {
    .ccm-checkout { padding-top: 20px; }
    .ccm-checkout__demo { align-items: start; flex-direction: column; gap: 6px; padding: 16px 18px; margin-bottom: 28px; }
}
/* A clear booking action in the checkout demo callout. */
.ccm-checkout__demo { padding: 22px 24px; gap: 24px; }
.ccm-checkout__demo strong { display: block; font-size: 16px; line-height: 1.4; }
.ccm-checkout__demo p { margin-top: 6px; line-height: 1.6; }
.ccm-checkout__demo a { min-height: 46px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; transition: background 160ms ease, border-color 160ms ease; }
.ccm-checkout__demo a:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff; }
@media (max-width: 600px) {
    .ccm-checkout__demo { padding: 20px; gap: 16px; }
    .ccm-checkout__demo a { width: 100%; }
}
/* Order confirmation: one heading, concise receipt, readable saved details. */
.ccm-confirmation { padding-top: 44px; }
.ccm-confirmation .ccm-checkout__heading { margin-bottom: 24px; }
.ccm-confirmation .woocommerce-order { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.ccm-confirmation .woocommerce-order > .woocommerce-thankyou-order-received { display: flex; align-items: center; gap: 14px; max-width: none; margin: 0; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-family: var(--font-sans); font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.ccm-confirmation .woocommerce-thankyou-order-received::before { content: '\2713'; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font-size: 16px; }
.ccm-confirmation .woocommerce-order-overview { margin: 0; border-radius: 10px; }
.ccm-confirmation .woocommerce-order-overview li { float: none; border: 0; padding: 20px 22px; font-size: 10px; letter-spacing: .08em; }
.ccm-confirmation .woocommerce-order-overview li strong { font-family: var(--font-sans); font-size: 17px; margin-top: 8px; }
.ccm-confirmation .woocommerce-order-details { min-width: 0; margin: 0; }
.ccm-confirmation .ccm-account-workshop { margin: 0 0 26px; padding: 18px 20px; background: var(--surface); border-radius: 10px; font-size: 13px; }
.ccm-confirmation .ccm-account-workshop p { margin: 6px 0 0; line-height: 1.6; }
.ccm-confirmation .woocommerce-order-details__title, .ccm-confirmation .woocommerce-column__title, .ccm-confirmation .woocommerce-customer-details h2 { margin: 0 0 20px; color: var(--ink); font-family: var(--font-sans); font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.ccm-confirmation .woocommerce-table--order-details { border: 0; }
.ccm-confirmation .woocommerce-table--order-details th, .ccm-confirmation .woocommerce-table--order-details td { padding: 20px 0; }
.ccm-confirmation .woocommerce-table--order-details thead th { padding-top: 0; font-size: 10px; letter-spacing: .08em; }
.ccm-confirmation .woocommerce-table--order-details td.product-total { white-space: nowrap; font-size: 15px; font-weight: 600; padding-left: 18px; }
.ccm-confirmation__image { float: left; width: 74px; height: 74px; object-fit: cover; border-radius: 7px; margin: 0 16px 12px 0; }
.ccm-confirmation__item-name, .ccm-confirmation__item-name a { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.4; }
.ccm-confirmation .product-quantity { color: var(--muted); font-size: 13px; font-weight: 400; }
.ccm-confirmation .wc-item-meta { clear: both; margin-top: 16px; gap: 6px; }
.ccm-confirmation .wc-item-meta li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; font-size: 13px; line-height: 1.5; }
.ccm-confirmation .wc-item-meta li strong { width: auto; font-weight: 400; }
.ccm-confirmation .wc-item-meta li p { overflow-wrap: anywhere; }
.ccm-confirmation .woocommerce-table--order-details tfoot th, .ccm-confirmation .woocommerce-table--order-details tfoot td { padding: 14px 0; font-family: var(--font-sans); font-size: 14px; }
.ccm-confirmation .woocommerce-table--order-details tfoot tr:last-child th, .ccm-confirmation .woocommerce-table--order-details tfoot tr:last-child td { font-family: var(--font-sans); font-size: 20px; }
.ccm-confirmation .woocommerce-customer-details { min-width: 0; margin: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; align-self: start; }
.ccm-confirmation .woocommerce-columns--addresses { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0; }
.ccm-confirmation .woocommerce-columns--addresses .woocommerce-column { float: none; width: 100%; }
.ccm-confirmation .woocommerce-customer-details address { padding: 0; border: 0; border-radius: 0; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.ccm-confirmation .woocommerce-customer-details p { margin-bottom: 0; }
.ccm-confirmation__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 8px; }
.ccm-confirmation__actions .button { min-height: 46px; padding: 14px 24px; border-radius: 8px; font-size: 12px; }
.ccm-confirmation__account { color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 981px) {
    .ccm-confirmation .woocommerce-order { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px 40px; align-items: start; }
    .ccm-confirmation .woocommerce-order > :not(.woocommerce-order-details):not(.woocommerce-customer-details) { grid-column: 1 / -1; }
    .ccm-confirmation .woocommerce-order-details { grid-column: 1; }
    .ccm-confirmation .woocommerce-customer-details { grid-column: 2; }
}
@media (max-width: 600px) {
    .ccm-confirmation { padding-top: 28px; }
    .ccm-confirmation .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ccm-confirmation .woocommerce-order-overview li { padding: 16px; }
    .ccm-confirmation .woocommerce-order-overview li strong { font-size: 15px; }
    .ccm-confirmation .woocommerce-order > .woocommerce-thankyou-order-received { padding: 16px; font-size: 14px; }
    .ccm-confirmation .wc-item-meta li { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ccm-confirmation .woocommerce-customer-details { padding: 20px; }
}
/* Keep the receipt introduction compact, including WooCommerce's first notice. */
.ccm-confirmation { padding-top: 28px; }
.ccm-confirmation .ccm-checkout__heading { margin-bottom: 18px; }
.ccm-confirmation .ccm-checkout__heading h1 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 0; }
.ccm-confirmation .woocommerce-order { row-gap: 22px; }
.ccm-confirmation .woocommerce-order > .woocommerce-thankyou-order-received { padding: 14px 18px; font-size: 16px; line-height: 1.5; margin: 0; max-width: none; }
.ccm-confirmation .woocommerce-thankyou-order-received::before { width: 26px; height: 26px; font-size: 14px; }
/* First photographic fabric renderer: Roman Blind style cards + configurator. */
.ccm-roman-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.heading-choice__preview--photo > .ccm-roman-photo { max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.heading-choice__preview--photo > img[hidden], .ccm-live-product-preview > img[hidden] { display: none !important; }
.ccm-photo-preview-note { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
/* Goblet gallery: a room scene, photographic heading detail and fabric swatch. */
.ccm-room-gallery__view { aspect-ratio: 1; overflow: hidden; background: #fff; }
.ccm-room-gallery__view[hidden], .ccm-room-gallery__view > img[hidden] { display: none !important; }
.ccm-room-gallery__view > img, .ccm-room-gallery__view > canvas { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; }
.ccm-room-gallery__controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 0 0; }
.ccm-room-gallery__controls button { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; min-height: 44px; width: 100%; padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-family: var(--font-sans); font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none; cursor: pointer; }
.ccm-room-gallery__controls button[aria-pressed="true"] { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); color: var(--ink); background: var(--surface); }
.ccm-room-gallery__controls button:hover { border-color: var(--clay); }
.ccm-room-gallery__controls button:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.ccm-room-gallery__controls canvas { display: block; width: 64px; max-width: 100%; height: auto; aspect-ratio: 1; border-radius: 4px; }
@media (min-width: 981px) {
    .has-room-gallery .ccm-room-gallery__stage { width: min(100%, max(240px, calc(100dvh - var(--ccm-sticky-content-offset, 160px) - 170px))); aspect-ratio: 1; margin-inline: auto; }
}
/* Give the room visual the leading role in the configurator. */
.has-room-gallery .ccm-room-gallery__stage { width: 100%; max-width: none; margin: 0; }
.has-room-gallery .ccm-room-gallery__controls { gap: 8px; padding-top: 12px; }
.has-room-gallery .ccm-room-gallery__controls button { flex-direction: row; justify-content: center; gap: 8px; padding: 7px; }
.has-room-gallery .ccm-room-gallery__controls canvas { width: 40px; }
@media (min-width: 981px) {
    .ccm-has-fabric.ccm-mtm-product .woocommerce div.product:has(.has-room-gallery) { grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr); gap: clamp(28px, 3vw, 48px); }
    .ccm-has-fabric.ccm-mtm-product .woocommerce-product-gallery:has(.has-room-gallery) { max-width: none; position: static; }
}
@media (max-width: 480px) {
    .has-room-gallery .ccm-room-gallery__controls button { flex-direction: column; gap: 5px; font-size: 10px; }
}
/* Fabric detail: finished-product choices lead, fabric-only purchase follows. */
.fabric-detail { max-width: 1360px; width: 100%; margin-inline: auto; padding: 22px clamp(20px, 4vw, 64px) 64px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: start; }
.fabric-detail__breadcrumb { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); }
.fabric-detail__breadcrumb a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); }
.fabric-detail__visual { min-width: 0; margin: 0; }
.fabric-detail__visual > img, .fabric-detail__visual > .fabric-card__swatch { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.fabric-detail__visual figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.fabric-detail__visual figcaption > span { max-width: 250px; text-align: right; }
.fabric-detail .fabric-single__content { min-width: 0; }
.fabric-detail__header .eyebrow { margin: 0 0 10px; font-size: 10px; }
.fabric-detail h1 { margin-bottom: 12px; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.1; }
.fabric-detail .fabric-single__sub { margin-bottom: 12px; font-size: 14px; }
.fabric-detail .fabric-single__price { margin: 0 0 22px; font-family: var(--font-sans); font-size: 22px; line-height: 1.5; }
.fabric-detail .fabric-single__price > span:first-child { color: var(--ink); font-weight: 600; }
.fabric-detail .fabric-single__price > span:last-child { font-size: 12px; font-weight: 400; }
.fabric-detail .fabric-single__price .fabric-detail__price-note { font-size: 12px; }
.fabric-detail .fabric-single__swatches { margin-bottom: 24px; }
.fabric-detail .fabric-single__label { letter-spacing: 0; font-size: 12px; text-transform: none; color: var(--ink); }
.fabric-detail .fabric-single__label > span { color: var(--muted); font-weight: 400; }
.fabric-detail .fabric-swatches { gap: 10px; }
.fabric-detail .fabric-swatch { width: 40px; height: 40px; }
.fabric-detail__make { border-top: 1px solid var(--line); padding-top: 22px; }
.fabric-detail__make h2, .fabric-detail__metre h2 { margin: 0 0 7px; font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.fabric-detail__make > p { margin: 0 0 18px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.fabric-detail .fabric-single__make-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.fabric-detail .fabric-make-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; text-decoration: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.fabric-detail .fabric-make-card[hidden], .fabric-detail [data-make-note][hidden], .fabric-detail [data-no-make][hidden] { display: none; }
.fabric-make-card:hover { border-color: var(--clay); box-shadow: 0 6px 20px rgba(15, 35, 50, .08); }
.fabric-make-card__preview { display: block; height: 170px; background: var(--surface); overflow: hidden; }
.fabric-make-card__preview > img, .fabric-make-card__preview > canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.fabric-make-card__preview > img[hidden] { display: none !important; }
.fabric-make-card__body { display: flex; flex: 1; flex-direction: column; gap: 7px; padding: 15px; }
.fabric-make-card__body > strong { font-size: 18px; font-weight: 500; }
.fabric-make-card__body > span { font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--muted); }
.fabric-make-card__cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; min-height: 48px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; }
.fabric-make-card:hover .fabric-make-card__cta { background: var(--clay-deep); }
.fabric-detail__make > .fabric-detail__preview-note { margin: 12px 0 20px; font-size: 11px; }
.fabric-detail__metre { margin-top: 24px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.fabric-detail__metre h2 { font-size: 17px; }
.fabric-detail__metre > div > p { margin: 0 0 16px; font-size: 12px; color: var(--muted); }
.fabric-detail .fabric-buy { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 14px; margin: 0; }
.fabric-detail .fabric-buy__qty { font-size: 12px; font-weight: 500; }
.fabric-detail .fabric-buy__qty input { width: 76px; min-height: 46px; padding: 10px; border-radius: 7px; background: #fff; color: var(--ink); }
.fabric-detail .fabric-buy > button { min-height: 46px; padding: 12px 16px; font-size: 10px; border-radius: 7px; }
.fabric-detail .fabric-buy__total { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.fabric-buy__total strong { color: var(--ink); font-weight: 600; }
.fabric-detail__specs { margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fabric-detail__specs summary { padding: 17px 0; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink); }
.fabric-detail .fabric-detail__specs dl { border: 0; margin: 0; padding: 0 0 18px; gap: 10px; }
.fabric-detail .fabric-detail__specs dt, .fabric-detail .fabric-detail__specs dd { font-size: 12px; letter-spacing: 0; }
.fabric-detail a:focus-visible, .fabric-detail button:focus-visible, .fabric-detail summary:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
@media (min-width: 981px) { .fabric-detail__visual { position: sticky; top: var(--ccm-sticky-content-offset, 160px); } }
@media (max-width: 900px) { .fabric-detail { grid-template-columns: minmax(0, 1fr); gap: 20px; } .fabric-detail__visual { max-width: 600px; width: 100%; margin-inline: auto; } }
@media (max-width: 480px) { .fabric-detail { padding-top: 12px; } .fabric-detail__visual > img { aspect-ratio: 4 / 3; } .fabric-make-card__preview { height: 140px; } .fabric-make-card__body { padding: 12px; } .fabric-make-card__body > strong { font-size: 16px; } .fabric-make-card__cta { padding: 12px; font-size: 10px; } .fabric-detail__metre { padding: 16px; } .fabric-detail .fabric-buy { grid-template-columns: minmax(0, 1fr); } .fabric-detail__visual figcaption { font-size: 10px; } }
/* Fabric-first purchase order on fabric detail pages. */
.fabric-detail__metre { margin-top: 0; margin-bottom: 24px; }

/* Reserve the photo area and reveal only the completed fabric rendering. */
.ccm-photo-enabled [data-ccm-roman-photo][data-fabric-image]:not([data-fabric-image=""]):not([data-photo-state="ready"]):not([data-photo-state="error"]),
.ccm-photo-enabled .ccm-room-gallery__view[data-photo-state="loading"] { position: relative; background: var(--surface); }
.ccm-photo-enabled [data-ccm-roman-photo][data-fabric-image]:not([data-fabric-image=""]):not([data-photo-state="ready"]):not([data-photo-state="error"]) > img,
.ccm-photo-enabled [data-ccm-roman-photo][data-photo-state="loading"] > canvas,
.ccm-photo-enabled .ccm-room-gallery__view[data-photo-state="loading"] > img,
.ccm-photo-enabled .ccm-room-gallery__view[data-photo-state="loading"] > canvas { visibility: hidden; }
.ccm-photo-enabled [data-ccm-roman-photo][data-fabric-image]:not([data-fabric-image=""]):not([data-photo-state="ready"]):not([data-photo-state="error"])::after,
.ccm-photo-enabled .ccm-room-gallery__view[data-photo-state="loading"]::after { content: 'Preparing your fabric preview…'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; color: var(--muted); font-family: var(--font-sans); font-size: 11px; font-weight: 400; text-align: center; }
/* Keep confirmation addresses aligned and any legitimate extra details tidy. */
.ccm-confirmation .woocommerce-customer-details .woocommerce-column__title { margin: 0 0 14px; line-height: 1.4; }
.ccm-confirmation .woocommerce-columns--addresses { row-gap: 26px; }
.ccm-confirmation .woocommerce-customer-details .wc-block-order-confirmation-additional-fields-wrapper { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.ccm-confirmation .wc-block-order-confirmation-additional-fields-wrapper dl { display: grid; gap: 10px; margin: 0; }
.ccm-confirmation .wc-block-order-confirmation-additional-fields-wrapper dt { margin: 0; color: var(--muted); font-size: 12px; }
.ccm-confirmation .wc-block-order-confirmation-additional-fields-wrapper dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
/* Masked payment detail, aligned with the confirmation's address sections. */
.ccm-confirmation .ccm-payment-summary { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.ccm-confirmation .ccm-payment-summary h2 { margin: 0 0 14px; font-size: 18px; }
.ccm-confirmation .ccm-payment-summary dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin: 0; align-items: baseline; font-size: 13px; }
.ccm-confirmation .ccm-payment-summary dt { color: var(--muted); }
.ccm-confirmation .ccm-payment-summary dd { margin: 0; color: var(--ink); text-align: right; white-space: nowrap; }
/* A quieter receipt: open layout, typographic hierarchy and minimal rules. */
.ccm-confirmation { padding-top: 36px; padding-bottom: 80px; }
.ccm-confirmation .ccm-checkout__heading { margin-bottom: 16px; }
.ccm-confirmation .woocommerce-order { row-gap: 32px; }
.ccm-confirmation .woocommerce-order > .woocommerce-thankyou-order-received { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 14px; font-weight: 400; color: var(--muted); }
.ccm-confirmation .woocommerce-thankyou-order-received::before { width: 24px; height: 24px; background: var(--surface-2); color: var(--ink); }
.ccm-confirmation .woocommerce-order-overview { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; gap: 24px; padding: 2px 0 28px; }
.ccm-confirmation .woocommerce-order-overview li { background: transparent; padding: 0; border: 0; font-size: 10px; font-weight: 500; letter-spacing: .07em; }
.ccm-confirmation .woocommerce-order-overview li strong { margin-top: 9px; font-size: 16px; font-weight: 500; }
.ccm-confirmation .ccm-account-workshop { margin: 0 0 30px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ccm-confirmation .ccm-account-workshop strong { font-size: 10px; letter-spacing: .07em; font-weight: 600; }
.ccm-confirmation .ccm-account-workshop p { color: var(--muted); font-size: 13px; }
.ccm-confirmation .woocommerce-order-details__title { margin-bottom: 24px; font-size: 21px; }
.ccm-confirmation .woocommerce-table--order-details, .ccm-confirmation .woocommerce-table--order-details th, .ccm-confirmation .woocommerce-table--order-details td { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ccm-confirmation .woocommerce-table--order-details thead th { padding-bottom: 8px; font-size: 10px; font-weight: 500; }
.ccm-confirmation .woocommerce-table--order-details tbody td { padding-top: 18px; padding-bottom: 26px; }
.ccm-confirmation .woocommerce-table--order-details tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.ccm-confirmation__image { width: 88px; height: 88px; border: 0; border-radius: 4px; }
.ccm-confirmation .wc-item-meta { clear: none; margin: 14px 0 0 104px; }
.ccm-confirmation .wc-item-meta li { grid-template-columns: 105px minmax(0, 1fr); font-size: 12px; gap: 10px; }
.ccm-confirmation .woocommerce-table--order-details tfoot th, .ccm-confirmation .woocommerce-table--order-details tfoot td { padding: 9px 0; font-size: 13px; }
.ccm-confirmation .woocommerce-table--order-details tfoot tr:last-child th, .ccm-confirmation .woocommerce-table--order-details tfoot tr:last-child td { border-top: 1px solid var(--line); padding-top: 18px; font-size: 20px; }
.ccm-confirmation .woocommerce-customer-details { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ccm-confirmation .woocommerce-customer-details .woocommerce-column__title, .ccm-confirmation .ccm-payment-summary h2 { margin: 0 0 12px; font-size: 17px; font-weight: 500; }
.ccm-confirmation .woocommerce-customer-details address { color: var(--muted); font-size: 13px; line-height: 1.85; }
.ccm-confirmation .woocommerce-columns--addresses { gap: 30px; }
.ccm-confirmation .ccm-payment-summary { margin-top: 30px; padding-top: 0; border: 0; }
.ccm-confirmation .ccm-payment-summary dl { font-size: 12px; }
.ccm-confirmation__actions { padding-top: 0; }
@media (min-width: 981px) { .ccm-confirmation .woocommerce-order { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 64px; } }
@media (max-width: 600px) {
    .ccm-confirmation { padding-top: 24px; padding-bottom: 48px; }
    .ccm-confirmation .woocommerce-order-overview { gap: 24px 18px; padding-bottom: 24px; }
    .ccm-confirmation .wc-item-meta { clear: both; margin: 16px 0 0; }
    .ccm-confirmation .wc-item-meta li { grid-template-columns: 95px minmax(0, 1fr); gap: 8px; }
    .ccm-confirmation__image { width: 64px; height: 64px; margin-right: 12px; }
    .ccm-confirmation .woocommerce-table--order-details td.product-total { padding-left: 12px; font-size: 14px; }
}
