/*
 * CHIP IN MERCH — RETAIL EDITION V3
 * Editorial, product-led visual layer. No checkout/stock/Printful/quiz logic.
 * Customer-facing markup is simplified in index.html, app.js and product.js.
 * This intentionally replaces the old decorated-card presentation.
 */
body.ci-brand,body.storefront-dark.merch-refined.ci-brand,body.digital-builder-page.ci-brand{
  --retail-navy:#0b2d62;--retail-accent:#f8c320;--retail-ink:#152839;
  --retail-muted:#65737d;--retail-border:#dce5e0;--retail-canvas:#fbfdfb;
  background:var(--retail-canvas);color:var(--retail-ink);
  font-family:Inter,system-ui,sans-serif;font-size:15px;
}
html{scroll-behavior:smooth}
body.ci-brand *{box-sizing:border-box}
body.ci-brand .sr-only{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
body.ci-brand h1,body.ci-brand h2,body.ci-brand h3{
  color:var(--retail-navy);letter-spacing:-.035em;
}
body.ci-brand :is(button,input,select,textarea){font-family:Inter,system-ui,sans-serif}
body.ci-brand a:focus-visible,body.ci-brand button:focus-visible,
body.ci-brand select:focus-visible,body.ci-brand input:focus-visible {
  outline:3px solid var(--retail-accent);outline-offset:3px;
}
/* Understated navigation */
body.ci-brand .site-header,body.storefront-dark.merch-refined.ci-brand .site-header {
  min-height:80px;padding:12px max(24px,calc((100% - 1260px)/2));
  grid-template-columns:minmax(160px,1fr) auto 60px;gap:24px;
  background:rgba(255,255,255,.97);box-shadow:none;
  border-bottom:1px solid var(--retail-border);
}
body.ci-brand .site-header .brand-logo,body.storefront-dark.merch-refined.ci-brand .site-header .brand-logo {
  width:146px;max-height:57px;
}
body.ci-brand .site-header .brand-merch{
  padding:0;margin-left:2px;background:none;border:0;border-radius:0;
  font-family:Fredoka,Inter,sans-serif;
  font-weight:700;font-size:clamp(1.5rem,2vw,1.85rem);
  line-height:1;letter-spacing:-.035em;text-transform:none;
  color:var(--retail-navy);white-space:nowrap;
}
body.ci-brand .site-header .merch-top-links{
  gap:30px;justify-content:flex-end;border:0;padding:0;
}
body.ci-brand .site-header .merch-top-link{
  font:600 13px/1.3 Inter,system-ui,sans-serif;
  letter-spacing:0;color:#485969;padding:12px 0;
}
body.ci-brand .site-header .merch-top-link:hover,
body.ci-brand .site-header .merch-top-link-active{color:var(--retail-navy)}
body.ci-brand .site-header .merch-top-link::after{height:2px;bottom:3px;background:var(--retail-accent)}
body.ci-brand .site-header .basket-nav{
  justify-self:end;width:43px;height:43px;
  color:var(--retail-navy);background:#fff;
  border:1px solid var(--retail-border);border-radius:50%;
  box-shadow:none;
}
body.ci-brand .site-header .basket-nav:hover{background:#edf7f2;color:var(--retail-navy)}
body.ci-brand .site-header .basket-count{background:var(--retail-accent);color:var(--retail-navy)}
/* Editorial home, no framed hero or 12-item mosaic */
body.ci-brand .home-main{width:min(1240px,calc(100% - 60px));margin:auto;padding:0 0 100px}
body.ci-brand .merch-hero,body.ci-brand .merch-hero:has(.merch-real-showcase:not([hidden])){
  display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:clamp(36px,6vw,96px);align-items:center;
  min-height:0;padding:60px 0 58px;margin:0 0 38px;
  background:none;border:0;border-radius:0;box-shadow:none;
}
body.ci-brand .merch-hero::before,body.ci-brand .merch-hero::after{content:none}
body.ci-brand .merch-hero .hero-copy{padding:0}
body.ci-brand .merch-hero h1{
  font-family:Fredoka,Inter,sans-serif;font-size:clamp(3.7rem,5.7vw,6.25rem);
  line-height:1.02;font-weight:600;letter-spacing:-.055em;max-width:620px;
  color:var(--retail-navy);margin:0;
}
body.ci-brand .merch-hero h1 .hero-accent{color:#dfa800}
body.ci-brand .merch-hero .merch-hero-subline{
  max-width:390px;margin:22px 0 28px;font:400 clamp(1.04rem,1.4vw,1.19rem)/1.5 Inter,system-ui,sans-serif;
  color:#586c76;
}
body.ci-brand .merch-hero .cta-primary{
  border:1px solid var(--retail-navy);background:var(--retail-navy);
  color:#fff;border-radius:8px;padding:13px 27px;min-height:48px;
  box-shadow:none;font:650 .93rem/1.2 Inter,system-ui,sans-serif;
  text-decoration:none;transition:background .15s ease;
}
body.ci-brand .merch-hero .cta-primary:hover{background:#19477e;color:#fff;transform:none;box-shadow:none}
body.ci-brand .merch-real-showcase{
  display:grid;width:100%;height:410px;max-height:none;min-width:0;
  aspect-ratio:auto;grid-template-columns:1.2fr .8fr;
  grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;
}
body.ci-brand .merch-real-showcase[hidden]{display:none}
body.ci-brand .merch-showcase-product{
  display:flex;overflow:hidden;position:relative;min-width:0;min-height:0;
  background:#f2f6f3!important;border:0;border-radius:9px;box-shadow:none;
  transition:none;
}
body.ci-brand .merch-showcase-product:first-child{grid-row:1/3;grid-column:1;background:#edf3f0!important}
body.ci-brand .merch-showcase-product:nth-child(2){grid-column:2;grid-row:1}
body.ci-brand .merch-showcase-product:nth-child(3){grid-column:2;grid-row:2}
body.ci-brand .merch-showcase-product:nth-child(n+4){display:none!important}
body.ci-brand .merch-showcase-product:hover,
body.ci-brand .merch-showcase-product:focus-visible{
  transform:none;box-shadow:none;opacity:.9;
}
body.ci-brand .merch-showcase-product img{
  width:100%;height:100%;padding:0;object-fit:contain;object-position:center;
  transition:transform .2s ease;
}
body.ci-brand .merch-showcase-product:hover img{transform:scale(1.025)}
/* Product index: photos and product names are the UI. No nested cards. */
body.ci-brand .products-section{padding:0}
body.ci-brand .product-browser-heading{
  margin:0 0 16px;display:flex;justify-content:space-between;align-items:center;
  gap:20px;flex-wrap:wrap;
}
body.ci-brand .merch-browser-intro{flex:1 1 240px}
body.ci-brand #catalog-heading,body.ci-brand .product-browser-heading h2{
  font:700 clamp(1.75rem,2.65vw,2.4rem)/1.15 Inter,system-ui,sans-serif;
  letter-spacing:-.045em;margin:0;color:var(--retail-navy);
}
body.ci-brand #catalog-summary{display:block}
body.ci-brand .merch-browser-tools{flex:0 1 470px;display:flex;align-items:center;gap:12px}
body.ci-brand .merch-filter{flex:0 1 190px}
body.ci-brand .merch-search{flex:1 1 225px}
body.ci-brand .merch-filter select,body.ci-brand .merch-search input{
  width:100%;height:44px;padding:0 14px;border:1px solid var(--retail-border);
  border-radius:7px;background:#fff;color:#293b4c;
  font:500 .89rem Inter,system-ui,sans-serif;box-shadow:none;
}
body.ci-brand .merch-search input::placeholder{color:#89969c}
body.ci-brand .merch-browse-tabs{
  width:100%;gap:30px;margin:0 0 30px;padding:0;
  border-bottom:1px solid var(--retail-border);border-radius:0;
  overflow-x:auto;scrollbar-width:none;
}
body.ci-brand .merch-browse-tabs .type-tab{
  display:inline-flex;align-items:center;flex:0 0 auto;
  min-height:0;padding:13px 1px 15px;margin:0;border:0;border-bottom:2px solid transparent;
  background:none;border-radius:0;text-decoration:none;
  color:#78858b;font:600 .89rem/1.2 Inter,system-ui,sans-serif;
}
body.ci-brand .merch-browse-tabs .type-tab:hover{background:none;color:var(--retail-navy)}
body.ci-brand .merch-browse-tabs .type-tab.active,
body.ci-brand .merch-browse-tabs .type-tab.active:hover{
  background:none;border:0;border-bottom:2px solid var(--retail-navy);
  color:var(--retail-navy);font-weight:700;
}
body.ci-brand .catalog{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:start;gap:38px 19px;
}
body.ci-brand .catalog .product-card{
  min-width:0;display:flex;flex-direction:column;gap:0;
  border:0;background:none;border-radius:0;box-shadow:none;transform:none;
  text-decoration:none;color:var(--retail-ink);overflow:visible;
}
body.ci-brand .catalog .product-card:hover,
body.ci-brand .catalog .product-card:focus-visible{
  transform:none;box-shadow:none;border:0;
}
body.ci-brand .catalog .product-image-wrap{
  width:100%;aspect-ratio:4/4.8;border:0;border-radius:9px;
  background:#f1f5f2!important;overflow:hidden;padding:0;
}
body.ci-brand .catalog .product-image{
  width:100%;height:100%;object-fit:contain;object-position:center;
  mix-blend-mode:normal;transition:transform .18s ease;
}
body.ci-brand .catalog .product-card:hover .product-image,
body.ci-brand .catalog .product-card:focus-visible .product-image{transform:scale(1.03)}
body.ci-brand .catalog .product-info{
  padding:12px 1px 0;display:flex;flex-direction:column;gap:0;
  background:none;border:0;box-shadow:none;min-height:0;
}
body.ci-brand .catalog .merch-card-collection{
  font:500 .77rem/1.3 Inter,system-ui,sans-serif;
  margin:0 0 5px;color:#687981;text-transform:none;letter-spacing:0;
}
body.ci-brand .catalog .product-title{
  display:block;font:650 1rem/1.35 Inter,system-ui,sans-serif;letter-spacing:-.015em;
  color:var(--retail-navy);margin:0 0 7px;min-height:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
body.ci-brand .catalog .product-bottom{
  display:block;margin:0;padding:0;min-height:0;
}
body.ci-brand .catalog .price{
  font:550 .94rem/1.4 Inter,system-ui,sans-serif;color:#203e58;
}
body.ci-brand .merch-card-view,body.ci-brand .merch-card-description,
body.ci-brand .merch-card-view span{display:none!important}
body.ci-brand .merch-load-more-row{grid-column:1/-1;padding:14px 0 0}
body.ci-brand .merch-load-more{
  min-height:44px;padding:11px 30px;border:1px solid var(--retail-navy);
  background:#fff;border-radius:7px;color:var(--retail-navy);
  box-shadow:none;font:650 .9rem Inter,system-ui,sans-serif;
}
body.ci-brand .merch-load-more:hover{background:var(--retail-navy);color:#fff}
body.ci-brand .catalog .empty-card{
  border:0;background:none;box-shadow:none;padding:30px 0;text-align:left;
  color:var(--retail-muted);font:500 1rem Inter,system-ui,sans-serif;
}
/* Product: picture and purchase options, not nested cards. */
body.ci-brand .product-main{
  width:min(1180px,calc(100% - 56px));padding:34px 0 95px;
}
body.ci-brand .product-main .back-link{
  display:inline-block;margin:0 0 26px;font:600 .84rem Inter,system-ui,sans-serif;
  color:#62747d;text-decoration:underline;text-decoration-color:#aebfc1;
}
body.ci-brand .product-detail-layout{
  display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);
  gap:clamp(30px,5vw,78px);align-items:start;
}
body.ci-brand .product-main-image-wrap{
  border:0;border-radius:9px;background:#f2f5f2;
  box-shadow:none;aspect-ratio:1/1.06;
}
body.ci-brand .product-main-image-wrap img{object-fit:contain}
body.ci-brand .gallery-arrow{display:none!important}
body.ci-brand .product-thumbs{gap:9px;padding:13px 0 2px}
body.ci-brand .product-thumbs .thumb{
  width:72px;height:72px;flex:0 0 72px;
  background:#f2f5f2;border:1px solid transparent;border-radius:6px;
}
body.ci-brand .product-thumbs .thumb.active{border-color:var(--retail-navy);outline:0}
body.ci-brand .product-purchase{
  position:sticky;top:115px;background:none;border:0;border-radius:0;
  box-shadow:none;padding:2px 0;min-width:0;
}
body.ci-brand .product-purchase .product-meta{margin:0 0 12px}
body.ci-brand .product-collection-link{
  color:#60747f;text-decoration:none;font:600 .78rem Inter,system-ui,sans-serif;
  letter-spacing:.03em;text-transform:uppercase;
}
body.ci-brand .product-detail-title{
  margin:0;font:700 clamp(2rem,3.2vw,3.3rem)/1.13 Inter,system-ui,sans-serif;
  letter-spacing:-.045em;color:var(--retail-navy);
}
body.ci-brand .product-detail-price{
  margin:10px 0 27px;font:650 1.55rem/1.25 Inter,system-ui,sans-serif;
  color:#1b354b;
}
body.ci-brand .merch-design-picker{margin:0 0 25px;padding:0}
body.ci-brand .merch-design-picker-top{margin:0 0 12px}
body.ci-brand .merch-design-picker-top strong{
  font:600 .86rem Inter,system-ui,sans-serif;color:var(--retail-ink);
}
body.ci-brand .merch-design-options{gap:9px}
body.ci-brand .merch-design-option{
  border:1px solid var(--retail-border);border-radius:7px;
  background:#fff;box-shadow:none;padding:6px;transition:border-color .16s;
}
body.ci-brand .merch-design-option.selected{
  border:2px solid var(--retail-navy);background:#fff;
  box-shadow:none;padding:5px;
}
body.ci-brand .merch-design-option img{background:#f2f5f2;border-radius:4px}
body.ci-brand .merch-design-option span{
  font:500 .75rem/1.3 Inter,system-ui,sans-serif;color:#344d5f;
}
body.ci-brand .product-purchase .selector-grid{gap:14px;margin-bottom:17px}
body.ci-brand .product-purchase .field label{
  font:600 .86rem Inter,system-ui,sans-serif;color:var(--retail-ink);margin-bottom:8px;
}
body.ci-brand .product-purchase .field select{
  background:#fff;border:1px solid #cfdbd6;border-radius:6px;min-height:47px;
}
body.ci-brand .product-purchase .buy-now{
  display:flex;width:100%;min-height:52px;background:var(--retail-navy);
  color:#fff;border:1px solid var(--retail-navy);border-radius:7px;
  box-shadow:none;font:650 1rem Inter,system-ui,sans-serif;
}
body.ci-brand .product-purchase .buy-now:hover{background:#17477f;box-shadow:none;transform:none}
body.ci-brand .product-accordions{margin-top:28px;border-top:1px solid var(--retail-border)}
body.ci-brand .product-accordions details{border-color:var(--retail-border)}
body.ci-brand .product-measure-trigger{font-size:.84rem;color:var(--retail-navy)}
body.ci-brand .product-measure-trigger::after{content:none!important;display:none!important}
/* A horizontal product-design selector keeps the actual buy controls in view.
   All approved designs stay reachable by touch, scroll and keyboard. */
body.ci-brand .merch-design-picker{min-width:0;width:100%;overflow:hidden}
body.ci-brand .merch-design-options{
  display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;
  width:100%;max-width:100%;gap:10px;overflow-x:auto;overflow-y:hidden;
  overscroll-behavior-inline:contain;scroll-snap-type:x proximity;
  scrollbar-width:thin;scrollbar-color:#b9c9d2 transparent;
  padding:1px 1px 12px;margin:0;
}
body.ci-brand .merch-design-option{
  display:flex;flex:0 0 108px;flex-direction:column;
  width:108px;min-width:108px;min-height:0;padding:5px;gap:6px;
  scroll-snap-align:start;background:#fff!important;
}
body.ci-brand .merch-design-option.selected{padding:4px}
body.ci-brand .merch-design-option img{
  display:block;aspect-ratio:1/1;width:100%;height:auto;object-fit:contain;
}
body.ci-brand .merch-design-option span{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;min-height:2.5em;
  font:500 .7rem/1.3 Inter,system-ui,sans-serif;
}
/* Cart: clean list + right summary, no checkout card-within-a-card. */
body.ci-brand .basket-main{width:min(1160px,calc(100% - 56px));padding:50px 0 85px}
body.ci-brand .basket-heading{margin:0 0 25px}
body.ci-brand .basket-heading h1{
  font:700 clamp(2.1rem,3.6vw,3.25rem)/1.2 Inter,system-ui,sans-serif;
  letter-spacing:-.045em;color:var(--retail-navy);
}
body.ci-brand .basket-layout{gap:clamp(26px,4vw,70px)}
body.ci-brand .basket-items{
  border:0;border-radius:0;padding:0;background:none;box-shadow:none;
}
body.ci-brand .basket-row{padding:21px 0;border-color:var(--retail-border)}
body.ci-brand .basket-image{background:#f3f6f3;border:0;border-radius:7px}
body.ci-brand .basket-review{
  position:sticky;top:110px;padding:22px 0 0;border:0;
  border-top:2px solid var(--retail-navy);border-radius:0;box-shadow:none;background:none;
}
body.ci-brand .basket-review h2{font:650 1.35rem Inter,system-ui,sans-serif;color:var(--retail-navy)}
body.ci-brand .basket-total{border-color:var(--retail-border)}
body.ci-brand .basket-checkout{border-radius:7px}
body.ci-brand .basket-empty{padding:28px 0;color:var(--retail-muted)}
/* Quiz In: clear intro with approved source logo, flat functional workspace */
body.digital-builder-page.ci-brand{background:var(--retail-canvas)}
body.ci-brand .digital-builder-main{width:min(1200px,calc(100% - 56px));padding-bottom:80px}
body.ci-brand .digital-builder-crumbs{font:500 .8rem Inter,system-ui,sans-serif;color:#73818a;padding:24px 0}
body.ci-brand .db-intro{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.68fr)!important;
  align-items:center;gap:36px;min-height:0!important;
  margin:0 0 64px!important;padding:30px 0 18px!important;
  background:none!important;border:0;border-radius:0;box-shadow:none;
}
body.ci-brand .db-intro::before,body.ci-brand .db-intro::after{display:none!important}
body.ci-brand .db-intro h1,body.digital-builder-page.ci-brand .db-intro h1{
  margin:0 0 18px!important;font:650 clamp(2.8rem,4.6vw,4.9rem)/1.05 Fredoka,Inter,sans-serif!important;
  letter-spacing:-.05em!important;color:var(--retail-navy)!important;
}
body.ci-brand .db-intro h1 em,body.digital-builder-page.ci-brand .db-intro h1 em{
  font-family:inherit!important;color:#d29c00!important;
}
body.ci-brand .db-intro-copy>p:not(.db-kicker){
  font:400 1.05rem/1.55 Inter,system-ui,sans-serif!important;
  color:#62737e!important;max-width:420px;margin-bottom:24px!important;
}
body.ci-brand .db-intro .db-primary,body.digital-builder-page.ci-brand .db-intro .db-primary{
  border:1px solid var(--retail-navy);border-radius:7px;
  background:var(--retail-navy);color:#fff;min-height:46px;
  padding:11px 21px;font:650 .94rem Inter,system-ui,sans-serif;box-shadow:none;
}
body.ci-brand .db-intro .db-primary:hover{background:#1b477c;color:#fff}
body.ci-brand .db-product-overview,body.digital-builder-page.ci-brand .db-product-overview{
  background:none!important;box-shadow:none;border:0;border-radius:0;
  padding:0!important;color:var(--retail-navy);backdrop-filter:none;
}
body.ci-brand .db-intro .db-product-overview{display:flex;flex-direction:column;align-items:center;justify-content:center}
body.ci-brand .db-product-logo-img.quiz-in-authentic-logo{
  display:block;width:min(100%,380px);height:auto;max-height:none;
  object-fit:contain;margin:0 auto;
}
body.ci-brand .db-product-foot{margin:9px 0 0!important;color:#617482!important;
  font:500 .85rem Inter,system-ui,sans-serif;text-align:center}
body.ci-brand .db-workspace{padding:0;margin:0;background:none}
body.ci-brand .db-workspace-heading{
  margin:0 0 22px;padding:0 0 18px;
  border-bottom:1px solid var(--retail-border);justify-content:flex-start;
}
body.ci-brand .db-workspace-heading h2,body.digital-builder-page.ci-brand .db-workspace-heading h2{
  margin:0!important;font:700 clamp(1.65rem,2.8vw,2.25rem)/1.2 Inter,system-ui,sans-serif!important;
  letter-spacing:-.045em;color:var(--retail-navy);
}
body.ci-brand .db-layout,body.ci-brand .db-workspace .db-layout{
  gap:24px!important;grid-template-columns:minmax(195px,250px) minmax(0,1fr) minmax(200px,262px)!important;
}
body.ci-brand .db-builder-panel,body.ci-brand .db-rounds-panel,body.ci-brand .db-summary,
body.digital-builder-page.ci-brand .db-builder-panel,body.digital-builder-page.ci-brand .db-rounds-panel,body.digital-builder-page.ci-brand .db-summary{
  min-width:0;background:none!important;border:0;border-radius:0;
  border-top:1px solid var(--retail-border);box-shadow:none;
  padding:18px 0!important;
}
body.ci-brand .db-summary{border-top:2px solid var(--retail-navy)}
body.ci-brand .db-builder-panel .db-section-label h3,
body.ci-brand .db-rounds-header h3,body.ci-brand .db-summary h3{
  font:650 .97rem/1.3 Inter,system-ui,sans-serif;color:var(--retail-navy);letter-spacing:-.015em;
}
body.ci-brand .db-modes .db-mode{
  border:1px solid var(--retail-border);border-radius:6px;box-shadow:none;
  padding:12px!important;background:#fff;
}
body.ci-brand .db-mode[aria-pressed="true"]{
  border-color:var(--retail-navy);background:#edf5f0;
}
body.ci-brand .db-mode small{display:none}
body.ci-brand .db-modes .db-mode strong{font:600 .86rem Inter,system-ui,sans-serif}
body.ci-brand .db-rounds-panel .db-catalogue{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
body.ci-brand .db-rounds-panel .db-round-card{
  border:1px solid var(--retail-border)!important;border-left:1px solid var(--retail-border)!important;
  border-radius:7px!important;background:#fff!important;box-shadow:none!important;
  min-height:175px!important;padding:14px!important;
}
body.ci-brand .db-rounds-panel .db-round-card:hover{transform:none;box-shadow:none!important}
body.ci-brand .db-rounds-panel .db-round-card-selected{
  border-color:var(--retail-navy)!important;
  box-shadow:inset 0 0 0 1px var(--retail-navy)!important;
}
body.ci-brand .db-rounds-panel .db-round-card strong{
  color:var(--retail-ink);font:600 .88rem/1.36 Inter,system-ui,sans-serif;
}
body.ci-brand .db-rounds-panel .db-round-card>button:last-child{
  background:var(--retail-navy)!important;border:1px solid var(--retail-navy)!important;
  border-radius:6px!important;min-height:36px!important;
  font:650 .78rem Inter,system-ui,sans-serif!important;
}
body.ci-brand .db-rounds-panel .db-round-card>button:last-child[aria-pressed="true"]{
  background:#edf5f0!important;color:var(--retail-navy)!important;
}
body.ci-brand .db-summary .db-price{font:700 2rem Inter,system-ui,sans-serif;color:var(--retail-navy)}
body.ci-brand .db-filters .db-filter{border-radius:6px}
body.ci-brand .db-filter[aria-pressed="true"]{background:var(--retail-navy)!important}
body.ci-brand .db-product-overview .db-product-heading,
body.ci-brand .db-product-overview .db-product-label,
body.ci-brand .db-product-overview .db-product-includes{display:none!important}
/* Service pages without fake callout-card scaffolding */
body.ci-brand .order-status-main{width:min(710px,calc(100% - 56px));padding:56px 0 94px}
body.ci-brand .order-status-card{
  padding:0;background:none;border:0;border-radius:0;box-shadow:none;
}
body.ci-brand .order-status-card h1,body.ci-brand .policy>h1{
  font:700 clamp(2.1rem,3.6vw,3.25rem)/1.15 Inter,system-ui,sans-serif;
  letter-spacing:-.045em;color:var(--retail-navy);
}
body.ci-brand .order-status-card .lead{color:var(--retail-muted)}
body.ci-brand .order-status-form{max-width:550px}
body.ci-brand .order-status-result{background:#fff;border:1px solid var(--retail-border);border-radius:8px}
body.ci-brand .policy{width:min(900px,calc(100% - 56px));max-width:900px;padding:52px 0 90px}
body.ci-brand .policy section{
  margin:0;padding:26px 0;background:none;border:0;border-bottom:1px solid var(--retail-border);
  border-radius:0;box-shadow:none;
}
body.ci-brand .policy section h2{
  font:650 1.35rem Inter,system-ui,sans-serif;letter-spacing:-.025em;
  color:var(--retail-navy);margin:0 0 11px;
}
/* Checkout modal is a functional exception: keep its accessible dialog. */
body.ci-brand .dialog-shell{border:0;border-radius:12px;box-shadow:0 28px 80px #071e3950}
body.ci-brand .dialog-shell .summary{border:0;border-radius:7px;background:#f4f7f5}
body.ci-brand .dialog-shell :is(.checkout-heading h2){font-family:Inter,system-ui,sans-serif}
body.ci-brand .dialog-shell .close{background:#f2f5f4;border-radius:50%}
/* Footer: just navigation and legal imprint; no testimonial/filler boxes */
body.ci-brand footer.merch-footer{
  display:flex;flex-direction:column;align-items:center;gap:18px;
  background:#f3f7f4;border:0;border-top:1px solid var(--retail-border);
  padding:36px 22px 31px;
}
body.ci-brand footer.merch-footer .merch-footer-links{
  gap:12px 24px;display:flex;justify-content:center;flex-wrap:wrap;
}
body.ci-brand footer.merch-footer .merch-footer-links a,
body.ci-brand footer.merch-footer .merch-footer-back{
  font:550 .82rem/1.35 Inter,system-ui,sans-serif;
  color:#526777;text-decoration:none;letter-spacing:0;
}
body.ci-brand footer.merch-footer .merch-footer-back{
  padding:0;border:0;border-radius:0;background:none;
}
body.ci-brand footer.merch-footer .merch-footer-links a:hover,
body.ci-brand footer.merch-footer .merch-footer-back:hover{text-decoration:underline;color:var(--retail-navy)}
body.ci-brand footer.merch-footer .merch-footer-credit{
  margin:0;font:400 .75rem/1.45 Inter,system-ui,sans-serif;color:#7a898c;
}
@media(max-width:1100px){
  body.ci-brand .merch-hero,body.ci-brand .merch-hero:has(.merch-real-showcase:not([hidden])){gap:30px}
  body.ci-brand .db-layout,body.ci-brand .db-workspace .db-layout{
    grid-template-columns:minmax(180px,235px) minmax(0,1fr)!important;
  }
  body.ci-brand .db-summary{grid-column:1/-1;position:static}
}
@media(max-width:900px){
  body.ci-brand .site-header,body.storefront-dark.merch-refined.ci-brand .site-header{
    grid-template-columns:minmax(0,1fr) auto;gap:6px 18px;
    padding:10px 24px 0;min-height:0;
  }
  body.ci-brand .site-header .merch-top-links{
    grid-column:1/-1;grid-row:2;display:flex;justify-content:flex-start;
    gap:22px;padding:0 0 5px;border-top:1px solid var(--retail-border);
    overflow-x:auto;max-width:100%;
  }
  body.ci-brand .site-header .basket-nav{grid-row:1;grid-column:2}
  body.ci-brand .merch-hero,body.ci-brand .merch-hero:has(.merch-real-showcase:not([hidden])){
    grid-template-columns:1fr;gap:25px;padding:39px 0;
  }
  body.ci-brand .merch-real-showcase{height:min(420px,54vw)}
  body.ci-brand .catalog{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ci-brand .product-purchase,body.ci-brand .basket-review{position:static}
}
@media(max-width:700px){
  body.ci-brand .home-main,body.ci-brand .product-main,body.ci-brand .basket-main,
  body.ci-brand .digital-builder-main,body.ci-brand .order-status-main,
  body.ci-brand .policy{width:calc(100% - 34px)}
  body.ci-brand .merch-hero,body.ci-brand .merch-hero:has(.merch-real-showcase:not([hidden])){
    padding:31px 0 29px;margin:0 0 30px;gap:25px;
  }
  body.ci-brand .merch-hero h1{font-size:clamp(3.1rem,11vw,5rem)}
  body.ci-brand .merch-hero .merch-hero-subline{margin:17px 0 22px}
  body.ci-brand .merch-real-showcase{height:325px}
  body.ci-brand .product-browser-heading{align-items:stretch;gap:15px}
  body.ci-brand .merch-browser-intro{flex-basis:100%}
  body.ci-brand .merch-browser-tools{flex:1 1 100%;gap:10px}
  body.ci-brand .merch-browse-tabs{gap:22px;margin-bottom:20px}
  body.ci-brand .catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 12px}
  body.ci-brand .catalog .product-image-wrap{aspect-ratio:4/4.8}
  body.ci-brand .catalog .product-info{padding:11px 2px 0}
  body.ci-brand .catalog .product-title{font-size:.91rem}
  body.ci-brand .product-detail-layout{grid-template-columns:1fr;gap:26px}
  body.ci-brand .product-main{padding:20px 0 65px}
  body.ci-brand .product-main-image-wrap{aspect-ratio:1/1}
  body.ci-brand .product-purchase{padding:0}
  body.ci-brand .basket-main{padding:30px 0 65px}
  body.ci-brand .basket-items{padding:0}
  body.ci-brand .basket-review{padding:19px 0 0}
  body.ci-brand .db-intro{
    grid-template-columns:1fr!important;gap:25px!important;
    margin:0 0 38px!important;padding:7px 0 0!important;
  }
  body.ci-brand .db-intro .db-product-overview{align-items:flex-start}
  body.ci-brand .db-product-logo-img.quiz-in-authentic-logo{width:min(300px,83%);margin:0}
  body.ci-brand .db-product-foot{text-align:left;margin:10px 0 0!important}
  body.ci-brand .db-layout,body.ci-brand .db-workspace .db-layout{grid-template-columns:1fr!important;gap:15px}
  body.ci-brand .db-summary{grid-column:auto}
  body.ci-brand .db-rounds-panel .db-catalogue{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ci-brand .order-status-main{padding:38px 0 65px}
  body.ci-brand .policy{padding:35px 0 65px}
}
@media(max-width:390px){
  body.ci-brand .site-header,body.storefront-dark.merch-refined.ci-brand .site-header{padding:10px 16px 0}
  body.ci-brand .site-header .brand-logo{width:118px}
  body.ci-brand .merch-real-showcase{height:255px;gap:8px}
  body.ci-brand .merch-filter{flex-basis:39%}
  body.ci-brand .merch-search{flex-basis:61%}
  body.ci-brand .catalog .product-title{font-size:.86rem}
  body.ci-brand .db-rounds-panel .db-catalogue{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){
 body.ci-brand .merch-showcase-product img,body.ci-brand .catalog .product-image{transition:none}
}

/* Every customer page uses the same full-size brand wordmark, not a tiny label. */
@media(max-width:700px){
  body.ci-brand .site-header .brand{gap:9px}
  body.ci-brand .site-header .brand-merch{font-size:1.58rem}
}
@media(max-width:365px){
  body.ci-brand .site-header .brand-merch{font-size:1.32rem}
}
