* { box-sizing:border-box; }
body { margin:0; background:#fff; color:#10234c; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.shop-header,.shop-footer { max-width:1200px; margin:auto; padding:24px 32px; }
.shop-header { display:grid; grid-template-columns:auto minmax(0,1fr) 44px; align-items:center; gap:24px; border-bottom:1px solid #e3e8ef; }
.shop-brand { display:block; min-width:0; }
.shop-brand img { display:block; width:min(238px,45vw); max-width:100%; height:auto; }
.shop-header nav,.shop-footer nav { display:flex; flex-wrap:wrap; gap:8px 20px; align-items:center; }
.shop-header a,.shop-footer a { color:#0863df; text-underline-offset:3px; }
.shop-header nav { flex:1; min-width:0; flex-wrap:nowrap; justify-content:space-between; font-size:.85rem; }
.shop-header>.shop-brand { grid-column:1; grid-row:1; }
.shop-header>nav { grid-column:2; grid-row:1; }
.shop-cart-control { display:flex; justify-content:flex-end; align-items:center; flex:0 0 44px; width:44px; min-height:44px; }
.shop-header>.shop-cart-control { grid-column:3; grid-row:1; }
.shop-cart-control .asc-cart-icon-button { position:relative; display:inline-flex; align-items:center; justify-content:center; width:44px; min-width:44px; min-height:44px; margin:0; padding:8px; border:1px solid #bed5f6; border-radius:7px; background:#fff; color:#0863df; font:inherit; cursor:pointer; }
.shop-cart-control .asc-cart-icon-button:hover:not(:disabled) { border-color:#9bc3f7; background:#f0f6ff; }
.shop-cart-control .asc-cart-icon-button:focus-visible { outline:3px solid #63a8ff; outline-offset:3px; }
.shop-cart-control .asc-cart-icon-button:disabled { cursor:default; opacity:.55; }
.shop-cart-control .asc-cart-icon { display:block; width:26px; height:26px; background:currentColor; mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 3h3l3 13h11l3-9H6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E"); }
.shop-cart-control .asc-cart-badge { position:absolute; top:-5px; right:-5px; display:flex; align-items:center; justify-content:center; min-width:20px; height:20px; padding:0 5px; border:2px solid #fff; border-radius:999px; background:#d92b3e; color:#fff; font-size:11px; font-weight:750; line-height:1; }
.preview-header:has([data-shop-cart-control]) { display:grid; grid-template-columns:minmax(0,1fr) 44px; gap:12px 16px; }
.preview-header>.wordmark { grid-column:1; grid-row:1; }
.preview-header>.shop-cart-control { grid-column:2; grid-row:1; }
.preview-header:has([data-shop-cart-control])>.preview-label { grid-column:1/-1; grid-row:2; text-align:left; }
.shop-header nav a { display:inline-flex; align-items:center; min-height:44px; white-space:nowrap; }
.shop-footer { margin-top:12px; border-top:1px solid #e3e8ef; color:#6c788c; font-size:.8rem; line-height:1.7; }
.shop-footer p { margin:0 0 12px; }
.shop-footer nav { margin:16px 0 20px; }
.shop-footer nav a { display:inline-flex; align-items:center; min-height:44px; }
.shop-footer button { min-height:44px; border:0; padding:0; background:none; color:#0863df; font:inherit; text-align:left; text-decoration:underline; cursor:pointer; }
.shop-footer .privacy-optout-label { display:block; font-size:.72rem; }
.shop-header a:focus-visible,.shop-footer a:focus-visible,.shop-footer button:focus-visible { outline:3px solid #63a8ff; outline-offset:3px; }
.shop-loading,#checkout>h1,#checkout>a { display:block; max-width:1056px; margin:30px auto; padding:0 24px; }
@media(max-width:760px) {
  .shop-header,.shop-footer { padding:20px; }
  .shop-header { grid-template-columns:minmax(0,1fr) 44px; gap:12px 16px; align-items:center; }
  .shop-header>.shop-cart-control { grid-column:2; grid-row:1; }
  .shop-header>nav { grid-column:1/-1; grid-row:2; }
  .shop-header nav { width:100%; gap:12px; font-size:.85rem; justify-content:space-between; }
  .shop-brand img { width:195px; }
  .shop-footer nav { gap:4px 16px; }
}
@media(max-width:480px) {
  .shop-header { min-height:100px; padding-top:22px; padding-bottom:22px; }
  .shop-header nav { flex-direction:row; align-items:center; }
  .shop-header nav a { min-height:44px; padding:5px 0; }
  .shop-brand img { width:190px; }
}
@media(max-width:360px) { .shop-header,.shop-footer { padding-left:16px; padding-right:16px; } }

/* Footer prose stays separate from navigation and privacy controls. */
.shop-footer p { font-size:14px; }
.shop-loading { font-size:17px; }
@media print {
  @page { margin:14mm; }
  html,body { min-width:0!important; margin:0!important; padding:0!important; background:#fff!important; }
  .shop-header { max-width:none; margin:0 0 20px; padding:0 0 14px; }
  .shop-header nav,.shop-cart-control,.shop-footer,[data-privacy-open],.apex-privacy-banner { display:none!important; }
  .shop-brand img { width:240px; height:auto; }
  main#checkout { width:100%; max-width:none; margin:0; padding:0; }
}
