@font-face {
  font-family: "SeoulNotice";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2505-1@1.0/SeoulAlrimTTF-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "SeoulNotice";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2505-1@1.0/SeoulAlrimTTF-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "SeoulNotice";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2505-1@1.0/SeoulAlrimTTF-Heavy.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --cream: #ffffff;
  --paper: #ffffff;
  --ink: #000000;
  --sub: #000000;
  --orange: #ff6a00;
  --pink: var(--orange);
  --blue: #4169e1;
  --yellow: #ffc72c;
  --orange-soft: var(--orange);
  --blue-soft: var(--blue);
  --yellow-soft: var(--yellow);
  --line-width: 5px;
  --line: var(--line-width) solid var(--ink);
  --shadow: 3px 3px 0 0 var(--ink);
  --display: "SeoulNotice", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --page-accent: var(--orange);
  --page-accent-alt: var(--yellow);
  --page-accent-soft: var(--blue);
  --hand-box-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M2.6 3.4 C18.1 2.8 34 3 50 2.8 C66 2.6 81.9 2.9 97.4 3.5 C97.1 18.9 97.8 34.4 97.5 49.9 C97.2 65.5 97.7 81.1 97 96.5 C81.6 96 65.8 96.4 50 96.2 C34.2 96 18.4 96.3 3 96.8 C3.2 81.2 2.7 65.6 2.9 50 C3.1 34.5 2.4 18.9 2.6 3.4 Z' fill='white' stroke='none'/%3E%3C/svg%3E");
  --hand-box-stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M2.6 3.4 C18.1 2.8 34 3 50 2.8 C66 2.6 81.9 2.9 97.4 3.5 C97.1 18.9 97.8 34.4 97.5 49.9 C97.2 65.5 97.7 81.1 97 96.5 C81.6 96 65.8 96.4 50 96.2 C34.2 96 18.4 96.3 3 96.8 C3.2 81.2 2.7 65.6 2.9 50 C3.1 34.5 2.4 18.9 2.6 3.4 Z' fill='none' stroke='%23000000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

body.theme-brownie {
  --page-accent: #ff6a00;
  --page-accent-alt: #ffd400;
  --page-accent-soft: #0057ff;
}

body.theme-handmade {
  --page-accent: #0057ff;
  --page-accent-alt: #ffd400;
  --page-accent-soft: #ff6a00;
}

body.theme-lucky {
  --page-accent: #ff6a00;
  --page-accent-alt: #0057ff;
  --page-accent-soft: #ffd400;
}

body.theme-scone {
  --page-accent: #ffd400;
  --page-accent-alt: #ff6a00;
  --page-accent-soft: #0057ff;
}

body.theme-terminal {
  --page-accent: #0057ff;
  --page-accent-alt: #ff6a00;
  --page-accent-soft: #ffd400;
}

body.theme-contact {
  --page-accent: #ff6a00;
  --page-accent-alt: #ffd400;
  --page-accent-soft: #0057ff;
}

* {
  box-sizing: border-box;
  word-break: keep-all;
}

*:where(*, *::before, *::after) {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 212, 0, 0.34), transparent 16%),
    radial-gradient(circle at 88% 14%, rgba(0, 87, 255, 0.24), transparent 18%),
    radial-gradient(circle at 80% 84%, rgba(255, 106, 0, 0.24), transparent 18%),
    var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.nm-site {
  width: min(100%, 1600px);
  margin: 0 auto;
  background: var(--cream);
  padding-bottom: 120px;
}

.nm-wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.nm-wave-top {
  position: relative;
}

.nm-wave-top::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -4px;
  right: -4px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='18' viewBox='0 0 120 18'%3E%3Cpath d='M0 9 C10 1 20 1 30 9 S50 17 60 9 80 1 90 9 110 17 120 9' fill='none' stroke='%23000000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 120px 18px;
  pointer-events: none;
}

.nm-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: var(--line);
}

.nm-topbar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 10px;
}

.nm-logo {
  width: 100%;
  text-align: center;
  font-size: 38px;
  line-height: 1;
}

.nm-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  padding-bottom: 4px;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nm-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 10px;
  background: var(--paper);
  font-size: 12px;
  transition: transform 0.18s ease;
}

.nm-nav a:nth-child(1),
.nm-nav a:nth-child(4),
.nm-detail-nav a:nth-child(1),
.nm-detail-nav a:nth-child(4),
.nm-breadcrumb a:nth-child(1),
.nm-breadcrumb a:nth-child(4) {
  background: var(--yellow);
}

.nm-nav a:nth-child(2),
.nm-nav a:nth-child(5),
.nm-detail-nav a:nth-child(2),
.nm-detail-nav a:nth-child(5),
.nm-breadcrumb a:nth-child(2),
.nm-breadcrumb a:nth-child(5) {
  background: var(--blue);
  color: var(--ink);
}

.nm-nav a:nth-child(3),
.nm-nav a:nth-child(6),
.nm-detail-nav a:nth-child(3),
.nm-detail-nav a:nth-child(6),
.nm-breadcrumb a:nth-child(3),
.nm-breadcrumb a:nth-child(6) {
  background: var(--orange);
}

