/* A fixed character template: reuse the published 256px portrait, never print artwork. */
html[data-storefront-template="character"] {
  background: #f9eaf1;
}
body[data-storefront-template="character"] {
  --accent: #81516d;
  --pale: #f9eaf1;
  --ink: #4c4052;
  --muted: #75606d;
  --line: #e4b8cf;
  --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("/menhera_kurumichan/assets/brand/kurumi-chan-store-ffd29ffe98cc.jpg");
  background: radial-gradient(circle at 1px 1px, #edccdd 1px, transparent 1.3px) 0 0 / 24px 24px, #f9eaf1;
  color: var(--ink);
}

body[data-storefront-template="character"] .site-header {
  background: #fff8fb;
  border-bottom-color: #e4b8cf;
  box-shadow: 0 4px 18px #81516d0c;
}
body[data-storefront-template="character"] .shop-name {
  position: relative;
  color: var(--ink);
}
body[data-storefront-template="character"] .shop-brand-image {
  outline: 2px solid #dfaec9;
  outline-offset: 2px;
}
body[data-storefront-template="character"] .site-header .icon-button {
  background: #fff;
  border-color: #d6a4c0;
}
body[data-storefront-template="character"] .header-menu-panel {
  border-color: #dfaec9;
  box-shadow: 0 8px 24px #81516d18;
}

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: #d29ab6;
  clip-path: var(--character-heart-shape);
  pointer-events: none;
}
body[data-storefront-template="character"] .category-tabs button {
  background: #fff;
  border-color: #e1b6cd;
  border-radius: 8px;
}
body[data-storefront-template="character"] .category-tabs button.active {
  position: relative;
  color: #fff;
  background: #81516d;
  border-color: #81516d;
  box-shadow: 0 3px 8px #81516d18;
}
body[data-storefront-template="character"] .category-tabs button.active::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 7px;
  height: 7px;
  background: #ead2e0;
  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: #f9eaf1;
}

/* 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 #e4b8cf, 0 5px 16px #81516d0b;
}
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: #e4b8cf;
  box-shadow: 0 4px 16px #81516d0b;
}
body[data-storefront-template="character"] :is(.purchase-form, .cart-summary, .empty-state) {
  border: 1px solid #e4b8cf;
  border-radius: 14px;
}
body[data-storefront-template="character"] .purchase-form {
  padding: 16px;
  background: #fffafd;
}
body[data-storefront-template="character"] .cart-item {
  border-bottom-color: #e4b8cf;
}
body[data-storefront-template="character"] .purchase-conditions {
  background: #fff8fb;
  border: 1px dashed #dfaec9;
  border-radius: 12px;
  padding: 14px;
}
body[data-storefront-template="character"] :is(input:not([type="checkbox"]), select, .stepper, .small-button) {
  border-color: #b780a0;
}
body[data-storefront-template="character"] :is(.primary, .category-tabs button.active) {
  color: #fff;
  background: #81516d;
  border-color: #81516d;
}
body[data-storefront-template="character"] .primary:hover {
  background: #70445e;
  border-color: #70445e;
}
body[data-storefront-template="character"] .primary:disabled {
  box-shadow: none;
}

body[data-storefront-template="character"] .site-footer {
  position: relative;
  background: #f5e0ec;
  border-top: 1px dashed #c799b3;
  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 #d6a4c0;
  pointer-events: none;
}
body[data-storefront-template="character"] .site-footer .provider {
  color: var(--ink);
}

body[data-storefront-template="character"] .faq-page a {
  color: #81516d;
}
body[data-storefront-template="character"] .faq-group h2 {
  color: var(--ink);
  border-bottom-color: #e4b8cf;
}
body[data-storefront-template="character"] .faq-item {
  border: 1px solid #e4b8cf;
  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: #ad7195;
  clip-path: var(--character-ribbon-shape);
  pointer-events: none;
}
body[data-storefront-template="character"] .faq-footer {
  border-color: #d6a4c0;
}
@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;
  }
}
