.matcha-map-section { margin-top: 64px; }
.matcha-map-section > h2 { text-align: center; margin-bottom: 28px; }
.matcha-map-frame { display: block; width: 100%; height: 780px; border: 0; background: #f3eedf; }
@media (max-width: 700px) { .matcha-map-frame { height: 1500px; } }

.subpage-header {
  background: var(--green-950);
}

.subpage-header .nav-shell {
  height: 88px;
}

@media (max-width: 1080px) {
  .subpage-header .nav-shell {
    height: 76px;
  }
}

.subpage-main {
  min-height: 70vh;
  padding-top: 82px;
  background: #ecf8e0;
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--green-900);
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 31, 20, .88), rgba(5, 31, 20, .25)), linear-gradient(0deg, rgba(5, 31, 20, .55), transparent 65%);
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  padding: 100px 0 72px;
}

.page-hero-copy h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.page-hero-copy h1 em {
  color: #dbe8bd;
  font-family: var(--thai-serif);
  font-style: italic;
  font-weight: 600;
}

html[lang="en"] .page-hero-copy h1 em {
  font-family: var(--serif);
  font-weight: 500;
}

.page-hero-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
}

.page-content {
  padding: 105px max(24px, calc((100vw - 1180px) / 2));
}

.content-intro {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: start;
  margin-bottom: 85px;
}

.content-intro h2,
.page-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.25;
}

.content-intro-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

body[data-page="about"] .page-content {
  padding-top: 48px;
}

body[data-page="about"] .content-intro {
  margin-bottom: 36px;
  grid-template-columns: minmax(0, calc((100% - 28px) / 3)) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.page-section {
  margin-top: 100px;
}

.product-promo {
  width: min(1080px, 100%);
  margin: 64px auto 0;
  padding: 24px 28px 28px;
  border: 1px solid var(--line);
  background: #edf7e4;
}

.product-promo-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 59, 35, .2);
  color: var(--green-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.product-promo-label strong {
  font-size: 19px;
  letter-spacing: .04em;
}

.product-promo-inner {
  display: grid;
  grid-template-columns: minmax(210px, .72fr) 1.28fr;
  align-items: center;
  gap: 42px;
  padding-top: 24px;
}

.product-promo-image {
  min-height: 240px;
  display: grid;
  place-items: center;
  background: transparent;
}

.product-promo-image img {
  width: 100%;
  height: 225px;
  object-fit: contain;
}

.product-promo-copy > p:first-child {
  margin: 0 0 18px;
  color: var(--green-600);
  font-size: 14px;
  font-weight: 600;
}

.product-promo-copy h2 {
  margin: 0 0 14px;
  color: var(--green-950);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.product-promo-copy > p:not(:first-child) {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.product-promo-copy a {
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--green-900);
  color: var(--green-900);
  font-size: 13px;
  font-weight: 700;
}

.page-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 42px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.page-section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

body[data-page="products"] .content-intro,
body[data-page="products"] .page-section-heading:has(> p) {
  display: grid;
  grid-template-columns: minmax(300px, calc((100% - 28px) / 3)) minmax(0, 1fr);
  column-gap: 44px;
  align-items: stretch;
}

body[data-page="products"] .content-intro::before,
body[data-page="products"] .page-section-heading:has(> p)::before {
  display: none;
}

body[data-page="products"] .content-intro > h2,
body[data-page="products"] .page-section-heading:has(> p) > h2 {
  grid-column: 1;
  grid-row: 1;
}

body[data-page="products"] .content-intro-copy,
body[data-page="products"] .page-section-heading:has(> p) > p {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  padding-top: 20px;
  padding-left: 22px;
}

body[data-page="products"] .content-intro-copy {
  max-width: 650px;
}

body[data-page="products"] .content-intro-copy p {
  margin: 0;
  line-height: 2;
}

body[data-page="products"] .page-section-heading:has(> p) {
  padding-bottom: 0;
  border-bottom: 0;
}

body[data-page="products"] .page-section-heading:has(> p) > p {
  max-width: 620px;
  line-height: 1.5;
}

body[data-page="products"] .page-section-heading:not(:has(> p)) {
  padding-bottom: 0;
  border-bottom: 0;
}

html[lang="en"] body[data-page="products"] .content-intro h2,
html[lang="en"] body[data-page="products"] .page-section-heading:has(> p) > h2 {
  font-size: clamp(40px, 3vw, 44px);
  white-space: nowrap;
}

body[data-page="about"] .feature-card {
  min-height: 0;
  padding: 24px 32px;
}

body[data-page="about"] .feature-number {
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  min-height: 235px;
  padding: 28px 32px 30px;
  background: #e7f6d8;
}

.feature-card:nth-child(even) {
  background: #d9edc9;
}

.feature-number {
  display: block;
  margin-bottom: 38px;
  color: var(--green-600);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 500;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.image-text {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 520px;
  margin-top: 100px;
  background: var(--green-900);
  color: #fff;
}

.image-text > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.image-text-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 65px;
}

.image-text-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.22;
}

.image-text-copy p {
  color: rgba(255,255,255,.7);
}

.local-product-grid,
.local-recipe-grid,
.event-grid,
.store-grid,
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.local-product-grid {
  gap: 16px;
}

.product-category-grid {
  grid-template-columns: repeat(6, 1fr);
}

.product-category-grid .local-product-card {
  grid-column: span 2;
}

.product-category-grid .local-product-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.product-category-grid .local-product-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.local-product-card,
.local-recipe-card,
.event-card,
.store-card,
.job-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.local-product-card {
  padding: 28px;
  background: #e6f5dc;
  transition: background .25s, transform .25s;
}

a.local-product-card:hover {
  background: #d6edc8;
  transform: translateY(-4px);
}

.local-product-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
}