.nm-nav a:hover,
.nm-btn:hover,
.nm-post-action:hover,
.nm-copy-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.nm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  background: var(--paper);
  font-size: 15px;
  transition: transform 0.18s ease;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.nm-btn--primary {
  background: var(--page-accent);
}

.nm-btn--secondary {
  background: var(--paper);
}

.nm-btn--soft {
  background: var(--page-accent-alt);
}

:is(
  .nm-nav a,
  .nm-btn,
  .nm-label,
  .nm-pill,
  .nm-proof-card,
  .nm-hero-frame,
  .nm-hero-scene,
  .nm-hero-tag,
  .nm-stage-box,
  .nm-stage-note,
  .nm-stage-ribbon,
  .nm-stage-card,
  .nm-stage-sticker,
  .nm-card,
  .nm-panel,
  .nm-product-card,
  .nm-product-badge,
  .nm-product-thumb,
  .nm-tag,
  .nm-post,
  .nm-post-action,
  .nm-post-tags span,
  .nm-all-product-card,
  .nm-thumb-mini,
  .nm-pick-card,
  .nm-pick-card small,
  .nm-table-wrap,
  .nm-side-note,
  .nm-note-box,
  .nm-steps,
  .nm-step strong,
  .nm-cta-card,
  .nm-badge,
  .nm-cta-inner,
  .nm-footer-links a,
  .nm-float-cta,
  .nm-detail-nav a,
  .nm-breadcrumb a,
  .nm-detail-card,
  .nm-media-frame,
  .nm-meta-pill,
  .nm-summary-box,
  .nm-choice-card,
  .nm-template-box,
  .nm-copy-button
) {
  position: relative;
  border: 0 !important;
  overflow: hidden;
  -webkit-mask: var(--hand-box-fill) center / 100% 100% no-repeat;
  mask: var(--hand-box-fill) center / 100% 100% no-repeat;
}

:is(
  .nm-nav a,
  .nm-btn,
  .nm-label,
  .nm-pill,
  .nm-proof-card,
  .nm-hero-frame,
  .nm-hero-scene,
  .nm-hero-tag,
  .nm-stage-box,
  .nm-stage-note,
  .nm-stage-ribbon,
  .nm-stage-card,
  .nm-stage-sticker,
  .nm-card,
  .nm-panel,
  .nm-product-card,
  .nm-product-badge,
  .nm-product-thumb,
  .nm-tag,
  .nm-post,
  .nm-post-action,
  .nm-post-tags span,
  .nm-all-product-card,
  .nm-thumb-mini,
  .nm-pick-card,
  .nm-pick-card small,
  .nm-table-wrap,
  .nm-side-note,
  .nm-note-box,
  .nm-steps,
  .nm-step strong,
  .nm-cta-card,
  .nm-badge,
  .nm-cta-inner,
  .nm-footer-links a,
  .nm-float-cta,
  .nm-detail-nav a,
  .nm-breadcrumb a,
  .nm-detail-card,
  .nm-media-frame,
  .nm-meta-pill,
  .nm-summary-box,
  .nm-choice-card,
  .nm-template-box,
  .nm-copy-button
)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hand-box-stroke) center / 100% 100% no-repeat;
  pointer-events: none;
}

.nm-section {
  padding: 64px 0;
  border-bottom: var(--line);
}

.nm-section--hero {
  padding-top: 36px;
  padding-bottom: 54px;
}

.nm-section--blue {
  background: var(--blue);
}

.nm-section--pink {
  background: var(--orange);
}

.nm-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.nm-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 9px 12px 7px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(46px, 7vw, 86px);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 12px;
}

.nm-copy p,
.nm-heading p,
.nm-card p,
.nm-panel p,
.nm-post-caption,
.nm-pick-card p,
.nm-detail-copy p,
.nm-detail-card p,
.nm-choice-card p,
.nm-faq .answer,
.nm-table td,
.nm-table th,
.nm-side-note p {
  margin: 0;
  color: var(--sub);
  font-size: 17px;
}

.nm-copy strong,
.nm-heading strong {
  color: var(--ink);
}

.nm-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 27px;
}

.nm-copy-list,
.nm-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.nm-pill,
.nm-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px 8px;
  background: var(--paper);
  font-size: 13px;
}

.nm-pill--pink {
  background: var(--orange);
}

.nm-pill--yellow {
  background: var(--yellow);
}

.nm-pill--blue {
  background: var(--blue);
}

.nm-button-row,
.nm-copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nm-copy-note {
  margin-top: 18px;
  font-size: 24px;
  color: var(--ink);
}

.nm-hero-proof-label {
  margin-top: 22px;
  margin-bottom: 0;
}

.nm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 36px;
  align-items: center;
}

.nm-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  max-width: 760px;
}

.nm-proof-card {
  padding: 16px 18px;
  background: var(--paper);
}

.nm-proof-card:nth-child(1) {
  background: var(--yellow);
}

.nm-proof-card:nth-child(2) {
  background: var(--blue);
}

.nm-proof-card:nth-child(3) {
  background: var(--orange);
}

.nm-proof-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.nm-proof-card span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.nm-hero-frame {
  background: var(--paper);
  padding: 14px;
}

.nm-hero-scene {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, var(--yellow) 0 28%, var(--blue) 28% 100%);
}

