/* V344: collection art direction on the existing 49 themes. No branding, content or editor controls replaced. */
html body[data-theme-collection] {
  --ct344-ink:var(--ct340-ink);--ct344-muted:var(--ct340-muted);--ct344-paper:var(--ct340-paper);
  --ct344-soft:var(--ct340-soft);--ct344-line:var(--ct340-edge);--ct344-accent:var(--ct340-action);
}
html body[data-theme-collection] .ck-featured-hero {position:relative;overflow:hidden;border-block-end:1px solid var(--ct344-line);}
html body[data-theme-collection] .ck-featured-hero__inner {position:relative;z-index:1;}
html body[data-theme-collection] .ck-featured-hero__copy {padding-block:12px;}
html body[data-theme-collection] .ck-featured-hero h1 {font-kerning:normal;max-width:15ch;margin-top:14px;margin-bottom:0;}
html body[data-theme-collection].theme-hero-layout-centered .ck-featured-hero h1 {margin-inline:auto;max-width:19ch;}
html body[data-theme-collection] .hero-eyebrow {display:inline-flex;align-items:center;gap:10px;font-size:11px;}
html body[data-theme-collection] .hero-eyebrow::before {content:"";width:24px;height:1px;background:currentColor;flex:none;}
html body[data-theme-collection] .ck-featured-card {display:flex;flex-direction:column;text-decoration:none;overflow:hidden;transition:box-shadow .22s,border-color .22s;}
html body[data-theme-collection] .ck-featured-card__image {width:100%;overflow:hidden;position:relative;isolation:isolate;}
html body[data-theme-collection] .ck-featured-card__image img {object-fit:contain;mix-blend-mode:normal!important;filter:none!important;transition:transform .45s cubic-bezier(.2,.7,.3,1);}
html body[data-theme-collection] .ck-featured-card h3 {font-size:clamp(12px,1.05vw,16px)!important;line-height:1.5!important;padding-top:12px!important;margin-block:0 6px!important;letter-spacing:0!important;overflow-wrap:anywhere;}
html body[data-theme-collection] .ck-featured-card .price {margin-top:auto;padding-top:4px;font-variant-numeric:tabular-nums;font-size:14px!important;color:var(--ct344-ink)!important;}
html body[data-theme-collection] .storefront-home .section-heading {padding-block:12px 20px;gap:16px;align-items:center;border-bottom:1px solid var(--ct344-line);margin-bottom:26px;}
html body[data-theme-collection] .storefront-home .section-heading h2 {color:var(--ct344-ink);font-size:clamp(25px,3vw,42px);letter-spacing:-.035em;line-height:1.15;}
html body[data-theme-collection] .storefront-home .stamp {border:1px solid var(--ct344-line);color:var(--ct344-muted);padding:8px 12px;line-height:1.4;font-size:11px;border-radius:var(--theme-editor-radius,12px);}
html body[data-theme-collection] :is(.storefront-home,.shop-page) .tag-card {display:flex;flex-direction:column;min-width:0;height:100%;box-sizing:border-box;background:var(--ct344-paper)!important;color:var(--ct344-ink)!important;border-color:var(--ct344-line)!important;}
html body[data-theme-collection] .tag-card>a {min-width:0;display:block;text-decoration:none;color:inherit;}
html body[data-theme-collection] .tag-card :is(h3,.price) {color:var(--ct344-ink)!important;line-height:1.5;}
html body[data-theme-collection] .tag-card :is(.spec-line,.compare-checkbox-label) {color:var(--ct344-muted)!important;}
html body[data-theme-collection] .tag-card .spec-line {min-height:2.8em;line-height:1.5;overflow-wrap:anywhere;}
html body[data-theme-collection] .tag-card .card-actions {margin-top:auto;gap:8px;}
html body[data-theme-collection] .tag-card .card-actions button {min-height:44px;}
html body[data-theme-collection] .tag-image {isolation:isolate;overflow:hidden;}
html body[data-theme-collection] .tag-image img {mix-blend-mode:normal!important;}
html body[data-theme-collection] .cr-discovery-card {min-height:200px;transition:border-color .22s,box-shadow .22s;}
html body[data-theme-collection] .cr-discovery-card strong {font-size:19px;line-height:1.3;}
html body[data-theme-collection] .cr-discovery-arrow {display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--ct344-line);border-radius:50%;}
html body[data-theme-collection] .cr-finder-panel h3 {max-width:18ch;font-size:clamp(26px,3vw,40px);line-height:1.18;letter-spacing:-.035em;}
html body[data-theme-collection] :is(a,button,input,select,textarea,summary):focus-visible {outline:2px solid var(--ct344-accent)!important;outline-offset:4px!important;}

