:root {
  color-scheme: light;
  --bg: #fff;
  --ink: #252929;
  --muted: #767d7b;
  --line: #e8ecea;
  --soft: #f4f6f5;
  --accent: #087b62;
  --accent-soft: #eaf4ef;
  --price: #c14944;
  --shadow: 0 12px 40px #182c2417;
  --header: 142px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151a19;
  --ink: #edf0ef;
  --muted: #a0aba7;
  --line: #303835;
  --soft: #1e2522;
  --accent: #73d5b2;
  --accent-soft: #233c32;
  --price: #f29889;
  --shadow: 0 12px 40px #0004;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #151a19;
    --ink: #edf0ef;
    --muted: #a0aba7;
    --line: #303835;
    --soft: #1e2522;
    --accent: #73d5b2;
    --accent-soft: #233c32;
    --price: #f29889;
    --shadow: 0 12px 40px #0004;
  }
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
html {
  scroll-padding-top: 165px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans KR",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button {
  background: none;
  border: 0;
}
img,
video {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
  overflow-wrap: anywhere;
}
a,
button {
  touch-action: manipulation;
}
svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
button svg {
  pointer-events: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
:focus:not(:focus-visible) {
  outline: none;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1480px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 50;
  background: var(--bg);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-main {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 44px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  border-radius: 8px;
}
.brand span {
  font-size: 27px;
  font-weight: 750;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 6px;
}
.search {
  height: 44px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  max-width: 500px;
  flex: 1;
  margin-left: 20px;
}
.search input {
  width: 100%;
  min-width: 0;
  padding: 0 15px;
  border: 0;
  background: none;
  outline-offset: 0;
}
.search .icon-button {
  width: 44px;
  height: 42px;
  color: var(--muted);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.language-link {
  font-size: 13px;
  font-weight: 600;
}
.icon-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
  padding: 0;
}
.icon-button:hover {
  background: var(--soft);
}
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 650;
  font-size: 14px;
  border-radius: 6px;
  line-height: 1.4;
  border: 1px solid var(--line);
  text-align: center;
}
.primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.primary:hover {
  filter: brightness(0.94);
}
.button:not(.primary):hover {
  background: var(--soft);
}
.nav-inner nav {
  display: flex;
  gap: 29px;
  overflow: auto;
  scrollbar-width: none;
  min-height: 54px;
  align-items: stretch;
}
.nav-inner nav::-webkit-scrollbar {
  display: none;
}
.nav-inner a {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 0;
}
.nav-inner a[aria-current="page"] {
  color: var(--accent);
}
.nav-inner a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}
.site-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 50px;
  min-height: 65vh;
  padding-bottom: 64px;
}
main {
  min-width: 0;
}
.page-intro {
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}
.page-intro h1 {
  font-size: 36px;
  font-weight: 700;
}
.page-intro > p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.intro-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}
.intro-note {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.quick-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  padding: 9px 14px;
  background: var(--soft);
  border-radius: 6px;
}
.quick-link svg {
  color: var(--accent);
  width: 18px;
}
.quick-link:nth-child(2) svg {
  color: #d5794a;
}
.quick-link:nth-child(3) svg {
  color: #608bad;
}
.quick-link:hover {
  background: var(--accent-soft);
}
.content-section {
  padding: 0 0 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 160px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 23px;
  font-weight: 700;
}
.section-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}
.section-more svg {
  width: 16px;
  height: 16px;
}
.section-more:hover {
  color: var(--accent);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 18px;
}
.content-card {
  min-width: 0;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.18s ease;
}
.content-card:hover {
  transform: translateY(-3px);
}
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.content-card:hover .card-media img {
  transform: scale(1.025);
}
.card-content {
  padding: 12px 0 0;
}
.card-content h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.card-price {
  display: block;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--price);
  margin-top: 8px;
}
.card-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.card-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  background: #ffffffed;
  color: #25332d;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 11px;
}
.food-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.food-grid .card-media {
  aspect-ratio: 4/3;
}
.food-grid .card-content h3 {
  font-size: 16px;
}
.food-grid .card-price {
  font-size: 18px;
}
.text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
}
.text-card {
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.text-card:hover h3 {
  color: var(--accent);
}
.text-card-image {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--soft);
}
.text-card .text-card-body {
  min-width: 0;
  flex: 1;
}
.text-card h3 {
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-card .excerpt {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.text-card .card-price {
  font-size: 17px;
}
.group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.group-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}
.group-card:hover {
  border-color: var(--accent);
}
.group-card img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.group-card h3 {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.group-card .card-meta {
  margin-top: 9px;
}
.media-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.media-fallback svg {
  width: 36px;
  height: 36px;
}
.app-rail {
  padding-top: 40px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.app-rail-sticky {
  position: sticky;
  top: 176px;
  text-align: center;
  font-size: 12px;
}
.rail-logo {
  margin: 0 auto 14px;
  border-radius: 8px;
}
.app-rail h2 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.6;
  margin-bottom: 20px;
}
.qr-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 10px;
  margin: 0 auto 15px;
  width: max-content;
  max-width: 100%;
  line-height: 0;
  border-radius: 6px;
}
.qr-box img,
.qr-box canvas {
  max-width: 100%;
  height: auto;
}
.app-rail strong {
  font-size: 12px;
}
.app-rail p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 8px;
  line-height: 1.8;
}
.rail-url {
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 10px;
  margin-top: 8px;
}
.rail-rule {
  border-top: 1px solid var(--line);
  margin: 24px 0 18px;
}
.app-rail a:not(.rail-url),
.text-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  padding: 8px 0;
  width: 100%;
}
.app-rail svg {
  width: 15px;
  height: 15px;
}
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.filter-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.filter-field select {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg);
  height: 38px;
  padding: 0 30px 0 10px;
  max-width: 180px;
  color: var(--ink);
}
.filter-count {
  width: auto;
  margin-left: auto;
  align-self: center;
  color: var(--muted);
  font-size: 12px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.pagination span {
  font-size: 13px;
  color: var(--muted);
}
.pagination .button {
  min-width: 110px;
}
.empty-state {
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 12px;
  background: var(--soft);
  border-radius: 6px;
}
.empty-state > svg {
  width: 32px;
  height: 32px;
  color: var(--muted);
  margin-bottom: 8px;
}
.empty-state h2 {
  font-size: 18px;
}
.empty-state p {
  font-size: 13px;
  color: var(--muted);
}
.loading-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  min-height: 220px;
}
.skeleton {
  aspect-ratio: 0.8;
  border-radius: 6px;
  background: var(--soft);
  animation: pulse 1.5s ease-in-out infinite;
}
.loading-label {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}
@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}
.mall-banners {
  margin-bottom: 24px;
}
.banner-controls {
  display: none;
}
.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.banner-grid a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}
.banner-grid img {
  width: 100%;
  aspect-ratio: 2.8;
  object-fit: cover;
}
.banner-grid a:only-child {
  grid-column: 1/-1;
}
.category-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.category-links a {
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
  font-size: 13px;
}
.category-links a:hover {
  color: var(--accent);
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  padding: 26px 0;
  flex-wrap: wrap;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}