.nm-hero-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px 6px;
  background: var(--yellow);
  font-size: 21px;
  color: var(--ink);
}

.nm-hero-art {
  display: block;
  width: min(100%, 700px);
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.nm-stage-box,
.nm-stage-note,
.nm-stage-ribbon,
.nm-stage-card,
.nm-stage-cookie {
  position: absolute;
  background: var(--paper);
}

.nm-stage-cookie {
  border: var(--line);
  border-radius: 50%;
}

.nm-stage-box {
  width: 220px;
  height: 180px;
  right: 70px;
  top: 110px;
  background: #fff;
  transform: rotate(4deg);
}

.nm-stage-box::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 28px;
  height: 28px;
  background: var(--yellow);
}

.nm-stage-ribbon {
  width: 32px;
  height: 200px;
  right: 164px;
  top: 92px;
  background: var(--orange);
  transform: rotate(4deg);
}

.nm-stage-note {
  width: 190px;
  height: 88px;
  left: 72px;
  top: 110px;
  background: var(--yellow);
  transform: rotate(-7deg);
}

.nm-stage-note::before {
  content: "gift order";
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 28px;
  color: var(--ink);
}

.nm-stage-card {
  width: 180px;
  height: 110px;
  left: 110px;
  bottom: 82px;
  background: var(--paper);
  transform: rotate(5deg);
}

.nm-stage-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 28px;
  height: 4px;
  background: rgba(0, 87, 255, 0.22);
  box-shadow:
    0 18px 0 0 rgba(0, 87, 255, 0.18),
    0 36px 0 0 rgba(0, 87, 255, 0.14);
}

.nm-stage-cookie {
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 255, 255, 0.42) 0 8%, transparent 9%),
    radial-gradient(circle at 63% 42%, rgba(255, 212, 0, 0.3) 0 10%, transparent 11%),
    linear-gradient(180deg, var(--orange), var(--orange));
}

.nm-stage-cookie.cookie-a {
  width: 116px;
  height: 116px;
  left: 88px;
  bottom: 108px;
}

.nm-stage-cookie.cookie-b {
  width: 132px;
  height: 132px;
  left: 186px;
  bottom: 80px;
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 255, 255, 0.42) 0 8%, transparent 9%),
    radial-gradient(circle at 63% 42%, rgba(255, 255, 255, 0.2) 0 10%, transparent 11%),
    linear-gradient(180deg, var(--yellow), var(--yellow));
}

.nm-stage-cookie.cookie-c {
  width: 104px;
  height: 104px;
  right: 110px;
  bottom: 110px;
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 255, 255, 0.42) 0 8%, transparent 9%),
    linear-gradient(180deg, var(--blue), var(--blue));
}

.nm-stage-sticker {
  position: absolute;
  right: 22px;
  bottom: 24px;
  padding: 10px 14px 8px;
  background: var(--paper);
  font-size: 24px;
  transform: rotate(-5deg);
}

.nm-marquee {
  overflow: hidden;
  border-bottom: var(--line);
  border-top: var(--line);
  background: var(--yellow);
}

.nm-marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-size: 34px;
  animation: marquee 18s linear infinite;
}

.nm-marquee-track span {
  padding: 12px 20px 8px;
  color: var(--ink);
}

.nm-grid-2,
.nm-info-grid,
.nm-choice-grid,
.nm-featured-grid,
.nm-all-products-grid,
.nm-image-grid,
.nm-picks-grid,
.nm-compare {
  display: grid;
  gap: 22px;
}

.nm-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nm-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nm-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nm-featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.nm-all-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nm-image-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nm-image-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nm-image-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nm-card,
.nm-detail-card,
.nm-choice-card {
  padding: 28px;
  background: var(--paper);
  min-height: 100%;
}

.nm-product-card,
.nm-all-product-card {
  min-height: 100%;
  background: var(--paper);
}

.nm-grid-2 .nm-card:nth-child(1) {
  background: var(--yellow);
}

.nm-grid-2 .nm-card:nth-child(2) {
  background: var(--blue);
}

.nm-grid-2 .nm-card:nth-child(3) {
  background: var(--orange);
}

