:root{font-family:system-ui,-apple-system,sans-serif;color:#101827;background:#f6f8fc;color-scheme:light}*{box-sizing:border-box}body{margin:0}a{color:inherit}button,input,select{font:inherit}button{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed;opacity:.7}[hidden]{display:none!important}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{position:fixed;z-index:10;background:white;padding:1rem}.header{background:#101827;color:#fff}.header-inner{margin:auto;padding:1rem var(--marketplace-gutter);display:flex;align-items:center}.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;font-weight:700;white-space:nowrap}.brand img{width:100px;max-height:46px;object-fit:contain}.brand span{border-left:1px solid #758098;padding-left:.7rem}.search{display:flex;flex:1;min-width:0}.search input{flex:1 1 0;width:0;min-width:0;border:0;border-radius:.5rem 0 0 .5rem;padding:.8rem 1rem}.search button{flex:none;white-space:nowrap}.search button,button.primary{border:0;background:#d4af37;color:#101827;font-weight:700;padding:.8rem 1.1rem;border-radius:0 .5rem .5rem 0}.account-nav{display:flex;align-items:center;gap:.85rem;font-size:.84rem}.account-nav a{text-decoration:none}.account-nav span{color:#c3cad5;max-width:7rem}.category-bar{background:#17243b;color:#fff}.category-inner{margin:auto;padding:0 var(--marketplace-gutter);display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.category-inner button{background:transparent;color:#fff;border:0;border-bottom:3px solid transparent;padding:.8rem;white-space:nowrap}.category-inner button[aria-pressed=true]{border-color:#d4af37;color:#f5d778}.category-inner #category-links{display:contents}#category-status{font-size:.85rem;color:#d4dae4}main{margin:auto;padding:clamp(1rem, 2vw, 2rem) var(--marketplace-gutter)}.intro{padding:1.8rem 2rem;background:#fff;border:1px solid #e2e7ef;border-radius:1rem}.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.13em;color:#6e5700;margin:0 0 .5rem}h1{font-size:clamp(1.8rem,3vw,2.8rem);margin:.2rem 0}h2{font-size:1.5rem;margin:.2rem 0}.intro p:last-child{color:#526077;margin-bottom:0}.service-notice{background:#fff8e3;border:1px solid #e8d69c;border-radius:.6rem;padding:1rem;margin:1.2rem 0;color:#4e400d;line-height:1.5}.catalog-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-top:2rem}.filters{display:flex;gap:.7rem;flex-wrap:wrap}.filters label{display:grid;gap:.3rem;font-size:.8rem;font-weight:650}.filters select{background:#fff;border:1px solid #bac4d1;border-radius:.4rem;color:#101827;padding:.6rem;max-width:100%}.status{color:#526077;min-height:1.5rem}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%, 14.5rem),1fr));gap:1rem}.grid article{background:#fff;border:1px solid #e0e6ef;border-radius:.8rem;display:flex;flex-direction:column;min-width:0}.image-placeholder{background:#edf1f6;color:#59677a;display:grid;place-items:center;min-height:150px;text-align:center;padding:1rem;font-size:.85rem}.card-body{padding:1rem;display:flex;flex-direction:column;align-items:start;flex:1;gap:.55rem}.card-body h3,.card-body p{margin:0;overflow-wrap:anywhere}.card-body h3{font-size:1rem}.card-body .meta{font-size:.82rem;color:#59677a}.card-body .price{font-weight:750;font-size:1.1rem}.card-body button{margin-top:auto}.secondary{background:#fff;color:#101827;border:1px solid #7c899a;border-radius:.4rem;padding:.65rem .9rem;font-weight:650}.secondary:hover{border-color:#101827;background:#f6f8fc}#more{margin-top:1rem}.detail{margin-top:2rem;padding:1.5rem;background:#fff;border:1px solid #dce3ec;border-radius:.8rem;overflow-wrap:anywhere}.detail-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center}.detail li{margin:.4rem 0}footer{padding:2rem;text-align:center;color:#526077}footer span{padding:0 .5rem}:focus-visible{outline:3px solid #a27600;outline-offset:3px}

.intro{background:#17243b;color:#fff;border:none}
.intro .eyebrow{color:#f5d778}
.intro p:last-child{color:#d4dae4}
#featured{margin-top:1.5rem}
.banners,.compare-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,16rem),1fr));gap:1rem;margin-top:1rem}
.banner,.compare-card{background:#fff;border:1px solid #dce3ec;border-radius:.8rem;padding:1rem;overflow-wrap:anywhere}
.banner{border-top:4px solid #d4af37}
.banner h3,.compare-card h3{margin:.5rem 0}
.product-photo,.banner-photo{display:block;width:100%;height:10rem;object-fit:contain;background:#edf1f6}
.banner-photo{border-radius:.45rem}
.detail-photo{width:min(100%,32rem);height:clamp(10rem,45vw,24rem);object-fit:contain;background:#edf1f6}
.filters input,#detail select{background:#fff;border:1px solid #bac4d1;border-radius:.4rem;padding:.6rem;min-width:0}
.filters input{width:10rem;max-width:100%}
.actions{display:flex;flex-wrap:wrap;gap:.4rem;margin:.45rem 0}
.card-body .actions button{padding:.5rem;font-size:.85rem}
.actions [aria-pressed=true]{background:#f5d778;border-color:#a27600}
.offer{display:flex;align-items:baseline;gap:.5rem;flex-wrap:wrap}
.previous-price,.meta{color:#526077}
.review{border-top:1px solid #dce3ec;padding:.8rem 0}
.review p{margin:.4rem 0}
.wishlist-price{display:inline-block;padding:.4rem .7rem}
#wishlist-items{padding-left:1.25rem}
#buyer-auth{display:flex;flex-wrap:wrap;gap:.55rem;align-items:end}
#buyer-auth label{display:grid;gap:.25rem;max-width:100%}
#buyer-auth input{max-width:100%;padding:.6rem}
@media(max-width:700px){
  .banners{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(88%,22rem);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem}
  .banner{scroll-snap-align:start}
  .banner:only-child{width:min(calc(100vw - 2rem),22rem)}
  .catalog-heading .filters select{width:100%}
  .catalog-heading .filters label{min-width:0}
  .account-nav{margin-left:0}
}

#buyer-coupon, #buyer-cart-lines form, #buyer-order-detail form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; }
#buyer-cart input, #buyer-order-detail input {
  border: 1px solid #bac4d1; border-radius: .4rem; padding: .55rem; color: #101827; background: #fff;
}
#buyer-cart button:not(.secondary), #buyer-order-detail button:not(.secondary) {
  background: #d4af37; color: #101827; border: 1px solid transparent; border-radius: .4rem; padding: .65rem .9rem; font-weight: 700;
}
#buyer-account :is(#buyer-order-list, #marketplace-addresses) button { margin: .25rem .5rem .25rem 0; }
#buyer-cart-lines input[type="number"], #buyer-order-detail input[type="number"] { width: 5rem; }
#buyer-cart, #buyer-order-detail { overflow-wrap: anywhere; }

.commerce-preview { display: block; max-width: 100%; max-height: 30rem; object-fit: contain; }
#buyer-commerce { overflow-wrap: anywhere; }

/* CPS storefront */
:root { --cps-navy: #101827; --cps-gold: #e4bf55; --cps-line: #dce3ec; color: var(--cps-navy); }
.header-inner, .category-inner, main { max-width: 1440px; }
.header-inner { gap: clamp(.75rem, 1.6vw, 1.5rem); }
.header-inner > *, .account-nav > *, .filters > * { min-width: 0; }
.header a:hover, footer a:hover { text-decoration: underline; }
.category-inner { flex-wrap: wrap; }
.category-inner button { flex-shrink: 0; min-height: 44px; }
.category-inner button:focus-visible, .header :focus-visible { outline-offset: -3px; outline-color: #f5d778; }
.category-inner button:hover { background: #253654; }
.intro { background: linear-gradient(110deg, #14233e, #214367); padding: clamp(1rem, 2.3vw, 2.25rem); }
.intro h1 { max-width: 23ch; letter-spacing: -.035em; }
.catalog-heading { display: block; }
.catalog-filters { margin-top: .9rem; border: 1px solid var(--cps-line); border-radius: .75rem; background: #fff; }
.catalog-filters summary { cursor: pointer; padding: .75rem 1rem; font-weight: 650; }
.catalog-filters .filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); padding: 0 1rem 1rem; margin: 0; }
.catalog-filters input { width: 100%; }
.status:not(:empty) { border-left: 3px solid #af851e; padding: .7rem 1rem; background: #fff; }
.status:empty { margin: .9rem 0 0; min-height: 0; }
.banners { margin-bottom: 1.5rem; }
.banner { display: flex; flex-direction: column; align-items: start; }
.banner button { margin-top: auto; }
.product-photo, .grid .image-placeholder { width: 100%; aspect-ratio: 4 / 3; height: auto; min-height: 0; background: #eef2f7; }
.card-body { width: 100%; }
.card-body .product-open { width: 100%; border-radius: .45rem; margin-top: auto; min-height: 44px; padding: .55rem .7rem; }
.card-body .actions { margin: 0; }
.card-body .actions button { min-height: 44px; }
.detail { scroll-margin-top: .75rem; }
.detail input, .detail select, .detail textarea { max-width: 100%; }
.checkout-summary { background: #f5f7fb; border: 1px solid var(--cps-line); border-radius: .65rem; padding: 1rem; }
#buyer-cart-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
#buyer-cart-lines > section { padding: .75rem 0; border-bottom: 1px solid var(--cps-line); }
.checkout-summary h3 { margin-top: 0; }
#buyer-checkout label { margin-block: .75rem .5rem; }
#buyer-checkout select { width: 100%; }
#buyer-checkout button { margin-block: .2rem; }
#buyer-cart-total { font-weight: 750; }
@media (max-width: 700px) {

  .account-nav > a[href="#wishlist"], .account-nav > a[href="#buyer-cart"], .account-nav > a[href="#buyer-account"] { display: none; }
  #buyer-cart-panel { grid-template-columns: minmax(0, 1fr); }
  .detail { padding: 1rem; }
}

.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; margin-top: 1rem; }
.product-detail-media .detail-photo { display: block; width: 100%; border-radius: .65rem; }
.product-detail-media > .image-placeholder { margin: 0; border-radius: .65rem; }
.product-detail-summary h3 { margin-top: 0; font-size: 1.55rem; }
.product-detail-summary .offer { font-size: 1.25rem; }
.intro p { max-width: 54ch; line-height: 1.5; }
#mode { color: #d4dae4; font-size: .875rem; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.25rem; }
.hero-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid #c4d0df; border-radius: .45rem; font-weight: 700; text-decoration: none; }
.hero-actions a:first-child { color: var(--cps-navy); background: var(--cps-gold); border-color: var(--cps-gold); }
.hero-actions a:hover { text-decoration: underline; }
main > :is(#wishlist, #comparison, #buyer-account, #buyer-cart):not(:target):not(:has(:target)) { display: none; }
body:has(main > :is(#wishlist, #comparison, #buyer-account, #buyer-cart):is(:target, :has(:target))) > .category-bar,
main:has(> :is(#wishlist, #comparison, #buyer-account, #buyer-cart):is(:target, :has(:target))) > :is(.intro, #featured, #catalog, #marketplace-offers) { display: none; }
main:has(> :is(#buyer-account, #buyer-cart):is(:target, :has(:target))) > #detail { display: none; }
main > :is(#wishlist, #comparison, #buyer-account, #buyer-cart) { margin-top: 0; }
#category-status { white-space: normal; min-width: min(12rem, 45vw); }
#category-status:empty { display: none; }
#category-links button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: start; }
#buyer-cart-lines ul { list-style: none; padding: 0; }
#buyer-cart-lines li { background: #f5f7fb; border: 1px solid var(--cps-line); border-radius: .55rem; padding: .75rem; margin-bottom: .5rem; }
#buyer-cart-lines li p { margin: 0 0 .5rem; }
@media (max-width: 700px) {
  .product-detail-layout { grid-template-columns: minmax(0, 1fr); }
}


/* Customer account */
#buyer-account {
  --account-gap: clamp(.875rem, 1.6vw, 1.4rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cps-navy);
  line-height: 1.5;
}
#buyer-account-title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}
#buyer-account-status {
  margin: .4rem 0 var(--account-gap);
  color: #526077;
}
#buyer-account .account-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 68fr) minmax(0, 32fr);
  align-items: start;
  gap: var(--account-gap);
}
#buyer-account .account-column,
#buyer-growth {
  display: grid;
  min-width: 0;
  gap: var(--account-gap);
}
#buyer-account .account-card {
  min-width: 0;
  padding: clamp(1rem, 1.8vw, 1.5rem);
  border: 1px solid var(--cps-line);
  border-radius: .8rem;
  background: #fff;
  box-shadow: 0 2px 6px #10182708;
}
#buyer-account .account-card h3 {
  margin: 0 0 .85rem;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -.012em;
}
#buyer-account .account-card-header,
#buyer-account .account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  min-width: 0;
}
#buyer-account .account-card-header { justify-content: space-between; }
#buyer-account .account-card-header h3 { margin: 0; }
#buyer-account :is(.account-card, #buyer-auth) button {
  min-height: 44px;
  max-width: 100%;
  padding: .55rem .85rem;
  border: 1px solid #bc8d20;
  border-radius: .5rem;
  background: #f1ca5c;
  color: var(--cps-navy);
  font-size: .875rem;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
}
#buyer-account :is(.account-card, #buyer-auth) button:not(.secondary):hover { background: #e8b943; }
#buyer-account :is(.account-card, #buyer-auth) button.secondary {
  background: #fff;
  border-color: #a8b4c4;
}
#buyer-account :is(.account-card, #buyer-auth) button.secondary:hover {
  background: #f3f6fa;
  border-color: #526077;
}
#buyer-account .account-card form {
  display: grid;
  gap: .75rem;
  justify-items: start;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
#buyer-account .account-card :is(.account-field-grid, #marketplace-address) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  align-items: end;
}
#buyer-account .account-card label {
  display: grid;
  gap: .3rem;
  width: 100%;
  min-width: 0;
  font-size: .875rem;
  font-weight: 650;
}
#buyer-account .account-card label:has(input[type="checkbox"]) {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: flex-start;
  gap: .55rem;
}
#buyer-account .account-card input[type="checkbox"] {
  flex: none;
  inline-size: 1.05rem;
  block-size: 1.05rem;
  margin: .13rem 0 0;
  accent-color: #17243b;
}
#buyer-account :is(.account-field-grid, #marketplace-address) > :is(.account-actions, button, label:has(input[type="checkbox"], [name="street"], [name="phone"])) {
  grid-column: 1 / -1;
}
#buyer-account :is(.account-card, #buyer-auth) :is(input:not([type="checkbox"], [type="radio"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .55rem .65rem;
  border: 1px solid #b7c2d0;
  border-radius: .5rem;
  font: inherit;
  font-weight: 400;
  background: #fff;
  color: var(--cps-navy);
}
#buyer-account .account-card input[readonly] { background: #f3f6fa; }
#buyer-account .account-card textarea { min-height: 5.25rem; resize: vertical; }
#buyer-account .account-card :is(p:not([role]), ul):empty { display: none; }
#buyer-account .account-card :is([role="status"], [role="alert"]) {
  margin: .75rem 0 0;
  color: #526077;
  font-size: .875rem;
}
#buyer-account .account-card :is([role="status"], [role="alert"]):empty {
  margin: 0;
  padding: 0;
  border: 0;
}
#buyer-account .account-card ul { padding-inline-start: 1.2rem; }
#buyer-account :is(#buyer-order-status, #marketplace-addresses, #buyer-order-list) {
  margin: .8rem 0 0;
  padding: .6rem .75rem;
  list-style: none;
  border-radius: .45rem;
  background: #f4f6fa;
}
#buyer-account #buyer-order-status:empty { margin: 0; padding: 0; }
#buyer-account #marketplace-addresses { margin: 0 0 .85rem; }
#buyer-account #marketplace-addresses li { margin: 0; }
#buyer-account #marketplace-addresses li + li {
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px solid var(--cps-line);
}
#buyer-account #marketplace-addresses li span { display: block; }
#buyer-account .account-error[role="alert"] {
  padding: .55rem .7rem;
  border: 1px solid #edc1bc;
  border-inline-start: 3px solid #a33129;
  border-radius: .4rem;
  background: #fff4f3;
  color: #812721;
}
#buyer-account #buyer-growth a {
  display: inline-block;
  margin-top: .75rem;
  font-size: .875rem;
}