.local-product-card:is(#matcha, #powder, #leaves, #accessories, #toppings) img {
  transform: scale(1.08);
}

.local-product-card[id] h3 {
  min-height: 33px;
}

.local-product-card[id] p {
  min-height: 54px;
}

.local-product-card h3,
.local-recipe-card h3,
.event-card h3,
.store-card h3,
.job-card h3 {
  margin: 12px 0 7px;
  font-size: 20px;
  font-weight: 500;
}

.local-product-card p,
.local-recipe-card p,
.event-card p,
.store-card p,
.job-card p {
  margin: 0;
  color: var(--muted);
}

.local-recipe-card img,
.event-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.local-recipe-card > div,
.event-card > div,
.store-card,
.job-card {
  padding: 28px;
}

.card-kicker {
  color: var(--green-600);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.recipe-steps {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.store-card,
.job-card {
  min-height: 270px;
}

.store-icon,
.job-tag {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  background: #d9edc9;
  color: var(--green-900);
  font-size: 11px;
  font-weight: 600;
}

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}

.contact-info {
  padding: 42px;
  background: var(--green-900);
  color: #fff;
}

.contact-info h2 {
  margin: 0 0 20px;
  font-size: 40px;
  font-weight: 500;
}

.contact-info p {
  color: rgba(255,255,255,.7);
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.contact-direct a {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.contact-direct svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: #cddaa9;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-direct a:hover {
  color: #dce8cf;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.contact-list div {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.contact-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact-list small {
  display: block;
  color: #cddaa9;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field-full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #e6f5dc;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .button-light {
  background: var(--green-900);
  color: #fff;
}

.contact-form .button-light:hover {
  background: var(--matcha);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.form-message {
  display: none;
  grid-column: 1 / -1;
  padding: 14px;
  background: #d9edc9;
  color: var(--green-900);
}

.form-message.is-visible {
  display: block;
}

.subpage-footer {
  padding-top: 50px;
}

.subpage-footer .footer-links {
  margin-top: 45px;
}

.recipes-original-main {
  background: #ecf8e0;
}

.original-recipes {
  width: min(940px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 70px 0 120px;
}

.original-recipes h1 {
  margin: 0 0 44px;
  color: var(--green-900);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.original-recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 44px;
  row-gap: 42px;
}

.original-recipe-card {
  display: block;
  text-align: center;
}

.original-recipe-card img {
  width: 100%;
  aspect-ratio: 240 / 228;
  object-fit: cover;
  transition: transform .35s ease, box-shadow .35s ease;
}

.original-recipe-card h2 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.original-recipe-card:hover img {
  box-shadow: 0 18px 32px rgba(15, 52, 33, .16);
  transform: translateY(-5px);
}

.original-recipe-card:hover h2 {
  color: var(--green-800);
  font-weight: 800;
}

.recipe-detail-page {
  width: min(1060px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 58px 0 120px;
}

.recipe-category-page,
.recipe-item-page {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 58px 0 120px;
}

.recipe-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 700;
}

.recipe-back:hover {
  font-weight: 800;
}

.recipe-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: center;
  padding: 44px;
  background: #ecf8e0;
  box-shadow: 0 18px 40px rgba(15, 52, 33, .08);
}

.recipe-category-page h1,
.recipe-item-page h1 {
  margin: 0 0 78px;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.recipe-category-page h1 {
  margin-bottom: 58px;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0;
}

.recipe-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 42px;
  row-gap: 54px;
}

.recipe-category-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px 24px 22px;
  border: 1px solid rgba(26, 70, 44, .12);
  border-radius: 22px;
  background: #e6f5dc;
  box-shadow: 0 14px 36px rgba(15, 52, 33, .08);
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.recipe-category-card img {
  display: block;
  width: 100%;
  height: 238px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center bottom;
  transition: transform .28s ease;
}

.recipe-category-card h2 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.recipe-category-card:hover {
  border-color: rgba(26, 70, 44, .24);
  background: #e6f5dc;
  box-shadow: 0 22px 46px rgba(15, 52, 33, .14);
  transform: translateY(-6px);
}

.recipe-category-card:hover img {
  transform: translateY(-5px) scale(1.025);
}

.recipe-category-card--square {
  min-height: 0;
  padding: 0;
  background: #fff;
}

.recipe-category-card--square img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 0;
  background: #fff;
  object-fit: cover;
  object-position: center;
}

.recipe-category-card--square h2 {
  margin: 0;
  padding: 14px 18px 18px;
  background: #fff;
}

/* Matcha menu trial: Japanese quiet-luxury cards */
body[data-page="recipe-detail"][data-recipe="matcha"] .recipe-category-card {
  position: relative;
  min-height: 320px;
  padding: 26px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(35, 75, 48, .18);
  border-radius: 14px;
  background: #e6f5dc;
  box-shadow: 0 8px 24px rgba(20, 50, 32, .06);
}

body[data-page="recipe-detail"][data-recipe="matcha"] .recipe-category-card:hover {
  border-color: rgba(35, 75, 48, .3);
  background: #e6f5dc;
  box-shadow: 0 12px 28px rgba(20, 50, 32, .09);
  transform: translateY(-3px);
}

body[data-page="recipe-detail"][data-recipe="matcha"]
  .recipe-category-card:is(
    [href*="recipe-uji-matcha-zero"],
    [href*="recipe-uji-matcha-lemonade-zero"],
    [href*="recipe-yuzu-matcha"],
    [href*="recipe-matcha-frappe"],
    [href*="recipe-uji-matcha-peach"],
    [href$="recipe-premium-uji-coconut.html"],
    [href$="recipe-premium-uji-coconut-en.html"],
    [href*="recipe-uji-matcha-white-malt"],
    [href*="recipe-premium-uji-coconut-frappe"]
  ) {
  min-height: 320px;
  padding: 0;
}

body[data-page="recipe-detail"][data-recipe="matcha"]
  .recipe-category-card:is(
    [href*="recipe-uji-matcha-zero"],
    [href*="recipe-uji-matcha-lemonade-zero"],
    [href*="recipe-yuzu-matcha"],
    [href*="recipe-matcha-frappe"],
    [href*="recipe-uji-matcha-peach"],
    [href$="recipe-premium-uji-coconut.html"],
    [href$="recipe-premium-uji-coconut-en.html"],
    [href*="recipe-uji-matcha-white-malt"],
    [href*="recipe-premium-uji-coconut-frappe"]
  ) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body[data-page="recipe-detail"][data-recipe="matcha"]
  .recipe-category-card:is(
    [href*="recipe-uji-matcha-zero"],
    [href*="recipe-uji-matcha-lemonade-zero"],
    [href*="recipe-yuzu-matcha"],
    [href*="recipe-matcha-frappe"],
    [href*="recipe-uji-matcha-peach"],
    [href$="recipe-premium-uji-coconut.html"],
    [href$="recipe-premium-uji-coconut-en.html"],
    [href*="recipe-uji-matcha-white-malt"],
    [href*="recipe-premium-uji-coconut-frappe"]
  ) h2 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 44px 12px 18px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .9) 62%);
  text-shadow: 0 1px 4px rgba(255, 255, 255, .85);
}