.nm-card small,
.nm-pick-card small {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 18px;
  max-width: 100%;
  padding: 10px 16px 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.nm-card h3,
.nm-detail-card h3,
.nm-choice-card h3,
.nm-pick-card h3,
.nm-panel h3,
.nm-side-note h3,
.nm-cta-card h3 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.nm-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.nm-panel {
  padding: 34px 30px;
  min-height: 100%;
}

.nm-panel--dark {
  background: var(--orange);
}

.nm-panel--light {
  background: var(--paper);
}

.nm-product-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.nm-featured-grid .nm-product-card:nth-child(1) {
  background: var(--yellow-soft);
}

.nm-featured-grid .nm-product-card:nth-child(2) {
  background: var(--blue-soft);
}

.nm-featured-grid .nm-product-card:nth-child(3) {
  background: var(--orange-soft);
}

.nm-product-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 8px 10px 6px;
  background: var(--paper);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.nm-product-thumb {
  position: relative;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
  background: #fff;
  flex-shrink: 0;
}

.nm-product-thumb-inner,
.nm-thumb-mini {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.nm-product-thumb-inner {
  position: absolute;
  inset: 10px;
}

.nm-product-thumb img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.nm-featured-grid .nm-product-card:nth-child(1) .nm-product-thumb-inner {
  background-image: url("../images/brownie-hero.jpg");
}

.nm-featured-grid .nm-product-card:nth-child(2) .nm-product-thumb-inner {
  background-image: url("../images/bear-scone-hero.jpg");
}

.nm-featured-grid .nm-product-card:nth-child(3) .nm-product-thumb-inner {
  background-image: url("../images/fortune-cookie-hero.jpg");
}

.nm-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.nm-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  background: var(--paper);
  font-size: 12px;
}

.nm-product-meta .nm-tag:nth-child(3n + 1) {
  background: var(--yellow);
}

.nm-product-meta .nm-tag:nth-child(3n + 2) {
  background: var(--blue);
}

.nm-product-meta .nm-tag:nth-child(3n) {
  background: var(--orange);
}

.nm-product-card h3,
.nm-all-product-card h3 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.nm-product-card p,
.nm-all-product-card p {
  margin: 0;
  color: var(--sub);
  font-size: 16px;
}

.nm-product-card .nm-btn {
  margin-top: auto;
}

.nm-all-product-link {
  display: block;
  min-width: 0;
  color: inherit;
}

.nm-all-product-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.nm-all-products-grid .nm-all-product-link:nth-child(1) .nm-thumb-mini {
  background-image: url("../images/brownie-main.jpg");
}

.nm-all-products-grid .nm-all-product-link:nth-child(2) .nm-thumb-mini {
  background-image: url("../images/handmade-main.jpg");
}

.nm-all-products-grid .nm-all-product-link:nth-child(3) .nm-thumb-mini {
  background-image: url("../images/custom-brownie-main.jpg");
}

.nm-all-products-grid .nm-all-product-link:nth-child(4) .nm-thumb-mini {
  background-image: url("../images/lucky-main.png");
}

.nm-all-products-grid .nm-all-product-link:nth-child(5) .nm-thumb-mini {
  background-image: url("../images/terminal-hero.jpg");
}

.nm-thumb-mini {
  margin-bottom: 14px;
  aspect-ratio: 16 / 10;
  background-color: #fff;
}

.nm-mini-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  background: linear-gradient(transparent 58%, rgba(255, 212, 0, 0.92) 58%);
}

.nm-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nm-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.62;
}

.nm-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
}

.nm-post-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px);
  gap: 22px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
  scroll-snap-type: x proximity;
}

.nm-post-rail::-webkit-scrollbar {
  height: 10px;
}

.nm-post-rail::-webkit-scrollbar-thumb {
  background: var(--ink);
}

.nm-post {
  background: var(--paper);
  scroll-snap-align: start;
}

.nm-post:nth-child(3n + 1) .nm-post-head {
  background: var(--yellow-soft);
}

.nm-post:nth-child(3n + 2) .nm-post-head {
  background: var(--blue-soft);
}

.nm-post:nth-child(3n) .nm-post-head {
  background: var(--orange-soft);
}

.nm-post-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: var(--line);
}

.nm-avatar {
  width: 36px;
  height: 36px;
  border: var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  flex: 0 0 auto;
}

.nm-handle strong {
  display: block;
  font-size: 14px;
  line-height: 1.1;
}

.nm-handle span {
  display: block;
  font-size: 12px;
  line-height: 1.1;
  margin-top: 2px;
}

.nm-post-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: var(--line);
  background: #fff;
}

.nm-post-visual img,
.nm-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nm-post-body {
  padding: 18px 18px 24px;
}

.nm-post-body h3 {
  font-size: 34px;
  line-height: 1.16;
  margin-bottom: 10px;
}

.nm-post-price {
  display: inline-block;
  margin-top: 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
  background: linear-gradient(transparent 58%, rgba(255, 212, 0, 0.92) 58%);
}

.nm-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.nm-post-tags span {
  padding: 8px 10px;
  background: #fff;
  font-size: 12px;
}

.nm-post-tags span:nth-child(3n + 1) {
  background: var(--yellow-soft);
}

.nm-post-tags span:nth-child(3n + 2) {
  background: var(--blue-soft);
}

.nm-post-tags span:nth-child(3n) {
  background: var(--orange-soft);
}

.nm-post-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 10px 14px;
  background: var(--paper);
  font-size: 13px;
}

.nm-picks-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nm-pick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 26px;
  min-height: auto;
}

.nm-pick-card--pink {
  background: var(--orange-soft);
}

.nm-pick-card--yellow {
  background: var(--yellow-soft);
}

.nm-pick-card--blue {
  background: var(--blue-soft);
}

.nm-pick-card .nm-list {
  gap: 10px;
  margin-bottom: 18px;
  width: 100%;
}

.nm-pick-card .nm-list li {
  font-size: 15px;
}

.nm-pick-card .nm-btn {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  margin-top: 18px;
}

.nm-pick-card h3,
.nm-pick-card p {
  width: 100%;
}

.nm-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.nm-table-wrap,
.nm-side-note,
.nm-steps,
.nm-cta-card {
  background: var(--paper);
}

.nm-table-head {
  padding: 18px 20px;
  background: var(--blue);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -0.02em;
}