/* Storefront layout and account forms. */
.grid :is(.product-photo, .image-placeholder) { border-radius: .75rem .75rem 0 0; }
.detail label, .filters label { display: grid; gap: .3rem; min-width: 0; }
.detail :is(input:not([type="checkbox"],[type="radio"],[type="hidden"]), select, textarea) { min-width: 0; }
#buyer-auth label { flex: 1 1 13rem; min-width: 0; }
#buyer-auth { max-width: 48rem; }
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; }
  .account-nav { margin-inline-start: auto; }
  .search { order: 1; flex-basis: 100%; }
}
@media (max-width: 820px) {
  #buyer-account .account-dashboard { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .header-inner { gap: .65rem; }
  .brand img { width: 74px; }
  .brand span { font-size: .9rem; }
  .account-nav { flex-wrap: wrap; gap: .25rem .75rem; margin-inline-start: 0; }
  .account-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .category-inner { gap: 0 .25rem; }
  .category-inner button { padding: .45rem .55rem; }
  .detail-heading { flex-wrap: wrap; }
  .detail :is(input:not([type="checkbox"],[type="radio"],[type="hidden"]), select, textarea) { width: 100%; }
  #buyer-cart-lines input[type="number"], #buyer-order-detail input[type="number"] { width: 100%; }
  #buyer-coupon label { flex: 1 1 100%; }
}

