@charset "UTF-8";

.immeat {
  --orange: #f36f21;
  --orange-dark: #d9510c;
  --orange-soft: #fff4e9;
  --warm: #fbf8f4;
  --warm-deep: #f2ece5;
  --ink: #202020;
  --muted: #74706b;
  --line: #e7e1da;
  --green: #1f7544;
  --container: 1250px;
  --shadow: 0 14px 38px rgba(58, 42, 27, 0.09);
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

.immeat *,
.immeat *::before,
.immeat *::after {
  box-sizing: border-box;
}

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

.immeat button,
.immeat input {
  color: inherit;
  font: inherit;
}

.immeat button,
.immeat a {
  -webkit-tap-highlight-color: transparent;
}

.immeat img {
  display: block;
  max-width: 100%;
}

.immeat .container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--orange-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.immeat :focus-visible {
  outline: 3px solid rgba(243, 111, 33, 0.45);
  outline-offset: 3px;
}

/* Header */
.im-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 150px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 14px rgba(46, 37, 29, 0.035);
}

.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.brand-area,
.logo,
.header-links,
.gnb-wrap,
.gnb,
.rank-pill {
  display: flex;
  align-items: center;
}

.brand-area {
  min-width: 0;
  gap: 38px;
}

.logo {
  flex: 0 0 auto;
  gap: 10px;
}

.logo-img {
  width: auto;
  height: 58px;
}

.logo-sub {
  position: relative;
  padding-left: 11px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-sub::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 1px;
  background: #d5d0ca;
  content: "";
}

.rank-pill {
  position: relative;
  width: 330px;
  height: 42px;
  padding: 0 15px 0 8px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}

.rank-pill > svg {
  width: 18px;
  height: 18px;
  margin-left: auto;
  fill: none;
  stroke: #9b948c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.rank-badge {
  display: grid;
  flex: 0 0 33px;
  height: 26px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 700;
}

.rank-track {
  position: relative;
  flex: 1;
  height: 24px;
  min-width: 0;
}

.rank-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.rank-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.rank-item b {
  color: var(--orange-dark);
  font-size: 13px;
}

.rank-item span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-links {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 12px;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #5f5a55;
  font-size: 13px;
  font-weight: 500;
}

.text-link:hover,
.gnb a:hover {
  color: var(--orange-dark);
}

.divider {
  width: 1px;
  height: 12px;
  background: #ded9d3;
}

.icon-btn {
  display: grid;
  width: 44px;
  height: 44px;
  margin-left: 2px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
  color: var(--orange-dark);
  border-color: var(--orange);
  background: var(--orange-soft);
}

.icon-btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.gnb-line {
  height: 64px;
  border-top: 1px solid #eee9e4;
}