.nm-table {
  width: 100%;
  border-collapse: collapse;
}

.nm-table th,
.nm-table td {
  padding: 18px;
  text-align: left;
  border-bottom: var(--line);
  font-size: 15px;
  vertical-align: top;
}

.nm-table th {
  background: rgba(255, 212, 0, 0.48);
}

.nm-side-note {
  padding: 24px;
  background: var(--yellow);
}

.nm-note-box,
.nm-summary-box,
.nm-template-box {
  margin-top: 20px;
  padding: 18px;
  background: var(--paper);
  white-space: pre-line;
  font-size: 15px;
  color: var(--ink);
}

.nm-summary-box {
  background: var(--yellow);
}

.nm-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
  background: var(--paper);
}

.nm-step {
  padding: 22px 18px;
  border-right: var(--line);
}

.nm-step:last-child {
  border-right: 0;
}

.nm-step strong {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px 6px;
  background: var(--cream);
  font-size: 22px;
}

.nm-step h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.16;
}

.nm-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: 28px;
  align-items: center;
}

.nm-cta-copy p {
  color: var(--ink);
  font-size: 18px;
  margin: 0;
}

.nm-cta-card {
  padding: 26px;
}

.nm-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 9px 12px 7px;
  background: var(--orange);
  color: var(--ink);
  font-size: 12px;
}

.nm-cta-card h3 {
  margin-bottom: 12px;
  font-size: 44px;
  line-height: 1.14;
}

.nm-cta-card p {
  margin: 0 0 18px;
}

.nm-cta-inner,
.nm-template-box {
  margin: 0;
  padding: 24px;
  background: var(--yellow);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-line;
  color: var(--ink);
}

.nm-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.nm-faq {
  border-top: var(--line);
}

.nm-faq details {
  border-bottom: var(--line);
  background: transparent;
}

.nm-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.nm-faq summary::-webkit-details-marker {
  display: none;
}

.nm-faq summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #fff;
  color: var(--ink);
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
}

.nm-faq details[open] summary::after {
  content: "-";
}

.nm-faq .answer {
  padding: 0 0 22px;
  font-size: 16px;
}

.theme-home .nm-nav a,
.theme-home .nm-nav a:nth-child(n) {
  background: #fff;
  color: var(--ink);
}

.theme-home .nm-nav a:hover,
.theme-home .nm-nav a:focus-visible {
  background: var(--orange);
  color: var(--ink);
}

.theme-home .nm-section--hero .nm-hero-frame {
  background: #fff;
  padding: 6px;
  width: 100%;
  max-width: none;
}

.theme-home .nm-section--hero .nm-hero-scene {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  aspect-ratio: 1 / 1;
}

.theme-home .nm-section--hero .nm-hero-art {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.theme-home .nm-section--hero .nm-hero-tag {
  display: none;
}

.theme-home .nm-section--hero .nm-stage-note,
.theme-home .nm-section--hero .nm-stage-ribbon,
.theme-home .nm-section--hero .nm-stage-box,
.theme-home .nm-section--hero .nm-stage-card,
.theme-home .nm-section--hero .nm-stage-cookie,
.theme-home .nm-section--hero .nm-stage-sticker {
  display: none;
}

.theme-home .nm-section--hero .nm-copy-list .nm-pill {
  background: #fff;
}

.theme-home .nm-section--hero .nm-pill--pink {
  background: var(--orange);
}

.theme-home .nm-section--hero .nm-pill--yellow {
  background: var(--yellow);
}

.theme-home .nm-section--hero .nm-pill--blue {
  background: var(--blue);
  color: #fff;
}

.theme-home #featured-products .nm-product-card {
  background: #fff;
}

.theme-home #featured-products .nm-product-card:nth-child(1) {
  background: linear-gradient(180deg, var(--orange) 0 14px, #fff 14px 100%);
}

.theme-home #featured-products .nm-product-badge {
  background: #fff;
}

.theme-home #featured-products .nm-product-meta .nm-tag {
  background: #fff;
}

.theme-home #featured-products .nm-product-card:nth-child(1) .nm-product-badge,
.theme-home #featured-products .nm-product-card:nth-child(1) .nm-product-meta .nm-tag:first-child {
  background: var(--orange);
}

.theme-home #featured-products .nm-product-card:nth-child(2) .nm-product-badge,
.theme-home #featured-products .nm-product-card:nth-child(2) .nm-product-meta .nm-tag:first-child {
  background: var(--yellow);
}

.theme-home #featured-products .nm-product-card:nth-child(3) .nm-product-meta .nm-tag:first-child {
  background: var(--blue);
  color: #fff;
}

.theme-home #all-products .nm-all-product-card {
  background: #fff;
}

.theme-home #all-products .nm-all-product-link:nth-child(3n + 1) .nm-mini-link {
  color: var(--orange);
  background: linear-gradient(transparent 58%, rgba(255, 106, 0, 0.9) 58%);
}

.theme-home #all-products .nm-all-product-link:nth-child(3n + 2) .nm-mini-link {
  color: var(--ink);
  background: linear-gradient(transparent 58%, rgba(255, 199, 44, 0.95) 58%);
}