/* Fine framing and generous captions: fashion and atelier collections. */
html body[data-theme-collection="atelier"] .ck-featured-hero::before {content:"";position:absolute;inset:18px;border:1px solid var(--ct344-line);pointer-events:none;}
html body[data-theme-collection="atelier"] .ck-featured-hero .hero-eyebrow {letter-spacing:.21em!important;}
html body[data-theme-collection="atelier"] .ck-featured-card__image {border-radius:40% 40% 2px 2px!important;border:1px solid var(--ct344-line);padding:10px;box-sizing:border-box;}
html body[data-theme-collection="atelier"] .cr-discovery-card {border-width:0 0 1px!important;border-radius:0!important;box-shadow:none!important;padding-block:28px;}
html body[data-theme-collection="atelier"] .cr-discovery-icon {border-radius:50%;width:54px;height:54px;}
html body[data-theme-collection="atelier"] .storefront-home .section-heading {align-items:flex-end;padding-bottom:24px;}
html body[data-theme-motif="postcard"] .ck-featured-hero::before {border:3px double var(--ct344-line);inset:12px;}
html body[data-theme-motif="ribbon"] .ck-featured-card__image {border-radius:45% 45% 12px 12px!important;}
html body[data-theme-motif="quiet"] .ck-featured-hero::before {inset:28px;border-inline:0;}

/* Travel frames and map-like contour lines stay behind real product photographs. */
html body[data-theme-collection="journey"] .ck-featured-hero::before {content:"";position:absolute;width:65%;aspect-ratio:1;right:-10%;top:-18%;border-radius:50%;border:1px solid var(--ct344-line);box-shadow:0 0 0 38px color-mix(in srgb,var(--ct344-line) 40%,transparent),0 0 0 90px color-mix(in srgb,var(--ct344-line) 20%,transparent);pointer-events:none;}
html body[data-theme-collection="journey"] .ck-featured-card__image {border-radius:var(--theme-editor-radius,18px)!important;border:1px solid var(--ct344-line);background:var(--ct344-soft)!important;}
html body[data-theme-collection="journey"] .cr-discovery-card {border-inline-start:3px solid var(--ct344-accent)!important;}
html body[data-theme-collection="journey"] .cr-finder-panel {position:relative;border-inline-start:3px solid var(--ct344-accent);}
html body[data-theme-motif="coast"] .ck-featured-hero::before {border-radius:46% 54% 67% 33%;transform:rotate(-18deg);}
html body[data-theme-motif="summit"] .ck-featured-hero::before {border-radius:10%;transform:rotate(45deg);}
html body[data-theme-motif="rain"] .ck-featured-hero::before {border-radius:50% 50% 50% 0;transform:rotate(-45deg);}
html body[data-theme-motif="botanical"] .ck-featured-hero::before {border-radius:100% 0;transform:rotate(-12deg);}

/* Gallery presentation: numbered real products, fine rules and quiet media. */
html body[data-theme-collection="gallery"] .ck-featured-hero__products {counter-reset:ct344-work;}
html body[data-theme-collection="gallery"] .ck-featured-card {counter-increment:ct344-work;box-shadow:none!important;border-width:0 0 1px!important;border-radius:0!important;}
html body[data-theme-collection="gallery"] .ck-featured-card::before {content:counter(ct344-work,decimal-leading-zero);color:var(--ct344-muted);font:11px/1.5 ui-monospace,monospace;margin-block:0 10px;}
html body[data-theme-collection="gallery"] .ck-featured-card__image {border-radius:0!important;border:1px solid var(--ct344-line);box-shadow:none!important;}
html body[data-theme-collection="gallery"] .cr-discovery-card {border-radius:0!important;box-shadow:none!important;border-width:0 0 1px!important;}
html body[data-theme-collection="gallery"] .cr-discovery-icon {background:transparent!important;border:1px solid var(--ct344-line);border-radius:0;}
html body[data-theme-motif="canvas"] .ck-featured-card__image {padding:14px;box-sizing:border-box;border-width:6px!important;}
html body[data-theme-motif="linen"] .ck-featured-card__image {border-radius:12px!important;}

