:root {
  --mcc-red: #971f21;
  --mcc-dark: #3e3f43;
  --mcc-bg: #ededee;
  --mcc-card: #fff;
  --mcc-border: rgba(62, 63, 67, 0.14);
  --mcc-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  --mcc-shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.12);
  --mcc-radius-lg: 20px;
  --mcc-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

html,
body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--mcc-bg);
}

body { position: relative; }

.mcc-page,
.mcc-page * { box-sizing: border-box; }

.mcc-page {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100%;
  min-height: 100vh;
  padding-top: 18px;
  padding-right: max(12px, env(safe-area-inset-right));
  padding-bottom: 44px;
  padding-left: max(12px, env(safe-area-inset-left));
  overflow-x: hidden;
  transform: translateX(-50%);
  color: #0f1012;
  background: var(--mcc-bg);
  font-family: var(--mcc-font);
}

.mcc-page img,
.mcc-page svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.mcc-wrap {
  width: min(1400px, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 6px;
  overflow: hidden;
}

.mcc-visually-hidden {
  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;
}

.mcc-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0 8px;
}

.mcc-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--mcc-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.mcc-logo img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
}

.mcc-headtxt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.mcc-brand {
  margin: 0;
  color: rgba(15, 16, 18, 0.78);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1px;
}

.mcc-title {
  margin: 0;
  color: var(--mcc-red);
  font-size: 30px;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.3px;
}

.mcc-tools {
  position: sticky;
  top: 10px;
  z-index: 50;
  max-width: 100%;
  margin: 12px 0 14px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--mcc-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.mcc-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
}

.mcc-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
}

.mcc-linkbtn {
  position: relative;
  padding: 10px 8px;
  border: 0;
  appearance: none;
  background: transparent;
  color: rgba(15, 16, 18, 0.78);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.mcc-linkbtn:hover,
.mcc-linkbtn:focus-visible {
  color: var(--mcc-red);
  transform: translateY(-1px);
}

.mcc-linkbtn:focus-visible { outline: 2px solid rgba(151, 31, 33, 0.35); }

.mcc-linkbtn::after {
  position: absolute;
  right: 8px;
  bottom: 3px;
  left: 8px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  opacity: 0.9;
  content: "";
  transition: background 0.18s ease;
}

.mcc-linkbtn.is-active { color: var(--mcc-red); }
.mcc-linkbtn.is-active::after { background: var(--mcc-red); }

.mcc-select {
  display: none;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 100%;
}

.mcc-select select,
.mcc-search input {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(62, 63, 67, 0.2);
  border-radius: 14px;
  background: #fff;
  color: #0f1012;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.mcc-select select {
  padding: 10px 12px;
  font-weight: 850;
}

.mcc-select select:focus,
.mcc-search input:focus {
  border-color: rgba(151, 31, 33, 0.38);
  box-shadow: 0 0 0 4px rgba(151, 31, 33, 0.12);
}

.mcc-search {
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 380px;
}

.mcc-search input { padding: 10px 12px 10px 40px; }

.mcc-search svg {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 1;
  opacity: 0.55;
  transform: translateY(-50%);
  pointer-events: none;
}

.mcc-section {
  padding: 12px 0 6px;
  scroll-margin-top: 92px;
}

.mcc-section-head {
  padding: 10px 8px 12px;
  text-align: center;
}

.mcc-section-title {
  margin: 0;
  color: var(--mcc-dark);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.2px;
}

.mcc-section-sub {
  margin: 8px 0 0;
  color: rgba(15, 16, 18, 0.62);
  font-size: 13px;
  font-weight: 750;
}

.mcc-section-line {
  width: min(760px, 100%);
  height: 1px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(151, 31, 33, 0.35), rgba(62, 63, 67, 0.12), rgba(151, 31, 33, 0.2));
}

.mcc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 100%;
  padding: 0 2px 10px;
}

.mcc-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--mcc-border);
  border-radius: var(--mcc-radius-lg);
  background: var(--mcc-card);
  box-shadow: var(--mcc-shadow-soft);
  opacity: 0;
  transform: translateY(0);
  animation: mccIn 0.55s ease forwards;
  animation-delay: var(--d, 0ms);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}

.mcc-card:hover {
  border-color: rgba(151, 31, 33, 0.22);
  box-shadow: var(--mcc-shadow);
  transform: translateY(-4px);
}

.mcc-media {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #ddd;
}

.mcc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.mcc-card:hover .mcc-media img {
  filter: saturate(1.02);
  transform: scale(1.06);
}

.mcc-body {
  padding: 12px 10px 14px;
  background: #fff;
  text-align: center;
}

.mcc-name {
  margin: 0;
  overflow-wrap: anywhere;
  color: rgba(15, 16, 18, 0.86);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -0.1px;
}

.mcc-price {
  margin: 8px 0 0;
  color: var(--mcc-red);
  font-size: 14px;
  font-weight: 950;
}

.mcc-sameimg {
  margin: 8px 0 0;
  color: rgba(15, 16, 18, 0.56);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.35;
}

.mcc-hidden { display: none !important; }

@keyframes mccIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mcc-note,
.mcc-footer {
  width: min(1100px, 100%);
  max-width: 100%;
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid var(--mcc-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.mcc-note {
  padding: 14px;
  overflow-wrap: anywhere;
  color: rgba(15, 16, 18, 0.78);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.mcc-note b { color: var(--mcc-red); }

.mcc-footer {
  margin-top: 16px;
  padding: 14px;
}

.mcc-foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.mcc-foot-title {
  margin: 0;
  color: rgba(15, 16, 18, 0.82);
  font-size: 14px;
  font-weight: 950;
}

.mcc-icons,
.mcc-branchlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mcc-ic,
.mcc-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(62, 63, 67, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(15, 16, 18, 0.85);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.mcc-ic {
  padding: 9px 12px;
  font-size: 13px;
}

.mcc-ic:hover,
.mcc-ic:focus-visible {
  border-color: rgba(151, 31, 33, 0.25);
  transform: translateY(-2px);
}

.mcc-ic svg { opacity: 0.75; }

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

.mcc-branchbox {
  padding: 12px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(62, 63, 67, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.mcc-branchbox h3 {
  margin: 0 0 6px;
  color: var(--mcc-dark);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.1px;
}

.mcc-branchbox p {
  margin: 0;
  color: rgba(15, 16, 18, 0.72);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.mcc-branchlinks { margin-top: 10px; }

.mcc-mini {
  padding: 8px 10px;
  background: #fff;
  font-size: 12.5px;
}

.mcc-mini:hover,
.mcc-mini:focus-visible { border-color: rgba(151, 31, 33, 0.22); }

.mcc-foot-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(62, 63, 67, 0.12);
  color: rgba(15, 16, 18, 0.68);
  font-size: 12.5px;
  font-weight: 850;
  text-align: center;
}

@media (max-width: 1200px) {
  .mcc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .mcc-nav { display: none; }
  .mcc-select { display: block; }
  .mcc-search { max-width: none; }
}

@media (max-width: 820px) {
  .mcc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcc-branches { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .mcc-title { font-size: 24px; }
  .mcc-brand { font-size: 13px; }
  .mcc-logo { width: 48px; height: 48px; }
}

@media (max-width: 360px) {
  .mcc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

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