.gnb-wrap {
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.gnb {
  min-width: 0;
  gap: clamp(21px, 2.2vw, 36px);
}

.gnb a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.hamburger {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  place-content: center;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.search-box {
  display: flex;
  flex: 0 0 300px;
  height: 44px;
  align-items: center;
  padding-left: 18px;
  border: 1px solid #ded8d1;
  border-radius: 24px;
  background: #faf8f6;
}

.search-box:focus-within {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(243, 111, 33, 0.1);
}

.search-box input {
  width: 100%;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #9a958f;
}

.search-box button {
  display: grid;
  flex: 0 0 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-box svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.mobile-drawer {
  position: fixed;
  z-index: 899;
  top: 150px;
  right: 0;
  left: 0;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 18px max(20px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 24px rgba(33, 27, 21, 0.1);
}

.mobile-drawer.is-open {
  display: grid;
}

.mobile-drawer a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--warm);
  font-size: 14px;
  font-weight: 650;
}

/* Hero */
.hero-shell {
  padding-top: 30px;
}

.hero-frame {
  position: relative;
  width: min(1390px, calc(100% - 24px));
  margin: 0 auto;
}

.hero-viewport {
  overflow: hidden;
  padding-inline: 60px;
}

.hero-track {
  display: flex;
  gap: 18px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.hero-card {
  position: relative;
  flex: 0 0 calc(100% - 70px);
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  background: var(--warm);
  z-index: 0;
  box-shadow: 0 0 0 1px rgba(64, 48, 35, 0.04);
}

/* 현재 배너를 뒤에 살짝 보이는 다음 배너와 명확히 분리한다. */
.hero-card.is-active {
  z-index: 1;
  box-shadow: 0 12px 28px rgba(52, 42, 31, 0.16), 0 2px 6px rgba(52, 42, 31, 0.08);
}

.hero-card > .hero-desktop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-card:hover > .hero-desktop-image {
  transform: scale(1.012);
}

.hero-mobile-content {
  display: none;
}

/* 모바일 이미지 없이 PC 이미지 하나만 올린 슬라이드용: 데스크톱에선 숨김 */
.hero-mobile-fit {
  display: none;
}

.hero-controls {
  position: absolute;
  right: 84px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  height: 46px;
  align-items: center;
  gap: 2px;
  padding: 3px 5px 3px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 25px;
  color: #fff;
  background: rgba(26, 22, 18, 0.72);
  backdrop-filter: blur(8px);
}

.hero-controls .counter {
  min-width: 48px;
  margin-right: 5px;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.hero-controls button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.hero-controls button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-controls svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-controls .play svg path[d*="Z"] {
  fill: currentColor;
  stroke: none;
}

/* Category */
.category-section {
  padding-top: 62px;
}

.category-grid {
  display: grid;
  height: 318px;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* 2026-08-12 : 카드 6장(한우/한돈/수입 + 계육/부산물/가공육)을 3장씩 2행으로.
   이전에는 1~2번 카드가 span 3(2장/행), 3번부터 span 2(3장/행)였다. */
.category-card {
  grid-column: span 2;
}

.category-card:nth-child(n+3) {
  grid-column: span 2;
}

.all-category,
.category-card {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(58, 43, 28, 0.045);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.all-category:hover,
.category-card:hover {
  border-color: rgba(243, 111, 33, 0.6);
  background: #fffaf5;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.all-category {
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.category-card {
  padding: 14px 48px 14px 16px;
  gap: 14px;
}

.category-visual {
  display: grid;
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  color: #6f5144;
  background: var(--warm);
}

.all-category .category-visual {
  flex-basis: 126px;
  width: 126px;
  height: 126px;
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.category-visual svg {
  width: 82%;
  height: 82%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.category-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.category-copy strong {
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.all-category .category-copy strong {
  font-size: 24px;
}

.category-copy small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 450;
}

.category-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #777069;
  background: #fff;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.all-category:hover .category-arrow,
.category-card:hover .category-arrow {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.category-placeholder-icon {
  width: 76%;
  height: 76%;
  fill: none;
  stroke: #a28f80;
  stroke-width: 2.2;
}

/* Shared sections */
.product-section {
  padding-top: 92px;
  scroll-margin-top: 160px;
}

.section-title,
.magazine-head {
  display: flex;
  min-height: 76px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.section-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.11em;
}

.section-title h2,
.side-title h2,
.magazine-head h2 {
  margin: 0;
  font-size: clamp(32px, 2.6vw, 36px);
  font-weight: 730;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.section-title h2 em,
.side-title h2 em,
.source-copy h2 em {
  color: var(--orange-dark);
  font-style: normal;
}

.section-title > p,
.magazine-head > p {
  max-width: 440px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  text-align: right;
}

.product-carousel {
  position: relative;
  padding-top: 44px;
}

.carousel-toggle {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  display: inline-flex;
  min-height: 34px;
  padding: 0 12px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5f564f;
  background: #fff;
  box-shadow: 0 4px 12px rgba(49, 38, 27, 0.08);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.carousel-toggle:hover:not(:disabled) {
  color: var(--orange-dark);
  border-color: var(--orange);
}

.carousel-toggle:focus-visible {
  outline: 3px solid rgba(245, 130, 32, 0.28);
  outline-offset: 2px;
}

.carousel-toggle:disabled {
  color: #8d857e;
  background: #f7f4f1;
  cursor: default;
}

.carousel-toggle-icon {
  min-width: 12px;
  color: var(--orange-dark);
  line-height: 1;
}

.product-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
}

.product-viewport::-webkit-scrollbar {
  display: none;
}

.product-row {
  display: grid;
  grid-auto-columns: calc((100% - 48px) / 4);
  grid-auto-flow: column;
  gap: 16px;
}

.new-carousel .product-row {
  grid-auto-columns: calc((100% - 32px) / 3);
}

.product-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-rows: auto minmax(0, 1fr) 50px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(53, 40, 27, 0.045);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: #d9cfc5;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  min-width: 50px;
  height: 28px;
  padding-inline: 11px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: #282522;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.product-badge.is-new {
  background: var(--orange);
}

.product-badge.is-md {
  background: #7e4f2c;
}

.product-badge.is-popular {
  background: var(--orange);
}

.product-badge.is-wellness {
  background: var(--green);
}

.product-img {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #eee9e3;
}

.product-img img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.product-card:hover .product-img img:not(.is-fallback) {
  transform: scale(1.025);
}

.product-img img.is-fallback {
  padding: 24%;
  opacity: 0.6;
}

.product-info {
  display: grid;
  min-height: 214px;
  padding: 18px 20px 14px;
  grid-template-rows: 23px minmax(52px, auto) 22px 54px 22px 20px;
  align-content: start;
  gap: 4px;
}

.tags {
  display: flex;
  min-width: 0;
  gap: 5px;
  overflow: hidden;
}

.tag {
  display: inline-flex;
  flex: 0 0 auto;
  height: 22px;
  align-items: center;
  padding-inline: 8px;
  border: 1px solid #ded8d2;
  border-radius: 4px;
  color: #6e6862;
  background: #fff;
  font-size: 11px;
  font-weight: 650;
}

.tag.is-green {
  color: var(--green);
  border-color: #bcd9c8;
  background: #f3fbf6;
}

.tag.is-orange {
  color: var(--orange-dark);
  border-color: #ffd0b1;
  background: var(--orange-soft);
}

.tag.is-muted {
  color: #706a64;
  border-color: #ded9d3;
  background: #f4f1ed;
}

/* 2026-08-15 : 보관방법(냉장) 강조 칩 */
.tag.is-chill {
  color: #0b6ec9;
  border-color: #b9dcff;
  background: #e8f3ff;
  font-weight: 700;
}

.product-name {
  display: -webkit-box;
  align-self: center;
  max-height: 52px;
  margin: 0;
  overflow: hidden;
  font-size: 20px;
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -0.035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-name a:hover {
  color: var(--orange-dark);
}

.product-sub,
.spec {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-block small {
  color: #99928b;
  font-size: 11px;
  line-height: 16px;
}

.price {
  margin: 0;
  font-size: 23px;
  font-weight: 750;
  line-height: 32px;
  letter-spacing: -0.035em;
}

.price span {
  margin-left: 2px;
  font-size: 15px;
  font-weight: 600;
}

.availability {
  margin: 0;
  color: #77716b;
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.025em;
}

.source-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  height: 20px;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  color: #8a837c;
  font-size: 11px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-link:hover {
  color: var(--orange-dark);
}

.source-link svg {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.card-bottom {
  display: grid;
  height: 50px;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.card-action {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
}

.card-action + .card-action {
  border-left: 1px solid var(--line);
}

.card-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.card-action:not(:disabled):hover {
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.card-action:disabled {
  color: #a49e97;
  background: #faf8f6;
  cursor: not-allowed;
}

.rail-arrow {
  position: absolute;
  z-index: 4;
  top: calc(50% + 22px);
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 20px rgba(49, 38, 27, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.rail-arrow:hover:not(:disabled) {
  color: var(--orange-dark);
  border-color: var(--orange);
}

.rail-arrow:disabled {
  opacity: 0.32;
  cursor: default;
}

.rail-arrow span {
  margin-top: -3px;
  font-size: 32px;
  font-weight: 250;
}

.rail-prev {
  left: -25px;
}

.rail-next {
  right: -25px;
}

/* Promo */
.wide-banner {
  position: relative;
  display: flex;
  height: 240px;
  align-items: center;
  margin-top: 92px;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(100deg, #4b2b17 0%, #8a4c21 48%, #f1d7b8 100%);
}

.wide-banner::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.11), transparent 42%);
  content: "";
}

.banner-copy {
  position: relative;
  z-index: 2;
  width: 64%;
  padding-left: 64px;
  color: #fff;
}

.banner-copy > span {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  opacity: 0.74;
}

.banner-copy h2 {
  margin: 8px 0 7px;
  font-size: 29px;
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.banner-copy h2 strong {
  color: #ffb47e;
  font-weight: 750;
}

.banner-copy p {
  margin: 0;
  font-size: 13px;
  opacity: 0.78;
}

.banner-copy a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-inline: 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 23px;
  font-size: 13px;
  font-weight: 650;
}

.wide-banner > img {
  position: absolute;
  right: 32px;
  bottom: -135px;
  width: 390px;
  height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(48, 24, 8, 0.22));
}

/* New */
.split-section {
  margin-top: 92px;
  padding: 78px 0 82px;
  scroll-margin-top: 160px;
  background: var(--warm);
}

.split-layout {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  gap: 34px;
}

.side-title {
  padding-top: 14px;
}

.side-title h2 {
  margin-top: 0;
}

.side-title p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.more-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding-inline: 17px;
  border: 1px solid #cfc7bf;
  border-radius: 23px;
  background: #fff;
  font-size: 13px;
  font-weight: 650;
}

.more-link:hover {
  color: var(--orange-dark);
  border-color: var(--orange);
}

/* Source */
.source-banner {
  margin-top: 94px;
  overflow: hidden;
  color: #fff;
  background: #17241d;
}

.source-inner {
  position: relative;
  display: flex;
  min-height: 320px;
  align-items: center;
}

.source-copy {
  position: relative;
  z-index: 2;
  width: 64%;
  padding-left: 0;
}

.source-copy > span {
  color: #8de9af;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.source-copy h2 {
  margin: 9px 0 10px;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.045em;
}

.source-copy h2 em {
  color: #70dc97;
}

.source-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.source-copy a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-inline: 19px;
  border-radius: 24px;
  color: #0f321d;
  background: #72e39a;
  font-size: 13px;
  font-weight: 750;
}

.source-products {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 43%;
  height: 100%;
}

.source-products::before {
  position: absolute;
  inset: 8% 0 -20% 10%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  content: "";
}

.source-products img {
  position: absolute;
  width: 250px;
  height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 22px 25px rgba(0, 0, 0, 0.28));
}

.source-products img:first-child {
  right: 172px;
  bottom: -22px;
  transform: rotate(-7deg);
}

.source-products img:last-child {
  right: -5px;
  bottom: -46px;
  transform: rotate(8deg);
}

/* Magazine */
.magazine {
  padding-top: 94px;
}

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

.story-card {
  position: relative;
  display: flex;
  height: 292px;
  align-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #eee6dd;
}

.story-card.warm {
  background: #fae4d4;
}

.story-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(72, 52, 33, 0.09);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.story-card img {
  width: 54%;
  height: 100%;
  object-fit: contain;
  transform: translateX(-7%);
  transition: transform 0.35s ease;
}

.story-card:hover img {
  transform: translateX(-4%) scale(1.03);
}

.story-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 48%;
  flex-direction: column;
  padding-right: 28px;
}

.story-copy small {
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.story-copy strong {
  margin-top: 10px;
  font-size: 23px;
  font-weight: 730;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.story-copy > span {
  margin-top: 28px;
  color: #5e554d;
  font-size: 13px;
  font-weight: 650;
}

/* Boards */
.notice-event {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 94px;
  margin-bottom: 86px;
}

.board-panel {
  min-width: 0;
  min-height: 235px;
  padding: 28px 30px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid #2d2926;
}

.board-head h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.board-head a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.board-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.board-list li + li {
  border-top: 1px solid #eeeae5;
}

.board-list a {
  display: flex;
  min-height: 53px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.board-list a span {
  min-width: 0;
  overflow: hidden;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-list time {
  flex: 0 0 auto;
  color: #99928b;
  font-size: 12px;
}

.board-list a:hover span {
  color: var(--orange-dark);
}

/* Footer */
.im-footer {
  min-height: 260px;
  padding: 52px 0 46px;
  border-top: 1px solid #ded8d1;
  background: #f5f2ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 260px;
  gap: 38px;
}

.footer-logo {
  width: 142px;
  height: 44px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-top: 17px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 12px;
  font-weight: 550;
}

.footer-links a:last-child {
  font-weight: 750;
}

.footer-company {
  padding-top: 3px;
}

.footer-company p {
  margin: 0 0 7px;
  color: #746e68;
  font-size: 12px;
  line-height: 1.55;
}

.footer-cs {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-cs > span {
  color: #746e68;
  font-size: 13px;
  font-weight: 650;
}

.footer-cs strong {
  margin: 4px 0 7px;
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.footer-cs strong a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer-cs small {
  color: #8f8983;
  font-size: 11px;
}

/* Existing Kakao integration */
.immeat .immart-kakao-chat-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 700;
  display: flex;
  min-width: 132px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding-inline: 18px;
  border-radius: 24px;
  color: #3b1f1f;
  background: #fee500;
  box-shadow: 0 8px 22px rgba(48, 36, 10, 0.2);
  font-size: 13px;
  font-weight: 750;
}

@media (max-width: 1180px) {
  .immeat .container {
    width: calc(100% - 48px);
  }

  .rank-pill {
    width: 280px;
  }

  .gnb {
    gap: 22px;
  }

  .search-box {
    flex-basis: 245px;
  }

  .hero-frame {
    width: calc(100% - 24px);
  }

  .hero-viewport {
    padding-inline: 40px;
  }

  .hero-card {
    flex-basis: calc(100% - 52px);
    height: 366px;
  }

  .hero-controls {
    right: 58px;
  }

  .category-grid {
    height: 456px;
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .category-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .category-card,
  .category-card:nth-child(n+3) {
    grid-column: auto;
  }

  /* 2026-08-12 : 카드가 6장이 되어 2열x3행이 딱 맞아떨어진다.
     5장 시절 마지막 카드를 전체 폭으로 늘리던 last-child 규칙은 제거했다. */

  .category-card {
    padding-left: 16px;
    gap: 12px;
  }

  .category-visual {
    flex-basis: 88px;
    width: 88px;
    height: 88px;
  }

  .product-row,
  .new-carousel .product-row {
    grid-auto-columns: calc((100% - 48px) / 4);
  }

  .product-info {
    padding-inline: 15px;
  }

  .rail-prev {
    left: -20px;
  }

  .rail-next {
    right: -20px;
  }

  .product-name {
    font-size: 18px;
  }

  .price {
    font-size: 21px;
  }

  .split-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 26px;
  }

  .source-products {
    width: 46%;
  }

  .source-products img {
    width: 220px;
    height: 220px;
  }

  .source-products img:first-child {
    right: 140px;
  }

  .footer-grid {
    grid-template-columns: 190px minmax(0, 1fr) 220px;
  }
}

@media (max-width: 900px) {
  .im-header {
    height: 124px;
  }

  .top-header {
    height: 68px;
  }

  .brand-area {
    gap: 16px;
  }

  .logo-img {
    width: auto;
    height: 48px;
  }

  .logo-sub {
    font-size: 17px;
  }

  .logo {
    min-height: 44px;
  }

  .rank-pill,
  .header-links .text-link,
  .header-links .divider,
  .gnb a {
    display: none;
  }

  .header-links {
    gap: 8px;
  }

  .gnb-line {
    height: 56px;
  }

  .gnb-wrap {
    gap: 12px;
  }

  .gnb {
    flex: 0 0 auto;
  }

  .search-box {
    flex: 1 1 auto;
    height: 44px;
  }

  .search-box input,
  .search-box button {
    height: 44px;
  }

  .mobile-drawer {
    top: 124px;
  }

  .hero-shell {
    padding-top: 20px;
  }

  .hero-viewport {
    padding-inline: 20px;
  }

  .hero-card {
    flex-basis: calc(100% - 20px);
    height: 300px;
  }

  .hero-controls {
    right: 37px;
    bottom: 16px;
    height: 50px;
  }

  .hero-controls button {
    width: 44px;
    height: 44px;
  }

  .category-section {
    padding-top: 48px;
  }

  .category-grid {
    height: auto;
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .category-cards {
    gap: 14px;
  }

  .category-card {
    min-height: 145px;
    padding: 14px 42px 14px 12px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }

  .category-card .category-visual {
    flex-basis: 74px;
    width: 74px;
    height: 74px;
  }

  .category-card .category-copy {
    gap: 1px;
  }

  .category-copy strong {
    font-size: 17px;
  }

  .category-copy small {
    font-size: 12px;
  }

  .category-arrow {
    right: 10px;
    bottom: 10px;
    width: 30px;
    height: 30px;
  }

  .product-section {
    padding-top: 76px;
    scroll-margin-top: 134px;
  }

  .section-title,
  .magazine-head {
    display: block;
    margin-bottom: 26px;
  }

  .section-title > p,
  .magazine-head > p {
    margin-top: 8px;
    text-align: left;
  }

  .product-row,
  .new-carousel .product-row {
    grid-auto-columns: calc((100% - 16px) / 2.08);
  }

  .product-info {
    min-height: 231px;
    grid-template-rows: 23px minmax(48px, auto) 22px 50px 22px 44px;
  }

  .product-name a,
  .source-link {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .rail-arrow {
    width: 46px;
    height: 46px;
  }

  .rail-prev {
    left: -17px;
  }

  .rail-next {
    right: -17px;
  }

  .wide-banner {
    height: 230px;
    margin-top: 76px;
  }

  .banner-copy {
    width: 68%;
    padding-left: 38px;
  }

  .banner-copy h2 {
    font-size: 25px;
  }

  .banner-copy p {
    display: none;
  }

  .wide-banner > img {
    right: -40px;
    bottom: -85px;
    width: 310px;
    height: 310px;
  }

  .split-section {
    margin-top: 76px;
    padding: 66px 0 70px;
    scroll-margin-top: 134px;
  }

  .split-layout {
    display: block;
  }

  .side-title {
    display: grid;
    margin-bottom: 27px;
    padding-top: 0;
    grid-template-columns: 1fr auto;
  }

  .side-title .section-kicker,
  .side-title h2 {
    grid-column: 1;
  }

  .side-title h2 br {
    display: none;
  }

  .side-title p {
    grid-column: 1;
    margin-top: 9px;
  }

  .more-link {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: end;
    margin-top: 0;
  }

  .source-banner {
    margin-top: 78px;
  }

  .source-inner {
    min-height: 310px;
  }

  .source-copy {
    width: 68%;
    padding-left: 0;
  }

  .source-copy h2 {
    font-size: 27px;
  }

  .source-products {
    right: -60px;
    width: 45%;
  }

  .source-products img {
    width: 180px;
    height: 180px;
  }

  .source-products img:first-child {
    right: 100px;
  }

  .magazine {
    padding-top: 78px;
  }

  .story-card {
    height: 260px;
  }

  .story-copy strong {
    font-size: 19px;
  }

  .notice-event {
    gap: 18px;
    margin-top: 78px;
    margin-bottom: 72px;
  }

  .board-panel {
    padding-inline: 22px;
  }

  .footer-grid {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .footer-cs {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .immeat {
    word-break: normal;
  }

  .immeat .container {
    width: calc(100% - 32px);
  }

  .im-header {
    height: 116px;
  }

  .top-header {
    height: 64px;
  }

  .logo-img {
    width: auto;
    height: 43px;
  }

  .logo-sub {
    padding-left: 8px;
    font-size: 15px;
  }

  .header-links {
    gap: 5px;
  }

  .icon-btn {
    width: 44px;
    height: 44px;
    border-color: transparent;
  }

  .gnb-line {
    height: 52px;
  }

  .hamburger {
    border-color: transparent;
  }

  .search-box {
    height: 44px;
    padding-left: 14px;
  }

  .search-box input,
  .search-box button {
    height: 44px;
  }

  .search-box input {
    font-size: 13px;
  }

  .mobile-drawer {
    top: 116px;
    grid-template-columns: repeat(2, 1fr);
    padding: 14px 16px 18px;
  }

  .hero-shell {
    padding-top: 14px;
  }

  .hero-frame {
    width: 100%;
  }

  .hero-viewport {
    padding-inline: 16px;
  }

  .hero-track {
    gap: 12px;
  }

  .hero-card {
    flex-basis: 100%;
    height: 224px;
    border-radius: 12px;
  }

  .hero-card > .hero-desktop-image {
    display: none;
  }

  .hero-mobile-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 24px 20px;
    color: #34271f;
    background: linear-gradient(118deg, #f7efe2 0%, #fffaf3 72%);
  }

  .hero-mobile-content.is-orange {
    background: linear-gradient(118deg, #fff0e2 0%, #fff9f2 72%);
  }

  .hero-mobile-content.is-dark {
    color: #fff;
    background: linear-gradient(118deg, #30231b 0%, #6d3f24 76%);
  }

  .hero-mobile-copy {
    position: relative;
    z-index: 2;
    display: flex;
    width: 61%;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-mobile-copy small {
    color: var(--orange-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .is-dark .hero-mobile-copy small {
    color: #ffb27e;
  }

  .hero-mobile-copy strong {
    margin-top: 8px;
    font-size: 24px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.05em;
  }

  .hero-mobile-copy > span {
    margin-top: 17px;
    font-size: 11px;
    font-weight: 650;
  }

  .hero-card .hero-mobile-product {
    position: absolute;
    right: -30px;
    bottom: -15px;
    width: 190px;
    height: 190px;
    max-width: none;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(68, 37, 18, 0.16));
  }

  /* PC 이미지 단독 슬라이드: 원본 비율 유지 + 여백은 같은 이미지의 불투명 블러로 채움 */
  .hero-mobile-fit {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    background: #241c15;
  }

  .hero-mobile-fit .hero-fit-blur {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(22px) saturate(1.08);
    transform: scale(1.24);
  }

  .hero-mobile-fit .hero-fit-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hero-controls {
    right: 26px;
    bottom: 12px;
    height: 50px;
    padding-left: 11px;
  }

  .hero-controls button {
    width: 44px;
    height: 44px;
  }

  .hero-controls .counter {
    min-width: 40px;
    font-size: 12px;
  }

  .category-section {
    padding-top: 42px;
  }

  .category-grid {
    display: block;
  }

  .all-category {
    height: 132px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 15px 56px 15px 18px;
    gap: 16px;
    text-align: left;
  }

  .all-category .category-visual {
    flex-basis: 92px;
    width: 92px;
    height: 92px;
  }

  .all-category .category-copy strong {
    font-size: 20px;
  }

  .category-cards {
    display: grid;
    margin-top: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 146px);
    gap: 12px;
  }

  .category-card {
    min-height: 0;
    padding: 10px 30px 10px 10px;
  }

  .category-card .category-visual {
    flex-basis: 66px;
    width: 66px;
    height: 66px;
  }

  .category-card .category-copy small {
    display: -webkit-box;
    max-height: 34px;
    overflow: hidden;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .category-arrow {
    right: 7px;
    bottom: 7px;
    width: 28px;
    height: 28px;
  }

  .product-section {
    padding-top: 66px;
    scroll-margin-top: 126px;
  }

  .section-title,
  .magazine-head {
    min-height: 0;
    margin-bottom: 22px;
  }

  .section-title h2,
  .side-title h2,
  .magazine-head h2 {
    font-size: 28px;
  }

  .section-title > p,
  .magazine-head > p,
  .side-title p {
    font-size: 13px;
  }

  .product-row,
  .new-carousel .product-row {
    grid-auto-columns: calc((100% - 12px) / 2);
    gap: 12px;
  }

  .product-card {
    grid-template-rows: auto minmax(0, 1fr) 46px;
    border-radius: 10px;
  }

  .product-badge {
    top: 9px;
    left: 9px;
    min-width: 42px;
    height: 24px;
    padding-inline: 8px;
    font-size: 9px;
  }

  .product-img img {
    padding: 6px;
  }

  .product-info {
    min-height: 166px;
    padding: 11px 11px 9px;
    grid-template-rows: 20px minmax(44px, auto) 43px 44px;
    gap: 2px;
  }

  .tags {
    gap: 3px;
  }

  .tag {
    height: 19px;
    padding-inline: 5px;
    font-size: 9px;
  }

  .tags .tag:nth-child(n+3) {
    display: none;
  }

  .product-name {
    max-height: 42px;
    font-size: 15px;
    line-height: 1.35;
  }

  .product-sub,
  .spec {
    display: none;
  }

  .price-block {
    grid-row: 3;
  }

  .price-block small {
    font-size: 9px;
    line-height: 13px;
  }

  .price {
    font-size: 18px;
    line-height: 27px;
  }

  .price span {
    font-size: 12px;
  }

  .source-link {
    grid-row: 4;
    height: 44px;
    font-size: 9px;
    line-height: 1.35;
  }

  .card-bottom {
    height: 46px;
  }

  .card-action {
    min-height: 46px;
  }

  .card-action span {
    display: none;
  }

  .card-action svg {
    width: 19px;
    height: 19px;
  }

  .rail-arrow {
    display: none;
  }

  .wide-banner {
    width: calc(100% - 32px);
    height: 202px;
    margin-top: 66px;
    border-radius: 12px;
  }

  .banner-copy {
    width: 76%;
    padding-left: 22px;
  }

  .banner-copy h2 {
    margin-top: 6px;
    font-size: 21px;
  }

  .banner-copy a {
    min-height: 44px;
    margin-top: 11px;
  }

  .wide-banner > img {
    right: -92px;
    bottom: -38px;
    width: 235px;
    height: 235px;
    opacity: 0.74;
  }

  .split-section {
    margin-top: 66px;
    padding: 58px 0 62px;
    scroll-margin-top: 126px;
  }

  .side-title {
    display: block;
    margin-bottom: 22px;
  }

  .side-title h2 br {
    display: none;
  }

  .more-link {
    min-height: 44px;
    margin-top: 15px;
  }

  .source-banner {
    margin-top: 68px;
  }

  .source-inner {
    min-height: 415px;
    align-items: flex-start;
  }

  .source-copy {
    width: 100%;
    padding: 32px 0 0;
  }

  .source-copy h2 {
    font-size: 24px;
  }

  .source-copy p {
    max-width: 270px;
    font-size: 12px;
  }

  .source-copy a {
    min-height: 46px;
    margin-top: 17px;
  }

  .source-products {
    right: -18px;
    bottom: 0;
    width: 100%;
    height: 180px;
  }

  .source-products img {
    width: 180px;
    height: 180px;
  }

  .source-products img:first-child {
    right: 130px;
    bottom: -20px;
  }

  .source-products img:last-child {
    right: -10px;
    bottom: -30px;
  }

  .magazine {
    padding-top: 68px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .story-card {
    height: 214px;
    border-radius: 11px;
  }

  .story-card img {
    width: 52%;
  }

  .story-copy {
    width: 50%;
    padding-right: 14px;
  }

  .story-copy strong {
    font-size: 17px;
  }

  .story-copy > span {
    margin-top: 17px;
    font-size: 11px;
  }

  .notice-event {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 68px;
    margin-bottom: 60px;
  }

  .board-panel {
    min-height: 210px;
    padding: 22px 20px 16px;
  }

  .board-head {
    margin-bottom: 9px;
    padding-bottom: 10px;
  }

  .board-head h2 {
    font-size: 21px;
  }

  .board-list a {
    min-height: 54px;
    font-size: 13px;
  }

  .im-footer {
    padding: 38px 0 34px;
  }

  .footer-grid {
    display: block;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 14px;
  }

  .footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .footer-company {
    margin-top: 26px;
  }

  .footer-cs {
    margin-top: 20px;
  }

  .footer-cs strong {
    font-size: 25px;
  }

  .footer-cs strong a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .immeat .immart-kakao-chat-button {
    right: 14px;
    bottom: 14px;
    min-width: 112px;
    height: 46px;
    padding-inline: 14px;
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  .immeat .container {
    width: calc(100% - 28px);
  }

  .logo-sub {
    display: none;
  }

  .header-links {
    gap: 1px;
  }

  .hero-viewport {
    padding-inline: 14px;
  }

  .hero-card {
    height: 208px;
  }

  .category-cards {
    grid-template-rows: repeat(3, 140px);
  }

  .wide-banner {
    width: calc(100% - 28px);
  }

  .source-copy {
    padding-left: 0;
  }

  .source-copy h2 {
    font-size: 22px;
  }
}

/* Database-managed IMMEAT content */
.smartstore-header-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid var(--orange);
  border-radius: 23px;
  color: #fff !important;
  background: var(--orange);
  box-shadow: 0 7px 18px rgba(243, 111, 33, 0.16);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.smartstore-header-btn:hover {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.all-category,
.category-card {
  background: var(--category-bg, #fff);
}

.all-category:hover,
.category-card:hover {
  border-color: var(--category-accent, var(--orange));
  background: var(--category-bg, #fff);
}

.category-visual {
  position: relative;
  background: rgba(255, 255, 255, 0.74);
}

.all-category .category-visual {
  background: rgba(255, 255, 255, 0.78);
}

.category-visual img {
  position: relative;
  grid-area: 1 / 1;
  width: 84%;
  height: 84%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* 전달받은 PNG는 흰 배경을 포함하므로, 카드의 원형 배경과 자연스럽게 섞이게 한다. */
.category-visual .category-icon-upload {
  mix-blend-mode: multiply;
}

.category-visual .category-icon-hover {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  opacity: 0;
}

.all-category:hover .category-visual.has-hover .category-icon-default,
.category-card:hover .category-visual.has-hover .category-icon-default {
  opacity: 0;
  transform: scale(0.94);
}

.all-category:hover .category-visual.has-hover .category-icon-hover,
.category-card:hover .category-visual.has-hover .category-icon-hover {
  opacity: 1;
  transform: scale(1.03);
}

.product-info {
  min-height: 238px;
  padding: 18px 20px 14px;
  grid-template-rows: 23px 52px 22px 20px 54px 22px;
  gap: 4px;
}

.product-usage {
  margin: 0;
  overflow: hidden;
  color: #8a837c;
  font-size: 12px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-bottom {
  height: 52px;
  grid-template-columns: 1fr;
  padding: 0;
}

.buy-now {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: var(--orange);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
  transition: background 0.2s ease;
}

.buy-now:hover,
.buy-now:focus-visible {
  background: var(--orange-dark);
}

.product-card.is-unavailable:hover {
  transform: none;
}

.buy-now.is-disabled {
  color: #756f69 !important;
  background: #e8e4df;
  cursor: not-allowed;
}

.buy-now.is-disabled:hover {
  background: #e8e4df;
}

.wide-banner {
  color: var(--promo-text, #fff);
  background: var(--promo-bg, #2c241f);
}

.wide-banner::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.15), transparent 74%),
              radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.12), transparent 42%);
}

.banner-copy h2 strong {
  color: var(--promo-accent, #ffb47e);
}

.wide-banner > picture {
  position: absolute;
  right: 32px;
  bottom: -135px;
  width: 390px;
  height: 390px;
}

.wide-banner > picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 30px rgba(48, 24, 8, 0.22));
}

.source-banner {
  color: var(--source-text, #fff);
  background: var(--source-bg, #17241d);
}

.source-copy > span,
.source-copy h2 em {
  color: var(--source-accent, #8de9af);
}

.story-card,
.story-card.warm {
  color: var(--story-text, var(--ink));
  background: var(--story-bg, #eee6dd);
}

.story-copy small {
  color: var(--story-accent, var(--orange-dark));
}

@media (max-width: 900px) {
  .smartstore-header-btn {
    padding-inline: 14px;
  }

  .product-info {
    padding-inline: 15px;
  }

  .wide-banner > picture {
    right: -40px;
    bottom: -85px;
    width: 310px;
    height: 310px;
  }
}

@media (max-width: 600px) {
  .smartstore-header-btn {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .hero-mobile-content,
  .hero-mobile-content.is-orange,
  .hero-mobile-content.is-dark {
    color: var(--hero-mobile-text, #34271f);
    background: var(--hero-mobile-bg, #fff4ea);
  }

  .hero-mobile-copy small {
    color: var(--hero-mobile-accent, var(--orange-dark));
  }

  .hero-mobile-copy strong {
    white-space: normal;
  }

  .product-info {
    min-height: 164px;
    padding: 10px 11px 9px;
    grid-template-rows: 20px 44px 43px 22px;
    gap: 2px;
  }

  .product-sub,
  .product-usage {
    display: none;
  }

  .price-block {
    grid-row: 3;
  }

  .spec {
    display: block;
    grid-row: 4;
    height: 22px;
    font-size: 10px;
    line-height: 22px;
  }

  .card-bottom,
  .buy-now {
    height: 48px;
    min-height: 48px;
  }

  .buy-now {
    font-size: 12px;
  }

  .wide-banner > picture {
    right: -92px;
    bottom: -38px;
    width: 235px;
    height: 235px;
    opacity: 0.74;
  }
}

@media (max-width: 370px) {
  .smartstore-header-btn {
    padding-inline: 8px;
    font-size: 10px;
  }
}

/* Chuseok gift set cards */
.gift-set-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* 2026-08-17 : 판매 준비가 끝난 선물세트만 노출하므로 1~2장일 때 가운데 정렬로 균형을 맞춘다. */
.gift-set-grid.is-solo {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.gift-set-grid.is-duo {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
}

.gift-set-card,
.gift-set-card:hover {
  display: grid;
  height: auto;
  min-height: 500px;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  color: var(--story-text, var(--ink));
  background: #fff;
  box-shadow: 0 9px 24px rgba(72, 48, 30, 0.06);
}

.gift-set-image {
  display: flex;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.gift-set-card .gift-set-image img {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  transform: none;
  transition: transform 0.3s ease;
}

.gift-set-card:hover .gift-set-image img {
  transform: scale(1.025);
}

.gift-set-copy {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.gift-set-copy small {
  color: var(--story-accent, var(--orange-dark));
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.gift-set-copy strong {
  min-height: 54px;
  margin-top: 7px;
  font-size: 21px;
  font-weight: 720;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.gift-set-copy p {
  min-height: 43px;
  margin: 7px 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.gift-set-buy {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  border: 1px solid var(--orange);
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  font-size: 14px;
  font-weight: 750;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gift-set-buy:hover,
.gift-set-buy:focus-visible {
  color: #fff;
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

.gift-set-buy.is-disabled {
  cursor: not-allowed;
  color: #8a837d;
  border-color: #ded8d2;
  background: #f2efec;
}

@media (max-width: 900px) {
  .gift-set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gift-set-grid {
    grid-template-columns: 1fr;
  }

  .gift-set-card,
  .gift-set-card:hover {
    min-height: 204px;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    grid-template-rows: 1fr;
  }

  .gift-set-image {
    height: 100%;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .gift-set-card .gift-set-image img {
    width: 100%;
    height: 100%;
    padding: 10px;
  }

  .gift-set-copy {
    min-height: 204px;
    padding: 16px 14px;
  }

  .gift-set-copy strong {
    min-height: 48px;
    font-size: 17px;
  }

  .gift-set-copy p {
    display: -webkit-box;
    min-height: 36px;
    margin: 4px 0 10px;
    overflow: hidden;
    font-size: 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .gift-set-buy {
    min-height: 44px;
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  .gift-set-card,
  .gift-set-card:hover,
  .gift-set-copy {
    min-height: 196px;
  }

  .gift-set-copy {
    padding: 14px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .immeat *,
  .immeat *::before,
  .immeat *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   Board pages (/immeat/board/notice, /immeat/board/event) - 2026-08-05
   ========================================================================== */
.gnb a.is-current {
  color: var(--orange-dark);
  font-weight: 750;
}

.im-board-main {
  min-height: 52vh;
  background: #fff;
}

.im-board-hero {
  padding: 44px 0 34px;
  border-bottom: 1px solid var(--line);
  background: var(--warm);
}

.im-board-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.im-board-crumb a:hover {
  color: var(--orange-dark);
}

.im-board-crumb strong {
  color: var(--ink);
  font-weight: 650;
}

.im-board-hero h1 {
  margin: 12px 0 0;
  font-size: 34px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.im-board-hero p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.im-board-body {
  padding: 34px 0 90px;
}

.im-board-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.im-board-search select,
.im-board-search input[type="search"] {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

.im-board-search input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
}

.im-board-search button {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.im-board-search button:hover {
  background: var(--orange-dark);
}

.im-board-search-reset {
  display: inline-flex;
  height: 46px;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.im-board-count {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.im-board-count b {
  color: var(--orange-dark);
}

.im-board-empty {
  padding: 78px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--warm);
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.im-board-rows {
  margin: 0;
  padding: 0;
  border-top: 2px solid #2d2926;
  list-style: none;
}

.im-board-rows li {
  border-bottom: 1px solid #eeeae5;
}

.im-board-rows a {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 16px;
  padding: 14px 6px;
}

.im-board-rows a:hover {
  background: var(--orange-soft);
}

.im-board-row-no {
  flex: 0 0 66px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.im-board-rows a:hover .im-board-row-title {
  color: var(--orange-dark);
}

.im-board-row-title {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.im-board-new {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.im-board-row-date {
  flex: 0 0 auto;
  color: #99928b;
  font-size: 13px;
}

.im-event-grid {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.im-event-grid a {
  display: block;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.im-event-grid a:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.im-event-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--warm-deep);
}

.im-event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.im-event-thumb-empty {
  color: #b3aaa1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.im-event-copy {
  display: block;
  padding: 16px 18px 20px;
}

.im-event-copy strong {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.im-event-copy small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.im-event-status {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--warm-deep);
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.im-event-status.is-live {
  background: var(--orange);
  color: #fff;
}

.im-event-status.is-soon {
  background: #e8f1ea;
  color: var(--green);
}

.im-event-status.is-done {
  background: #eeeae5;
  color: #99928b;
}

.im-board-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 34px;
}

.im-board-pager a,
.im-board-pager strong {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.im-board-pager a:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.im-board-pager strong {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.im-board-article {
  border-top: 2px solid #2d2926;
}

.im-board-article-head {
  padding: 24px 4px 18px;
  border-bottom: 1px solid #eeeae5;
}

.im-board-article-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 24px;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.im-board-flag {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.im-board-article-head p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.im-board-article-body {
  padding: 30px 4px 40px;
  font-size: 15px;
  line-height: 1.75;
  word-break: break-word;
}

.im-board-article-body img {
  height: auto;
  max-width: 100%;
  margin-inline: auto;
}

.im-board-article-body table {
  width: 100%;
  border-collapse: collapse;
}

.im-board-article-body td,
.im-board-article-body th {
  padding: 8px 10px;
  border: 1px solid var(--line);
}

.im-board-cover {
  margin: 0 0 28px;
}

.im-board-files {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--warm);
}

.im-board-files strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.im-board-files ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.im-board-files a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 600;
}

.im-board-files small {
  color: var(--muted);
  font-weight: 500;
}

.im-board-nearby {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.im-board-nearby a {
  display: block;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.im-board-nearby a:hover {
  border-color: var(--orange);
}

.im-board-nearby a.next {
  grid-column: 2;
  text-align: right;
}

.im-board-nearby small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.im-board-nearby span {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.im-board-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.im-board-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 26px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.im-board-btn:hover {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

.im-board-btn.ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--muted);
}

.im-board-btn.ghost:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.notice-event .board-empty {
  padding: 34px 4px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1024px) {
  .im-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .im-board-hero {
    padding: 28px 0 22px;
  }

  .im-board-hero h1 {
    font-size: 26px;
  }

  .im-board-body {
    padding: 24px 0 64px;
  }

  .im-board-rows a {
    flex-wrap: wrap;
    min-height: 0;
    align-items: flex-start;
    gap: 6px;
    padding: 15px 4px;
  }

  .im-board-row-no {
    flex: 0 0 auto;
    text-align: left;
  }

  .im-board-row-title {
    flex: 1 1 100%;
    order: 2;
    white-space: normal;
  }

  .im-board-row-date {
    order: 1;
  }

  .im-event-grid {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
  }

  .im-board-article-head h2 {
    font-size: 20px;
  }

  .im-board-nearby {
    grid-template-columns: minmax(0, 1fr);
  }

  .im-board-nearby a.next {
    grid-column: 1;
    text-align: left;
  }
}

.im-board-tabs {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.im-board-tabs a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.im-board-tabs a:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.im-board-tabs a.is-current {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

/* ---------------------------------------------------------------------------
   2026-08-07 SEO: 정육점 메인 대표 H1 + 브랜드 소개문
   배너 이미지 안의 문구와 별개로, 사용자와 검색로봇이 함께 읽는 실제 HTML 텍스트다.
--------------------------------------------------------------------------- */
.immeat .im-intro {
  padding-top: 46px;
}

.immeat .im-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.immeat .im-intro p {
  max-width: 860px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

@media (max-width: 900px) {
  .immeat .im-intro {
    padding-top: 32px;
  }

  .immeat .im-intro h1 {
    font-size: 21px;
  }

  .immeat .im-intro p {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* ── 2026-08-12 : 좌측 대형 카드를 LA갈비 선물세트 한정특가 구매 카드로 교체 ──
   마스코트 아이콘용 원형 틀 대신 상품 사진에 맞는 둥근 사각 틀로 보이게 한다.
   markup: immeat/index.jsp 카테고리 섹션의 .all-category.im-la-gift */
.all-category.im-la-gift .category-visual {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.all-category.im-la-gift .category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 2026-08-12 : 원본 사진(세로형)의 위아래 어두운 배경 여백 때문에 고기 위가
     비어 보여서, 선물함 트레이가 틀에 꽉 차도록 확대 크롭한다(사진 교체 시 재조정). */
  transform: scale(1.25);
}

.all-category.im-la-gift .category-copy small {
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 750;
}

@media (min-width: 901px) {
  .all-category.im-la-gift .category-visual {
    flex-basis: 168px;
    width: 168px;
    height: 168px;
  }
}

/* 2026-08-12 : 헤더 마이페이지 버튼.
   900px 이하에서 .header-links .text-link 가 전부 숨어도
   이 버튼은 모든 폭에서 보여야 한다(사장님 요청). */
.mypage-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  background: #fff;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.mypage-btn:hover {
  background: var(--orange);
  color: #fff;
}

.mypage-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .mypage-btn {
    min-height: 36px;
    padding: 0 13px;
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  .mypage-btn {
    padding: 0 11px;
    gap: 5px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   2026-08-19 : 가독성 타이포 확대 + 행사가(정상가 취소선·할인율) 표기
   ------------------------------------------------------------------------
   · 파일 맨 끝이라 위의 모든 규칙(미디어쿼리 포함)을 덮는다.
   · "줄이 안 넘칠 때까지 최대한" 이 기준이다. 글자를 키우면 잘리는 자리
     (그리드 고정 행·2줄 클램프·칩 높이)를 같이 늘려 두고, 실제 페이지에서
     scrollWidth/scrollHeight 로 넘침 0 을 확인한 값이다.
   · 카드 내용폭 실측: 데스크톱 252~269px / 모바일(375) 140px.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 헤더 / 메뉴 ─────────────────────────────────────────────────────── */
.logo-sub          { font-size: 24px; }
.rank-pill         { width: 360px; height: 48px; }
.rank-badge        { flex: 0 0 38px; height: 30px; border-radius: 15px; font-size: 14px; }
.rank-track        { height: 28px; }
.rank-item b       { font-size: 16px; }
.rank-item span    { font-size: 17px; }
.text-link         { font-size: 16px; font-weight: 600; }
.mypage-btn        { font-size: 16px; }
.gnb                { flex: 1 1 auto; gap: clamp(10px, 1vw, 16px); }
.gnb a              { font-size: clamp(14px, 1vw, 17px); font-weight: 700; white-space: nowrap; }
.search-box         { flex: 0 1 230px; min-width: 160px; }
.search-box input  { font-size: 17px; }
.mobile-drawer a   { min-height: 54px; font-size: 17px; }

/* ── 섹션 제목 ───────────────────────────────────────────────────────── */
.section-kicker    { font-size: 15px; }
.section-title h2,
.side-title h2,
.magazine-head h2  { font-size: clamp(36px, 3vw, 44px); }
.section-title > p,
.magazine-head > p,
.side-title p      { font-size: 18px; }
.more-link         { font-size: 17px; }

/* ── 카테고리 ────────────────────────────────────────────────────────── */
.category-copy strong               { font-size: 24px; }
.all-category .category-copy strong { font-size: 30px; }
.category-copy small                { font-size: 17px; }
.all-category.im-la-gift .category-copy small { font-size: 18px; }

/* ── 상품 카드 ───────────────────────────────────────────────────────── */
.product-badge {
  min-width: 60px;
  height: 32px;
  padding-inline: 13px;
  border-radius: 16px;
  font-size: 14px;
}

.tag {
  height: 28px;
  padding-inline: 9px;
  font-size: 14px;
}

.product-info {
  min-height: 308px;
  padding: 18px 20px 16px;
  /* 태그 28 / 상품명 2줄 72 / 원산지 27 / 용도 25 / 가격 76 / 규격 27
     (가격 76 = 정상가줄 22 + 가격줄 54. 큰 글꼴은 실측 높이가 line-height 보다 크다) */
  grid-template-rows: 28px 72px 27px 25px 76px 27px;
  gap: 4px;
}

.product-name {
  max-height: 72px;
  font-size: 27px;
  line-height: 36px;
  /* 한글 긴 이름("정말한우도가니탕")이 keep-all 때문에 카드 밖으로 삐져나가던 것 차단.
     이제 폭이 모자라면 줄만 바뀌고(2줄 클램프) 가로로는 절대 안 넘친다. */
  overflow-wrap: anywhere;
  word-break: normal;
}

.product-sub  { font-size: 18px; line-height: 27px; }
.spec         { font-size: 18px; line-height: 27px; }
.product-usage { font-size: 16px; line-height: 25px; }

.price-block small { font-size: 16px; line-height: 22px; }

.price      { font-size: 38px; line-height: 48px; }
.price span { margin-left: 3px; font-size: 23px; }

.availability { font-size: 28px; line-height: 48px; }

.source-link { height: 24px; font-size: 14px; line-height: 24px; }

.card-bottom  { height: 62px; }
.card-action  { min-height: 62px; font-size: 16px; }
.buy-now      { min-height: 62px; font-size: 20px; }

/* 행사가 : 목록·상세와 같은 "정상가 취소선 + 할인율 + 행사가" */
.price-block.is-sale .price { color: var(--orange-dark); }

.price-was {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  line-height: 22px;
  white-space: nowrap;
}

.price-was s {
  overflow: hidden;
  color: #9b948d;
  font-size: 18px;
  text-overflow: ellipsis;
}

/* 할인율은 목록·상세와 같은 주황 굵은 글씨로 (사장님 확인 시안) */
.price-off {
  flex: 0 0 auto;
  color: var(--orange-dark);
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── 배너 / 매거진 / 게시판 / 푸터 ───────────────────────────────────── */
.banner-copy > span { font-size: 14px; }
.banner-copy h2     { font-size: 36px; }
.banner-copy p,
.banner-copy a      { font-size: 17px; }
.source-copy > span { font-size: 14px; }
.source-copy h2     { font-size: 38px; }
.source-copy p,
.source-copy a      { font-size: 17px; }
.story-copy small   { font-size: 13px; }
.story-copy strong  { font-size: 28px; }
.story-copy > span  { font-size: 16px; }
.board-head h2      { font-size: 28px; }
.board-head a       { font-size: 16px; }
.board-list a       { font-size: 18px; }
.board-list time    { font-size: 15px; }
.footer-links a     { font-size: 15px; }
.footer-company p   { font-size: 15px; }
.footer-cs > span   { font-size: 16px; }
.footer-cs strong   { font-size: 33px; }
.footer-cs small    { font-size: 14px; }
.immeat .immart-kakao-chat-button { font-size: 16px; }
.smartstore-header-btn { font-size: 16px; }
.gift-set-copy small  { font-size: 14px; }
.gift-set-copy strong { font-size: 26px; }
.gift-set-copy p      { font-size: 16px; }
.gift-set-buy         { font-size: 17px; }

/* ── /immeat 게시판 ─────────────────────────────────────────────────── */
.im-board-crumb        { font-size: 16px; }
.im-board-hero p       { font-size: 18px; }
.im-board-count        { font-size: 16px; }
.im-board-empty        { font-size: 18px; }
.im-board-row-no       { font-size: 16px; }
.im-board-row-title    { font-size: 18px; }
.im-board-row-date     { font-size: 16px; }
.im-board-tabs a       { font-size: 17px; }
.im-board-pager a,
.im-board-pager strong { font-size: 17px; }
.im-board-article-head p { font-size: 16px; }
.im-board-article-body   { font-size: 18px; }
.im-board-btn          { font-size: 17px; }
.im-board-files a      { font-size: 17px; }
.im-board-nearby span  { font-size: 17px; }
.im-event-copy strong  { font-size: 19px; }
.im-event-copy small   { font-size: 15px; }

/* 몸보신용 추천상품처럼 좌측 제목이 붙은 섹션은 카드 영역이 745px 밖에 안 된다.
   1180px 이하에서 4열로 깔면 카드가 174px 까지 좁아져 태그가 잘렸다 — 3열로 되돌린다. */
@media (min-width: 901px) and (max-width: 1180px) {
  .new-carousel .product-row { grid-auto-columns: calc((100% - 32px) / 3); }
}

/* 카드 내용폭 실측 — 902px 에서 156px, 1025px 에서 194px.
   보관방법 칩 + 원산지 칩 두 개가 그 폭에 들어가는 크기로만 키운다. */
@media (min-width: 901px) and (max-width: 1024px) {
  .tag  { height: 24px; padding-inline: 5px; font-size: 10px; }
  .spec { font-size: 14px; }
  .product-sub { font-size: 16px; }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .tag  { height: 26px; padding-inline: 7px; font-size: 12px; }
  .spec { font-size: 16px; }
}

/* 901~1180px : 8개 메뉴와 검색창을 한 줄에 유지한다. */
@media (min-width: 901px) and (max-width: 1180px) {
  .gnb-wrap  { gap: 16px; }
  .gnb       { gap: 10px; }
  .gnb a     { font-size: 14px; }
  .search-box { flex-basis: 190px; }
}

@media (min-width: 1181px) and (max-width: 1299px) {
  .rail-prev { left: -16px; }
  .rail-next { right: -16px; }
}

@media (max-width: 900px) {
  .product-info {
    min-height: 308px;
    grid-template-rows: 28px 72px 27px 25px 76px 27px;
  }
}

@media (max-width: 600px) {
  .logo-sub          { font-size: 17px; }
  .search-box input  { font-size: 16px; }
  .mobile-drawer a   { font-size: 16px; }

  .section-kicker    { font-size: 13px; }
  .section-title h2,
  .side-title h2,
  .magazine-head h2  { font-size: 32px; }
  .section-title > p,
  .magazine-head > p,
  .side-title p      { font-size: 16px; }

  .hero-mobile-copy small  { font-size: 12px; }
  .hero-mobile-copy strong { font-size: 27px; }
  .hero-mobile-copy > span { font-size: 14px; }

  .category-copy strong               { font-size: 20px; }
  .all-category .category-copy strong { font-size: 24px; }
  .category-copy small                { font-size: 15px; }

  .product-badge { min-width: 48px; height: 28px; padding-inline: 9px; font-size: 12px; }

  /* 2열이라 칩 2개("냉동"+원산지)가 카드 폭 140px 을 넘지 않는 선까지만 */
  .tag { height: 22px; padding-inline: 5px; font-size: 10px; }

  .product-info {
    min-height: 196px;
    padding: 12px 11px 10px;
    /* 태그 23 / 상품명 2줄 50 / 가격 62 / 규격 21 */
    grid-template-rows: 23px 50px 62px 21px;
    gap: 3px;
  }

  .product-name { max-height: 50px; font-size: 19px; line-height: 25px; }
  .spec         { font-size: 12px; line-height: 19px; }

  .price-block small { font-size: 13px; line-height: 18px; }
  .price             { font-size: 26px; line-height: 34px; }
  .price span        { font-size: 17px; }
  .availability      { font-size: 20px; line-height: 34px; }

  .price-was    { gap: 5px; line-height: 20px; }
  .price-was s  { font-size: 13px; }
  .price-off    { font-size: 16px; }

  .source-link  { font-size: 12px; }
  .card-bottom  { height: 54px; }
  .card-action,
  .buy-now      { min-height: 54px; font-size: 16px; }

  .banner-copy h2    { font-size: 25px; }
  .source-copy h2    { font-size: 27px; }
  .source-copy p     { font-size: 15px; }
  .story-copy strong { font-size: 21px; }
  .story-copy > span { font-size: 14px; }
  .board-head h2     { font-size: 25px; }
  .board-list a      { font-size: 16px; }
  .footer-cs strong  { font-size: 29px; }
  .immeat .immart-kakao-chat-button { font-size: 15px; }
  .smartstore-header-btn { font-size: 14px; }
  .gift-set-copy strong { font-size: 21px; }
  .gift-set-copy p      { font-size: 14px; }
  .gift-set-buy         { font-size: 15px; }
}

@media (max-width: 370px) {
  .product-info { padding-inline: 9px; }
  .product-name { font-size: 18px; }
  .price        { font-size: 24px; }
  .spec         { font-size: 11px; }
}
