/* Common Thread's retail layout is intentionally isolated from the other demos. */
.clothing-demo {
    --ink: #151515;
    --muted: #626262;
    --paper: #fff;
    --tint: #f4f2ef;
    --accent: #394b42;
    --line: #e5e5e5;
    --highlight: #f3ede7;
}
.clothing-demo .bd-wrap { width: min(100% - 80px, 1320px); }
.clothing-demo .bd-notice { background: #111; font-size: .65rem; }
.clothing-demo .bd-header-inner { min-height: 96px; gap: 36px; }
.clothing-demo .bd-brand { display: flex; align-items: center; gap: 9px; margin-right: 0; }
.clothing-demo .bd-brand .ct-brand-symbol { margin: 0; font-size: 3rem; line-height: 1; letter-spacing: -.12em; color: var(--ink); text-transform: lowercase; }
.clothing-demo .bd-brand .bd-brand-name { margin: 0; font-size: .7rem; line-height: 1.05; letter-spacing: .1em; text-transform: uppercase; max-width: 85px; white-space: normal; }
.clothing-demo .bd-header nav { flex: 1; justify-content: center; gap: 28px; }
.clothing-demo .bd-header nav a { font-size: .74rem; letter-spacing: .09em; }
.clothing-demo .bd-bag-open { padding: 10px 0; border: 0; font-size: .73rem; letter-spacing: .06em; }
.ct-announcement { display: flex; justify-content: center; gap: 28px; align-items: center; padding: 11px 20px; background: #f5f2ef; font-size: .7rem; letter-spacing: .025em; }
.ct-announcement > span:first-child { font-weight: 700; }
.ct-announcement a { text-underline-offset: 4px; }
.ct-campaign { position: relative; display: flex; align-items: center; min-height: 530px; overflow: hidden; isolation: isolate; background: #ece8df; color: #1f2923; }
.ct-campaign-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ct-campaign:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #efede75c, transparent 60%); z-index: 1; pointer-events: none; }
.ct-campaign-copy { position: relative; z-index: 2; padding: 70px 5%; width: 49%; }
.ct-campaign-copy .bd-kicker { margin-bottom: 23px; font-size: .66rem; letter-spacing: .16em; font-weight: 400; }
.ct-campaign h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.4rem, 5.5vw, 5.8rem); letter-spacing: -.055em; line-height: 1.04; margin: 0 0 25px; font-weight: 400; }
.ct-campaign-copy > p:not(.bd-kicker) { font-size: .94rem; line-height: 1.8; max-width: 310px; }
.ct-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.ct-campaign .bd-button { min-height: 46px; background: #263b30; color: #fff; border-color: #263b30; font-size: .75rem; letter-spacing: .01em; padding-inline: 21px; }
.ct-campaign .bd-button:hover { background: #17271e; border-color: #17271e; }
.ct-campaign .bd-text-link { font-size: .75rem; color: #24392e; font-weight: 400; text-underline-offset: 5px; }
.clothing-demo .bd-section { padding-block: 67px; }
.ct-collection-heading { text-align: left; margin-bottom: 32px; }
.ct-collection-heading .bd-kicker { font-weight: 400; font-size: .58rem; letter-spacing: .18em; margin-bottom: 13px; }
.clothing-demo .ct-collection-heading h2 { font-size: clamp(1.7rem, 2.5vw, 2.6rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.2; }
.ct-collection-heading > p:last-child:not(.bd-kicker) { font-size: .85rem; color: var(--muted); margin: 15px 0 0; }
.ct-shop-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.clothing-demo .bd-filters { gap: 23px; }
.clothing-demo .bd-filters button { border: 0; border-bottom: 1px solid transparent; padding: 6px 0; font-size: .71rem; background: transparent; color: var(--muted); }
.clothing-demo .bd-filters button.is-active, .clothing-demo .bd-filters button:hover { border-color: #111; background: transparent; color: #111; }
.ct-search-sort { display: flex; gap: 16px; align-items: center; }
.ct-search-label { display: flex; align-items: center; gap: 8px; }
.ct-search-label svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.2; flex-shrink: 0; }
.ct-search-label input { width: 165px; padding: 7px 2px; border: 0; background: none; color: var(--ink); font-size: .71rem; }
.ct-search-sort select { max-width: 145px; padding: 7px; border: 0; background: transparent; color: var(--ink); font-size: .71rem; }
.ct-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.clothing-demo .bd-results { font-size: .63rem; margin: 13px 0 22px; }
.clothing-demo .bd-products { gap: 24px; }
.clothing-demo .bd-product { text-align: center; }
.clothing-demo .bd-product-image { aspect-ratio: .9; }
.clothing-demo .bd-product-image span { left: 0; right: 0; bottom: 0; padding: 12px; background: #ffffffed; color: #111; font-size: .61rem; letter-spacing: .1em; }
.ct-product-colour { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 18px 0 11px; color: var(--muted); font-size: .61rem; }
.ct-swatch { display: block; width: 12px; height: 12px; border: 1px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #b8b8b8; }
.ct-swatch-1 { background: #e4d8c4; }.ct-swatch-2 { background: #3f4f3a; }.ct-swatch-3 { background: #30302e; }.ct-swatch-4 { background: #c8b388; }
.clothing-demo .bd-product h3 { font-size: .92rem; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.clothing-demo .bd-product .ct-product-price { color: #111; font-size: .94rem; margin: 10px 0 17px; }
.ct-product-price span { font-size: .56rem; color: var(--muted); }
.ct-choose-options { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; min-height: 44px; padding: 10px 12px; background: #fff; border: 1px solid #848b83; color: #1e2e23; font-size: .76rem; letter-spacing: 0; }
.ct-choose-options:hover { background: #111; color: #fff; }
.ct-empty { padding: 40px 0; text-align: center; }.ct-empty p { font-size: .85rem; color: var(--muted); }
.ct-statement { background: #f3f1eb; padding: 45px 0; }
.ct-layer-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.ct-layer-feature > div:first-child { padding-left: 12%; }
.ct-layer-photo { width: 100%; aspect-ratio: 1.2; }
.ct-statement .bd-kicker { font-size: .6rem; font-weight: 400; }
.ct-statement h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.3rem, 4vw, 4rem); letter-spacing: -.045em; line-height: 1.08; margin: 0; font-weight: 400; }
.ct-statement p:not(.bd-kicker) { font-size: .9rem; max-width: 340px; color: #5e665e; margin-top: 23px; }
.clothing-demo .ct-statement .bd-button { margin-top: 10px; font-size: .75rem; letter-spacing: 0; background: #263b30; border-color: #263b30; }
.ct-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.ct-category-grid > a { position: relative; text-decoration: none; }
.ct-category-grid .bd-product-photo { aspect-ratio: 1.1; }
.ct-category-grid > a > span { position: absolute; left: 15px; right: 15px; bottom: 15px; padding: 15px 40px 15px 15px; background: #ffffffed; }
.ct-category-grid strong { display: block; font-size: .86rem; font-weight: 500; letter-spacing: .03em; }
.ct-category-grid small { font-size: .65rem; color: var(--muted); }
.ct-category-grid b { position: absolute; right: 17px; top: 20px; font-weight: 400; }
.ct-category-grid a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.clothing-demo .ct-brand-story { background: #f2f4f0; color: #22352a; text-align: center; padding: 75px 0; }
.ct-brand-story .bd-wrap { max-width: 780px; }
.ct-brand-story .bd-kicker { font-size: .6rem; font-weight: 400; }
.clothing-demo .ct-brand-story h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.3rem, 3.6vw, 3.7rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 25px; }
.ct-brand-story p:not(.bd-kicker) { color: #5c685f; font-size: .92rem; line-height: 1.8; }
.ct-brand-story .ct-story-note { color: #616b63!important; font-size: .68rem!important; }
.ct-brand-story .bd-text-link { color: #22352a; font-size: .8rem; letter-spacing: 0; margin-top: 12px; }
.ct-service-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; text-align: center; padding: 10px 0 48px; }
.ct-service-notes svg { width: 30px; height: 30px; fill: none; stroke: #222; stroke-width: 1.2; }
.ct-service-notes h3 { font-size: .85rem; font-weight: 500; margin: 14px 0 8px; }
.ct-service-notes p { font-size: .74rem; color: var(--muted); line-height: 1.8; max-width: 270px; margin: auto; }
.clothing-demo .bd-faq summary { font-size: .85rem; }
.clothing-demo .bd-miigtech { background: #f4f2ef; }
.clothing-demo .bd-footer { border-top: 1px solid var(--line); }
@media(max-width:1100px) {
    .clothing-demo .bd-wrap { width: calc(100% - 48px); }
    .clothing-demo .bd-header-inner { gap: 25px; }
    .clothing-demo .bd-header nav { gap: 20px; }
    .ct-campaign { min-height: 480px; }
    .ct-campaign h1 { font-size: 5.5vw; }
    .ct-campaign-copy { padding-left: 30px; }
    .clothing-demo .bd-products { gap: 18px; }
}
@media(max-width:760px) {
    .clothing-demo .bd-wrap { width: calc(100% - 28px); }
    .clothing-demo .bd-header-inner { min-height: 74px; gap: 17px; }
    .clothing-demo .bd-brand .ct-brand-symbol { font-size: 2.5rem; }
    .clothing-demo .bd-brand .bd-brand-name { font-size: .59rem; max-width: 70px; }
    .clothing-demo .bd-brand { margin-right: auto; }
    .clothing-demo .bd-header nav { gap: 0; }
    .clothing-demo .bd-header nav a { font-size: .8rem; padding: 15px 7px; border-bottom: 1px solid var(--line); }
    .ct-announcement { gap: 14px; font-size: .55rem; padding: 10px 14px; }
    .ct-announcement > span:nth-child(2) { display: none; }
    .ct-campaign { display: flex; flex-direction: column; min-height: 0; }
    .ct-campaign:after { display: none; }
    .ct-campaign-copy { order: 1; padding: 34px 25px 36px; width: 100%; }
    .ct-campaign-copy .bd-kicker { font-size: .6rem; margin-bottom: 17px; }
    .ct-campaign h1 { font-size: clamp(2.8rem, 11vw, 4rem); line-height: 1.03; margin-bottom: 18px; }
    .ct-campaign-copy > p:not(.bd-kicker) { font-size: .82rem; max-width: 280px; }
    .ct-hero-actions { gap: 18px; margin-top: 22px; }
    .ct-campaign .bd-button { font-size: .68rem; min-height: 44px; padding: 11px 15px; }
    .ct-campaign .bd-text-link { font-size: .7rem; }
    .ct-campaign-photo { order: 2; position: relative; inset: auto; height: 280px; object-position: right center; }
    .clothing-demo .bd-section { padding-block: 48px; }
    .ct-collection-heading { margin-bottom: 24px; }
    .clothing-demo .ct-collection-heading h2 { font-size: 1.75rem; letter-spacing: -.035em; }
    .ct-collection-heading > p:last-child:not(.bd-kicker) { font-size: .78rem; line-height: 1.8; max-width: 310px; }
    .ct-shop-tools { gap: 15px; }
    .clothing-demo .bd-filters { gap: 24px; }
    .clothing-demo .bd-filters button { font-size: .7rem; }
    .ct-search-sort { justify-content: space-between; width: 100%; gap: 12px; }
    .ct-search-label { flex: 1; min-width: 0; }.ct-search-label input { width: 100%; min-width: 0; }
    .ct-search-sort select { max-width: 132px; padding-right: 0; font-size: .64rem; }
    .clothing-demo .bd-products { gap: 30px 12px; }
    .clothing-demo .bd-product h3 { font-size: .8rem; letter-spacing: 0; }
    .ct-product-colour { font-size: .54rem; margin-top: 13px; }
    .clothing-demo .bd-product .ct-product-price { font-size: .85rem; margin: 8px 0 13px; }
    .ct-choose-options { font-size: .7rem; gap: 12px; padding-inline: 6px; letter-spacing: 0; }
    .clothing-demo .bd-product-image span { font-size: .52rem; padding: 9px; }
    .ct-statement { padding: 43px 0; }
    .ct-layer-feature { grid-template-columns: 1fr; gap: 30px; }
    .ct-layer-feature > div:first-child { padding-left: 10px; }
    .ct-layer-photo { aspect-ratio: 1.15; }
    .ct-category-grid { grid-template-columns: 1fr; gap: 18px; }
    .ct-category-grid .bd-product-photo { aspect-ratio: 1.3; }
    .ct-category-grid > a > span { padding-block: 17px; }
    .clothing-demo .ct-brand-story { padding: 50px 0; }
    .ct-brand-story p:not(.bd-kicker) { font-size: .82rem; }
    .ct-service-notes { gap: 20px; padding-bottom: 30px; }
    .ct-service-notes h3 { font-size: .68rem; line-height: 1.4; }
    .ct-service-notes p { font-size: .61rem; line-height: 1.7; }
    .ct-service-notes svg { width: 25px; height: 25px; }
}