/* Marketplace storefront theme */
:root { --cps-navy:#101f39; --cps-blue:#2052b4; --cps-gold:#f0c86c; --cps-line:#dbe3ef; background:#f4f7fb; }
.header { background:var(--cps-navy); }
.header-inner, .category-inner, main, .marketplace-footer { max-width:1760px; }
.header-inner { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.85rem 1.4rem; padding-block:.8rem; }
.brand img { width:85px; background:#fff; border-radius:.4rem; padding:.2rem; }
.account-nav { margin:0; gap:clamp(.6rem,1vw,1.15rem); flex-wrap:nowrap; }
.account-nav a { display:inline-flex; align-items:center; min-height:44px; white-space:nowrap; }
.header .account-nav > a { display:inline-flex; }
.search { order:0; width:100%; background:white; border-radius:.55rem; }
.search button { background:var(--cps-gold); white-space:nowrap; overflow-wrap:normal; }
.shopping-menu,.header-cart { display:none; }
.staging-banner { background:#ffecb7; color:#342707; font-size:.875rem; font-weight:750; margin:0; padding:.45rem 1rem; text-align:center; }
body > .category-bar { color:#243654; background:white; border-bottom:1px solid var(--cps-line); }
body > .category-bar button { color:inherit; }
body > .category-bar button:hover { background:#ecf2fc; }
body > .category-bar button[aria-pressed=true] { color:var(--cps-blue); border-color:var(--cps-blue); }
#category-status { color:#664500; }
.intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.65fr); align-items:center; gap:1rem; background:linear-gradient(110deg,#101f39 20%,#173875 70%,#1a4c9b); padding:clamp(1rem,2.6vw,2.5rem); }
.intro h1 { max-width:none; font-size:clamp(1.65rem,3.4vw,3.15rem); line-height:1.06; }
.intro p { margin:.7rem 0; color:#e2ebfb; }
#mode { margin:0 0 .7rem; color:#f2ce7d; font-weight:750; }
.hero-art { width:min(100%,26rem); justify-self:center; }
.category-section, .shopping-paths { margin-block:1.55rem; }
.category-tiles { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:.65rem; margin-top:.8rem; }
.category-tile { display:flex; align-items:center; gap:.6rem; text-align:start; padding:.65rem; min-height:64px; border:1px solid var(--cps-line); border-radius:.65rem; background:white; color:var(--cps-navy); font-size:.9rem; font-weight:700; }
.category-tile:hover,.category-tile[aria-pressed=true] { background:#eaf1ff; border-color:#769ce8; }
.category-icon { display:grid; flex:0 0 2.25rem; height:2.25rem; place-items:center; background:#e7efff; color:#1b4b9f; border-radius:.5rem; font-size:1.25rem; }
.category-tile:nth-child(3n + 2) .category-icon { background:#fff0cf; color:#684b0b; }
.category-tile:nth-child(3n) .category-icon { background:#e2f2ed; color:#185e50; }
.catalog-heading { margin-top:1.4rem; }
.catalog-filters { border-radius:.65rem; }
.status:not(:empty) { border:0; border-radius:.5rem; background:#eaf1fb; color:#294569; }
.status[data-state=error] { background:#fff0ed; color:#842b22; }
.status[data-state=loading]::before { content:""; display:inline-block; width:.8em; height:.8em; margin-inline-end:.55em; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:catalog-spin .85s linear infinite; }
@keyframes catalog-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .status[data-state=loading]::before { animation:none; } }
.grid,.banners { grid-template-columns:repeat(5,minmax(0,1fr)); }
.grid article { overflow:hidden; box-shadow:0 3px 10px #142f5b0a; }
.product-photo,.banner-photo,.detail-photo,.image-placeholder,.grid .image-placeholder { display:block; width:100%; height:auto; aspect-ratio:4 / 3; min-height:0; object-fit:contain; background:#eef3fa; }
.detail-photo { max-height:26rem; }
.image-placeholder,.grid .image-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.4rem; padding:.5rem; margin:0; background:radial-gradient(circle at 75% 20%,#dbe9ff,transparent 62%),#edf2fa; color:#445878; }
.placeholder-mark { padding:.32rem .6rem; border:1px solid #becfed; border-radius:.45rem; background:#fff; color:#17418e; letter-spacing:.13em; }
.test-label { color:#644407; background:#fff0c9; border-radius:.35rem; padding:.28rem .45rem; font-size:.78rem; font-weight:800; }
.card-body .product-open { background:var(--cps-blue); color:white; }
.card-body .actions { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.card-body .actions button { height:100%; }
.card-body > .meta:empty { display:none; }
.shopping-paths { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.shopping-paths article { padding:1.15rem; border-radius:.75rem; border:1px solid #cddcf3; background:#eef4ff; }
.shopping-paths article:nth-child(2) { background:#fff6e3; border-color:#efdfb8; }
.shopping-paths article:nth-child(3) { background:#eaf6f2; border-color:#cbe5dc; }
.shopping-paths h2 { font-size:1.15rem; }
.shopping-paths p { color:#415674; }
.shopping-paths a { display:inline-flex; align-items:center; min-height:44px; margin-right:.9rem; color:#19478f; font-weight:700; }
.marketplace-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.8rem; padding:1.3rem var(--marketplace-gutter); text-align:start; background:var(--cps-navy); color:#fff; }
.marketplace-footer p { margin:.3rem 0; color:#d0def4; }
.marketplace-footer nav { display:flex; flex-wrap:wrap; gap:0 1.15rem; }
.marketplace-footer a { display:inline-flex; align-items:center; min-height:44px; }
main:has(> :is(#wishlist,#comparison,#buyer-account,#buyer-cart):is(:target,:has(:target))) > :is(.category-section,.shopping-paths) { display:none; }
#buyer-auth { padding:1rem; border:1px solid var(--cps-line); border-radius:.8rem; background:white; }
@media(max-width:1500px) { .grid,.banners { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:1190px) {
  .header-inner { grid-template-columns:auto minmax(0,1fr) auto auto; }
  .shopping-menu,.header-cart { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:.45rem .6rem; border:1px solid #8095b9; border-radius:.45rem; background:transparent; color:white; text-decoration:none; }
  .header .account-nav { display:none; }
  .header #shopping-menu[aria-expanded=true] ~ .account-nav { display:flex; grid-column:1 / -1; flex-wrap:wrap; }
  .category-tiles { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .grid,.banners { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:850px) {
  .category-tiles { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .grid,.banners { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-flow:row; grid-auto-columns:auto; overflow:visible; }
  .banner:only-child { width:auto; }
}
@media(max-width:640px) {
  .header-inner { grid-template-columns:minmax(0,1fr) auto auto; gap:.6rem; }
  .header .search { grid-row:2; grid-column:1 / -1; }
  .brand { gap:.35rem; }
  .brand img { width:59px; }
  .brand span { padding-inline-start:.35rem; font-size:.86rem; }
  .intro { grid-template-columns:minmax(0,1fr); }
  .hero-art { display:none; }
  .category-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shopping-paths { grid-template-columns:minmax(0,1fr); }
  .card-body { padding:.65rem; }
  .card-body .actions { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:374px) { .grid,.banners { grid-template-columns:minmax(0,1fr); } }

.header-inner { grid-template-columns:auto minmax(0,1fr) auto; }
.header-actions { display:flex; align-items:center; gap:.35rem; }
.header-actions > a, .header-actions .shopping-menu {
  display:inline-flex; align-items:center; justify-content:center; gap:.35rem;
  min-height:44px; padding:.35rem .6rem; border:1px solid transparent; border-radius:.45rem;
  color:white; background:transparent; text-decoration:none; font-size:.85rem;
}
.header-actions > a:hover, .header-actions .shopping-menu:hover { border-color:#8095b9; }
.header-actions .shopping-menu { flex-direction:column; align-items:flex-start; gap:.05rem; }
#shopping-account-state { color:#f5d778; font-size:.72rem; }
.account-disclosure { position:relative; }
.header .account-nav {
  position:absolute; z-index:5; inset-block-start:calc(100% + .5rem); inset-inline-end:0;
  display:grid; gap:0; width:min(17rem, calc(100vw - 2rem)); max-height:70vh; overflow:auto;
  padding:.4rem; background:#fff; color:var(--cps-navy); border:1px solid #cddcf3;
  border-radius:.65rem; box-shadow:0 .65rem 1.6rem #0a193933;
}
.account-nav a, .account-nav button {
  display:flex; align-items:center; min-height:44px; padding:.5rem .7rem;
  border:0; border-radius:.35rem; color:inherit; background:transparent; text-align:start;
}
.account-nav a:hover, .account-nav button:hover { background:#eef4ff; }
.account-nav :focus-visible { outline-color:#866400; }
.search #category {
  flex:0 1 10rem; width:30%; border:0; border-inline-end:1px solid #d8dfeb;
  border-radius:.55rem 0 0 .55rem; padding-inline:.5rem; background:#f1f4f9; color:var(--cps-navy);
}
.search #query { border-radius:0; }
#header-cart-count { background:var(--cps-gold); color:var(--cps-navy); padding:.08rem .35rem; border-radius:1rem; font-weight:750; }
.account-card [id] { scroll-margin-block-start:1rem; }
@media(max-width:1100px) {
  .header-inner { grid-template-columns:minmax(0,1fr) auto; }
  .header .search { grid-row:2; grid-column:1 / -1; }
}
@media(max-width:640px) {
  .header-actions > .header-orders, .header-actions > .header-wishlist { display:none; }
  .header-actions > a, .header-actions .shopping-menu { padding-inline:.4rem; }
  .search #category { flex-basis:32%; }
  .search #query { padding-inline:.5rem; }
}