body[data-page="recipe-detail"][data-recipe="houjicha"]
  .recipe-category-card[href*="recipe-houjicha-latte"] {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 75, 48, .18);
  border-radius: 14px;
  background: #e6f5dc;
  box-shadow: 0 8px 24px rgba(20, 50, 32, .06);
}

body[data-page="recipe-detail"][data-recipe="houjicha"]
  .recipe-category-card[href*="recipe-houjicha-latte"] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body[data-page="recipe-detail"][data-recipe="houjicha"]
  .recipe-category-card[href*="recipe-houjicha-latte"] h2 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 44px 12px 18px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .9) 62%);
  text-shadow: 0 1px 4px rgba(255, 255, 255, .85);
}

body[data-page="recipe-detail"][data-recipe="houjicha"]
  .recipe-category-card[href*="recipe-butterfly-pea-houjicha-latte"] {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 75, 48, .18);
  border-radius: 14px;
  background: #e6f5dc;
  box-shadow: 0 8px 24px rgba(20, 50, 32, .06);
}

body[data-page="recipe-detail"][data-recipe="houjicha"]
  .recipe-category-card[href*="recipe-butterfly-pea-houjicha-latte"] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body[data-page="recipe-detail"][data-recipe="houjicha"]
  .recipe-category-card[href*="recipe-butterfly-pea-houjicha-latte"] h2 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 44px 12px 18px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .9) 62%);
  text-shadow: 0 1px 4px rgba(255, 255, 255, .85);
}

body[data-page="recipe-detail"][data-recipe="houjicha"]
  .recipe-category-card[href*="recipe-houjicha-frappe"] {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 75, 48, .18);
  border-radius: 14px;
  background: #e6f5dc;
  box-shadow: 0 8px 24px rgba(20, 50, 32, .06);
}

