/* A fixed character template: reuse the published 256px portrait, never print artwork. */
html[data-storefront-template="character"] {
  background: #e6edf9;
}
body[data-storefront-template="character"] {
  --accent: #2f4a8f;
  --pale: #e6edf9;
  --ink: #1d2744;
  --muted: #61687c;
  --line: #b9c8e6;
  --surface: #fff;
  --character-ribbon-shape: polygon(0 8%, 40% 25%, 50% 42%, 60% 25%, 100% 8%, 100% 78%, 61% 64%, 70% 100%, 50% 81%, 30% 100%, 39% 64%, 0 78%);
  --character-heart-shape: polygon(50% 95%, 0 45%, 0 20%, 15% 5%, 35% 5%, 50% 25%, 65% 5%, 85% 5%, 100% 20%, 100% 45%);
  --character-face: url("/assets/brand/jersey-couple-store-fd646032442da0e8050e8cdafc9e239bce3412098f1b582f554e6d3d7f508c52.jpg");
  background: radial-gradient(circle at 1px 1px, #cdd9ef 1px, transparent 1.3px) 0 0 / 24px 24px, #e6edf9;
  color: var(--ink);
}

body[data-storefront-template="character"] .site-header {
  background: #f5f8fd;
  border-bottom-color: #b9c8e6;
  box-shadow: 0 4px 18px #2f4a8f0c;
}
body[data-storefront-template="character"] .shop-name {
  position: relative;
  color: var(--ink);
}
body[data-storefront-template="character"] .shop-brand-image {
  outline: 2px solid #b2c2e2;
  outline-offset: 2px;
}
body[data-storefront-template="character"] .site-header .icon-button {
  background: #fff;
  border-color: #a4b5d9;
}
body[data-storefront-template="character"] .header-menu-panel {
  border-color: #b2c2e2;
  box-shadow: 0 8px 24px #2f4a8f18;
}

body[data-storefront-template="character"] .section-heading h2 {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding-right: 22px;
}
body[data-storefront-template="character"] .section-heading h2::after {
  content: "";
  position: absolute;
  right: 0;
  width: 13px;
  height: 13px;
  background: #7b8fbf;
  clip-path: var(--character-heart-shape);
  pointer-events: none;
}
body[data-storefront-template="character"] .category-tabs button {
  background: #fff;
  border-color: #b9c8e6;
  border-radius: 8px;
}
body[data-storefront-template="character"] .category-tabs button.active {
  position: relative;
  color: #fff;
  background: #2f4a8f;
  border-color: #2f4a8f;
  box-shadow: 0 3px 8px #2f4a8f18;
}
body[data-storefront-template="character"] .category-tabs button.active::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 7px;
  height: 7px;
  background: #cbd6ec;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}
/* Keep the product name, price and shipping text on an unpatterned pink surface. */
body[data-storefront-template="character"] .product-heading {
  background: #e6edf9;
}

/* The frame wraps the card without reducing its photograph's width. */
body[data-storefront-template="character"] .product-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 1px #b9c8e6, 0 5px 16px #2f4a8f0b;
}
body[data-storefront-template="character"] .product-card > a {
  padding-bottom: 14px;
  border-radius: inherit;
}
body[data-storefront-template="character"] .product-card-image {
  background: #fff;
  border-radius: 14px 14px 0 0;
}
body[data-storefront-template="character"] .product-card :is(.eyebrow, h3, .price) {
  margin-left: 12px;
  margin-right: 12px;
}
body[data-storefront-template="character"] .product-card .price {
  margin-bottom: 0;
}

body[data-storefront-template="character"] :is(.purchase-form, .cart-summary, .empty-state, .login-option, .description-disclosure, .feature-banner, .order-list article, .faq-item, .faq-empty) {
  background: #fff;
  border-color: #b9c8e6;
  box-shadow: 0 4px 16px #2f4a8f0b;
}
body[data-storefront-template="character"] :is(.purchase-form, .cart-summary, .empty-state) {
  border: 1px solid #b9c8e6;
  border-radius: 14px;
}
body[data-storefront-template="character"] .purchase-form {
  padding: 16px;
  background: #fafbfe;
}
body[data-storefront-template="character"] .cart-item {
  border-bottom-color: #b9c8e6;
}
body[data-storefront-template="character"] .purchase-conditions {
  background: #f5f8fd;
  border: 1px dashed #b2c2e2;
  border-radius: 12px;
  padding: 14px;
}
body[data-storefront-template="character"] :is(input:not([type="checkbox"]), select, .stepper, .small-button) {
  border-color: #7b8fbf;
}
body[data-storefront-template="character"] :is(.primary, .category-tabs button.active) {
  color: #fff;
  background: #2f4a8f;
  border-color: #2f4a8f;
}
body[data-storefront-template="character"] .primary:hover {
  background: #263b72;
  border-color: #263b72;
}
body[data-storefront-template="character"] .primary:disabled {
  box-shadow: none;
}

body[data-storefront-template="character"] .site-footer {
  position: relative;
  background: #dbe4f4;
  border-top: 1px dashed #97a9d0;
  color: var(--ink);
}
body[data-storefront-template="character"] .site-footer::before {
  content: "";
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--character-face) center / cover no-repeat;
  box-shadow: 0 0 0 1px #a4b5d9;
  pointer-events: none;
}
body[data-storefront-template="character"] .site-footer .provider {
  color: var(--ink);
}

body[data-storefront-template="character"] .faq-page a {
  color: #2f4a8f;
}
body[data-storefront-template="character"] .faq-group h2 {
  color: var(--ink);
  border-bottom-color: #b9c8e6;
}
body[data-storefront-template="character"] .faq-item {
  border: 1px solid #b9c8e6;
  border-radius: 12px;
  margin-bottom: 10px;
}
body[data-storefront-template="character"] .faq-item > summary {
  padding: 14px;
}
body[data-storefront-template="character"] .faq-answer {
  padding-left: 14px;
  padding-right: 14px;
}
body[data-storefront-template="character"] .faq-page h1 {
  position: relative;
  padding-left: 34px;
}
body[data-storefront-template="character"] .faq-page h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 14px;
  background: #667cb2;
  clip-path: var(--character-ribbon-shape);
  pointer-events: none;
}
body[data-storefront-template="character"] .faq-footer {
  border-color: #a4b5d9;
}
@media (max-width: 700px) {
  body[data-storefront-template="character"] .purchase-form {
    padding: 14px;
  }
  body[data-storefront-template="character"] .product-card :is(.eyebrow, h3, .price) {
    margin-left: 10px;
    margin-right: 10px;
  }
}
@media (forced-colors: active) {
  body[data-storefront-template="character"] .product-card {
    outline: 1px solid CanvasText;
  }
}

body[data-storefront-template="character"][data-shop-key] :is(input:not([type="checkbox"]),select,.stepper,.small-button){border-color:#7b8fbf}