.theme-home #all-products .nm-all-product-link:nth-child(3n) .nm-mini-link {
  color: var(--ink);
  background: linear-gradient(transparent 58%, rgba(65, 105, 225, 0.75) 58%);
}

.theme-home #order-guide .nm-pick-card {
  background: #fff;
}

.theme-home #order-guide .nm-pick-card--pink {
  background: linear-gradient(180deg, var(--orange) 0 14px, #fff 14px 100%);
}

.theme-home #order-guide .nm-pick-card--yellow {
  background: linear-gradient(180deg, var(--yellow) 0 14px, #fff 14px 100%);
}

.theme-home #order-guide .nm-pick-card--blue {
  background: linear-gradient(180deg, var(--blue) 0 14px, #fff 14px 100%);
}

.theme-home #order-guide .nm-pick-card--pink small {
  background: var(--orange);
}

.theme-home #order-guide .nm-pick-card--yellow small {
  background: var(--yellow);
}

.theme-home #order-guide .nm-pick-card--blue small {
  background: var(--blue);
  color: #fff;
}

.theme-home #use-case-guide .nm-grid-2 .nm-card:nth-child(n) {
  background: #fff;
}

.theme-home #use-case-guide .nm-card small {
  background: #fff;
}

.theme-home #use-case-guide .nm-card:nth-child(3n + 1) small {
  background: var(--orange);
}

.theme-home #use-case-guide .nm-card:nth-child(3n) small {
  background: var(--blue);
  color: #fff;
}

.theme-home #use-case-guide .nm-card:nth-child(3n + 2) small {
  background: var(--yellow);
}

.theme-home #faq .nm-faq details {
  background: #fff;
}

.theme-home #faq .nm-faq summary::after {
  background: var(--orange);
}

.theme-home #faq .nm-faq details[open] {
  background: #fff;
  box-shadow: inset 0 8px 0 0 var(--yellow);
}

.nm-footer {
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--sub);
}

.nm-footer strong {
  color: var(--ink);
}

.nm-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.nm-footer-links a {
  padding: 10px 12px;
  background: var(--paper);
  font-size: 13px;
}

.nm-float-cta {
  position: fixed !important;
  right: 16px;
  left: auto;
  bottom: 14px;
  z-index: 999;
  display: block;
  width: min(380px, calc(100% - 24px));
  padding: 0;
  background: transparent;
  transform: none;
  box-shadow: none;
  overflow: visible;
  -webkit-mask: none;
  mask: none;
}

.nm-float-cta::after {
  display: none;
}

.nm-float-copy {
  display: none;
}

.nm-float-copy strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.nm-float-copy span {
  display: block;
  margin-top: 2px;
  color: var(--sub);
  font-size: 11px;
  line-height: 1.35;
}

.nm-float-cta .nm-btn,
.nm-float-cta .nm-copy-button {
  width: 100%;
  min-height: 50px;
  padding: 14px 18px 12px;
  background: var(--orange);
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: var(--shadow);
}

.nm-float-icon {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.18s ease;
}

.nm-float-icon.with-bar {
  bottom: calc(98px + env(safe-area-inset-bottom));
}

.nm-float-icon:hover {
  transform: translate(-2px, -2px);
}

.nm-float-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(2px 4px 0 rgba(0, 0, 0, 0.22));
}

.nm-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: center;
}

.nm-breadcrumb,
.nm-detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.nm-breadcrumb a,
.nm-detail-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  background: var(--paper);
  font-size: 12px;
}

.nm-detail-copy h1 {
  font-size: clamp(40px, 5.8vw, 72px);
}

.nm-detail-copy .nm-kicker {
  margin-bottom: 14px;
  font-size: 24px;
}

.nm-detail-copy .nm-button-row {
  margin-top: 24px;
}

.nm-media-frame {
  background: var(--paper);
  padding: 10px;
}

.nm-media-frame--wide {
  aspect-ratio: 4 / 3;
}

.nm-media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.nm-media-caption {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--sub);
}

.nm-detail-stack {
  display: grid;
  gap: 18px;
}

.nm-detail-card--accent {
  background: var(--page-accent-alt);
}

.nm-detail-card--soft {
  background: var(--page-accent-soft);
}

.nm-detail-card--bold {
  background: var(--page-accent);
}

.nm-detail-card--accent p,
.nm-detail-card--soft p,
.nm-detail-card--bold p {
  color: var(--ink);
}

.nm-detail-card .nm-list {
  margin-top: 14px;
}

.nm-copy-button {
  min-height: 46px;
  padding-inline: 16px;
  background: var(--page-accent);
}

.nm-template-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.nm-template-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  background: var(--paper);
  font-size: 12px;
}