body[data-page="recipe-detail"][data-recipe="houjicha"]
  .recipe-category-card[href*="recipe-houjicha-frappe"] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body[data-page="recipe-detail"][data-recipe="houjicha"]
  .recipe-category-card[href*="recipe-houjicha-frappe"] h2 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 44px 12px 18px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .9) 62%);
  text-shadow: 0 1px 4px rgba(255, 255, 255, .85);
}

body[data-page="recipe-detail"][data-recipe="genmaicha-powder"]
  .recipe-category-card[href*="recipe-genmaicha-frappe"] {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 75, 48, .18);
  border-radius: 14px;
  background: #e6f5dc;
  box-shadow: 0 8px 24px rgba(20, 50, 32, .06);
}

body[data-page="recipe-detail"][data-recipe="genmaicha-powder"]
  .recipe-category-card[href*="recipe-genmaicha-frappe"] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body[data-page="recipe-detail"][data-recipe="genmaicha-powder"]
  .recipe-category-card[href*="recipe-genmaicha-frappe"] h2 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 44px 12px 18px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .9) 62%);
  text-shadow: 0 1px 4px rgba(255, 255, 255, .85);
}

body[data-page="recipe-detail"][data-recipe="genmaicha-powder"]
  .recipe-category-card[href*="recipe-genmaicha-latte"] {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 75, 48, .18);
  border-radius: 14px;
  background: #e6f5dc;
  box-shadow: 0 8px 24px rgba(20, 50, 32, .06);
}

body[data-page="recipe-detail"][data-recipe="genmaicha-powder"]
  .recipe-category-card[href*="recipe-genmaicha-latte"] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body[data-page="recipe-detail"][data-recipe="genmaicha-powder"]
  .recipe-category-card[href*="recipe-genmaicha-latte"] h2 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 44px 12px 18px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .9) 62%);
  text-shadow: 0 1px 4px rgba(255, 255, 255, .85);
}

body[data-page="recipe-detail"][data-recipe="genmaicha"]
  .recipe-category-card[href*="recipe-hot-genmaicha"] {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 75, 48, .18);
  border-radius: 14px;
  background: #e6f5dc;
  box-shadow: 0 8px 24px rgba(20, 50, 32, .06);
}

body[data-page="recipe-detail"][data-recipe="genmaicha"]
  .recipe-category-card[href*="recipe-hot-genmaicha"] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body[data-page="recipe-detail"][data-recipe="genmaicha"]
  .recipe-category-card[href*="recipe-hot-genmaicha"] h2 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 44px 12px 18px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .9) 62%);
  text-shadow: 0 1px 4px rgba(255, 255, 255, .85);
}

body[data-page="recipe-detail"][data-recipe="genmaicha"]
  .recipe-category-card[href*="recipe-iced-genmaicha"],
body[data-page="recipe-detail"][data-recipe="sencha-konacha"]
  .recipe-category-card,
body[data-page="recipe-detail"][data-recipe="dessert"]
  .recipe-category-card {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 75, 48, .18);
  border-radius: 14px;
  background: #e6f5dc;
  box-shadow: 0 8px 24px rgba(20, 50, 32, .06);
}

body[data-page="recipe-detail"][data-recipe="genmaicha"]
  .recipe-category-card[href*="recipe-iced-genmaicha"] img,
body[data-page="recipe-detail"][data-recipe="sencha-konacha"]
  .recipe-category-card img,
body[data-page="recipe-detail"][data-recipe="dessert"]
  .recipe-category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body[data-page="recipe-detail"][data-recipe="genmaicha"]
  .recipe-category-card[href*="recipe-iced-genmaicha"] h2,
body[data-page="recipe-detail"][data-recipe="sencha-konacha"]
  .recipe-category-card h2,
body[data-page="recipe-detail"][data-recipe="dessert"]
  .recipe-category-card h2 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 44px 12px 18px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .9) 62%);
  text-shadow: 0 1px 4px rgba(255, 255, 255, .85);
}

.recipe-item-page {
  width: min(820px, calc(100vw - 48px));
  text-align: center;
}

.recipe-item-page h1 {
  margin-bottom: 62px;
}

.recipe-item-image {
  display: block;
  width: min(400px, calc(100vw - 48px));
  max-height: none;
  aspect-ratio: 1 / 1;
  margin: 0 auto 48px;
  object-fit: contain;
  object-position: center;
  background: #faf9f7;
}

.recipe-item-image--premium-square {
  width: min(400px, 100%);
  margin-bottom: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 901px) {
  body[data-page="recipe-item"][data-recipe-item="premium-uji-coconut-frappe"] {
    zoom: .8;
  }
}

