/*
 * Commerce architecture 2026-07
 * One purchase-first hierarchy layered over the legacy visual system.
 */

html.brand-refresh {
  --commerce-red: #b52f25;
  --commerce-red-dark: #8f211b;
  --commerce-ink: #251f1b;
  --commerce-muted: #6d625c;
  --commerce-line: #e8ded9;
  --commerce-white: #ffffff;
  --commerce-soft: #fff8f6;
}

html.brand-refresh body.home-page {
  background: var(--commerce-white) !important;
  color: var(--commerce-ink) !important;
}

html.brand-refresh body.home-page .opening-animation,
html.brand-refresh body.home-page .legacy-hero {
  display: none !important;
}

html.brand-refresh body.home-page .site-header {
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid var(--commerce-line) !important;
  box-shadow: 0 8px 24px rgba(37, 31, 27, .05) !important;
}

html.brand-refresh body.home-page .commerce-hero {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: clamp(24px, 3vw, 46px) clamp(18px, 4vw, 64px) 28px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid var(--commerce-line) !important;
  isolation: isolate;
}

html.brand-refresh body.home-page .commerce-hero::before,
html.brand-refresh body.home-page .commerce-hero::after {
  content: none !important;
}

html.brand-refresh .commerce-hero__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, .54fr) minmax(430px, .96fr) minmax(480px, 1.2fr);
  align-items: center;
  gap: clamp(20px, 2.5vw, 42px);
  width: min(1460px, 100%);
  margin: 0 auto;
}

html.brand-refresh .commerce-hero__mark {
  align-self: stretch;
  min-height: 430px;
  margin-left: clamp(-150px, -8vw, -80px);
  overflow: hidden;
  pointer-events: none;
}

html.brand-refresh .commerce-hero__mark picture,
html.brand-refresh .commerce-hero__mark img {
  display: block;
  width: 100%;
  height: 100%;
}

html.brand-refresh .commerce-hero__mark img {
  object-fit: cover;
  object-position: 58% 50%;
  transform: scale(1.12);
}

