/* Grinder page styles split from style.css. */

/* Grinder dedicated product page */
.mkgp-page {
  background: #f3f7fa;
}

.mkgp {
  color: #111;
  line-height: 1.7;
}

.mkgp-inner {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.mkgp-breadcrumb {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #3a5a77;
}

.mkgp-hero {
  padding: 52px 0 56px;
  background: #fff;
  border-top: 1px solid #d8e4ed;
  border-bottom: 1px solid #d8e4ed;
}

.mkgp-title {
  margin: 0 0 34px;
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mkgp-hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(300px, 1fr) minmax(180px, 0.36fr);
  gap: 26px;
  align-items: start;
}

.mkgp-lead {
  margin: 0 0 20px;
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 1.24;
  font-weight: 700;
}

.mkgp-spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(15px, 1.35vw, 21px);
}

.mkgp-spec-list li + li {
  margin-top: 6px;
}

.mkgp-hero-image {
  margin: 0;
  background: #fff;
  border: 1px solid #cdd9e4;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkgp-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mkgp-download {
  padding: 20px 14px;
  background: #f4f9ff;
  border: 1px solid #d5e4f0;
}

.mkgp-download-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
}

.mkgp-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  background: linear-gradient(90deg, #0079c4, #178bd7);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.mkgp-section-title {
  margin: 0 0 24px;
  font-size: clamp(30px, 2.8vw, 52px);
  font-weight: 700;
  line-height: 1.2;
}

.mkgp-feature,
.mkgp-stone-type,
.mkgp-lineup {
  padding: 54px 0;
}

.mkgp-feature-intro {
  margin: 0 0 30px;
  font-size: clamp(14px, 1.18vw, 18px);
}

.mkgp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr);
  gap: 20px;
}

.mkgp-feature-card {
  margin: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #d9e3ec;
}

.mkgp-feature-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}

.mkgp-feature-card p {
  margin: 0 0 14px;
  font-size: 14px;
}

.mkgp-feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d4dce5;
}

.mkgp-feature-note {
  margin: 0;
  padding: 24px;
  background: #f7fbff;
  border: 1px solid #d9e3ec;
}

.mkgp-feature-note h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
}

.mkgp-feature-note p {
  margin: 0;
  font-size: 15px;
}

.mkgp-small-note {
  margin: 20px 0 0;
  font-size: 14px;
}

.mkgp-stone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mkgp-stone-item {
  padding: 18px;
  background: #fff;
  border: 1px solid #d7e0ea;
}

.mkgp-stone-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.mkgp-stone-item p {
  margin: 0;
  font-size: 14px;
}

.mkgp-lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mkgp-lineup-card {
  margin: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #d4dce5;
}

.mkgp-lineup-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.mkgp-lineup-sub {
  margin: 0 0 8px;
  font-size: 14px;
  color: #0c4f87;
  font-weight: 700;
}

.mkgp-lineup-card p {
  margin: 0;
  font-size: 14px;
}