.recipe-ingredients {
  width: min(520px, 100%);
  margin: 0 auto;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.recipe-ingredient-row {
  display: grid;
  grid-template-columns: 1fr 68px 70px;
  gap: 10px;
  align-items: baseline;
}

.recipe-ingredient-row strong,
.recipe-ingredient-row em {
  font-style: normal;
  text-align: right;
}

.recipe-detail-hero img {
  width: 100%;
  aspect-ratio: 240 / 228;
  object-fit: cover;
}

.recipe-detail-hero h1 {
  margin: 0 0 18px;
  color: var(--green-900);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

.recipe-detail-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.recipe-detail-list {
  margin-top: 78px;
}

.recipe-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.recipe-menu-item {
  min-height: 150px;
  padding: 26px;
  background: #d9edc9;
}

.recipe-menu-item:nth-child(even) {
  background: #d2e2c2;
}

.recipe-menu-item span {
  display: block;
  margin-bottom: 26px;
  color: var(--green-600);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.recipe-menu-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.product-category-main {
  background: #ecf8e0;
}

.product-listing-hero {
  width: min(1180px, 100%);
  height: 455px;
  margin: 0 auto;
  overflow: hidden;
  border-top: 4px solid var(--green-900);
}

.product-listing-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tabs {
  position: sticky;
  z-index: 20;
  top: 88px;
  display: flex;
  justify-content: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 38px 22px;
  background: #ecf8e0;
  box-shadow: 0 8px 20px rgba(35, 42, 27, .04);
}

.product-tab {
  position: relative;
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 4px 27px;
  border-right: 1px solid rgba(15, 52, 33, .65);
  color: #151b16;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: color .22s, font-weight .22s, transform .22s;
}

.product-tab:last-child {
  border-right: 0;
}

.product-tab:hover {
  color: var(--green-800);
  font-weight: 800;
  transform: translateY(-2px);
}

.product-tab.is-active {
  color: var(--green-800);
  font-weight: 800;
}

.product-tab.is-active::after {
  content: "";
  position: absolute;
  right: 27px;
  bottom: -4px;
  left: 27px;
  height: 3px;
  background: var(--green-800);
}

.manual-detail-main {
  min-height: 100vh;
  padding: 150px 20px 80px;
  background:
    radial-gradient(circle at top left, rgba(203, 232, 189, .7), transparent 38%),
    linear-gradient(180deg, #eef9e6 0%, #f7fbef 100%);
}

.manual-detail-card {
  width: min(1040px, 100%);
  margin: 0 auto;
  text-align: center;
}

.manual-detail-card h1 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: clamp(26px, 3.35vw, 40px);
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.manual-detail-subtitle {
  margin: 0 auto 34px;
  color: rgba(18, 43, 26, .72);
  font-size: 18px;
  font-weight: 600;
}

.manual-detail-product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  margin: 0 auto 34px;
}

.manual-detail-product img {
  width: min(520px, 100%);
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(19, 42, 28, .18));
}

body[data-product-detail$="-can"] .manual-detail-product img {
  position: absolute;
  bottom: -34px;
  left: 50%;
  width: min(760px, 145vw);
  max-height: none;
  transform: translateX(-50%);
}

body[data-product-detail$="-can"] .manual-detail-product {
  height: 420px;
  margin-top: -120px;
  overflow: hidden;
}

.manual-detail-size {
  position: absolute;
  right: 12%;
  bottom: 18%;
  color: #080b08;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1;
}

.manual-detail-description {
  width: min(760px, 100%);
  margin: 0 auto 32px;
  color: rgba(18, 43, 26, .82);
  font-size: 18px;
  line-height: 1.85;
}

.product-highlights {
  width: min(720px, 100%);
  margin: 0 auto 42px;
  padding: clamp(24px, 4vw, 36px);
  color: var(--green-900);
  text-align: left;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(31, 89, 52, .18);
  border-radius: 26px;
  box-shadow: 0 20px 48px rgba(31, 68, 38, .09);
}

.product-highlights h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 29px);
  text-align: center;
}

.product-highlights ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-highlights li {
  position: relative;
  padding: 13px 16px 13px 46px;
  background: rgba(230, 244, 218, .7);
  border-radius: 14px;
  font-size: 17px;
  line-height: 1.55;
}

.product-highlights li::before {
  position: absolute;
  top: 13px;
  left: 17px;
  color: var(--green-700);
  content: "✓";
  font-weight: 900;
}

.matcha-profile {
  width: min(680px, 100%);
  margin: 0 auto 42px;
  padding: clamp(24px, 4vw, 38px);
  color: var(--green-900);
  text-align: left;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(31, 89, 52, .18);
  border-radius: 26px;
  box-shadow: 0 20px 48px rgba(31, 68, 38, .09);
}

.matcha-profile h2 {
  margin: 0 0 22px;
  font-size: clamp(23px, 3vw, 30px);
  text-align: center;
}

.matcha-profile-grid {
  display: grid;
  gap: 13px;
}

.matcha-profile-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31, 89, 52, .12);
  font-size: 17px;
  font-weight: 700;
}

.matcha-profile-dots {
  display: flex;
  gap: 8px;
}

.matcha-profile-dots i {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--green-800);
  border-radius: 50%;
  background: transparent;
}

.matcha-profile-dots i.is-filled {
  background: var(--green-800);
}

.matcha-taste-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0 0;
  padding: 14px 18px;
  color: #fff;
  background: var(--green-800);
  border-radius: 14px;
  font-size: 17px;
}