html.brand-refresh .commerce-hero__copy {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

html.brand-refresh .commerce-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 12px;
  border: 1px solid var(--commerce-red);
  border-radius: 999px;
  color: var(--commerce-red-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

html.brand-refresh .commerce-hero__copy h1 {
  margin: 0;
  color: var(--commerce-ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(44px, 4.45vw, 70px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

html.brand-refresh .commerce-hero__line {
  display: block;
  white-space: nowrap;
  color: var(--commerce-ink);
}

html.brand-refresh .commerce-hero__copy h1 .commerce-hero__line--brand {
  color: var(--commerce-red);
}

html.brand-refresh .commerce-hero__lead {
  margin: 20px 0 0;
  color: var(--commerce-ink);
  font-size: clamp(16px, 1.4vw, 21px);
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: 0;
}

html.brand-refresh .commerce-hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

html.brand-refresh .commerce-hero__benefits li {
  padding: 7px 10px;
  border: 1px solid var(--commerce-line);
  border-radius: 6px;
  background: #fff;
  color: var(--commerce-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

html.brand-refresh .commerce-hero__primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
}

html.brand-refresh .commerce-hero__primary a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 2px solid var(--commerce-red);
  border-radius: 8px;
  background: var(--commerce-red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(181, 47, 37, .2);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

html.brand-refresh .commerce-hero__primary span {
  color: var(--commerce-muted);
  font-size: 12px;
  font-weight: 700;
}

html.brand-refresh .commerce-hero__food {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(120px, .72fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}

html.brand-refresh .commerce-food {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--commerce-line);
  border-radius: 12px;
  background: #fff;
}

html.brand-refresh .commerce-food--main {
  grid-row: 1 / 3;
  min-height: 430px;
}

html.brand-refresh .commerce-food--sub {
  min-height: 208px;
}

html.brand-refresh .commerce-food picture,
html.brand-refresh .commerce-food img {
  display: block;
  width: 100%;
  height: 100%;
}

html.brand-refresh .commerce-food img {
  object-fit: cover;
}

html.brand-refresh .commerce-food--main img {
  object-position: 54% 52%;
}

html.brand-refresh .commerce-food figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(181, 47, 37, .94);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

html.brand-refresh .commerce-buy {
  display: grid;
  grid-template-columns: minmax(220px, .48fr) minmax(0, 1.52fr);
  gap: 22px;
  width: min(1460px, 100%);
  margin: 26px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--commerce-line);
}

html.brand-refresh .commerce-buy__head {
  align-self: center;
}

html.brand-refresh .commerce-buy__head p {
  margin: 0 0 7px;
  color: var(--commerce-red);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

html.brand-refresh .commerce-buy__head h2 {
  margin: 0;
  color: var(--commerce-ink);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
}

html.brand-refresh .commerce-buy__head > span {
  display: block;
  margin-top: 9px;
  color: var(--commerce-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

html.brand-refresh .commerce-buy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

html.brand-refresh .commerce-buy-card {
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr;
  gap: 7px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--commerce-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(37, 31, 27, .06);
}

html.brand-refresh .commerce-buy-card--recommended {
  border: 2px solid var(--commerce-red);
  background: var(--commerce-soft);
}

html.brand-refresh .commerce-buy-card__tag {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--commerce-red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

html.brand-refresh .commerce-buy-card h3,
html.brand-refresh .commerce-buy-card p,
html.brand-refresh .commerce-buy-card strong,
html.brand-refresh .commerce-buy-card small {
  margin: 0;
}

html.brand-refresh .commerce-buy-card h3 {
  color: var(--commerce-ink);
  font-size: 19px;
  line-height: 1.3;
}

html.brand-refresh .commerce-buy-card p {
  color: var(--commerce-muted);
  font-size: 13px;
  font-weight: 700;
}

html.brand-refresh .commerce-buy-card > strong {
  color: var(--commerce-red);
  font-size: 29px;
  line-height: 1;
}

html.brand-refresh .commerce-buy-card > small {
  color: var(--commerce-muted);
  font-size: 11px;
  font-weight: 700;
}

html.brand-refresh .commerce-buy-card > small span + span::before {
  content: " / ";
}

html.brand-refresh .commerce-buy-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

html.brand-refresh .commerce-buy-card__actions button,
html.brand-refresh .commerce-buy-card__actions a {
  min-height: 42px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
}

html.brand-refresh .commerce-buy-card__actions button {
  border: 1px solid var(--commerce-red);
  background: var(--commerce-red);
  color: #fff;
  cursor: pointer;
}

html.brand-refresh .commerce-buy-card__actions a {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: var(--commerce-red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.brand-refresh .commerce-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  width: min(1460px, 100%);
  margin: 18px auto 0;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--commerce-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

html.brand-refresh .commerce-trust strong {
  font-weight: 900;
}

html.brand-refresh .commerce-trust a {
  color: #fff;
  font-weight: 900;
  text-underline-offset: 3px;
}

html.brand-refresh body.home-page .appetite-stage,
html.brand-refresh body.home-page .tabletop-scenes,
html.brand-refresh body.home-page .online-price-banner,
html.brand-refresh body.home-page .hero-showcase--routes {
  display: none !important;
}

html.brand-refresh body.home-page #products-section {
  margin-top: 0 !important;
  padding-top: clamp(28px, 4vw, 58px) !important;
  background: #fff !important;
}

html.brand-refresh body.home-page #products-section > .comic-panel {
  width: min(1240px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
  padding: clamp(26px, 4vw, 52px) !important;
  border: 1px solid var(--commerce-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 18px 50px rgba(37, 31, 27, .07) !important;
}

html.brand-refresh body.home-page #products-section .panel-number {
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--commerce-red) !important;
  box-shadow: none !important;
}

html.brand-refresh body.home-page #products-section .products-choice-lead,
html.brand-refresh body.home-page #products-section .products-shipping-note,
html.brand-refresh body.home-page #products-section .products-included-note,
html.brand-refresh body.home-page #products-section .guarantee-badge,
html.brand-refresh body.home-page #products-section .purchase-trust-row,
html.brand-refresh body.home-page #products-section .voice-row {
  display: none !important;
}

html.brand-refresh body.home-page #products-section .price-ladder {
  margin-top: 0 !important;
}