.nm-image-grid .nm-media-frame,
.nm-image-grid--two .nm-media-frame,
.nm-image-grid--four .nm-media-frame {
  min-height: 100%;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  .nm-hero-grid,
  .nm-cta-grid,
  .nm-guide-grid,
  .nm-compare,
  .nm-picks-grid,
  .nm-featured-grid,
  .nm-detail-hero,
  .nm-info-grid,
  .nm-choice-grid {
    grid-template-columns: 1fr;
  }

  .nm-all-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nm-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nm-image-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nm-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nm-step:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 820px) {
  .nm-section {
    padding: 52px 0;
  }

  .nm-grid-2,
  .nm-image-grid,
  .nm-image-grid--two,
  .nm-image-grid--four {
    grid-template-columns: 1fr;
  }

  .nm-all-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nm-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    max-width: 100%;
  }

  .nm-card,
  .nm-detail-card,
  .nm-choice-card,
  .nm-panel,
  .nm-product-card,
  .nm-all-product-card,
  .nm-pick-card,
  .nm-side-note,
  .nm-cta-card {
    padding: 24px;
  }

  .nm-detail-stack,
  .nm-hero-frame {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

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

  .nm-steps {
    grid-template-columns: 1fr;
  }

  .nm-step {
    border-right: 0;
    border-bottom: var(--line);
  }

  .nm-step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .nm-wrap {
    width: min(100% - 20px, 1240px);
  }

  .nm-logo {
    font-size: 26px;
  }

  .nm-section {
    padding: 46px 0;
  }

  .nm-btn {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .nm-kicker {
    font-size: 22px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .nm-copy p,
  .nm-heading p,
  .nm-card p,
  .nm-panel p,
  .nm-product-card p,
  .nm-all-product-card p,
  .nm-side-note p,
  .nm-faq .answer,
  .nm-table td,
  .nm-table th,
  .nm-detail-card p,
  .nm-choice-card p {
    font-size: 15px;
  }

  .nm-label,
  .nm-pill,
  .nm-meta-pill,
  .nm-badge,
  .nm-product-badge,
  .nm-tag,
  .nm-template-meta span {
    font-size: 11px;
    line-height: 1.35;
  }

  .nm-button-row .nm-btn,
  .nm-copy-row .nm-btn,
  .nm-cta-actions .nm-btn,
  .nm-copy-row .nm-copy-button {
    width: 100%;
  }

  .nm-button-row,
  .nm-copy-row,
  .nm-meta-row,
  .nm-copy-list,
  .nm-breadcrumb,
  .nm-detail-nav {
    gap: 8px;
  }

  .nm-card,
  .nm-detail-card,
  .nm-choice-card,
  .nm-panel,
  .nm-product-card,
  .nm-all-product-card,
  .nm-pick-card,
  .nm-side-note,
  .nm-cta-card {
    padding: 20px;
  }

  .nm-hero-frame {
    padding: 10px;
    max-width: 352px;
  }

  .nm-hero-art {
    width: min(100%, 340px);
  }

  .theme-home .nm-section--hero .nm-hero-frame {
    padding: 4px;
    width: 100%;
    max-width: none;
  }

  .theme-home .nm-section--hero .nm-hero-scene {
    padding: 0;
    aspect-ratio: 1 / 1;
  }

  .theme-home .nm-section--hero .nm-hero-art {
    width: 100%;
    height: 100%;
  }

  .nm-detail-stack {
    max-width: 352px;
    gap: 14px;
  }

  .nm-media-frame {
    padding: 8px;
  }

  .nm-media-frame,
  .nm-product-thumb {
    max-width: 352px;
    margin-inline: auto;
  }

  .nm-featured-grid {
    gap: 16px;
  }

  .nm-featured-grid .nm-product-thumb {
    max-width: none;
    margin-inline: 0;
    margin-bottom: 16px;
    aspect-ratio: 16 / 11;
  }

  .nm-media-frame--wide {
    aspect-ratio: 16 / 11;
  }

  .nm-stage-box {
    width: 170px;
    height: 144px;
    right: 34px;
    top: 96px;
  }

  .nm-stage-ribbon {
    height: 160px;
    right: 104px;
    top: 86px;
  }

  .nm-stage-note {
    width: 138px;
    height: 76px;
    left: 26px;
  }

  .nm-stage-card {
    width: 140px;
    height: 92px;
    left: 70px;
    bottom: 56px;
  }

  .nm-stage-cookie.cookie-a {
    width: 88px;
    height: 88px;
    left: 36px;
    bottom: 78px;
  }

  .nm-stage-cookie.cookie-b {
    width: 104px;
    height: 104px;
    left: 100px;
    bottom: 56px;
  }

  .nm-stage-cookie.cookie-c {
    width: 82px;
    height: 82px;
    right: 54px;
    bottom: 78px;
  }

  .nm-stage-sticker {
    right: 10px;
    bottom: 10px;
    font-size: 20px;
  }

  .nm-marquee-track {
    font-size: 26px;
  }

  .nm-post-rail {
    grid-auto-columns: minmax(276px, 86vw);
  }

  .nm-float-cta {
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    bottom: 12px;
    padding: 0;
  }

  .nm-site {
    padding-bottom: 112px;
  }

  .nm-card h3,
  .nm-panel h3,
  .nm-product-card h3,
  .nm-all-product-card h3,
  .nm-post-body h3,
  .nm-side-note h3,
  .nm-cta-card h3,
  .nm-detail-card h3,
  .nm-choice-card h3 {
    font-size: 22px;
    line-height: 1.2;
  }

  .nm-table th,
  .nm-table td {
    padding: 14px 12px;
  }

  .nm-faq summary {
    align-items: flex-start;
    padding: 18px 0;
    font-size: 16px;
    line-height: 1.4;
  }

  .nm-faq summary::after {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .nm-faq .answer,
  .nm-note-box,
  .nm-summary-box,
  .nm-template-box,
  .nm-cta-inner {
    font-size: 14px;
    line-height: 1.6;
  }

  .nm-float-cta .nm-btn,
  .nm-float-cta .nm-copy-button {
    min-height: 48px;
    padding: 13px 16px calc(11px + env(safe-area-inset-bottom));
    font-size: 13px;
  }

  .nm-float-icon {
    width: 74px;
    right: max(12px, env(safe-area-inset-right));
  }

  .nm-float-icon.with-bar {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 430px) {
  .nm-wrap {
    width: min(100% - 18px, 1240px);
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .nm-kicker {
    font-size: 19px;
  }

  .nm-copy p,
  .nm-heading p,
  .nm-card p,
  .nm-panel p,
  .nm-product-card p,
  .nm-all-product-card p,
  .nm-side-note p,
  .nm-faq .answer,
  .nm-table td,
  .nm-table th,
  .nm-detail-card p,
  .nm-choice-card p,
  .nm-detail-copy p {
    font-size: 14px;
    line-height: 1.55;
  }

  .nm-card,
  .nm-detail-card,
  .nm-choice-card,
  .nm-panel,
  .nm-product-card,
  .nm-all-product-card,
  .nm-pick-card,
  .nm-side-note,
  .nm-cta-card {
    padding: 18px;
  }

  .nm-card h3,
  .nm-panel h3,
  .nm-product-card h3,
  .nm-all-product-card h3,
  .nm-post-body h3,
  .nm-side-note h3,
  .nm-cta-card h3,
  .nm-detail-card h3,
  .nm-choice-card h3 {
    font-size: 20px;
    line-height: 1.22;
  }

  .nm-product-meta,
  .nm-template-meta {
    gap: 6px;
  }

  .nm-detail-stack,
  .nm-hero-frame {
    max-width: 320px;
  }

  .nm-hero-art {
    width: min(100%, 304px);
  }

  .theme-home .nm-section--hero .nm-hero-frame {
    padding: 3px;
    width: 100%;
    max-width: none;
  }

  .theme-home .nm-section--hero .nm-hero-art {
    width: 100%;
    height: 100%;
  }

  .nm-media-frame--wide,
  .nm-product-thumb,
  .nm-thumb-mini {
    aspect-ratio: 16 / 10;
  }

  .nm-product-thumb,
  .nm-media-frame {
    max-width: 320px;
    margin-inline: auto;
  }

  .nm-featured-grid {
    gap: 12px;
  }

  .nm-featured-grid .nm-product-card {
    padding: 16px;
  }

  .nm-featured-grid .nm-product-thumb {
    max-width: none;
    margin-inline: 0;
    margin-bottom: 14px;
    aspect-ratio: 16 / 10;
  }

  .nm-image-grid .nm-media-frame,
  .nm-image-grid--two .nm-media-frame,
  .nm-image-grid--four .nm-media-frame {
    max-width: 320px;
    margin-inline: auto;
  }

  .nm-post-visual {
    aspect-ratio: 1 / 1.08;
  }

  .nm-table th,
  .nm-table td {
    padding: 12px 10px;
    font-size: 14px;
  }

  .nm-footer-links {
    gap: 8px;
  }

  .nm-footer-links a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nm-marquee-track,
  .nm-btn,
  .nm-post-action,
  .nm-copy-button {
    animation: none;
    transition: none;
  }
}


/* BEGIN GLOBAL NAV STYLES OVERRIDE */
.nm-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  padding-bottom: 8px !important;
  box-sizing: border-box !important;
}

/* 방해되는 기존 손그림 테두리(가상요소) 강제 제거 */
.nm-nav a::after,
.nm-nav a::before {
  display: none !important;
}

.nm-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto !important; 
  box-sizing: border-box !important;
  
  min-height: 48px !important;
  min-width: 0 !important;
  padding: 10px 14px !important;
  margin: 0 !important;
  
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.05 !important;
  text-align: center !important;
  word-break: keep-all !important;
  white-space: nowrap !important;
  
  border: 3px solid var(--ink) !important;
  box-shadow: 3px 3px 0 0 var(--ink) !important;
  -webkit-mask: none !important;
  mask: none !important;
  overflow: visible !important;
  color: var(--ink) !important;
}

.nm-nav a:hover,
.nm-nav a:focus-visible {
  transform: translateY(-2px) !important;
  background: #fff !important;
}

.nm-nav a:nth-child(1),
.nm-nav a:nth-child(4) {
  background: var(--yellow) !important;
}

.nm-nav a:nth-child(2) {
  background: var(--blue) !important;
}

.nm-nav a:nth-child(3) {
  background: var(--orange) !important;
}

@media (max-width: 640px) {
  .nm-nav {
    gap: 5px !important;
    padding: 0 4px !important;
    flex-wrap: nowrap !important;
  }
  .nm-nav a {
    flex: 1 1 0 !important;
    min-height: 42px !important;
    padding: 0 !important; 
    font-size: 12px !important;
    letter-spacing: -0.06em !important;
    border: 2px solid var(--ink) !important;
    box-shadow: 2px 2px 0 var(--ink) !important;
  }
}
/* END GLOBAL NAV STYLES OVERRIDE */