.matcha-taste-note strong,
.matcha-taste-note span {
  display: block;
}

@media (max-width: 560px) {
  .matcha-profile-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .matcha-taste-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

.manual-product-recipe {
  width: min(680px, 100%);
  margin: 0 auto 34px;
  color: #151915;
  text-align: left;
}

.manual-product-recipe h2 {
  margin: 0 0 8px;
  color: #151915;
  font-size: 22px;
  font-weight: 800;
  text-align: left;
}

.manual-product-recipe-list {
  display: grid;
  gap: 2px;
}

.manual-product-recipe-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 72px;
  align-items: baseline;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.manual-product-recipe-row strong,
.manual-product-recipe-row em {
  font-style: normal;
  text-align: right;
}

.manual-product-recipe-steps {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.manual-product-recipe-steps p {
  margin: 0;
}

.manual-recipe-box {
  width: min(660px, 100%);
  margin: 0 auto;
  padding: 30px;
  border-left: 5px solid var(--green-900);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 35px rgba(25, 62, 36, .1);
  text-align: left;
}

.manual-recipe-box h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(25, 62, 36, .12);
  color: var(--green-900);
  font-size: 24px;
}

.manual-recipe-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.manual-recipe-box li {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 8px 0;
  color: rgba(18, 43, 26, .88);
  font-size: 17px;
  line-height: 1.55;
}

.manual-recipe-box strong {
  color: var(--green-900);
}

.manual-back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-900);
  font-weight: 800;
}

@media (max-width: 720px) {
  .manual-detail-main { padding-top: 110px; }
  .manual-detail-product {
    min-height: 300px;
    padding-bottom: 38px;
  }
  body[data-product-detail$="-can"] .manual-detail-product img {
    bottom: -22px;
    width: min(620px, 180vw);
    max-height: none;
  }
  body[data-product-detail$="-can"] .manual-detail-product {
    height: 330px;
    margin-top: -72px;
  }
  .manual-detail-size {
    right: 8%;
    bottom: 6px;
  }
  .manual-product-recipe-row {
    grid-template-columns: minmax(0, 1fr) 52px 58px;
   gap: 8px;
    font-size: 16px;
  }
  .manual-product-recipe-steps {
    font-size: 16px;
  }
  .manual-recipe-box { padding: 24px 20px; }
  .manual-recipe-box li { display: block; }
}

.product-listing {
  width: min(1560px, 100%);
  min-height: 650px;
  margin: 0 auto;
  padding: 45px clamp(12px, 1.5vw, 24px) 60px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(18px, 2.2vw, 34px);
  row-gap: 75px;
}

.catalog-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

.catalog-image {
  height: 245px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform .32s ease;
  will-change: transform;
}

.catalog-image img[src*="-can"] {
  transform-origin: center 70%;
  transform: scale(1.2);
}

.catalog-card:hover .catalog-image img {
  transform: none;
}

.product-hover-preview {
  position: fixed;
  z-index: 1000;
  width: min(440px, 38vw, 72vh);
  height: min(440px, 38vw, 72vh);
  border: 1px solid rgba(17, 59, 35, .18);
  border-radius: 50%;
  overflow: hidden;
  background-color: #eef9e6;
  background-repeat: no-repeat;
  background-size: 220% auto;
  box-shadow: 0 24px 64px rgba(9, 45, 29, .24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(.98);
  transition: opacity .15s ease, transform .15s ease;
}

.product-hover-preview.is-visible {
  opacity: 1;
  transform: none;
}

.catalog-card:hover .catalog-image img[src*="-can"] {
  transform: scale(1.2);
}

.catalog-image img[src$="100-ise-matcha-tea-first-harvest-ceremonial-grade-40g.webp"],
.catalog-image img[src*="matcha-shizuoka.webp?size=40g"] {
  transform: scale(.78);
}

.catalog-card:hover .catalog-image img[src$="100-ise-matcha-tea-first-harvest-ceremonial-grade-40g.webp"],
.catalog-card:hover .catalog-image img[src*="matcha-shizuoka.webp?size=40g"] {
  transform: scale(.78);
}

body[data-page="product-accessories"] .catalog-card:nth-child(2) .catalog-image img {
  width: 74%;
  height: 74%;
  align-self: center;
}

body[data-page="product-accessories"] .catalog-image img {
  transform: scale(.82);
}

body[data-page="product-accessories"] .catalog-card:hover .catalog-image img {
  transform: scale(.82);
}

 .catalog-card h2 {
  margin: 18px auto 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

 .catalog-card h3 {
  margin: 18px auto 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.catalog-card:hover h2,
.catalog-card:hover h3 {
  color: var(--green-800);
  font-weight: 800;
}

.catalog-card--pricing-preview {
  min-height: 390px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.catalog-card--pricing-preview h2,
.catalog-card--pricing-preview h3 {
  width: 100%;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 52, 33, .18);
  font-weight: 600;
}

.catalog-card--pricing-preview:hover h2,
.catalog-card--pricing-preview:hover h3 {
  font-weight: 600;
}

.catalog-grade {
  margin: 5px 0 0;
  color: rgba(15, 52, 33, .62);
  font-size: 16px;
  font-weight: 500;
}

/* Keep Best Sellers visually consistent without changing other catalogs. */
body[data-page="product-best"] .catalog-card--pricing-preview h2 {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-page="product-best"] .catalog-grade {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: min(54%, 260px);
  margin: 4px auto 0;
  padding-top: 0;
}

.catalog-size {
  color: rgba(15, 52, 33, .68);
  font-size: 15px;
  font-weight: 400;
  text-align: center;
}

.catalog-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 82px;
}

.catalog-group > h2 {
  width: fit-content;
  min-width: 200px;
  margin: 0 auto 38px;
  padding: 13px 32px;
  background: #cbdcb8;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.catalog-group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.catalog-group-grid .catalog-image {
  height: 270px;
}

.catalog-group-grid .catalog-card {
  min-height: 285px;
}

@media (min-width: 901px) {
  .catalog-group[data-count="2"] .catalog-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(960px, 100%);
    gap: clamp(28px, 4vw, 60px);
    margin-inline: auto;
  }

  .catalog-group[data-count="2"] .catalog-image {
    height: 270px;
  }
}

.catalog-group[data-count="3"] .catalog-group-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin-inline: auto;
}