.detail-top.no-gallery {
  grid-template-columns: 1fr;
}
.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  overflow: hidden;
  padding: 0;
  display: block;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-main .gallery-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #0009;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
}
.thumbnails {
  display: flex;
  gap: 10px;
  overflow: auto;
  margin-top: 12px;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.thumbnail {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border: 2px solid transparent;
  padding: 2px;
  border-radius: 6px;
  background: var(--soft);
}
.thumbnail[aria-current="true"] {
  border-color: var(--accent);
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}
.detail-info h1 {
  font-size: 27px;
  margin: 8px 0 14px;
  line-height: 1.5;
}
.detail-label {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}
.detail-summary {
  color: var(--muted);
  font-size: 14px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.detail-price {
  font-size: 32px;
  color: var(--price);
  font-weight: 700;
  margin: 20px 0;
}
.detail-facts {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px 18px;
  padding: 22px 0;
  margin: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.detail-facts dt {
  color: var(--muted);
}
.detail-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 24px 0;
}
.detail-actions .primary {
  flex: 1;
  max-width: 360px;
  min-height: 48px;
}
.detail-actions .icon-button {
  border: 1px solid var(--line);
  width: 48px;
  height: 48px;
}
.detail-body {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-bottom: 36px;
}
.detail-body h2 {
  font-size: 21px;
  margin-bottom: 22px;
}
.rich-content {
  max-width: 860px;
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.rich-content p {
  margin: 0 0 18px;
}
.rich-content img {
  max-width: 100%;
  max-height: none;
  height: auto;
  margin: 16px auto;
  cursor: zoom-in;
}
.rich-content table {
  max-width: 100%;
  border-collapse: collapse;
  display: block;
  overflow: auto;
}
.rich-content td,
.rich-content th {
  border: 1px solid var(--line);
  padding: 8px;
}
.rich-content a {
  color: var(--accent);
  text-decoration: underline;
}
.rich-content h1,
.rich-content h2,
.rich-content h3 {
  font-size: 20px;
  margin: 20px 0 14px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.video-grid video {
  width: 100%;
  max-height: 420px;
  aspect-ratio: 4/3;
  background: #111;
  border-radius: 6px;
  object-fit: contain;
}
.video-message {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 0;
}
.detail-app-note {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.detail-app-note h3 {
  font-size: 17px;
}
.detail-app-note p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.spec-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.spec-chip {
  background: var(--soft);
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 4px;
}
.status-label {
  display: inline-block;
  padding: 4px 10px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  border-radius: 4px;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
  padding: 36px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}
.footer-brand {
  font-size: 24px;
  font-weight: 750;
}
.site-footer p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--muted);
}
.footer-legal {
  grid-column: 1/-1;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mobile-app-bar {
  display: none;
}
dialog {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: calc(100% - 32px);
}
dialog::backdrop {
  background: #101916a6;
  backdrop-filter: blur(4px);
}
.app-dialog {
  width: 400px;
  padding: 36px;
  text-align: center;
}
.dialog-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
}
.dialog-logo {
  margin: 0 auto 20px;
  border-radius: 8px;
}
.app-dialog h2 {
  font-size: 23px;
}
.app-dialog p {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 24px;
}
.app-dialog .button {
  width: 100%;
  margin-top: 10px;
}
.app-dialog .qr-box {
  margin-top: 24px;
}
.image-dialog {
  padding: 0;
  background: #101514;
  border: 0;
  width: max-content;
  max-height: 92vh;
}
.image-dialog img {
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
}
.image-dialog .dialog-close {
  color: white;
  background: #0009;
}
#toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 12px 24px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  z-index: 100;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#toast.show {
  opacity: 1;
}
@media (min-width: 1001px) {
  #mall-modules .product-grid,
  #mall-modules .loading-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1700px) {
  .shell {
    width: min(1580px, calc(100% - 112px));
  }
  .site-layout {
    gap: 64px;
  }
  .product-grid {
    gap: 28px 24px;
  }
}
@media (max-width: 1250px) {
  .shell {
    width: calc(100% - 48px);
  }
  .header-main {
    gap: 24px;
  }
  .search {
    margin-left: 0;
  }
  .header-actions {
    gap: 12px;
  }
  .nav-inner nav {
    gap: 24px;
  }
  .site-layout {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 160px;
  }
  .app-rail {
    padding-left: 18px;
  }
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .food-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .text-grid {
    column-gap: 20px;
  }
  .text-card-image {
    width: 84px;
    height: 84px;
  }
  .detail-top {
    gap: 24px;
  }
  .detail-info h1 {
    font-size: 23px;
  }
  .app-rail h2 {
    font-size: 16px;
  }
}
@media (max-width: 1000px) {
  .site-layout {
    grid-template-columns: minmax(0, 1fr) 146px;
    gap: 24px;
  }
  .header-actions .theme-button {
    display: none;
  }
  .header-main {
    gap: 18px;
  }
  .brand small {
    display: none;
  }
  .header-actions .button {
    padding: 10px 12px;
  }
  .app-rail {
    padding-left: 12px;
  }
  .app-rail h2 {
    font-size: 15px;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .text-grid {
    grid-template-columns: 1fr;
  }
  .detail-top {
    grid-template-columns: 1fr;
  }
  .gallery-main {
    aspect-ratio: 4/3;
  }
  .page-intro h1 {
    font-size: 30px;
  }
}
@media (max-width: 760px) {
  :root {
    --header: 150px;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .header-main {
    height: auto;
    min-height: 102px;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand span {
    font-size: 23px;
  }
  .brand small {
    display: none;
  }
  .header-actions {
    gap: 12px;
  }
  .header-actions .theme-button {
    display: inline-flex;
    width: 30px;
    height: 30px;
  }
  .header-actions .button {
    display: none;
  }
  .header-actions .language-link {
    font-size: 12px;
  }
  .search {
    order: 3;
    max-width: none;
    flex-basis: 100%;
    height: 36px;
  }
  .search .icon-button {
    height: 34px;
    width: 38px;
  }
  .search input {
    font-size: 13px;
  }
  .nav-inner nav {
    min-height: 46px;
    gap: 23px;
  }
  .nav-inner a {
    font-size: 13px;
    padding: 10px 0;
  }
  .site-layout {
    display: block;
    padding-bottom: 32px;
  }
  .app-rail {
    display: none;
  }
  .page-intro {
    padding: 26px 0 22px;
    margin-bottom: 24px;
  }
  .page-intro h1 {
    font-size: 28px;
  }
  .page-intro > p:last-child {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .intro-note {
    display: none;
  }
  .quick-links {
    gap: 8px;
    margin-top: 18px;
  }
  .quick-link {
    font-size: 12px;
    padding: 7px 10px;
  }
  .quick-link svg {
    width: 16px;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 16px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .section-more {
    font-size: 11px;
  }
  .section-more svg {
    width: 14px;
  }
  .content-section {
    padding-bottom: 26px;
    margin-bottom: 26px;
  }
  .product-grid,
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .card-content {
    padding-top: 10px;
  }
  .card-content h3,
  .food-grid .card-content h3 {
    font-size: 13px;
    min-height: 42px;
  }
  .card-price {
    font-size: 18px;
    margin-top: 6px;
  }
  .card-meta {
    font-size: 10px;
    gap: 4px;
  }
  .food-grid .card-price {
    font-size: 16px;
  }
  .group-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .group-card {
    padding: 14px;
  }
  .text-grid {
    gap: 0;
  }
  .text-card {
    gap: 12px;
    padding: 16px 0;
  }
  .text-card h3 {
    font-size: 15px;
  }
  .text-card .excerpt {
    font-size: 12px;
  }
  .text-card-image {
    width: 88px;
    height: 88px;
  }
  .text-card .card-price {
    font-size: 16px;
  }
  .filter-bar {
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }
  .filter-field {
    flex: 1;
    min-width: 125px;
    font-size: 11px;
    display: block;
  }
  .filter-field > span {
    display: block;
    margin-bottom: 5px;
  }
  .filter-field select {
    width: 100%;
    max-width: none;
    font-size: 12px;
    padding-left: 8px;
    height: 36px;
  }
  .filter-count {
    margin-left: 0;
  }
  .pagination {
    gap: 16px;
    margin-top: 28px;
  }
  .pagination .button {
    min-width: 95px;
    padding: 9px 12px;
    font-size: 12px;
  }
  .banner-grid {
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .banner-grid img {
    aspect-ratio: 2.5;
  }
  .mall-banners.has-slides .banner-grid {
    position: relative;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border-radius: 6px;
  }
  .mall-banners.has-slides .banner-grid::-webkit-scrollbar {
    display: none;
  }
  .mall-banners.has-slides .banner-grid a {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .banner-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    color: var(--muted);
  }
  .banner-controls button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    flex: 0 0 36px;
  }
  .banner-controls button:hover,
  .banner-controls button:focus-visible {
    color: var(--accent);
  }
  .banner-controls svg {
    width: 18px;
    height: 18px;
  }
  .banner-dots {
    display: flex;
    max-width: calc(100% - 120px);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .banner-dots button {
    width: 24px;
    flex-basis: 24px;
    outline-offset: -5px;
  }
  .banner-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
  }
  .banner-dots [aria-current="true"] span {
    width: 14px;
    border-radius: 3px;
    opacity: 1;
    color: var(--accent);
  }
  .category-links {
    gap: 10px 18px;
  }
  .category-links a {
    font-size: 12px;
  }
  .loading-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .loading-grid .skeleton:nth-child(n + 3) {
    display: none;
  }
  .breadcrumbs {
    padding: 20px 0;
  }
  .detail-top {
    gap: 20px;
    margin-bottom: 24px;
  }
  .gallery-main {
    aspect-ratio: 1;
  }
  .thumbnail {
    width: 56px;
    height: 56px;
  }
  .detail-info h1 {
    font-size: 22px;
  }
  .detail-price {
    font-size: 29px;
    margin: 16px 0;
  }
  .detail-facts {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 10px 14px;
    font-size: 12px;
  }
  .detail-actions {
    position: sticky;
    bottom: 80px;
    background: var(--bg);
    z-index: 3;
    padding: 10px 0;
    margin: 15px 0;
  }
  .detail-body h2 {
    font-size: 19px;
  }
  .rich-content {
    font-size: 14px;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .detail-app-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .detail-app-note .button {
    width: 100%;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 12px 18px;
  }
  .footer-legal {
    gap: 10px;
    padding-top: 18px;
    font-size: 10px;
  }
  .site-footer {
    padding: 28px 0 108px;
  }
  .mobile-app-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 -4px 20px #172d1710;
  }
  .mobile-app-bar img {
    border-radius: 6px;
    flex-shrink: 0;
  }
  .mobile-app-bar > span {
    min-width: 0;
    flex: 1;
  }
  .mobile-app-bar strong {
    display: block;
    font-size: 14px;
  }
  .mobile-app-bar small {
    font-size: 10px;
    color: var(--muted);
    display: block;
  }
  .mobile-app-bar .button {
    padding: 10px 14px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .app-dialog {
    padding: 32px 24px;
  }
  .app-dialog h2 {
    font-size: 21px;
  }
  #toast {
    bottom: 100px;
    width: max-content;
    text-align: center;
  }
  .intro-top {
    display: block;
  }
}
@media (max-width: 350px) {
  .shell {
    width: calc(100% - 24px);
  }
  .page-intro h1 {
    font-size: 25px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-more {
    gap: 2px;
  }
  .mobile-app-bar small {
    display: none;
  }
  .mobile-app-bar {
    padding-inline: 12px;
  }
  .mobile-app-bar .button {
    padding-inline: 10px;
  }
  .card-price {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Shared content classifications stay horizontally scrollable on narrow screens. */
.content-category-tabs { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line, #e4e8e7); margin: 0 0 20px; }
.content-category-tabs::-webkit-scrollbar { display: none; }
.content-category-tab { flex: 0 0 auto; padding: 12px 0; text-decoration: none; color: var(--muted, #72807b); border-bottom: 2px solid transparent; font-size: 14px; line-height: 22px; }
.content-category-tab.active { color: var(--accent, #13745d); border-color: currentColor; font-weight: 700; }
.content-category-tab:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