.mkgp-consult {
  margin: 28px 0 16px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

.mkgp-contact {
  margin: 0;
  text-align: center;
}

.mkgp-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 56px;
  padding: 12px 28px;
  background: linear-gradient(90deg, #0079c4, #178bd7);
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .mkgp-inner {
    width: min(100%, calc(100% - 32px));
  }

  .mkgp-hero-grid {
    grid-template-columns: 1fr;
  }

  .mkgp-feature-grid {
    grid-template-columns: 1fr;
  }

  .mkgp-stone-grid,
  .mkgp-lineup-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Restored Layout: /grinder/ and /products/ ===== */

/* Grinder page: feature section layout */
body.page-id-376 .page-content .mkhp-section--feature {
  background: #d8e6ee;
  padding: 36px 0 30px;
  overflow-x: clip;
}

body.page-id-376 .page-content .mkhp-section--feature .mkhp-inner {
  width: min(1600px, calc(100% - 80px));
  max-width: min(1600px, calc(100% - 80px));
  padding-left: 0;
  padding-right: 0;
  --mkhp-feature-frame-width: min(100%, 980px);
  --mkhp-feature-body-font-size: clamp(18px, 1.37vw, 29px);
}

body.page-id-376 .page-content .mkhp-feature-title-bar {
  margin: 0 auto;
  width: var(--mkhp-feature-frame-width);
  max-width: 100%;
  box-sizing: border-box;
  padding: 18px 12px;
  color: #fff;
  text-align: center;
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(90deg, #0079c4 0%, #1a8bd8 100%);
}

body.page-id-376 .page-content .mkhp-feature-intro-main {
  margin: 48px auto 42px;
  width: var(--mkhp-feature-frame-width);
  max-width: 100%;
  box-sizing: border-box;
  font-size: var(--mkhp-feature-body-font-size);
  line-height: 1.55;
  font-weight: 400;
  color: #000;
}

body.page-id-376 .page-content .mkhp-feature-layout-grid {
  width: var(--mkhp-feature-frame-width);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.62fr);
  gap: 40px;
  align-items: start;
}

body.page-id-376 .page-content .mkhp-feature-layout-image {
  margin: 0;
  min-width: 0;
}

body.page-id-376 .page-content .mkhp-feature-layout-image img {
  display: block;
  width: 100%;
  height: auto;
}

body.page-id-376 .page-content .mkhp-feature-layout-copy {
  padding-top: 8px;
  color: #000;
  font-weight: 400;
  min-width: 0;
  font-size: var(--mkhp-feature-body-font-size);
}

body.page-id-376 .page-content .mkhp-feature-layout-copy .mkhp-feature-heading {
  margin: 0 0 18px;
  font-size: 1em;
  line-height: 1.55;
  font-weight: 400;
  color: #000;
  text-align: left;
}

body.page-id-376 .page-content .mkhp-feature-layout-copy p {
  margin: 0;
  font-size: 1em;
  line-height: 1.55;
  font-weight: 400;
  color: #000;
}

@media (max-width: 1023px) {
  body.page-id-376 .page-content .mkhp-section--feature {
    padding: 22px 0 18px;
  }

  body.page-id-376 .page-content .mkhp-section--feature .mkhp-inner {
    width: min(100%, calc(100% - 24px));
    max-width: min(100%, calc(100% - 24px));
    --mkhp-feature-frame-width: 100%;
    --mkhp-feature-body-font-size: 14px;
  }

  body.page-id-376 .page-content .mkhp-feature-title-bar {
    padding: 12px 8px;
    font-size: 34px;
  }

  body.page-id-376 .page-content .mkhp-feature-intro-main {
    margin: 22px 0 24px;
    font-size: var(--mkhp-feature-body-font-size);
    line-height: 1.6;
    font-weight: 400;
    color: #000;
  }

  body.page-id-376 .page-content .mkhp-feature-layout-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.page-id-376 .page-content .mkhp-feature-layout-copy {
    padding-top: 0;
  }

  body.page-id-376 .page-content .mkhp-feature-layout-copy .mkhp-feature-heading {
    margin-bottom: 10px;
    font-size: 1em;
    line-height: 1.55;
    font-weight: 400;
    color: #000;
    text-align: left;
  }

  body.page-id-376 .page-content .mkhp-feature-layout-copy p {
    font-size: 1em;
    line-height: 1.55;
    font-weight: 400;
    color: #000;
  }
}

/* Grinder page: grindstone model section */
body.page-id-376 .page-content .mkhp-section--grinder-visual {
  background: #fff;
  padding: 34px 0 70px;
}

body.page-id-376 .page-content .mkhp-section--grinder-visual .mkhp-inner {
  width: min(1160px, calc(100% - 80px));
  max-width: 1160px;
  padding-left: 0;
  padding-right: 0;
}

body.page-id-376 .page-content .mkhp-section--grinder-visual .mkhp-section-title {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-376 .page-content .mkhp-grinder-visual-layout {
  display: grid;
  grid-template-columns: minmax(0, 667px) minmax(360px, 1fr);
  align-items: center;
  column-gap: 53px;
  margin-top: 64px;
}

body.page-id-376 .page-content .mkhp-grinder-visual-image {
  width: 100%;
  max-width: 667px;
  margin: 0;
}

body.page-id-376 .page-content .mkhp-grinder-visual-image img {
  display: block;
  width: 100%;
  height: auto;
}

body.page-id-376 .page-content .mkhp-grinder-visual-copy {
  margin: 0;
  color: #000;
  font-size: clamp(28px, 2.15vw, 38px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  body.page-id-376 .page-content .mkhp-section--grinder-visual .mkhp-inner {
    width: min(100%, calc(100% - 24px));
    max-width: min(100%, calc(100% - 24px));
  }

  body.page-id-376 .page-content .mkhp-section--grinder-visual .mkhp-section-title,
  body.page-id-376 .page-content .mkhp-grinder-visual-image {
    width: 100%;
    max-width: 100%;
  }

  body.page-id-376 .page-content .mkhp-grinder-visual-layout {
    grid-template-columns: 1fr;
    row-gap: 28px;
    margin-top: 32px;
  }

  body.page-id-376 .page-content .mkhp-grinder-visual-copy {
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1.65;
    text-align: left;
    white-space: normal;
  }
}

/* Grinder page: lineup section */
body.page-id-376 .page-content .mkhp-section--grinder-lineup {
  background: #d8e6ee;
  padding: 20px 0 52px;
}

body.page-id-376 .page-content .mkhp-section--grinder-lineup .mkhp-inner {
  width: min(1600px, calc(100% - 80px));
  max-width: min(1600px, calc(100% - 80px));
  padding-left: 0;
  padding-right: 0;
}

body.page-id-376 .page-content .mkhp-section--grinder-lineup .mkhp-section-title {
  width: min(100%, 980px);
  margin-left: auto;
  margin-right: auto;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-grid {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 24px;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(210px, 40%) minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-thumb {
  margin: 0;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-copy {
  min-width: 0;
  color: #000;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-sub {
  margin: 0 0 8px;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.35;
  font-weight: 700;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-copy p {
  margin: 0 0 4px;
  font-size: clamp(12px, 0.82vw, 15px);
  line-height: 1.4;
  font-weight: 500;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-copy p:last-child {
  margin-bottom: 0;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  padding: 0;
  border-radius: 50%;
  background: #0079c4;
  color: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  white-space: normal;
}

@media (max-width: 1023px) {
  body.page-id-376 .page-content .mkhp-section--grinder-lineup {
    padding: 18px 0 34px;
  }

  body.page-id-376 .page-content .mkhp-section--grinder-lineup .mkhp-inner {
    width: min(100%, calc(100% - 24px));
    max-width: min(100%, calc(100% - 24px));
  }

  body.page-id-376 .page-content .mkhp-section--grinder-lineup .mkhp-section-title,
  body.page-id-376 .page-content .mkhp-grinder-lineup-grid {
    width: 100%;
    max-width: 100%;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-grid {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-item {
    grid-template-columns: minmax(130px, 42%) minmax(0, 1fr);
    column-gap: 12px;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-sub {
    font-size: 14px;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-copy p {
    font-size: 12px;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-badge {
    width: 53px;
    height: 53px;
    font-size: 9px;
    line-height: 1.15;
  }
}

/* Grinder page: hero lead and visual top alignment */
body.page-id-376 .page-content .mkhp-lead {
  white-space: normal;
}

body.page-id-376 .page-content .mkhp-lead > span {
  display: block;
}

body.page-id-376 .page-content .mkhp-intro-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, 49.7%) minmax(0, 1fr);
  column-gap: 28px;
}

body.page-id-376 .page-content .mkhp-intro-main,
body.page-id-376 .page-content .mkhp-intro-visual {
  align-self: stretch;
  height: 100%;
}

body.page-id-376 .page-content .mkhp-intro-main {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: initial;
}

body.page-id-376 .page-content .mkhp-intro-visual {
  display: flex;
  grid-column: 1;
  grid-row: 1;
}

body.page-id-376 .page-content .mkhp-intro-main > .mkhp-lead {
  grid-column: 1;
  grid-row: 1;
  order: 1;
  max-width: calc(100% - 170px);
}

body.page-id-376 .page-content .mkhp-intro-main > .mkhp-title {
  grid-column: 1 / -1;
  grid-row: 3;
  order: 3;
  align-self: stretch !important;
  width: 100%;
  margin-top: auto !important;
  margin-bottom: 8px !important;
}

body.page-id-376 .page-content .mkhp-intro-main > .mkhp-spec-list {
  grid-column: 1 / -1;
  grid-row: 4;
  order: 4;
  width: 100%;
}

body.page-id-376 .page-content .mkhp-download-box {
  position: absolute;
  top: 0;
  right: 0;
}

body.page-id-376 .page-content .mkhp-title::after {
  width: 100% !important;
}

@media (max-width: 1023px) {
  body.page-id-376 .page-content .mkhp-intro-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  body.page-id-376 .page-content .mkhp-intro-main,
  body.page-id-376 .page-content .mkhp-intro-visual {
    grid-column: auto;
    grid-row: auto;
    height: auto;
  }

  body.page-id-376 .page-content .mkhp-intro-main {
    position: static;
    display: grid;
    grid-template-rows: auto;
    align-content: start;
  }

  body.page-id-376 .page-content .mkhp-intro-main > .mkhp-lead,
  body.page-id-376 .page-content .mkhp-intro-main > .mkhp-title,
  body.page-id-376 .page-content .mkhp-intro-main > .mkhp-spec-list {
    order: initial;
    grid-column: 1;
    grid-row: auto;
    max-width: none;
  }

  body.page-id-376 .page-content .mkhp-download-box {
    position: static;
  }
}

body.page-id-376 .page-content .mkhp-intro-visual .mkhp-noimage--hero {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  align-items: flex-start;
}

body.page-id-376 .page-content .mkhp-intro-visual .mkhp-hero-image {
  object-position: top center;
}

/* Grinder page: lineup grid from reference */
body.page-id-376 .page-content .mkhp-section--grinder-lineup {
  background: #e5f2f7;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-thumb {
  position: relative;
  background: transparent;
  overflow: hidden;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-thumb figcaption {
  display: none;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-material,
body.page-id-376 .page-content .mkhp-grinder-lineup-purpose {
  display: block;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-sub {
  font-weight: 400;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-material {
  color: #000000;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-material small {
  font-size: 0.56em;
  font-weight: 400;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-purpose {
  margin-top: 6px;
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.38;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-copy p:not(.mkhp-grinder-lineup-sub) {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-sub + p {
  margin-top: 24px;
}

@media (min-width: 1024px) {
  body.page-id-376 .page-content .mkhp-section--grinder-lineup {
    padding: 34px 0 78px;
  }

  body.page-id-376 .page-content .mkhp-section--grinder-lineup .mkhp-inner {
    padding-top: 0;
    padding-bottom: 0;
  }

  body.page-id-376 .page-content .mkhp-section--grinder-lineup .mkhp-section-title {
    height: 63px;
    margin: 0 0 78px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0079c4 !important;
    color: #ffffff !important;
    font-size: 34px;
    font-weight: 900 !important;
    line-height: 1;
    letter-spacing: 0.03em;
    -webkit-text-fill-color: #ffffff !important;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
    row-gap: 94px;
    align-items: start;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-item {
    grid-template-columns: 296px minmax(0, 1fr);
    column-gap: 25px;
    align-items: start;
    min-height: 222px;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-thumb {
    width: 296px;
    aspect-ratio: 4 / 3;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-copy {
    display: flex;
    flex-direction: column;
    height: 222px;
    min-height: 222px;
    padding-top: 0;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-sub {
    margin: 0;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-purpose {
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.3;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-copy p:not(.mkhp-grinder-lineup-sub) {
    margin: 0;
    font-size: 13px;
    line-height: 1.42;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-copy .mkhp-grinder-lineup-sub + p {
    margin-top: auto;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-copy .mkhp-grinder-lineup-sub + p + p {
    margin-top: 3px;
  }
}

@media (max-width: 1023px) {
  body.page-id-376 .page-content .mkhp-section--grinder-lineup {
    background: #e5f2f7;
  }

  body.page-id-376 .page-content .mkhp-section--grinder-lineup .mkhp-section-title {
    background: #0079c4 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-item {
    grid-template-columns: minmax(130px, 42%) minmax(0, 1fr);
    column-gap: 14px;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-thumb {
    aspect-ratio: 4 / 3;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-thumb figcaption {
    left: 14px;
    top: 13px;
    font-size: 22px;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-material {
    font-size: 20px;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-purpose,
  body.page-id-376 .page-content .mkhp-grinder-lineup-copy p:not(.mkhp-grinder-lineup-sub) {
    font-size: 12px;
  }
}

/* SP grinder detail: center the intro specs, key visual, and download box. */
@media (max-width: 880px) {
  .mkgp-page .mkgp-hero-copy,
  .mkgp-page .mkgp-hero-image,
  .mkgp-page .mkgp-download {
    justify-self: center;
    width: 100%;
    max-width: min(100%, 420px);
    margin-left: auto;
    margin-right: auto;
  }

  .mkgp-page .mkgp-spec-list {
    display: grid;
    justify-items: center;
    width: min(100%, 420px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .mkgp-page .mkgp-download-title,
  .mkgp-page .mkgp-download-link {
    text-align: center;
  }
}

/* JP SP only: center the grindstone model guidance text. */
@media (max-width: 880px) {
  body:not(.language-page-body).page-id-376 .page-content .mkhp-grinder-visual-copy {
    justify-self: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}

/* JP SP only: adjust the grinder feature title and lineup material weight. */
@media (max-width: 880px) {
  body:not(.language-page-body):not(.language-page-body--en):not(.language-page-body--zh).page-id-376 .page-content h3.mkhp-feature-title-bar {
    font-size: 15px !important;
  }

  body:not(.language-page-body):not(.language-page-body--en):not(.language-page-body--zh).page-id-376 .page-content .mkhp-grinder-lineup-material,
  body:not(.language-page-body):not(.language-page-body--en):not(.language-page-body--zh).page-id-376 .page-content .mkhp-grinder-lineup-material small {
    font-weight: 700 !important;
  }

  body:not(.language-page-body):not(.language-page-body--en):not(.language-page-body--zh).page-id-376 .page-content .mkhp-feature-intro-main,
  body:not(.language-page-body):not(.language-page-body--en):not(.language-page-body--zh).page-id-376 .page-content .mkhp-feature-layout-copy p {
    font-size: 15px !important;
    font-weight: 400 !important;
  }
}

/* Grinder lineup: product symbols overlaid on each product image. */
body.page-id-376 .page-content .mkhp-grinder-lineup-thumb figcaption {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 2 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  pointer-events: none !important;
}

body.page-id-376 .page-content .mkhp-grinder-lineup-thumb figcaption img.mkhp-grinder-lineup-symbol {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  max-height: 41px !important;
  object-fit: contain !important;
  object-position: left top !important;
  mix-blend-mode: normal !important;
}

@media (max-width: 880px) {
  body.page-id-376 .page-content .mkhp-grinder-lineup-thumb figcaption {
    top: 8px !important;
    left: 8px !important;
  }

  body.page-id-376 .page-content .mkhp-grinder-lineup-thumb figcaption img.mkhp-grinder-lineup-symbol {
    max-width: 72px !important;
    max-height: 26px !important;
  }
}