.catalog-group[data-count="5"] .catalog-group-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.catalog-group[data-count="5"] .catalog-card {
  grid-column: span 2;
}

.catalog-group[data-count="5"] .catalog-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.catalog-group[data-count="5"] .catalog-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.catalog-group-grid:has(.catalog-card:only-child) {
  grid-template-columns: minmax(180px, 260px);
  justify-content: center;
}

body[data-page="product-toppings"] .catalog-grid {
  width: min(1120px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  column-gap: clamp(28px, 4vw, 60px);
}

body[data-page="product-toppings"] .catalog-image {
  height: 300px;
}

body[data-page="product-ingredients"] .catalog-card:hover {
  background: transparent;
}

.catalog-image {
  height: 320px;
}

body[data-page="product-ingredients"] .catalog-image img {
  object-position: center bottom;
}

@media (max-width: 900px) {
  .content-intro,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  body[data-page="about"] .content-intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .feature-grid,
  .local-product-grid,
  .local-recipe-grid,
  .event-grid,
  .store-grid,
  .job-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-category-grid .local-product-card,
  .product-category-grid .local-product-card:nth-child(4),
  .product-category-grid .local-product-card:nth-child(5) {
    grid-column: auto;
  }

  .image-text {
    grid-template-columns: 1fr;
  }

  .image-text > img {
    min-height: 380px;
  }

  .product-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .catalog-groups {
    gap: 38px;
  }

  .original-recipe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 28px;
  }

  .recipe-detail-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .recipe-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recipe-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 30px;
  }

  body[data-page="product-toppings"] .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 28px;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .product-listing-hero {
    height: auto;
    aspect-ratio: 8 / 3;
  }

  .product-listing-hero img {
    object-position: center;
  }

  .product-tabs {
    top: 76px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 18px 14px;
    overflow: visible;
  }

  .product-tab {
    min-height: 44px;
    padding: 6px 10px;
    font-size: 14px;
    white-space: normal;
  }

  .product-tab:nth-child(4n) {
    border-right: 0;
  }

  .product-tab.is-active::after {
    right: 10px;
    left: 10px;
  }

  .catalog-group-grid,
  .catalog-group[data-count="2"] .catalog-group-grid,
  .catalog-group[data-count="3"] .catalog-group-grid,
  .catalog-group[data-count="5"] .catalog-group-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 28px;
  }

  .catalog-group-grid .catalog-card,
  .catalog-group[data-count="5"] .catalog-card,
  .catalog-group[data-count="5"] .catalog-card:nth-child(4),
  .catalog-group[data-count="5"] .catalog-card:nth-child(5) {
    grid-column: auto;
  }

  .catalog-group[data-count="3"] .catalog-card:last-child,
  .catalog-group[data-count="5"] .catalog-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 28px) / 2);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .subpage-main {
    padding-top: 76px;
  }

  .page-hero {
    min-height: 500px;
  }

  .page-hero-copy {
    padding: 80px 0 52px;
  }

  .page-hero-copy h1 {
    font-size: 48px;
  }

  .page-content {
    padding: 75px 18px;
  }

  .page-section {
    margin-top: 75px;
  }

  .product-promo { margin-top: 52px; padding: 20px 16px 24px; }
  .product-promo-label { flex-wrap: wrap; gap: 5px; }
  .product-promo-label strong { font-size: 17px; }
  .product-promo-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .product-promo-image { min-height: 220px; }
  .product-promo-image img { height: 205px; }
  .product-promo-copy h2 { font-size: 32px; }

  .page-section-heading {
    display: block;
  }

  body[data-page="products"] .content-intro,
  body[data-page="products"] .page-section-heading:has(> p) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body[data-page="products"] .content-intro::before,
  body[data-page="products"] .page-section-heading:has(> p)::before {
    display: none;
  }

  body[data-page="products"] .content-intro > h2,
  body[data-page="products"] .content-intro-copy,
  body[data-page="products"] .page-section-heading:has(> p) > h2,
  body[data-page="products"] .page-section-heading:has(> p) > p {
    grid-column: 1;
    grid-row: auto;
  }

  body[data-page="products"] .content-intro-copy,
  body[data-page="products"] .page-section-heading:has(> p) > p {
    padding-top: 0;
    padding-left: 0;
  }

  html[lang="en"] body[data-page="products"] .content-intro h2,
  html[lang="en"] body[data-page="products"] .page-section-heading:has(> p) > h2 {
    font-size: 35px;
    white-space: normal;
  }

  .page-section-heading p {
    margin-top: 15px;
  }

  .feature-grid,
  .local-product-grid,
  .local-recipe-grid,
  .event-grid,
  .store-grid,
  .job-grid {
    grid-template-columns: 1fr;
  }

  .feature-number {
    margin-bottom: 42px;
  }

  .image-text-copy {
    padding: 42px 26px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form > *,
  .field-full {
    grid-column: 1;
  }

  .product-listing-hero {
    height: 245px;
  }

  .original-recipes {
    width: min(520px, calc(100vw - 36px));
    padding: 48px 0 86px;
  }

  .original-recipes h1 {
    margin-bottom: 34px;
  }

  .original-recipe-grid {
    grid-template-columns: 1fr;
  }

  .recipe-detail-page {
    width: min(520px, calc(100vw - 36px));
    padding: 38px 0 86px;
  }

  .recipe-detail-hero {
    padding: 24px;
  }

  .recipe-menu-grid {
    grid-template-columns: 1fr;
  }

  .recipe-category-page,
  .recipe-item-page {
    width: min(520px, calc(100vw - 36px));
    padding: 38px 0 86px;
  }

  .recipe-category-page h1,
  .recipe-item-page h1 {
    margin-bottom: 38px;
  }

  .recipe-category-grid {
    grid-template-columns: 1fr;
  }

  .recipe-ingredients {
    font-size: 16px;
  }

  .recipe-ingredient-row {
    grid-template-columns: 1fr 54px 58px;
  }

  .product-tabs {
    top: 76px;
    padding: 24px 10px;
  }

  .product-tab {
    flex: 0 0 auto;
    padding: 3px 20px;
    font-size: 14px;
  }

  .product-listing {
    padding: 60px 18px 85px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 18px;
  }

  .catalog-image {
    height: 210px;
  }

  body[data-page="product-accessories"] .catalog-image img {
    transform: scale(.88);
  }

  body[data-page="product-accessories"] .catalog-card:hover .catalog-image img {
    transform: scale(.88);
  }

  .catalog-card h2 {
    font-size: 15px;
  }

  .catalog-card h3 {
    font-size: 15px;
  }

  .catalog-groups {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .catalog-group > h2 {
    min-width: 180px;
    margin-bottom: 28px;
    padding: 11px 24px;
    font-size: 18px;
  }

  .catalog-group-grid,
  .catalog-group[data-count="2"] .catalog-group-grid,
  .catalog-group[data-count="3"] .catalog-group-grid,
  .catalog-group[data-count="5"] .catalog-group-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 18px;
  }

  .catalog-group-grid .catalog-card,
  .catalog-group[data-count="5"] .catalog-card,
  .catalog-group[data-count="5"] .catalog-card:nth-child(4),
  .catalog-group[data-count="5"] .catalog-card:nth-child(5) {
    grid-column: auto;
  }

  .catalog-group[data-count="3"] .catalog-card:last-child,
  .catalog-group[data-count="5"] .catalog-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 18px) / 2);
    justify-self: center;
  }

  .catalog-group-grid .catalog-image {
    height: 180px;
  }

  .catalog-group-grid .catalog-card {
    min-height: 245px;
  }

  body[data-page="product-toppings"] .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 18px;
  }
}

@media (max-width: 430px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-image {
    height: 280px;
  }

  .catalog-group-grid,
  .catalog-group[data-count="2"] .catalog-group-grid,
  .catalog-group[data-count="3"] .catalog-group-grid,
  .catalog-group[data-count="5"] .catalog-group-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .catalog-group[data-count="3"] .catalog-card:last-child,
  .catalog-group[data-count="5"] .catalog-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .catalog-group-grid .catalog-image {
    height: 230px;
  }
}

/* KAWAMI recipe ingredient English fit */
html[lang="en"] .recipe-ingredients {
  width: min(680px, 100%);
  font-size: 18px;
}

html[lang="en"] .recipe-ingredient-row {
  grid-template-columns: minmax(0, 1fr) 54px 48px;
  column-gap: 10px;
}

html[lang="en"] .recipe-ingredient-row span {
  white-space: nowrap;
}