/* Utility themes keep complete buying controls with a compact, precise rhythm. */
html body[data-theme-collection="utility"] .ck-featured-hero {border-top:3px solid var(--ct344-accent);}
html body[data-theme-collection="utility"] .hero-eyebrow::before {width:8px;height:8px;}
html body[data-theme-collection="utility"] .ck-featured-card__image {border-radius:6px!important;background:var(--ct344-soft)!important;box-shadow:none!important;border:1px solid var(--ct344-line);}
html body[data-theme-collection="utility"] .cr-discovery-card {display:grid;grid-template-columns:40px 1fr;gap:10px 16px;min-height:150px;align-content:center;}
html body[data-theme-collection="utility"] .cr-discovery-card .cr-discovery-icon {grid-row:span 2;width:40px;height:40px;margin:0;}
html body[data-theme-collection="utility"] .cr-discovery-card>span:not(.cr-discovery-icon) {grid-column:2;}
html body[data-theme-collection="utility"] .cr-discovery-arrow {display:none;}
html body[data-theme-collection="utility"] .storefront-home .stamp {border-radius:4px;font-family:ui-monospace,monospace;}
html body[data-theme-motif="edition"] .hero-eyebrow {border-block:1px solid var(--ct344-line);padding-block:9px;}

/* Immersive themes use contained halos; foregrounds retain opaque readable surfaces. */
html body[data-theme-collection="immersive"] .ck-featured-hero::before {content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 80% 40%,color-mix(in srgb,var(--ct344-accent) 16%,transparent),transparent 52%);}
html body[data-theme-collection="immersive"] .ck-featured-card__image {border:1px solid var(--ct344-line);box-shadow:inset 0 1px #ffffff24!important;border-radius:var(--theme-editor-radius,18px)!important;}
html body[data-theme-collection="immersive"] .cr-discovery-card {border-top:2px solid var(--ct344-accent)!important;}
html body[data-theme-collection="immersive"] .cr-discovery-icon {border:1px solid var(--ct344-line);border-radius:30%;}
html body[data-theme-motif="signal"] .ck-featured-hero::before {background-image:linear-gradient(var(--ct344-line) 1px,transparent 1px),linear-gradient(90deg,var(--ct344-line) 1px,transparent 1px);background-size:72px 72px;opacity:.3;}
html body[data-theme-motif="amoled"].appearance-dark .ck-featured-hero {background:#000!important;}
html body[data-theme-motif="peacock"] .ck-featured-card__image {border-radius:50% 50% 8px 8px!important;}

/* Festival identities: geometry, arches, colour fields and the existing live atmosphere. */
html body[data-theme-collection="ceremony"] .ck-featured-hero::before {content:"";position:absolute;inset:12px;border:1px solid var(--ct344-line);box-shadow:inset 0 0 0 7px color-mix(in srgb,var(--ct344-accent) 5%,transparent);pointer-events:none;}
html body[data-theme-collection="ceremony"] .ck-featured-card__image {border-radius:42% 42% 12px 12px!important;border:1px solid var(--ct344-line);background:var(--ct344-soft)!important;}
html body[data-theme-collection="ceremony"] .cr-discovery-icon {border-radius:50%;border:1px solid var(--ct344-line);}
html body[data-theme-collection="ceremony"] .storefront-home .section-heading {border-bottom-style:double;border-bottom-width:3px;}
html body[data-theme-motif="thread"] .ck-featured-hero::before {border-style:dashed;}
html body[data-theme-motif="pookalam"] .ck-featured-card__image {border-radius:48%!important;}
html body[data-theme-motif="winter"] .ck-featured-card__image,html body[data-theme-motif="alpine"] .ck-featured-card__image {border-radius:12px!important;}
html body[data-theme-collection="colour"] .ck-featured-hero::before {content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 85% 15%,color-mix(in srgb,var(--ct344-accent) 17%,transparent),transparent 45%),radial-gradient(ellipse at 10% 95%,color-mix(in srgb,var(--ct344-accent) 11%,transparent),transparent 40%);pointer-events:none;}
html body[data-theme-collection="colour"] .ck-featured-card__image {border-radius:24px 8px 24px 8px!important;border:1px solid var(--ct344-line);}
html body[data-theme-collection="colour"] .cr-discovery-card {border-radius:var(--theme-editor-radius,20px) 4px!important;border-inline-start:3px solid var(--ct344-accent)!important;}
html body[data-theme-motif="mirror"] .ck-featured-card__image,html body[data-theme-motif="dandiya"] .ck-featured-card__image {border-radius:25% 25% 6px 6px!important;}
html body[data-theme-collection="play"] .ck-featured-hero {border-bottom:3px dashed var(--ct344-line);}
html body[data-theme-collection="play"] .ck-featured-card__image {border-radius:32% 32% 16px 16px!important;border:2px solid var(--ct344-line);}
html body[data-theme-collection="play"] .cr-discovery-icon {border-radius:40% 60% 50% 50%;}

/* Existing editor layout choices win over collection styling. */
@media(min-width:1001px) {
  html body[data-theme-collection].theme-hero-layout-split .ck-featured-hero__inner {grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;}
  html body[data-theme-collection].theme-hero-layout-asymmetric .ck-featured-hero__inner {grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)!important;}
  html body[data-theme-collection].theme-hero-layout-collage .ck-featured-hero__products {gap:18px!important;}
  html body[data-theme-collection].theme-hero-layout-full_bleed .ck-featured-hero__inner {max-width:var(--theme-editor-content-width,1400px);margin-inline:auto;}
  html body[data-theme-collection] .ck-featured-hero--copy .ck-featured-hero__inner {grid-template-columns:1fr!important;}
  html body[data-theme-collection] .ck-featured-hero--copy .ck-featured-hero__copy {max-width:850px;}
  html body[data-theme-collection="gallery"] .cr-discovery-grid {gap:0!important;}
  html body[data-theme-collection="gallery"] .cr-discovery-card {padding-inline:28px;border-inline-start:1px solid var(--ct344-line)!important;}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  html body[data-theme-collection][data-theme-reduced-motion="0"] .ck-featured-card:hover img {transform:scale(1.035);}
  html body[data-theme-collection][data-theme-reduced-motion="0"] .cr-discovery-card:hover {border-color:var(--ct344-accent)!important;box-shadow:0 12px 30px #0000000c;}
}
@media(max-width:700px) {
  html body[data-theme-collection] .ck-featured-hero h1 {font-size:clamp(2.2rem,8.8vw,3.6rem)!important;max-width:17ch;}
  html body[data-theme-collection] .ck-featured-hero .sub {font-size:15px!important;line-height:1.7;}
  html body[data-theme-collection] .ck-featured-hero__copy {padding-block:4px;}
  html body[data-theme-collection] .ck-featured-card {padding:8px!important;}
  html body[data-theme-collection] .ck-featured-card h3 {font-size:12px!important;padding-top:9px!important;}
  html body[data-theme-collection] .ck-featured-card .price {font-size:13px!important;}
  html body[data-theme-collection] .ck-featured-card__image {border-radius:12px!important;}
  html body[data-theme-collection="gallery"] .ck-featured-card__image {border-radius:0!important;}
  html body[data-theme-collection] .ck-featured-hero::before {inset:8px;}
  html body[data-theme-collection="journey"] .ck-featured-hero::before {inset:auto -30% 5% auto;width:100%;}
  html body[data-theme-collection] .storefront-home .section-heading {align-items:flex-start;gap:12px;}
  html body[data-theme-collection] .storefront-home .section-heading h2 {font-size:27px;}
  html body[data-theme-collection] .cr-discovery-card {min-height:175px!important;padding:18px!important;}
  html body[data-theme-collection] .cr-discovery-card strong {font-size:17px;}
  html body[data-theme-collection="utility"] .cr-discovery-card {display:flex;min-height:175px;gap:10px;}
  html body[data-theme-collection] .tag-card .card-actions {gap:5px;}
  html body[data-theme-collection] .tag-card .card-actions button {padding-inline:8px;font-size:12px;}
  html body[data-theme-collection] .cr-finder-panel {padding:24px;}
}
@media(prefers-reduced-motion:reduce) {
  html body[data-theme-collection] :is(.ck-featured-card,.ck-featured-card img,.cr-discovery-card) {transition:none!important;}
}
