/*
  CHIP IN | MERCH DESIGN SYSTEM • 19 November 2026
  Visual-only layer: no product, basket, payment, fulfilment or Quiz In logic.
  Tokens match the approved Chip In main-site palette and type system.
  Genuine product mockups and approved logo files remain unchanged.
*/
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');
:root {
  --ci-navy:#082f68; --ci-navy-light:#0a3d80; --ci-gold:#f7bd18;
  --ci-mint:#eefaf5; --ci-sage:#dceee7; --ci-ink:#13314d;
  --ci-muted:#5e7182; --ci-line:#cfe7dd; --ci-white:#fff;
  --ci-shadow:0 17px 48px rgba(8,47,104,.095);
  --blue:#082f68; --blue-dark:#082f68; --gold:#f7bd18;
  --ink:#13314d; --muted:#5e7182; --line:#cfe7dd;
  --paper:#fff; --soft:#eefaf5; --soft-blue:#edf5ff;
}
html {scroll-padding-top:128px}
body.ci-brand, body.storefront-dark.merch-refined.ci-brand,
body.digital-builder-page.ci-brand {
  --ink:var(--ci-ink); --muted:var(--ci-muted); --line:var(--ci-line);
  --blue:var(--ci-navy); --blue-dark:var(--ci-navy);
  --gold:var(--ci-gold); --paper:#fff; --soft:var(--ci-mint);
  margin:0; color:var(--ci-ink);
  background:linear-gradient(180deg,#f7fffb 0%,#eefaf5 50%,#f7fbff 100%);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.ci-brand :is(h1,h2,h3,h4,h5,h6,.product-title,.product-detail-title,.price,.product-detail-price,.merch-kicker,.eyebrow,.db-price,.db-rounds-header h3,.db-section-label h3) {
  font-family:Fredoka,Inter,ui-sans-serif,system-ui,sans-serif;
  letter-spacing:normal;
}
.ci-brand :is(h1,h2,h3,h4,h5,h6) {color:var(--ci-navy)}
.ci-brand :is(button,input,select,textarea) {font-family:inherit}
.ci-brand :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid var(--ci-gold);outline-offset:3px;
}
.ci-brand a {text-underline-offset:3px}
.ci-brand button {touch-action:manipulation}
.ci-brand button:disabled {cursor:not-allowed}
/* One navigation across products, basket, Quiz In, tracking and policies. */
body.ci-brand .site-header,
body.storefront-dark.merch-refined.ci-brand .site-header {
  width:100%;min-height:82px;
  padding:10px max(22px,calc((100% - 1160px)/2));
  display:grid;grid-template-columns:minmax(160px,auto) minmax(0,1fr) auto;
  align-items:center;column-gap:clamp(15px,2.6vw,32px);
  position:sticky;top:0;z-index:70;
  border:0;border-bottom:1px solid rgba(8,47,104,.09);
  background:rgba(247,255,251,.96);backdrop-filter:blur(16px);
  box-shadow:0 5px 23px rgba(8,47,104,.035);
}
.ci-brand .site-header .brand {
  display:flex;gap:10px;align-items:center;min-width:0;text-decoration:none;
}
.ci-brand .site-header .brand-logo,
body.storefront-dark.merch-refined.ci-brand .site-header .brand-logo {
  display:block;width:clamp(128px,14vw,166px);max-height:59px;
  object-fit:contain;object-position:left center;flex:0 1 auto;
}
.ci-brand .site-header .brand-merch {
  font-family:Fredoka,Inter,sans-serif;font-weight:700;
  font-size:.88rem;letter-spacing:.055em;color:var(--ci-navy);
  padding:5px 9px;border-radius:999px;background:#ffefd0;
  border:1px solid rgba(247,189,24,.35);white-space:nowrap;
}
body.ci-brand .site-header .merch-top-links {
  min-width:0;display:flex;align-items:center;justify-content:flex-end;
  gap:clamp(12px,2vw,25px);flex-wrap:nowrap;
}
body.ci-brand .site-header .merch-top-link {
  position:relative;flex:0 0 auto;
  padding:12px 0 10px;text-decoration:none;border:0;
  font-family:Fredoka,Inter,sans-serif;font-size:.97rem;font-weight:600;
  color:var(--ci-navy);letter-spacing:0;white-space:nowrap;
}
body.ci-brand .site-header .merch-top-link::after {
  content:"";position:absolute;bottom:4px;left:0;right:100%;
  height:3px;border-radius:6px;background:var(--ci-gold);
  transition:right .2s ease;
}
body.ci-brand .site-header .merch-top-link:hover::after,
body.ci-brand .site-header .merch-top-link:focus-visible::after,
body.ci-brand .site-header .merch-top-link-active::after {right:0}
body.ci-brand .site-header .merch-top-link-main {color:#406383}
body.ci-brand .site-header .basket-nav {
  width:49px;height:49px;display:grid;place-items:center;
  position:relative;justify-self:end;flex:0 0 auto;
  border-radius:999px;background:var(--ci-navy);border:0;
  color:#fff;text-decoration:none;
  box-shadow:0 7px 22px rgba(8,47,104,.18);
}
body.ci-brand .site-header .basket-nav:hover {background:var(--ci-navy-light);color:#fff}
body.ci-brand .site-header .basket-nav svg {width:23px;height:23px;stroke:currentColor}
body.ci-brand .site-header .basket-count {background:var(--ci-gold);color:var(--ci-navy)}
/* Shared primary actions and supporting controls */
.ci-brand :is(.cta-primary,.buy-now,.status-submit,.db-primary,.db-finish,.basket-checkout,.checkout-submit) {
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:48px;padding:11px 22px;
  border:1px solid var(--ci-navy);border-radius:999px;
  background:var(--ci-navy);color:#fff;font-weight:700;
  font-family:Fredoka,Inter,sans-serif;font-size:1rem;
  text-decoration:none;line-height:1.2;box-shadow:0 9px 22px rgba(8,47,104,.14);
  transition:background .17s ease,transform .17s ease,box-shadow .17s ease;
}
.ci-brand :is(.cta-primary,.buy-now,.status-submit,.db-primary,.db-finish,.basket-checkout):hover:not(:disabled) {
  background:var(--ci-navy-light);color:#fff;transform:translateY(-1px);
  box-shadow:0 13px 28px rgba(8,47,104,.21);
}
.ci-brand :is(.cta-secondary,.db-secondary,.back-link,.merch-load-more,.basket-continue-shopping) {
  font-family:Fredoka,Inter,sans-serif;font-weight:600;color:var(--ci-navy);
}
.ci-brand :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
  max-width:100%;border:1px solid #bdd8cd;border-radius:13px;
  background:#fff;color:var(--ci-ink);
}
.ci-brand :is(input,select,textarea)::placeholder {color:#7d91a1}
.ci-brand .eyebrow,.ci-brand .merch-kicker,.ci-brand .db-kicker {
  color:var(--ci-navy);font-family:Fredoka,Inter,sans-serif;
  font-weight:600;letter-spacing:.09em;text-transform:uppercase;
}
/* Homepage: generous brand-led hero, using ONLY real linked Printful mockups */
body.ci-brand .home-main {width:min(1160px,calc(100% - 36px));margin:auto;padding:0 0 82px}
body.ci-brand .merch-hero {
  position:relative;isolation:isolate;overflow:hidden;
  margin:30px 0 42px;padding:clamp(29px,4.8vw,61px);
  min-height:390px;border-radius:32px;border:1px solid rgba(8,47,104,.09);
  background:linear-gradient(115deg,#dff3eb 0%,#f9fffb 54%,#eaf4ff 100%);
  box-shadow:var(--ci-shadow);
}
body.ci-brand .merch-hero::before {
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:380px;height:380px;right:-125px;top:-170px;border-radius:50%;
  background:radial-gradient(circle,rgba(247,189,24,.24),rgba(247,189,24,0) 70%);
}
body.ci-brand .merch-hero::after {
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:370px;height:370px;left:-210px;bottom:-260px;border-radius:50%;
  background:radial-gradient(circle,rgba(10,61,128,.11),transparent 73%);
}
body.ci-brand .merch-hero .hero-copy {z-index:2;position:relative}
body.ci-brand .merch-hero .merch-kicker {font-size:.83rem;margin-bottom:14px;color:var(--ci-navy)}
body.ci-brand .merch-hero h1 {
  font-family:Fredoka,Inter,sans-serif;font-weight:700;
  color:var(--ci-navy);font-size:clamp(3.25rem,6.2vw,5.85rem);
  line-height:.98;letter-spacing:-.02em;max-width:640px;
}
body.ci-brand .merch-hero h1 .hero-accent {color:#c39100}
body.ci-brand .merch-hero .merch-hero-subline {
  color:#476477;line-height:1.55;font-size:clamp(1rem,1.6vw,1.22rem);
  margin:19px 0 25px;max-width:520px;
}
body.ci-brand .merch-hero .cta-primary {background:var(--ci-gold);border-color:var(--ci-gold);color:var(--ci-navy)}
body.ci-brand .merch-hero .cta-primary:hover {background:#ffd354;color:var(--ci-navy)}
body.ci-brand .merch-hero:has(.merch-real-showcase:not([hidden])) {
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:clamp(16px,3vw,38px);align-items:center;min-height:425px;
}
body.ci-brand .merch-real-showcase {gap:10px}
body.ci-brand .merch-showcase-product {
  border:1px solid rgba(8,47,104,.1);border-radius:17px;
  background:#fff;box-shadow:0 10px 25px rgba(8,47,104,.1)
}
body.ci-brand .merch-showcase-product:nth-child(n) {background:#fff}
body.ci-brand .merch-showcase-product:nth-child(4n+1){background:#f7fefb}
body.ci-brand .merch-showcase-product:nth-child(4n+2){background:#fffbee}
body.ci-brand .merch-showcase-product:nth-child(4n+3){background:#eff7ff}
body.ci-brand .merch-showcase-product img{object-fit:contain}
/* Product browsing */
body.ci-brand .product-browser-heading {margin-bottom:22px}
body.ci-brand .product-browser-heading h2,
body.ci-brand #catalog-heading {
  font-family:Fredoka,Inter,sans-serif;font-size:clamp(2rem,3.1vw,2.75rem);
  font-weight:700;letter-spacing:0;color:var(--ci-navy);
}
body.ci-brand #catalog-summary {color:var(--ci-muted);font-size:.96rem}
body.ci-brand .merch-filter,body.ci-brand .merch-search {color:var(--ci-ink);font-size:.86rem}
body.ci-brand .merch-filter select,body.ci-brand .merch-search input {height:47px;border-radius:14px;border-color:var(--ci-line)}
body.ci-brand .merch-browse-tabs {border-color:var(--ci-line);gap:9px;padding:0 0 8px;margin-bottom:26px}
body.ci-brand .merch-browse-tabs .type-tab {
  padding:10px 17px;min-height:42px;display:flex;align-items:center;
  border:1px solid transparent;border-radius:999px;
  color:var(--ci-navy);font-family:Fredoka,Inter,sans-serif;font-size:.92rem;
  font-weight:600;text-decoration:none;
}
body.ci-brand .merch-browse-tabs .type-tab:hover{background:#e2f0e9;color:var(--ci-navy)}
body.ci-brand .merch-browse-tabs .type-tab.active,
body.ci-brand .merch-browse-tabs .type-tab.active:hover {
  background:var(--ci-navy);color:#fff;border-color:var(--ci-navy);
}
body.ci-brand .catalog {gap:clamp(14px,1.8vw,23px)}
body.ci-brand .catalog .product-card {
  overflow:hidden;background:#fff;border:1px solid var(--ci-line);
  border-radius:24px;box-shadow:0 8px 22px rgba(8,47,104,.075);
  transition:transform .19s ease,box-shadow .19s ease,border-color .19s ease;
}
body.ci-brand .catalog .product-card:hover {
  transform:translateY(-4px);box-shadow:0 18px 39px rgba(8,47,104,.15);
  border-color:#b4d4c6;
}
body.ci-brand .catalog .product-image-wrap {
  background:linear-gradient(160deg,#f2faf6,#f7faff);
}
body.ci-brand .catalog .product-image{object-fit:contain}
body.ci-brand .catalog .product-info{padding:18px}
body.ci-brand .catalog .product-meta,body.ci-brand .merch-card-collection {color:#627d8f}
body.ci-brand .catalog .product-title {
  font-family:Fredoka,Inter,sans-serif;font-size:1.16rem;
  font-weight:600;letter-spacing:0;color:var(--ci-navy);line-height:1.25;
}
body.ci-brand .catalog .price {font-family:Fredoka,Inter,sans-serif;color:var(--ci-navy);font-weight:700}
body.ci-brand .catalog .merch-card-view {color:var(--ci-navy);font-weight:700}
body.ci-brand .merch-load-more {
  background:#fff;border:1px solid #b9d4ca;border-radius:999px;
  padding:12px 25px;min-height:46px;color:var(--ci-navy);
}
body.ci-brand .merch-load-more:hover{background:#e5f4ec;border-color:var(--ci-navy)}
/* Product detail and all original real-colour/size selectors */
body.ci-brand .product-main {width:min(1160px,calc(100% - 36px));margin:auto;padding:28px 0 76px}
body.ci-brand .product-detail-title {
  font-family:Fredoka,Inter,sans-serif;font-weight:700;letter-spacing:0;
  color:var(--ci-navy);line-height:1.1;
}
body.ci-brand .product-detail-price{color:var(--ci-navy);font-family:Fredoka,Inter,sans-serif;font-weight:700}
body.ci-brand .product-subtitle,body.ci-brand .product-detail-copy{color:var(--ci-muted)}
body.ci-brand .product-main-image-wrap {
  background:linear-gradient(145deg,#fff,#eff9f4);border:1px solid var(--ci-line);
  border-radius:26px;box-shadow:var(--ci-shadow);
}
body.ci-brand .product-purchase {
  border:1px solid var(--ci-line);border-radius:28px;
  background:#fff;box-shadow:var(--ci-shadow);padding:clamp(18px,3vw,30px);
}
body.ci-brand .thumb {border-radius:13px;background:#f6fcf9}
body.ci-brand .thumb.active {border-color:var(--ci-navy)}
body.ci-brand .merch-design-picker-top strong{color:var(--ci-navy)}
body.ci-brand .merch-design-option{
  border-color:var(--ci-line);background:#fafffc;border-radius:15px;
}
body.ci-brand .merch-design-option:hover,
body.ci-brand .merch-design-option:focus-visible {border-color:var(--ci-navy);background:#f2faf6}
body.ci-brand .merch-design-option.selected{
  border:2px solid var(--ci-navy);background:#edf8f3;
}
body.ci-brand .merch-design-option img{background:#f1f8f5}
body.ci-brand .product-accordions{border-color:var(--ci-line)}
/* Basket and Square dialog: appearance only, no changed fields or listeners */
body.ci-brand .basket-main {width:min(1160px,calc(100% - 36px));padding:48px 0 90px}
body.ci-brand .basket-heading h1 {
  font-family:Fredoka,Inter,sans-serif;color:var(--ci-navy);font-weight:700;letter-spacing:0;
}
body.ci-brand .basket-layout {gap:clamp(18px,3vw,45px)}
body.ci-brand .basket-items{
  min-height:140px;background:#fff;border:1px solid var(--ci-line);
  border-radius:24px;padding:8px 23px;box-shadow:var(--ci-shadow);
}
body.ci-brand .basket-row {border-color:var(--ci-line);gap:19px}
body.ci-brand .basket-image {border:1px solid var(--ci-line);background:#f4fbf7}
body.ci-brand .basket-item-details h2,
body.ci-brand .basket-item-details h2 a {color:var(--ci-navy);font-family:Fredoka,Inter,sans-serif}
body.ci-brand .basket-review {
  top:120px;padding:25px;background:#fff;border:1px solid var(--ci-line);
  border-radius:24px;box-shadow:var(--ci-shadow);
}
body.ci-brand .basket-review h2 {font-family:Fredoka,Inter,sans-serif;color:var(--ci-navy)}
body.ci-brand .basket-total {border-color:var(--ci-line);color:var(--ci-ink)}
body.ci-brand .basket-delivery{color:var(--ci-muted)}
body.ci-brand .basket-checkout {border-radius:999px}
body.ci-brand .basket-continue-shopping{color:var(--ci-navy)}
body.ci-brand .dialog-shell {
  border-radius:26px;border:1px solid var(--ci-line);
  background:#fff;box-shadow:0 30px 90px rgba(8,47,104,.28);
}
body.ci-brand .checkout-overlay {background:rgba(4,26,58,.72)}
body.ci-brand .checkout-heading h2 {color:var(--ci-navy);font-family:Fredoka,Inter,sans-serif}
body.ci-brand .dialog-shell .close {background:#edf8f3;color:var(--ci-navy)}
body.ci-brand .dialog-shell .summary {background:#f2faf6}
/* Order tracking and policy pages now get the SAME header/footer and cards */
body.ci-brand .order-status-main {width:min(850px,calc(100% - 36px));padding:53px 0 84px}
body.ci-brand .order-status-card {
  border:1px solid var(--ci-line);background:#fff;border-radius:28px;
  box-shadow:var(--ci-shadow);padding:clamp(23px,5vw,48px);
}
body.ci-brand .order-status-card h1 {font-family:Fredoka,Inter,sans-serif;font-weight:700;letter-spacing:0;color:var(--ci-navy)}
body.ci-brand .order-status-result {background:var(--ci-mint);border:1px solid var(--ci-line);color:var(--ci-ink)}
body.ci-brand .policy {max-width:1000px;width:calc(100% - 36px);padding:44px 0 86px}
body.ci-brand .policy>h1 {
  font-family:Fredoka,Inter,sans-serif;font-size:clamp(2.8rem,5vw,4.5rem);
  line-height:1.04;font-weight:700;letter-spacing:0;color:var(--ci-navy);
  margin:0 0 27px;
}
body.ci-brand .policy section {
  margin:16px 0;padding:clamp(20px,3vw,32px);
  border:1px solid var(--ci-line);border-radius:24px;
  background:#fff;box-shadow:0 9px 29px rgba(8,47,104,.05);
}
body.ci-brand .policy section h2 {font-family:Fredoka,Inter,sans-serif;font-weight:600;color:var(--ci-navy)}
body.ci-brand .policy :is(p,li){line-height:1.7;color:var(--ci-ink)}
/* Quiz In: retain authentic canvas logo, real round previews and category colours.
   Replace the separate dark editorial look with Chip In's navy/mint/gold system. */
body.digital-builder-page.ci-brand {background:linear-gradient(180deg,#f7fffb,#eefaf5 50%,#f7fbff)}
body.ci-brand .digital-builder-main {width:min(1210px,calc(100% - 36px));padding-bottom:74px}
body.ci-brand .digital-builder-crumbs {font-size:.9rem;color:var(--ci-muted);padding:24px 0 15px}
body.ci-brand .db-intro {
  border:1px solid #b4d9cf;border-radius:30px;
  background:linear-gradient(112deg,#082f68 0%,#0a3d80 72%,#105185 100%);
  box-shadow:0 19px 48px rgba(8,47,104,.17);
  padding:clamp(24px,4vw,46px)!important;
}
body.ci-brand .db-intro::before {
  background:radial-gradient(circle at 88% 4%,rgba(247,189,24,.17),transparent 40%),
             radial-gradient(circle at 5% 100%,rgba(255,255,255,.095),transparent 36%);
}
body.ci-brand .db-intro::after {background:none}
body.ci-brand .db-intro h1,
body.digital-builder-page.ci-brand .db-intro h1 {
  font-family:Fredoka,Inter,sans-serif!important;font-weight:700!important;
  letter-spacing:0!important;color:#fff!important;
  font-size:clamp(2.6rem,4.2vw,4.55rem)!important;line-height:1.04!important;
}
body.ci-brand .db-intro h1 em,
body.digital-builder-page.ci-brand .db-intro h1 em {color:var(--ci-gold)!important;font-family:inherit!important}
body.ci-brand .db-intro .db-kicker {color:#ffda69}
body.ci-brand .db-intro-copy>p:not(.db-kicker) {color:#e3f3ff}
body.ci-brand .db-intro .db-primary,
body.digital-builder-page.ci-brand .db-intro .db-primary {
  font-family:Fredoka,Inter,sans-serif;background:var(--ci-gold);
  border:1px solid var(--ci-gold);color:var(--ci-navy);
  border-radius:999px;font-size:.98rem;font-weight:700;min-height:46px;
}
body.ci-brand .db-intro .db-primary:hover{background:#ffd555;color:var(--ci-navy)}
body.ci-brand .db-product-overview,
body.digital-builder-page.ci-brand .db-product-overview {
  background:rgba(2,24,60,.66)!important;border:1px solid rgba(247,189,24,.48);
  border-radius:21px;color:#fff;box-shadow:0 13px 33px rgba(0,18,49,.18);
}
body.ci-brand .db-product-label {color:#ffe29d}
body.ci-brand canvas.quiz-in-authentic-logo {background:transparent;border:0;box-shadow:none}
body.ci-brand .db-workspace-heading {border-color:var(--ci-line)}
body.ci-brand .db-workspace-heading h2 {
  font-family:Fredoka,Inter,sans-serif;font-size:clamp(2rem,2.9vw,2.8rem)!important;
  font-weight:700;letter-spacing:0;color:var(--ci-navy);
}
body.ci-brand .db-workspace-note {color:var(--ci-muted)}
body.ci-brand .db-layout {gap:16px}
body.ci-brand .db-builder-panel,
body.ci-brand .db-rounds-panel,
body.ci-brand .db-summary {
  background:#fff;border:1px solid var(--ci-line);
  border-radius:22px;box-shadow:var(--ci-shadow);
}
body.ci-brand .db-builder-panel {border-top:4px solid var(--ci-navy)}
body.ci-brand .db-summary {border-top:4px solid var(--ci-gold)}
body.ci-brand .db-section-label h3,
body.ci-brand .db-rounds-header h3,
body.ci-brand .db-summary h3 {font-family:Fredoka,Inter,sans-serif;font-weight:600;letter-spacing:0;color:var(--ci-navy)}
body.ci-brand .db-summary .db-price {color:var(--ci-navy);font-family:Fredoka,Inter,sans-serif;font-weight:700}
body.ci-brand .db-modes .db-mode {
  border-radius:14px;border-color:var(--ci-line);
}
body.ci-brand .db-mode[aria-pressed="true"] {border-color:var(--ci-navy);background:#edf8f3}
body.ci-brand .db-filters .db-filter {border-radius:999px}
body.ci-brand .db-rounds-panel .db-round-card {border-radius:15px!important;box-shadow:0 4px 15px rgba(8,47,104,.06)!important}
body.ci-brand .db-rounds-panel .db-round-card>button:last-child {
  background:var(--ci-navy)!important;border-color:var(--ci-navy)!important;
  border-radius:999px!important;font-family:Fredoka,Inter,sans-serif!important;
}
body.ci-brand .db-rounds-panel .db-round-card>button:last-child[aria-pressed="true"] {
  background:#0a3d80!important;border-color:#0a3d80!important;
}
body.ci-brand .db-rounds-panel .db-round-card strong {color:var(--ci-ink)}
body.ci-brand .db-summary :is(.db-finish,.db-primary) {border-radius:999px}
body.ci-brand .db-footer-extras .db-product-overview {
  background:#fff!important;color:var(--ci-ink);border:1px solid var(--ci-line);
}
body.ci-brand .db-footer-extras .db-product-overview h2 {color:var(--ci-navy)}
body.ci-brand .db-footer-extras .db-product-overview .db-kicker {color:var(--ci-navy)}
body.ci-brand .db-review-dialog,body.ci-brand .db-pdf-modal {
  border:1px solid var(--ci-line);border-radius:24px;background:#fff;color:var(--ci-ink);
}
/* Same welcoming footer everywhere; functional links and ID used by JS retained. */
body.ci-brand footer.merch-footer {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:17px;text-align:center;padding:38px 20px 32px;
  background:#e7f3ed;border-top:1px solid var(--ci-line);
}
body.ci-brand .merch-footer-links {
  display:flex;flex-wrap:wrap;gap:13px 28px;
  align-items:center;justify-content:center;
}
body.ci-brand footer.merch-footer .merch-footer-links a {
  font-family:Fredoka,Inter,sans-serif;font-size:.95rem;
  font-weight:600;text-decoration:none;color:var(--ci-navy);
}
body.ci-brand footer.merch-footer .merch-footer-links a:hover{text-decoration:underline}
body.ci-brand footer.merch-footer .merch-footer-credit {
  margin:0;font-size:.81rem;line-height:1.6;color:#507180;
}
body.ci-brand .merch-footer-back {
  display:inline-flex;align-items:center;justify-content:center;
  gap:6px;color:var(--ci-navy);font-weight:700;font-size:.85rem;
  padding:8px 14px;border:1px solid #c0dacf;border-radius:999px;
  text-decoration:none;background:rgba(255,255,255,.72);
}
/* Mobile: responsive and never allow the navigation to hide basket/controls. */
@media(max-width:920px) {
  body.ci-brand .site-header,body.storefront-dark.merch-refined.ci-brand .site-header {
    grid-template-columns:minmax(0,1fr) auto;
    row-gap:5px;min-height:0;padding:11px 18px 0;
  }
  body.ci-brand .site-header .brand {grid-column:1}
  body.ci-brand .site-header .basket-nav {grid-column:2;grid-row:1}
  body.ci-brand .site-header .merch-top-links {
    grid-column:1/-1;grid-row:2;justify-content:flex-start;
    overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;
    padding:0 2px 5px;gap:22px;border-top:1px solid var(--ci-line);
  }
  body.ci-brand .site-header .merch-top-links::-webkit-scrollbar{display:none}
  body.ci-brand .site-header .merch-top-link {font-size:.92rem;padding:10px 0}
  body.ci-brand .basket-review {position:static}
}
@media(max-width:780px) {
  body.ci-brand .merch-hero:has(.merch-real-showcase:not([hidden])) {grid-template-columns:1fr}
  body.ci-brand .merch-hero {border-radius:24px}
  body.ci-brand .merch-hero h1 {font-size:clamp(3rem,10vw,4.65rem)}
  body.ci-brand .merch-browse-tabs {overflow-x:auto;flex-wrap:nowrap}
  body.ci-brand .product-purchase {position:static}
  body.ci-brand .db-intro {border-radius:22px}
  body.ci-brand .db-workspace-heading h2{font-size:2rem!important}
}
@media(max-width:520px) {
  body.ci-brand .site-header .brand-logo,body.storefront-dark.merch-refined.ci-brand .site-header .brand-logo {width:122px;max-height:50px}
  body.ci-brand .site-header .brand-merch{font-size:.74rem;padding:4px 7px}
  body.ci-brand .site-header .basket-nav {width:43px;height:43px}
  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% - 28px)}
  body.ci-brand .merch-hero {margin:18px 0 33px;padding:26px 20px 22px}
  body.ci-brand .merch-hero .merch-kicker {font-size:.72rem}
  body.ci-brand .merch-hero h1 {font-size:clamp(2.72rem,11vw,4rem)}
  body.ci-brand .product-browser-heading h2{font-size:2.08rem}
  body.ci-brand .catalog .product-info {padding:13px}
  body.ci-brand .catalog .product-title {font-size:1rem}
  body.ci-brand .product-purchase {padding:20px;border-radius:21px}
  body.ci-brand .basket-main{padding:34px 0 65px}
  body.ci-brand .basket-items {padding:5px 14px}
  body.ci-brand .basket-review{padding:21px}
  body.ci-brand .order-status-main{padding:35px 0 69px}
  body.ci-brand .policy{padding:31px 0 65px}
  body.ci-brand .policy section{border-radius:18px}
  body.ci-brand .db-intro{padding:23px 19px!important}
  body.ci-brand .db-intro h1{font-size:2.45rem!important}
  body.ci-brand .db-builder-panel,body.ci-brand .db-summary,body.ci-brand .db-rounds-panel{border-radius:18px}
  body.ci-brand footer.merch-footer{padding:34px 18px}
}
@media(prefers-reduced-motion:reduce) {
  body.ci-brand *,body.ci-brand *::before,body.ci-brand *::after{
    transition-duration:.01ms!important;animation-duration:.01ms!important;scroll-behavior:auto!important
  }
}
