:root {
  --ink: #111827;
  --ink-soft: #4b5563;
  --muted: #7c8493;
  --line: #e2e5ea;
  --line-strong: #cfd4dc;
  --canvas: #f4f5f7;
  --paper: #ffffff;
  --paper-warm: #f8f7f3;
  --navy: #111827;
  --blue: #3b5cff;
  --blue-dark: #2340da;
  --blue-soft: #eef1ff;
  --lime: #c9ff63;
  --danger: #dc3346;
  --success: #07855b;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .05);
  --shadow-lg: 0 24px 80px rgba(17, 24, 39, .22);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 10%, rgba(59, 92, 255, .055), transparent 28%),
    radial-gradient(circle at 92% 42%, rgba(201, 255, 99, .08), transparent 24%),
    var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--navy);
  color: white;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(226, 229, 234, .88);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px) saturate(160%);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max-width));
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.7px;
  cursor: pointer;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--navy);
  color: var(--lime);
  font-size: 17px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.brand-dot, .footer-brand span { color: var(--blue); }

.desktop-nav { display: flex; align-items: center; gap: 28px; height: 100%; }
.desktop-nav button {
  position: relative;
  height: 100%;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.desktop-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .18s ease;
}
.desktop-nav button.active { color: var(--ink); }
.desktop-nav button.active::after { transform: scaleX(1); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-icon-button {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.header-icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.count-badge {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid white;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 900;
  line-height: 14px;
}

.text-button, .text-link-button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.text-link-button { padding: 8px 0; color: var(--blue-dark); }
.text-button.inverse { color: #c6ccda; }

.primary-button, .secondary-button, .accent-button, .ghost-light-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.primary-button { background: var(--blue); color: white; }
.primary-button:hover { background: var(--blue-dark); box-shadow: 0 8px 22px rgba(59, 92, 255, .22); }
.secondary-button { border-color: var(--line-strong); background: white; color: var(--ink); }
.secondary-button:hover { border-color: var(--ink); }
.accent-button { background: var(--lime); color: #101721; }
.accent-button:hover { background: #baf246; }
.ghost-light-button { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); color: white; }
.compact { min-height: 38px; padding: 0 15px; font-size: 13px; }
.primary-button:active, .secondary-button:active, .accent-button:active { transform: translateY(1px); }

.profile-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  cursor: pointer;
}
.profile-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
}
.profile-name { max-width: 94px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 750; }
body.manager-mode .site-header { border-bottom-color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
body.manager-mode .profile-button { border-color: var(--blue); background: var(--blue-soft); }

.view[hidden] { display: none !important; }

.hero-wrap {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 530px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.hero-copy {
  padding: 74px 32px 66px 64px;
  position: relative;
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: 14px;
  bottom: 18px;
  border: 16px solid rgba(201, 255, 99, .10);
  transform: rotate(18deg);
}

.eyebrow, .section-kicker {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.7px;
}
.eyebrow { color: var(--lime); }
.section-kicker.light { color: var(--lime); }
.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -3.4px;
}
.hero-description {
  max-width: 520px;
  margin: 24px 0 0;
  color: #bbc2d0;
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
}
.hero-actions { display: flex; gap: 10px; margin-top: 34px; }
.hero-button { min-height: 50px; padding: 0 24px; }
.hero-copy .secondary-button { border-color: #4a5569; background: transparent; color: white; }
.hero-copy .secondary-button:hover { border-color: white; }
.trust-list { display: flex; gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; color: #aab2c1; font-size: 12px; font-weight: 700; }
.trust-list li { display: flex; align-items: center; gap: 6px; }
.trust-list span { color: var(--lime); }

.hero-showcase {
  position: relative;
  min-width: 0;
  padding: 42px 38px 30px;
  overflow: hidden;
  background: #eef0f4;
  color: var(--ink);
}
.hero-showcase::before {
  content: "LINEUP";
  position: absolute;
  right: -34px;
  top: 94px;
  color: rgba(17, 24, 39, .035);
  font-size: 110px;
  font-weight: 950;
  letter-spacing: -8px;
  transform: rotate(90deg);
}
.showcase-copy { position: relative; z-index: 2; display: flex; align-items: end; justify-content: space-between; }
.showcase-copy span { color: var(--muted); font-size: 12px; font-weight: 700; }
.showcase-copy strong { font-size: 18px; letter-spacing: -.6px; }
.featured-stack { position: relative; height: 395px; margin-top: 18px; }
.featured-card {
  position: absolute;
  width: 61%;
  height: 330px;
  padding: 20px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform .2s ease;
}
.featured-card:nth-child(1) { left: 0; top: 20px; z-index: 3; transform: rotate(-4deg); }
.featured-card:nth-child(2) { left: 21%; top: 8px; z-index: 2; transform: rotate(3deg); }
.featured-card:nth-child(3) { right: -6%; top: 36px; z-index: 1; transform: rotate(8deg); }
.featured-card:hover { z-index: 5; transform: translateY(-6px) rotate(0); }
.featured-image { height: 230px; display: grid; place-items: center; overflow: hidden; background: #f4f5f7; }
.featured-image img { width: 100%; height: 100%; object-fit: contain; }
.featured-card strong { display: block; margin-top: 16px; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.featured-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.showcase-skeleton {
  position: absolute;
  width: 58%;
  height: 328px;
  border: 1px solid var(--line);
  background: #fff;
  animation: pulse 1.4s ease-in-out infinite;
}
.showcase-skeleton:nth-child(2) { left: 22%; top: 14px; }
.showcase-skeleton:nth-child(3) { left: 42%; top: 28px; }
@keyframes pulse { 50% { opacity: .55; } }

.benefit-strip {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-top: 0;
  background: white;
}
.benefit-strip button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  min-height: 104px;
  padding: 22px 26px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.benefit-strip button:last-child { border-right: 0; }
.benefit-strip button:hover { background: #fafafa; }
.benefit-icon { display: grid; width: 38px; height: 38px; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 900; }
.benefit-strip strong, .benefit-strip small { display: block; }
.benefit-strip strong { font-size: 15px; }
.benefit-strip small { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 500; }

.products-section, .promise-section, .subpage-content {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}
.products-section { padding: 106px 0 116px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading-row h2 { margin: 0; font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.8px; line-height: 1.18; }
.section-heading-row p:not(.section-kicker) { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.catalog-tools { margin-top: 34px; }
.search-field {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: white;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.search-field svg { width: 21px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.keyboard-hint { padding: 4px 7px; border: 1px solid var(--line); background: #f8f9fa; color: var(--muted); font-size: 11px; }
.filter-row { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; }
.segmented-control { display: flex; gap: 5px; }
.segmented-control button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.segmented-control button.active { border-color: var(--navy); background: var(--navy); color: white; }
.catalog-selects { display: flex; gap: 8px; }
.catalog-selects select {
  min-height: 40px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.catalog-status { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.catalog-status p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.catalog-status strong { color: var(--ink); font-size: 15px; }
.load-note { color: var(--muted) !important; }
.load-note.error { color: var(--danger) !important; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: #c7ccd6; box-shadow: var(--shadow-sm); }
.product-card-image {
  position: relative;
  display: grid;
  aspect-ratio: 1 / .88;
  place-items: center;
  overflow: hidden;
  background: #f4f5f7;
  cursor: pointer;
}
.product-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; }
.product-card-image .image-fallback, .detail-gallery .image-fallback, .featured-image .image-fallback { display: grid; width: 100%; height: 100%; place-items: center; color: #c4c9d1; font-size: 52px; font-weight: 900; }
.phone-placeholder { position: relative; align-content: center; gap: 10px; background: #e8ebf0; }
.phone-placeholder span { display: block; width: 42%; max-width: 116px; aspect-ratio: .52 / 1; border: 6px solid #273044; border-radius: 19px; background: #111827; box-shadow: inset 0 0 0 2px #5b6475, 14px 18px 35px rgba(17,24,39,.18); }
.phone-placeholder span::before { content: ""; display: block; width: 32%; height: 4px; margin: 7px auto 0; border-radius: 2px; background: #8992a3; }
.phone-placeholder b { color: #566071; font-size: 12px; letter-spacing: .4px; }
.rank-label { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 7px; background: var(--navy); color: white; font-size: 10px; font-weight: 900; }
.heart-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(226, 229, 234, .9);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  cursor: pointer;
}
.heart-button svg { width: 18px; fill: transparent; stroke: var(--ink); stroke-width: 1.8; }
.heart-button.active svg { fill: #ff5367; stroke: #ff5367; }
.admin-card-menu { position: absolute; top: 52px; right: 10px; z-index: 4; }
.admin-card-menu > button { padding: 6px 9px; border: 1px solid var(--line); background: white; font-size: 11px; font-weight: 800; cursor: pointer; }
.admin-card-actions { display: none; position: absolute; right: 0; top: 34px; min-width: 110px; padding: 6px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow-sm); }
.admin-card-menu.open .admin-card-actions { display: grid; }
.admin-card-actions button { padding: 9px 10px; border: 0; background: transparent; text-align: left; font-size: 12px; cursor: pointer; }
.admin-card-actions .danger { color: var(--danger); }
.product-card-body { padding: 18px 16px 16px; }
.product-brand { margin: 0; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .7px; }
.product-card h3 { margin: 7px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; letter-spacing: -.45px; }
.product-capacity { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.product-price-label { margin: 21px 0 4px; color: var(--muted); font-size: 11px; }
.product-price { margin: 0; font-size: 21px; font-weight: 900; letter-spacing: -.7px; }
.product-price small { margin-left: 2px; font-size: 12px; }
.product-card-actions { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 17px; }
.product-card-actions button { min-height: 39px; border-radius: 7px; font-size: 12px; font-weight: 800; cursor: pointer; }
.detail-card-button { border: 0; background: var(--navy); color: white; }
.compare-card-button { width: 40px; border: 1px solid var(--line); background: white; color: var(--ink-soft); }
.compare-card-button.active { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.empty-state { padding: 72px 20px; border: 1px dashed var(--line-strong); background: rgba(255,255,255,.55); text-align: center; }
.empty-state > span { display: block; color: #c3c8d0; font-size: 42px; }
.empty-state h3 { margin: 14px 0 0; font-size: 18px; }
.empty-state p { margin: 8px 0 20px; color: var(--muted); font-size: 13px; }

.consult-banner {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 292px;
  margin: 0 auto;
  padding: 58px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--blue);
  color: white;
}
.consult-banner h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -2px; line-height: 1.18; }
.consult-banner p:not(.section-kicker) { margin: 15px 0 0; color: #dce2ff; font-size: 14px; }
.consult-banner .accent-button { min-width: 150px; }
.promise-section { padding: 112px 0 124px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border-top: 1px solid var(--line-strong); }
.promise-grid article { padding: 30px 30px 10px 0; border-right: 1px solid var(--line); }
.promise-grid article:not(:first-child) { padding-left: 30px; }
.promise-grid article:last-child { border-right: 0; }
.promise-grid span { color: var(--blue); font-size: 11px; font-weight: 900; }
.promise-grid h3 { margin: 18px 0 0; font-size: 18px; }
.promise-grid p { margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; word-break: keep-all; }

.detail-page { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 42px 0 110px; }
.detail-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.detail-breadcrumb button { padding: 0; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; }
.detail-main { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 54px; align-items: start; }
.detail-gallery { position: sticky; top: 98px; display: grid; min-height: 560px; place-items: center; overflow: hidden; background: #eef0f3; }
.detail-gallery img { width: 100%; height: 560px; object-fit: contain; padding: 54px; mix-blend-mode: multiply; }
.detail-copy { padding: 12px 0 0; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-tag { padding: 6px 9px; background: var(--blue-soft); color: var(--blue-dark); font-size: 11px; font-weight: 850; }
.detail-copy h1 { margin: 22px 0 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -2.5px; line-height: 1.12; }
.detail-subtitle { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.detail-price-box { margin-top: 32px; padding: 23px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.detail-price-box small { display: block; color: var(--muted); font-size: 12px; }
.detail-price-box strong { display: block; margin-top: 5px; font-size: 32px; letter-spacing: -1.5px; }
.detail-price-box strong span { font-size: 14px; }
.detail-notice { display: flex; gap: 10px; margin-top: 16px; padding: 14px; background: #fff8e8; color: #7a5817; font-size: 12px; line-height: 1.55; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr 48px; gap: 8px; margin-top: 24px; }
.detail-actions .primary-button, .detail-actions .secondary-button { min-height: 52px; }
.detail-heart { display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 10px; background: white; cursor: pointer; }
.detail-heart svg { width: 20px; fill: transparent; stroke: currentColor; stroke-width: 1.8; }
.detail-heart.active { border-color: #ff8a98; color: #e83850; }
.detail-heart.active svg { fill: currentColor; }
.detail-feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 34px 0 0; background: var(--line); border: 1px solid var(--line); }
.detail-feature-list div { min-height: 88px; padding: 18px; background: white; }
.detail-feature-list dt { color: var(--muted); font-size: 11px; }
.detail-feature-list dd { margin: 8px 0 0; font-size: 13px; font-weight: 750; line-height: 1.45; }
.detail-description { margin-top: 30px; padding: 24px; background: white; }
.detail-description h2 { margin: 0; font-size: 17px; }
.detail-description p { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.8; white-space: pre-wrap; }
.detail-admin-actions { display: flex; gap: 8px; margin-top: 22px; }
.detail-admin-actions .danger { border-color: #f1b8c0; color: var(--danger); }
.detail-guide { margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--line-strong); }
.detail-guide h2 { margin: 0; font-size: 24px; }
.detail-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.detail-guide-grid article { padding: 22px; border: 1px solid var(--line); background: white; }
.detail-guide-grid span { color: var(--blue); font-size: 12px; font-weight: 900; }
.detail-guide-grid h3 { margin: 12px 0 0; font-size: 14px; }
.detail-guide-grid p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.subpage-hero {
  min-height: 390px;
  padding: 84px max(20px, calc((100vw - var(--max-width)) / 2));
  background: var(--navy);
  color: white;
}
.subpage-hero h1 { margin: 0; font-size: clamp(40px, 5vw, 62px); line-height: 1.14; letter-spacing: -3px; }
.subpage-hero > p:not(.section-kicker) { max-width: 590px; margin: 20px 0 0; color: #b9c1d0; font-size: 15px; line-height: 1.7; }
.stores-hero { background: #182238; }
.guide-hero { background: var(--blue); }
.subpage-actions { display: flex; gap: 9px; margin-top: 30px; }
.subpage-content { padding: 92px 0 118px; }
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.store-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: white; }
.store-image { display: grid; aspect-ratio: 4 / 2.8; place-items: center; overflow: hidden; background: #eceff3; }
.store-image img { width: 100%; height: 100%; object-fit: cover; }
.store-image .image-fallback { color: #b9c0ca; font-size: 36px; }
.store-body { padding: 21px; }
.store-body h3 { margin: 0; font-size: 18px; letter-spacing: -.45px; }
.store-description { min-height: 44px; margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.store-contact { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.store-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.store-actions a { min-height: 40px; font-size: 12px; }
.flagship-card { margin-top: 70px; padding: 42px; display: flex; justify-content: space-between; gap: 40px; border-top: 3px solid var(--navy); background: white; }
.flagship-card h2 { margin: 0; font-size: 27px; }
.flagship-card dl { margin: 28px 0 0; }
.flagship-card dl div { display: grid; grid-template-columns: 80px 1fr; gap: 16px; margin-top: 12px; }
.flagship-card dt { color: var(--muted); font-size: 12px; }
.flagship-card dd { margin: 0; font-size: 13px; font-weight: 650; }
.flagship-actions { min-width: 170px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }

.guide-content { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 94px 0; display: grid; grid-template-columns: 220px 1fr; gap: 70px; }
.guide-index { position: sticky; top: 104px; align-self: start; display: grid; border-top: 2px solid var(--navy); }
.guide-index a { padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.guide-articles { border-top: 1px solid var(--line-strong); }
.guide-articles article { display: grid; grid-template-columns: 52px 1fr; gap: 26px; padding: 45px 0; border-bottom: 1px solid var(--line-strong); scroll-margin-top: 96px; }
.guide-articles article > span { color: var(--blue); font-size: 12px; font-weight: 900; }
.guide-articles h2 { margin: 0; font-size: 28px; letter-spacing: -1.2px; }
.guide-articles p { margin: 16px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.9; word-break: keep-all; }
.fair-sales { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto 120px; padding: 46px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; background: white; }
.fair-sales h2 { margin: 0; font-size: 28px; }
.fair-sales ul { margin: 0; padding: 0; list-style: none; }
.fair-sales li { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.fair-sales li:last-child { border-bottom: 0; }
.fair-sales li span { color: var(--success); font-weight: 900; }

.compare-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 65;
  width: min(calc(100% - 40px), 820px);
  min-height: 76px;
  padding: 12px 14px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-lg);
}
.compare-bar > div:first-child { min-width: 0; display: flex; align-items: center; gap: 16px; }
.compare-bar strong { flex: none; font-size: 13px; }
.compare-mini-list { min-width: 0; display: flex; gap: 6px; overflow: hidden; }
.compare-mini { max-width: 140px; padding: 7px 9px; background: #263146; color: #d4d9e2; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-actions { flex: none; display: flex; align-items: center; gap: 8px; }

.modal-layer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 15, 25, .62); backdrop-filter: blur(5px); }
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(88vh, 840px);
  overflow: auto;
  background: white;
  box-shadow: var(--shadow-lg);
  overscroll-behavior: contain;
}
.modal-panel.wide { width: min(100%, 920px); }
.modal-panel.form-wide { width: min(100%, 660px); }
.modal-close {
  position: sticky;
  float: right;
  top: 15px;
  right: 15px;
  z-index: 5;
  display: grid;
  width: 38px;
  height: 38px;
  margin: 15px 15px -53px 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ink-soft);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.modal-body { padding: 40px; }
.modal-head { padding-right: 40px; }
.modal-eyebrow { margin: 0 0 9px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: 1.2px; }
.modal-head h2 { margin: 0; font-size: 28px; letter-spacing: -1.2px; }
.modal-head p { margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border-bottom: 1px solid var(--line); }
.auth-tabs button { padding: 13px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 14px; font-weight: 800; cursor: pointer; }
.auth-tabs button.active { border-color: var(--blue); color: var(--ink); }
.form-stack { display: grid; gap: 16px; margin-top: 24px; }
.form-field { display: grid; gap: 7px; }
.form-field > span, .form-label { color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.form-field small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.input-wrap { position: relative; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: 0;
  background: white;
  color: var(--ink);
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { min-height: 126px; padding-top: 12px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.password-toggle { position: absolute; right: 8px; top: 7px; min-height: 34px; padding: 0 8px; border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.agreement { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.agreement input { margin-top: 2px; }
.form-error { min-height: 18px; margin-top: 9px; color: var(--danger); font-size: 12px; font-weight: 700; }
.form-submit { width: 100%; min-height: 50px; margin-top: 5px; border: 0; border-radius: 8px; background: var(--blue); color: white; font-weight: 850; cursor: pointer; }
.form-submit:disabled { background: #aeb6cc; cursor: wait; }
.auth-assist { margin: 17px 0 0; padding: 13px; background: #f6f7f9; color: var(--muted); font-size: 11px; line-height: 1.55; }
.auth-assist strong { color: var(--ink-soft); }
.upload-box { display: grid; min-height: 150px; place-items: center; padding: 18px; border: 1px dashed var(--line-strong); background: #f8f9fa; text-align: center; cursor: pointer; }
.upload-box strong { display: block; font-size: 13px; }
.upload-box span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.upload-preview { max-height: 210px; margin: 10px auto 0; object-fit: contain; }
.modal-actions { display: flex; gap: 8px; margin-top: 24px; }
.modal-actions > * { flex: 1; }
.danger-button { min-height: 44px; border: 1px solid #f0b5bd; border-radius: 8px; background: white; color: var(--danger); font-size: 13px; font-weight: 800; cursor: pointer; }
.consult-product { display: grid; grid-template-columns: 82px 1fr; gap: 15px; margin-top: 24px; padding: 14px; background: #f4f5f7; }
.consult-product-image { display: grid; width: 82px; height: 82px; place-items: center; overflow: hidden; background: white; }
.consult-product-image img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.consult-product strong { display: block; margin-top: 12px; font-size: 14px; }
.consult-product span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 24px; }
.contact-option { min-height: 108px; padding: 18px; border: 1px solid var(--line); background: white; }
.contact-option:hover { border-color: var(--blue); }
.contact-option strong { display: block; font-size: 15px; }
.contact-option span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.contact-option.primary { border-color: var(--blue); background: var(--blue); color: white; }
.contact-option.primary span { color: #dde3ff; }
.contact-hours { margin: 20px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.saved-list { display: grid; margin-top: 22px; }
.saved-list-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 13px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.saved-list-image { display: grid; width: 62px; height: 62px; place-items: center; overflow: hidden; background: #f2f3f5; }
.saved-list-image img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.saved-list-item strong { display: block; font-size: 13px; }
.saved-list-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.saved-list-item button { padding: 8px; border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 800; cursor: pointer; }
.profile-summary { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 18px; background: var(--navy); color: white; }
.profile-summary .profile-avatar { width: 42px; height: 42px; background: var(--lime); color: var(--navy); font-size: 16px; }
.profile-summary strong { display: block; }
.profile-summary span:not(.profile-avatar) { display: block; margin-top: 4px; color: #b9c1d0; font-size: 11px; }
.profile-menu { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.profile-menu button { display: flex; justify-content: space-between; padding: 16px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-size: 13px; font-weight: 750; cursor: pointer; }
.profile-menu button.danger { color: var(--danger); }
.compare-table-wrap { margin-top: 26px; overflow-x: auto; }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare-table th, .compare-table td { min-width: 180px; padding: 15px; border: 1px solid var(--line); background: white; text-align: left; vertical-align: top; font-size: 12px; }
.compare-table th:first-child, .compare-table td:first-child { min-width: 100px; width: 100px; background: #f6f7f9; color: var(--muted); font-weight: 800; }
.compare-table .compare-phone-head { text-align: center; }
.compare-phone-head img { width: 110px; height: 110px; margin: 0 auto 10px; object-fit: contain; }
.compare-phone-head strong { display: block; font-size: 14px; }
.policy-content { margin-top: 24px; color: var(--ink-soft); font-size: 12px; line-height: 1.85; }
.policy-content h3 { margin: 24px 0 6px; color: var(--ink); font-size: 14px; }
.policy-content p, .policy-content ul { margin: 7px 0; }
.policy-content ul { padding-left: 18px; }

.toast-region { position: fixed; right: 22px; bottom: 22px; z-index: 130; display: grid; gap: 8px; pointer-events: none; }
.toast { min-width: 250px; max-width: min(400px, calc(100vw - 40px)); padding: 14px 16px; background: var(--navy); color: white; box-shadow: var(--shadow-lg); font-size: 12px; font-weight: 700; animation: toast-in .2s ease both; }
.toast.error { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.site-footer { padding: 58px max(20px, calc((100vw - var(--max-width)) / 2)) 28px; background: #0d1422; color: #a7afbd; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid #273044; }
.footer-brand { color: white; font-size: 23px; font-weight: 900; letter-spacing: -.8px; }
.footer-top p { margin: 8px 0 0; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-links button, .footer-links a { padding: 0; border: 0; background: transparent; color: #c8ced8; font-size: 12px; cursor: pointer; }
.business-info { padding: 27px 0; border-bottom: 1px solid #273044; }
.business-info p { margin: 6px 0; font-size: 11px; line-height: 1.6; }
.business-info strong { color: #dbe0e8; }
.footer-bottom { padding-top: 22px; color: #70798a; font-size: 10px; }

/* 부드러운 모서리와 깊이감을 일관되게 적용한 매장형 표면 */
.brand-mark { border-radius: 10px; box-shadow: 0 8px 18px rgba(17, 24, 39, .14); }
.primary-button, .secondary-button, .accent-button, .ghost-light-button { border-radius: 14px; }
.hero-wrap { border-radius: var(--radius-xl); box-shadow: 0 22px 70px rgba(17, 24, 39, .16); }
.hero-showcase { border-radius: 0 var(--radius-xl) var(--radius-xl) 0; }
.featured-card, .showcase-skeleton { border-radius: var(--radius-lg); }
.featured-image { border-radius: var(--radius-md); }
.benefit-strip { margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.benefit-icon, .keyboard-hint { border-radius: 10px; }
.search-field { border-radius: var(--radius-md); box-shadow: 0 9px 25px rgba(17, 24, 39, .035); }
.segmented-control button, .catalog-selects select { border-radius: var(--radius-sm); }
.product-card { border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(17, 24, 39, .035); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(17, 24, 39, .10); }
.product-card-image { border-radius: 22px 22px 0 0; background: linear-gradient(145deg, #f8f9fb, #eceff3); }
.product-card-image img { padding: 22px; }
.product-card-image img.official-editorial-image,
.featured-image img.official-editorial-image,
.detail-gallery img.official-editorial-image,
.consult-product-image img.official-editorial-image,
.saved-list-image img.official-editorial-image,
.compare-phone-head img.official-editorial-image { padding: 0; object-fit: cover; mix-blend-mode: normal; }
.rank-label { border-radius: 9px; box-shadow: 0 6px 16px rgba(17, 24, 39, .16); }
.official-image-badge {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 10px;
  background: rgba(255, 255, 255, .84);
  color: var(--ink-soft);
  box-shadow: 0 5px 14px rgba(17, 24, 39, .08);
  backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 800;
}
.admin-card-menu > button, .admin-card-actions { border-radius: 10px; }
.admin-card-actions button { border-radius: 7px; }
.product-card-actions button { border-radius: 12px; }
.empty-state { border-radius: var(--radius-lg); }
.consult-banner { border-radius: var(--radius-xl); box-shadow: 0 24px 60px rgba(59, 92, 255, .22); }
.consult-banner-actions { width: min(100%, 470px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consult-banner-actions .accent-button { grid-column: 1 / -1; min-height: 48px; }
.consult-direct {
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .11);
  transition: transform .16s ease, background .16s ease;
}
.consult-direct:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .17); }
.consult-direct span, .consult-direct strong { display: block; }
.consult-direct span { color: #cdd5ff; font-size: 10px; font-weight: 800; }
.consult-direct strong { margin-top: 7px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.promise-grid { gap: 14px; border-top: 0; }
.promise-grid article, .promise-grid article:not(:first-child) { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.detail-gallery { border-radius: var(--radius-xl); background: linear-gradient(145deg, #f8f9fb, #e9edf2); box-shadow: var(--shadow-sm); }
.detail-tag { border-radius: 10px; }
.detail-notice { border-radius: 16px; }
.detail-feature-list { gap: 10px; border: 0; background: transparent; }
.detail-feature-list div { border: 1px solid var(--line); border-radius: 16px; }
.detail-description, .detail-guide-grid article { border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.subpage-hero { width: min(calc(100% - 40px), var(--max-width)); margin: 28px auto 0; padding-left: 64px; padding-right: 64px; border-radius: var(--radius-xl); box-shadow: 0 22px 60px rgba(17, 24, 39, .16); }
.store-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.store-image { border-radius: 22px 22px 0 0; }
.flagship-card { border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.guide-index { overflow: hidden; border: 1px solid var(--line); border-top: 2px solid var(--navy); border-radius: var(--radius-md); background: white; }
.fair-sales { border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.compare-bar { border-radius: var(--radius-lg); }
.compare-mini { border-radius: 10px; }
.modal-panel { border-radius: 30px; }
.auth-tabs { padding: 4px; border: 0; border-radius: 14px; background: #f2f4f7; }
.auth-tabs button { border: 0; border-radius: 10px; }
.auth-tabs button.active { border: 0; background: white; box-shadow: 0 5px 15px rgba(17, 24, 39, .08); }
.form-field input, .form-field select, .form-field textarea { border-radius: 14px; }
.form-submit, .danger-button { border-radius: 14px; }
.agreement { padding: 13px; border-radius: 14px; background: #f7f8fa; }
.auth-assist, .upload-box, .consult-product, .profile-summary { border-radius: var(--radius-md); }
.consult-product-image, .saved-list-image { border-radius: 14px; }
.upload-preview { border-radius: var(--radius-md); }
.direct-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.direct-contact-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8f9fb;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.direct-contact-card:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-sm); }
.direct-contact-card.phone { background: var(--blue); color: white; }
.direct-contact-card.phone:hover { border-color: var(--blue-dark); }
.direct-contact-card span, .direct-contact-card strong, .direct-contact-card small { display: block; }
.direct-contact-card span { font-size: 10px; font-weight: 850; opacity: .72; }
.direct-contact-card strong { margin-top: 8px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.direct-contact-card small { margin-top: 8px; color: var(--muted); font-size: 10px; }
.direct-contact-card.phone small { color: #dce2ff; }
.inquiry-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; color: var(--muted); font-size: 11px; font-weight: 750; }
.inquiry-divider::before, .inquiry-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.inquiry-form { margin-top: 19px; }
.inquiry-fields { display: grid; gap: 14px; }
.inquiry-agreement { margin-top: 15px; }
.inquiry-success { text-align: center; }
.success-mark { display: grid; width: 62px; height: 62px; margin: 5px auto 20px; place-items: center; border-radius: 50%; background: #e7f8f0; color: var(--success); font-size: 28px; font-weight: 900; }
.inquiry-success h2 { margin: 0; font-size: 28px; letter-spacing: -1.2px; }
.inquiry-success > p:not(.modal-eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.receipt-card { margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #f8f9fb; }
.receipt-card span, .receipt-card strong { display: block; }
.receipt-card span { color: var(--muted); font-size: 11px; }
.receipt-card strong { margin-top: 5px; font-size: 20px; }
.inquiry-success .primary-button { width: 100%; }
.inquiry-loading { margin-top: 26px; padding: 42px 20px; border-radius: var(--radius-md); background: #f7f8fa; color: var(--muted); text-align: center; font-size: 13px; }
.inquiry-admin-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.inquiry-admin-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fafbfc; }
.inquiry-admin-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.inquiry-admin-card time { color: var(--muted); font-size: 10px; }
.inquiry-status { padding: 6px 9px; border-radius: 9px; background: #e9ecf1; color: var(--ink-soft); font-size: 10px; font-weight: 850; }
.inquiry-status.new { background: #fff0d2; color: #8a5a00; }
.inquiry-status.contacted { background: var(--blue-soft); color: var(--blue-dark); }
.inquiry-status.closed { background: #e6f6ee; color: var(--success); }
.inquiry-admin-copy h3 { margin: 18px 0 0; font-size: 16px; letter-spacing: -.4px; }
.inquiry-admin-copy p { min-height: 68px; margin: 9px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.inquiry-customer { display: flex; justify-content: space-between; gap: 12px; margin-top: 17px; padding: 13px; border-radius: 13px; background: white; font-size: 11px; }
.inquiry-customer span { color: var(--muted); }
.inquiry-customer a { overflow: hidden; color: var(--blue-dark); font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.inquiry-status-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 12px; }
.inquiry-status-actions button { min-height: 34px; padding: 0 6px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--muted); font-size: 10px; font-weight: 800; cursor: pointer; }
.inquiry-status-actions button.active { border-color: var(--navy); background: var(--navy); color: white; }
.inquiry-status-actions button:disabled { opacity: .55; cursor: wait; }
.toast { border-radius: 14px; }
.mobile-nav { display: none; }

@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-wrap { grid-template-columns: 1fr 430px; }
  .hero-copy { padding-left: 44px; }
  .detail-main { gap: 34px; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  body { padding-bottom: 66px; }
  .header-inner { width: min(calc(100% - 28px), var(--max-width)); height: 62px; }
  .desktop-nav, #savedHeaderButton, #loginButton, #signupButton, .profile-name { display: none; }
  .brand { font-size: 18px; }
  .brand-mark { width: 27px; height: 27px; }
  .profile-button { padding-right: 4px; border: 0; }
  .hero-wrap { width: calc(100% - 24px); margin-top: 12px; grid-template-columns: 1fr; border-radius: 26px; }
  .hero-copy { padding: 58px 24px 48px; }
  .hero-copy h1 { letter-spacing: -2.5px; }
  .hero-showcase { min-height: 420px; padding: 34px 24px 18px; border-radius: 0 0 26px 26px; }
  .featured-stack { height: 340px; }
  .featured-card { height: 285px; }
  .featured-image { height: 190px; }
  .benefit-strip { width: calc(100% - 24px); grid-template-columns: 1fr; border: 1px solid var(--line); }
  .benefit-strip button { min-height: 88px; border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-strip button:last-child { border-bottom: 0; }
  .products-section, .promise-section, .subpage-content, .detail-page, .guide-content, .fair-sales { width: min(calc(100% - 32px), var(--max-width)); }
  .products-section { padding: 78px 0 90px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-row { align-items: stretch; flex-direction: column; }
  .catalog-selects select { width: 100%; }
  .catalog-selects label { flex: 1; }
  .consult-banner { width: calc(100% - 32px); padding: 44px 24px; }
  .promise-grid { grid-template-columns: 1fr; }
  .inquiry-admin-list { grid-template-columns: 1fr; }
  .promise-grid article, .promise-grid article:not(:first-child) { padding: 25px; border: 1px solid var(--line); }
  .detail-main { grid-template-columns: 1fr; }
  .detail-gallery { position: relative; top: auto; min-height: 460px; }
  .detail-gallery img { height: 460px; }
  .detail-copy { padding-top: 0; }
  .detail-guide-grid { grid-template-columns: 1fr; }
  .subpage-hero { padding: 64px 24px; }
  .guide-content { grid-template-columns: 1fr; gap: 28px; }
  .guide-index { position: static; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
  .guide-index a { padding: 13px; }
  .fair-sales { grid-template-columns: 1fr; gap: 26px; }
  .flagship-card { flex-direction: column; }
  .footer-top { flex-direction: column; }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 68;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 66px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px);
  }
  .mobile-nav button { display: grid; place-items: center; align-content: center; gap: 3px; border: 0; background: transparent; color: var(--muted); font-size: 10px; font-weight: 750; }
  .mobile-nav button span { font-size: 19px; line-height: 1; }
  .mobile-nav button.active { color: var(--blue); }
  .compare-bar { bottom: 78px; }
  .toast-region { bottom: 84px; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 39px; }
  .hero-description { font-size: 14px; }
  .hero-actions { display: grid; }
  .trust-list { flex-direction: column; gap: 8px; }
  .hero-showcase { min-height: 350px; }
  .featured-stack { height: 290px; }
  .featured-card { width: 66%; height: 245px; padding: 12px; }
  .featured-image { height: 160px; }
  .featured-card strong { margin-top: 11px; font-size: 13px; }
  .showcase-copy strong { font-size: 15px; }
  .benefit-strip button { padding: 18px 20px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .section-heading-row h2 { font-size: 31px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-card-body { padding: 14px 12px 12px; }
  .product-card-image img { padding: 11px; }
  .product-card h3 { font-size: 14px; }
  .product-price { font-size: 17px; }
  .rank-label { left: 8px; top: 8px; }
  .heart-button { right: 7px; top: 7px; width: 32px; height: 32px; }
  .product-card-actions { grid-template-columns: 1fr 38px; }
  .segmented-control { width: 100%; overflow-x: auto; }
  .segmented-control button { flex: 1; min-width: max-content; }
  .catalog-selects { display: grid; grid-template-columns: 1fr 1fr; }
  .keyboard-hint { display: none; }
  .catalog-status { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
  .consult-banner { align-items: flex-start; flex-direction: column; }
  .consult-banner h2 { font-size: 33px; }
  .consult-banner .accent-button { width: 100%; }
  .consult-banner-actions { width: 100%; grid-template-columns: 1fr; }
  .consult-banner-actions .accent-button { grid-column: auto; }
  .direct-contact-grid { grid-template-columns: 1fr; }
  .detail-page { padding-top: 22px; }
  .detail-gallery { min-height: 370px; }
  .detail-gallery img { height: 370px; padding: 30px; }
  .detail-copy h1 { font-size: 36px; }
  .detail-actions { grid-template-columns: 1fr 48px; }
  .detail-actions .secondary-button { grid-column: 1 / -1; grid-row: 2; }
  .detail-feature-list { grid-template-columns: 1fr; }
  .subpage-hero h1 { font-size: 40px; }
  .store-grid { grid-template-columns: 1fr; }
  .flagship-card { padding: 28px 22px; }
  .flagship-card dl div { grid-template-columns: 1fr; gap: 4px; }
  .guide-index { grid-template-columns: 1fr; }
  .guide-articles article { grid-template-columns: 1fr; gap: 10px; padding: 34px 0; }
  .guide-articles h2 { font-size: 23px; }
  .fair-sales { padding: 28px 22px; }
  .compare-bar { width: calc(100% - 20px); padding-left: 14px; }
  .compare-bar > div:first-child > strong, .compare-mini-list { display: none; }
  .compare-bar > div:first-child::before { content: "비교 목록"; font-size: 12px; font-weight: 800; }
  .modal-layer { align-items: end; padding: 0; }
  .modal-panel, .modal-panel.wide, .modal-panel.form-wide { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
  .modal-body { padding: 34px 22px max(28px, env(safe-area-inset-bottom)); }
  .modal-head h2 { font-size: 25px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .contact-options { grid-template-columns: 1fr; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
}

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