[object Object]

← back to Designer Wallcoverings

TK-10053: 2x2 mosaic fallback for blurry collection banners (verified, gated push)

e8aad113d7ee319443b2a24a3e4e7bc387f1ec2e · 2026-07-30 09:24:21 -0700 · collection-agent

Files touched

Diff

commit e8aad113d7ee319443b2a24a3e4e7bc387f1ec2e
Author: collection-agent <steve@designerwallcoverings.com>
Date:   Thu Jul 30 09:24:21 2026 -0700

    TK-10053: 2x2 mosaic fallback for blurry collection banners (verified, gated push)
---
 .../tk10053-banner-mosaic/PUSH-LIVE.sh             |  13 ++
 .../tk10053-banner-mosaic/ROLLBACK.sh              |  12 ++
 .../tk10053-banner-mosaic/before-after.png         | Bin 0 -> 971446 bytes
 .../dw-collection-hero.LIVE-backup.liquid          | 109 ++++++++++++++
 .../dw-collection-hero.NEW.liquid                  | 157 +++++++++++++++++++++
 .../tk10053-banner-mosaic/mock.html                |  44 ++++++
 6 files changed, 335 insertions(+)

diff --git a/shopify/collection-hero-fix/tk10053-banner-mosaic/PUSH-LIVE.sh b/shopify/collection-hero-fix/tk10053-banner-mosaic/PUSH-LIVE.sh
new file mode 100755
index 00000000..a78601f8
--- /dev/null
+++ b/shopify/collection-hero-fix/tk10053-banner-mosaic/PUSH-LIVE.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+# TK-10053 — push the mosaic-banner hero to the LIVE theme. Customer-facing; run only on Steve's go.
+set -euo pipefail
+SEC=~/Projects/secrets-manager/.env
+TOK=$(grep -E '^SHOPIFY_THEME_TOKEN=' "$SEC" | head -1 | cut -d= -f2- | tr -d '"'"'"' ')
+STORE="designer-laboratory-sandbox.myshopify.com"; API="2024-10"; LIVE=144396058675
+KEY="sections/dw-collection-hero.liquid"; DIR="$(cd "$(dirname "$0")"&&pwd)"
+NEW=$(python3 -c "import json;print(json.dumps(open('$DIR/dw-collection-hero.NEW.liquid').read()))")
+printf '{"asset":{"key":"%s","value":%s}}' "$KEY" "$NEW" > /tmp/tk10053_put.json
+curl -s -X PUT "https://$STORE/admin/api/$API/themes/$LIVE/assets.json" \
+  -H "X-Shopify-Access-Token: $TOK" -H "Content-Type: application/json" \
+  --data @/tmp/tk10053_put.json -w "\nPUT_HTTP %{http_code}\n" | tail -3
+echo "Pushed. Verify: https://www.designerwallcoverings.com/collections/vendors?q=Hollywood+Wallcoverings"
diff --git a/shopify/collection-hero-fix/tk10053-banner-mosaic/ROLLBACK.sh b/shopify/collection-hero-fix/tk10053-banner-mosaic/ROLLBACK.sh
new file mode 100755
index 00000000..4b3e469e
--- /dev/null
+++ b/shopify/collection-hero-fix/tk10053-banner-mosaic/ROLLBACK.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+# TK-10053 — instant rollback: restore the pre-change LIVE hero section.
+set -euo pipefail
+SEC=~/Projects/secrets-manager/.env
+TOK=$(grep -E '^SHOPIFY_THEME_TOKEN=' "$SEC" | head -1 | cut -d= -f2- | tr -d '"'"'"' ')
+STORE="designer-laboratory-sandbox.myshopify.com"; API="2024-10"; LIVE=144396058675
+KEY="sections/dw-collection-hero.liquid"; DIR="$(cd "$(dirname "$0")"&&pwd)"
+OLD=$(python3 -c "import json;print(json.dumps(open('$DIR/dw-collection-hero.LIVE-backup.liquid').read()))")
+printf '{"asset":{"key":"%s","value":%s}}' "$KEY" "$OLD" > /tmp/tk10053_rollback.json
+curl -s -X PUT "https://$STORE/admin/api/$API/themes/$LIVE/assets.json" \
+  -H "X-Shopify-Access-Token: $TOK" -H "Content-Type: application/json" \
+  --data @/tmp/tk10053_rollback.json -w "\nPUT_HTTP %{http_code}\n" | tail -2
diff --git a/shopify/collection-hero-fix/tk10053-banner-mosaic/before-after.png b/shopify/collection-hero-fix/tk10053-banner-mosaic/before-after.png
new file mode 100644
index 00000000..41b6faef
Binary files /dev/null and b/shopify/collection-hero-fix/tk10053-banner-mosaic/before-after.png differ
diff --git a/shopify/collection-hero-fix/tk10053-banner-mosaic/dw-collection-hero.LIVE-backup.liquid b/shopify/collection-hero-fix/tk10053-banner-mosaic/dw-collection-hero.LIVE-backup.liquid
new file mode 100644
index 00000000..c43d86b7
--- /dev/null
+++ b/shopify/collection-hero-fix/tk10053-banner-mosaic/dw-collection-hero.LIVE-backup.liquid
@@ -0,0 +1,109 @@
+{%- comment -%}
+  DW Collection Hero — Steve standing rule (2026-06-23): every collection page
+  must have a background "bg" hero image. Renders collection.image as a full-bleed
+  cover background with the title + breadcrumbs + description on a SEMI-OPAQUE
+  CONTRASTING PANEL (dark scrim panel) so the text stays legible over any image.
+  Collections with no image fall back to a branded gradient so the page is never
+  broken; audit-collection-hero-images.py lists which collections still need one.
+
+  Also HIDES the Boost AI Search & Filter app's own collection banner (the
+  duplicate lower banner) + any legacy theme breadcrumbs, so only this hero shows.
+
+  Toggle by removing it from templates/collection.json "order".
+{%- endcomment -%}
+{%- liquid
+  assign dw_hero_img = collection.image
+  unless dw_hero_img
+    assign dw_hero_img = collection.products.first.featured_image
+  endunless
+  assign dw_has_hero = false
+  if dw_hero_img
+    assign dw_has_hero = true
+  endif
+-%}
+<div class="dw-collection-hero{% unless dw_has_hero %} dw-collection-hero--fallback{% endunless %}"
+     {% if dw_has_hero %}style="background-image:url({{ dw_hero_img | img_url: '2048x' }});"{% endif %}
+     data-dw-collection-hero>
+  <div class="dw-collection-hero__inner page-width">
+    <div class="dw-collection-hero__panel">
+      <nav class="dw-collection-hero__crumbs" aria-label="Breadcrumb">
+        <a href="/">Home</a> <span aria-hidden="true">/</span>
+        <a href="/collections">Collections</a> <span aria-hidden="true">/</span>
+        <span aria-current="page">{{ collection.title }}</span>
+      </nav>
+      <h1 class="dw-collection-hero__title">{{ collection.title }}</h1>
+      {%- assign aeo_cat = collection.metafields.custom.category | default: 'wallcovering' -%}
+      <p class="dw-collection-hero__answer">A curated {{ aeo_cat }} collection for the design trade — {{ collection.products_count }} designs, samples and trade pricing on request.</p>
+      {%- if section.settings.show_description and collection.description != blank -%}
+        <div class="dw-collection-hero__desc">{{ collection.description | strip_html | truncatewords: 32 }}</div>
+      {%- endif -%}
+    </div>
+  </div>
+</div>
+{%- assign aeo_faq = collection.metafields.custom.faq.value -%}
+<script type="application/ld+json">
+{"@context":"https://schema.org","@type":"CollectionPage","name":{{ collection.title | json }},"description":{{ collection.description | strip_html | truncatewords: 40 | json }},"url":{{ request.origin | append: collection.url | json }},"isPartOf":{"@type":"WebSite","name":"Designer Wallcoverings","url":{{ request.origin | json }}}}
+</script>
+<script type="application/ld+json">
+{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":{{ request.origin | json }}},{"@type":"ListItem","position":2,"name":"Collections","item":{{ request.origin | append: '/collections' | json }}},{"@type":"ListItem","position":3,"name":{{ collection.title | json }},"item":{{ request.origin | append: collection.url | json }}}]}
+</script>
+{%- if aeo_faq != blank and aeo_faq != empty -%}
+<details class="dw-collection-faq" style="max-width:900px;margin:1rem auto .5rem;text-align:center;"><summary style="cursor:pointer;display:inline-block;list-style:none;font:600 .8rem/1.5 inherit;letter-spacing:.08em;text-transform:uppercase;padding:.55rem 1.5rem;border:1px solid currentColor;border-radius:2px;opacity:.9;">Learn about {{ collection.title | remove: ' Collections' | remove: ' Collection' }}</summary><div style="text-align:left;max-width:760px;margin:.9rem auto 0;padding:0 1rem;">{%- for item in aeo_faq -%}<h3 style="font-size:1rem;margin:.75rem 0 .25rem;">{{ item.q }}</h3><p style="margin:0 0 .5rem;opacity:.85;">{{ item.a }}</p>{%- endfor -%}</div></details>
+<script type="application/ld+json">
+{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{%- for item in aeo_faq -%}{"@type":"Question","name":{{ item.q | json }},"acceptedAnswer":{"@type":"Answer","text":{{ item.a | strip_html | json }}}}{% unless forloop.last %},{% endunless %}{%- endfor -%}]}
+</script>
+{%- endif -%}
+<style>
+  .dw-collection-hero{position:relative;min-height:clamp(20px,2.67vw,35px);display:flex;
+    align-items:center;background-size:cover;background-position:center;background-repeat:no-repeat;
+    margin:0 0 1.5rem;overflow:hidden;}
+  .dw-collection-hero--fallback{background:linear-gradient(135deg,#1c1c1c 0%,#3a3a3a 55%,#2a2320 100%);}
+  .dw-collection-hero__inner{position:relative;z-index:1;width:100%;padding:0.9rem 2.25rem;}
+  /* Semi-opaque CONTRASTING panel behind the text — dark scrim over the light
+     pattern so title/breadcrumbs/description read clearly without darkening the
+     whole image. Constrained width, left-aligned. */
+  .dw-collection-hero__panel{display:inline-block;max-width:min(640px,92%);
+    background:rgba(22,18,16,0.66);
+    -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
+    border:1px solid rgba(255,255,255,0.14);border-radius:6px;
+    padding:1.4rem 1.75rem;box-shadow:0 6px 30px rgba(0,0,0,.28);}
+  .dw-collection-hero__crumbs{font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;
+    color:#fff;opacity:.92;margin:0 0 .45rem;}
+  .dw-collection-hero__crumbs a,.dw-collection-hero__crumbs span{color:#fff;text-decoration:none;}
+  .dw-collection-hero__crumbs a:hover{text-decoration:underline;}
+  .dw-collection-hero__title{color:#fff;font-size:clamp(1.8rem,3.4vw,3rem);margin:.1rem 0 0;
+    letter-spacing:.5px;line-height:1.05;}
+  .dw-collection-hero__desc{color:#fff;max-width:60ch;margin:.6rem 0 0;opacity:.96;
+    font-size:.95rem;line-height:1.55;}
+
+  /* Hide the duplicate LOWER banner drawn by the Boost AI Search & Filter app
+     (its own collection header/banner) so only this hero shows. */
+  .boost-sd__collection-header,
+  .boost-sd__page-header,
+  .boost-sd__collection-header-image,
+  .boost-sd__collection-header-content,
+  .boost-sd__collection-header-title,
+  .boost-sd__collection-header-description,
+  .boost-sd__collection-title,
+  .boost-sd__collection-description{display:none !important;}
+  /* hero now carries breadcrumbs: hide any legacy theme breadcrumbs on collection pages */
+  .template-collection .breadcrumbs,
+  .template-collection .breadcrumb{display:none;}
+</style>
+
+{% schema %}
+{
+  "name": "DW Collection Hero",
+  "settings": [
+    {
+      "type": "checkbox",
+      "id": "show_description",
+      "label": "Show collection description in hero",
+      "default": true
+    }
+  ],
+  "presets": [
+    { "name": "DW Collection Hero" }
+  ]
+}
+{% endschema %}
diff --git a/shopify/collection-hero-fix/tk10053-banner-mosaic/dw-collection-hero.NEW.liquid b/shopify/collection-hero-fix/tk10053-banner-mosaic/dw-collection-hero.NEW.liquid
new file mode 100644
index 00000000..54e8af98
--- /dev/null
+++ b/shopify/collection-hero-fix/tk10053-banner-mosaic/dw-collection-hero.NEW.liquid
@@ -0,0 +1,157 @@
+{%- comment -%}
+  DW Collection Hero — Steve standing rule (2026-06-23): every collection page
+  must have a background "bg" hero image. Renders collection.image as a full-bleed
+  cover background with the title + breadcrumbs + description on a SEMI-OPAQUE
+  CONTRASTING PANEL (dark scrim panel) so the text stays legible over any image.
+  Collections with no image fall back to a branded gradient so the page is never
+  broken; audit-collection-hero-images.py lists which collections still need one.
+
+  Also HIDES the Boost AI Search & Filter app's own collection banner (the
+  duplicate lower banner) + any legacy theme breadcrumbs, so only this hero shows.
+
+  Toggle by removing it from templates/collection.json "order".
+{%- endcomment -%}
+{%- comment -%}
+  BANNER RESOLUTION GATE (Steve 2026-07-30, TK-10053): a full-bleed hero must
+  NEVER stretch a low-res source (e.g. a 500px sample swatch) — that is what
+  produced the blurry Hollywood Wallcoverings banner. Three render modes:
+    image   -> collection.image is high-res (>= dw_min_w) : single full-bleed cover (sharp)
+    mosaic  -> no high-res file "for that build"          : 2x2 quadrant of product
+               images, each cell ~half page-width so a 500px source stretches
+               ~1.3x instead of ~5x (visibly sharp) and 4 swatches read as curated
+    fallback-> collection has no usable product image      : branded gradient
+{%- endcomment -%}
+{%- liquid
+  assign dw_min_w = 1400
+  assign dw_hero_img = collection.image
+  unless dw_hero_img
+    assign dw_hero_img = collection.products.first.featured_image
+  endunless
+  assign dw_mode = 'fallback'
+  if dw_hero_img and dw_hero_img.width >= dw_min_w
+    assign dw_mode = 'image'
+  endif
+-%}
+{%- if dw_mode != 'image' -%}
+  {%- comment -%} gather up to 4 distinct product images for the 2x2 mosaic {%- endcomment -%}
+  {%- assign dw_tiles = '' -%}
+  {%- assign dw_ntiles = 0 -%}
+  {%- for dw_p in collection.products limit: 40 -%}
+    {%- if dw_ntiles >= 4 -%}{%- break -%}{%- endif -%}
+    {%- if dw_p.featured_image -%}
+      {%- assign dw_url = dw_p.featured_image | img_url: '800x' -%}
+      {%- unless dw_tiles contains dw_url -%}
+        {%- assign dw_tiles = dw_tiles | append: dw_url | append: '|' -%}
+        {%- assign dw_ntiles = dw_ntiles | plus: 1 -%}
+      {%- endunless -%}
+    {%- endif -%}
+  {%- endfor -%}
+  {%- if dw_ntiles >= 1 -%}{%- assign dw_mode = 'mosaic' -%}{%- endif -%}
+  {%- assign dw_tile_list = dw_tiles | split: '|' -%}
+{%- endif -%}
+<div class="dw-collection-hero dw-collection-hero--{{ dw_mode }}"
+     {% if dw_mode == 'image' %}style="background-image:url({{ dw_hero_img | img_url: '2048x' }});"{% endif %}
+     data-dw-collection-hero data-hero-mode="{{ dw_mode }}">
+  {%- if dw_mode == 'mosaic' -%}
+    <div class="dw-collection-hero__mosaic" aria-hidden="true">
+      {%- for dw_t in dw_tile_list -%}
+        <span class="dw-collection-hero__cell" style="background-image:url({{ dw_t }});"></span>
+      {%- endfor -%}
+    </div>
+  {%- endif -%}
+  <div class="dw-collection-hero__inner page-width">
+    <div class="dw-collection-hero__panel">
+      <nav class="dw-collection-hero__crumbs" aria-label="Breadcrumb">
+        <a href="/">Home</a> <span aria-hidden="true">/</span>
+        <a href="/collections">Collections</a> <span aria-hidden="true">/</span>
+        <span aria-current="page">{{ collection.title }}</span>
+      </nav>
+      <h1 class="dw-collection-hero__title">{{ collection.title }}</h1>
+      {%- assign aeo_cat = collection.metafields.custom.category | default: 'wallcovering' -%}
+      <p class="dw-collection-hero__answer">A curated {{ aeo_cat }} collection for the design trade — {{ collection.products_count }} designs, samples and trade pricing on request.</p>
+      {%- if section.settings.show_description and collection.description != blank -%}
+        <div class="dw-collection-hero__desc">{{ collection.description | strip_html | truncatewords: 32 }}</div>
+      {%- endif -%}
+    </div>
+  </div>
+</div>
+{%- assign aeo_faq = collection.metafields.custom.faq.value -%}
+<script type="application/ld+json">
+{"@context":"https://schema.org","@type":"CollectionPage","name":{{ collection.title | json }},"description":{{ collection.description | strip_html | truncatewords: 40 | json }},"url":{{ request.origin | append: collection.url | json }},"isPartOf":{"@type":"WebSite","name":"Designer Wallcoverings","url":{{ request.origin | json }}}}
+</script>
+<script type="application/ld+json">
+{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":{{ request.origin | json }}},{"@type":"ListItem","position":2,"name":"Collections","item":{{ request.origin | append: '/collections' | json }}},{"@type":"ListItem","position":3,"name":{{ collection.title | json }},"item":{{ request.origin | append: collection.url | json }}}]}
+</script>
+{%- if aeo_faq != blank and aeo_faq != empty -%}
+<details class="dw-collection-faq" style="max-width:900px;margin:1rem auto .5rem;text-align:center;"><summary style="cursor:pointer;display:inline-block;list-style:none;font:600 .8rem/1.5 inherit;letter-spacing:.08em;text-transform:uppercase;padding:.55rem 1.5rem;border:1px solid currentColor;border-radius:2px;opacity:.9;">Learn about {{ collection.title | remove: ' Collections' | remove: ' Collection' }}</summary><div style="text-align:left;max-width:760px;margin:.9rem auto 0;padding:0 1rem;">{%- for item in aeo_faq -%}<h3 style="font-size:1rem;margin:.75rem 0 .25rem;">{{ item.q }}</h3><p style="margin:0 0 .5rem;opacity:.85;">{{ item.a }}</p>{%- endfor -%}</div></details>
+<script type="application/ld+json">
+{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{%- for item in aeo_faq -%}{"@type":"Question","name":{{ item.q | json }},"acceptedAnswer":{"@type":"Answer","text":{{ item.a | strip_html | json }}}}{% unless forloop.last %},{% endunless %}{%- endfor -%}]}
+</script>
+{%- endif -%}
+<style>
+  .dw-collection-hero{position:relative;min-height:clamp(20px,2.67vw,35px);display:flex;
+    align-items:center;background-size:cover;background-position:center;background-repeat:no-repeat;
+    margin:0 0 1.5rem;overflow:hidden;}
+  .dw-collection-hero--fallback{background:linear-gradient(135deg,#1c1c1c 0%,#3a3a3a 55%,#2a2320 100%);}
+  /* mosaic + gradient variants get a real banner height so the 2x2 has room */
+  .dw-collection-hero--mosaic,
+  .dw-collection-hero--fallback{min-height:clamp(190px,24vw,320px);}
+  /* 2x2 quadrant of product images — each cell ~half page-width, so a low-res
+     (e.g. 500px) source stretches ~1.3x instead of ~5x full-bleed = stays sharp */
+  .dw-collection-hero__mosaic{position:absolute;inset:0;z-index:0;display:grid;
+    grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px;background:#211c19;}
+  .dw-collection-hero__cell{background-size:cover;background-position:center;
+    background-repeat:no-repeat;background-color:#211c19;min-height:0;min-width:0;}
+  /* graceful degrade when a small collection yields <4 tiles */
+  .dw-collection-hero__mosaic:has(.dw-collection-hero__cell:nth-child(1):last-child){grid-template-columns:1fr;grid-template-rows:1fr;}
+  .dw-collection-hero__mosaic:has(.dw-collection-hero__cell:nth-child(2):last-child){grid-template-rows:1fr;}
+  .dw-collection-hero__mosaic:has(.dw-collection-hero__cell:nth-child(3):last-child) .dw-collection-hero__cell:first-child{grid-column:1 / -1;}
+  .dw-collection-hero__inner{position:relative;z-index:1;width:100%;padding:0.9rem 2.25rem;}
+  /* Semi-opaque CONTRASTING panel behind the text — dark scrim over the light
+     pattern so title/breadcrumbs/description read clearly without darkening the
+     whole image. Constrained width, left-aligned. */
+  .dw-collection-hero__panel{display:inline-block;max-width:min(640px,92%);
+    background:rgba(22,18,16,0.66);
+    -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
+    border:1px solid rgba(255,255,255,0.14);border-radius:6px;
+    padding:1.4rem 1.75rem;box-shadow:0 6px 30px rgba(0,0,0,.28);}
+  .dw-collection-hero__crumbs{font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;
+    color:#fff;opacity:.92;margin:0 0 .45rem;}
+  .dw-collection-hero__crumbs a,.dw-collection-hero__crumbs span{color:#fff;text-decoration:none;}
+  .dw-collection-hero__crumbs a:hover{text-decoration:underline;}
+  .dw-collection-hero__title{color:#fff;font-size:clamp(1.8rem,3.4vw,3rem);margin:.1rem 0 0;
+    letter-spacing:.5px;line-height:1.05;}
+  .dw-collection-hero__desc{color:#fff;max-width:60ch;margin:.6rem 0 0;opacity:.96;
+    font-size:.95rem;line-height:1.55;}
+
+  /* Hide the duplicate LOWER banner drawn by the Boost AI Search & Filter app
+     (its own collection header/banner) so only this hero shows. */
+  .boost-sd__collection-header,
+  .boost-sd__page-header,
+  .boost-sd__collection-header-image,
+  .boost-sd__collection-header-content,
+  .boost-sd__collection-header-title,
+  .boost-sd__collection-header-description,
+  .boost-sd__collection-title,
+  .boost-sd__collection-description{display:none !important;}
+  /* hero now carries breadcrumbs: hide any legacy theme breadcrumbs on collection pages */
+  .template-collection .breadcrumbs,
+  .template-collection .breadcrumb{display:none;}
+</style>
+
+{% schema %}
+{
+  "name": "DW Collection Hero",
+  "settings": [
+    {
+      "type": "checkbox",
+      "id": "show_description",
+      "label": "Show collection description in hero",
+      "default": true
+    }
+  ],
+  "presets": [
+    { "name": "DW Collection Hero" }
+  ]
+}
+{% endschema %}
diff --git a/shopify/collection-hero-fix/tk10053-banner-mosaic/mock.html b/shopify/collection-hero-fix/tk10053-banner-mosaic/mock.html
new file mode 100644
index 00000000..3e3eedea
--- /dev/null
+++ b/shopify/collection-hero-fix/tk10053-banner-mosaic/mock.html
@@ -0,0 +1,44 @@
+<!doctype html><meta charset=utf8><style>
+  body{margin:0;font:16px/1.4 -apple-system,Helvetica,Arial;background:#fff;}
+  .page-width{max-width:1200px;margin:0 auto;}
+  h4{margin:18px 16px 6px;color:#333;font-weight:600;}
+  /* ==== EXACT CSS from patched section ==== */
+  .dw-collection-hero{position:relative;min-height:clamp(20px,2.67vw,35px);display:flex;
+    align-items:center;background-size:cover;background-position:center;background-repeat:no-repeat;
+    margin:0 0 1.5rem;overflow:hidden;}
+  .dw-collection-hero--mosaic,.dw-collection-hero--fallback{min-height:clamp(190px,24vw,320px);}
+  .dw-collection-hero__mosaic{position:absolute;inset:0;z-index:0;display:grid;
+    grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px;background:#211c19;}
+  .dw-collection-hero__cell{background-size:cover;background-position:center;
+    background-repeat:no-repeat;background-color:#211c19;min-height:0;min-width:0;}
+  .dw-collection-hero__inner{position:relative;z-index:1;width:100%;padding:0.9rem 2.25rem;}
+  .dw-collection-hero__panel{display:inline-block;max-width:min(640px,92%);
+    background:rgba(22,18,16,0.66);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
+    border:1px solid rgba(255,255,255,0.14);border-radius:6px;
+    padding:1.4rem 1.75rem;box-shadow:0 6px 30px rgba(0,0,0,.28);}
+  .dw-collection-hero__crumbs{font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;color:#fff;opacity:.92;margin:0 0 .45rem;}
+  .dw-collection-hero__title{color:#fff;font-size:clamp(1.8rem,3.4vw,3rem);margin:.1rem 0 0;letter-spacing:.5px;line-height:1.05;}
+</style>
+<div class=page-width>
+  <h4>BEFORE — current live: single 500px swatch stretched full-bleed (BLURRY)</h4>
+  <div class="dw-collection-hero dw-collection-hero--image" style="background-image:url('https://www.designerwallcoverings.com/cdn/shop/files/xja-47017-sample-abbingdon-type-ii-vinyl-hollywood-wallcoverings.jpg?v=1775696834&width=2048');min-height:clamp(190px,24vw,320px)">
+    <div class="dw-collection-hero__inner page-width"><div class="dw-collection-hero__panel">
+      <div class="dw-collection-hero__crumbs">Home / Collections / Hollywood Wallcoverings</div>
+      <h1 class="dw-collection-hero__title">Hollywood Wallcoverings</h1>
+    </div></div>
+  </div>
+
+  <h4>AFTER — patched: 2&times;2 mosaic of real product images (SHARP)</h4>
+  <div class="dw-collection-hero dw-collection-hero--mosaic" data-hero-mode="mosaic">
+    <div class="dw-collection-hero__mosaic" aria-hidden=true>
+      <span class="dw-collection-hero__cell" style="background-image:url('https://cdn.shopify.com/s/files/1/0015/4117/7456/files/xhw-2010155-sample-hollywood-poolside-pebble-hollywood-wallcoverings.jpg?v=1775718379&width=800')"></span>
+      <span class="dw-collection-hero__cell" style="background-image:url('https://cdn.shopify.com/s/files/1/0015/4117/7456/files/luca-vellum_6f8abc2b-8c18-45a7-b8c7-2839a651cb15.jpg?v=1777481546&width=800')"></span>
+      <span class="dw-collection-hero__cell" style="background-image:url('https://cdn.shopify.com/s/files/1/0015/4117/7456/files/CROCA-93031-sample-clean_cead575a-9cb5-4606-884d-8b7fdd3f22a0.jpg?v=1774479224&width=800')"></span>
+      <span class="dw-collection-hero__cell" style="background-image:url('https://cdn.shopify.com/s/files/1/0015/4117/7456/files/xjc-47057-sample-addlington-type-ii-vinyl-hollywood-wallcoverings.jpg?v=1775697327&width=800')"></span>
+    </div>
+    <div class="dw-collection-hero__inner page-width"><div class="dw-collection-hero__panel">
+      <div class="dw-collection-hero__crumbs">Home / Collections / Hollywood Wallcoverings</div>
+      <h1 class="dw-collection-hero__title">Hollywood Wallcoverings</h1>
+    </div></div>
+  </div>
+</div>

← 0da60c38 auto-save: 2026-07-30T08:46:20 (1 files) — shopify/discontin  ·  back to Designer Wallcoverings  ·  TK-10053: dedup mosaic tiles by image id (Cody gate); re-sta 9843ad52 →