/* ==========================================================================
   KT 청라 PLAZA — 공개 사이트 디자인 시스템 (추천안 A)
   제품 그리드 중심 · 초경량 · 컬리/삼성닷컴 톤
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --c-bg: #ffffff;
  --c-surface: #f7f8fa;
  --c-surface-2: #f1f3f5;
  --c-border: #e8eaed;
  --c-border-strong: #d7dbe0;

  --c-text: #191919;
  --c-text-sub: #6b7280;
  --c-text-mute: #9aa1ab;
  --c-text-invert: #ffffff;

  --c-accent: #e60012;
  --c-accent-dark: #c1000f;
  --c-accent-soft: #fff1f2;

  --c-focus: #111827;
  --c-success: #0d8a4f;
  --c-warn: #b45309;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-full: 999px;

  --shadow-1: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-2: 0 2px 8px rgba(16, 24, 40, .06);
  --shadow-3: 0 8px 28px rgba(16, 24, 40, .10);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 64px;

  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* 2. Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
p { margin: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }

.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;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 56px 0; }
.section--tight { padding: 36px 0; }
.section--surface { background: var(--c-surface); }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; margin-bottom: 24px;
}
.section__title { font-size: clamp(19px, 4.2vw, 24px); font-weight: 800; }
.section__desc { margin-top: 6px; font-size: 14px; color: var(--c-text-sub); }
.section__more { font-size: 14px; color: var(--c-text-sub); display: inline-flex; align-items: center; gap: 4px; }
.section__more:hover { color: var(--c-text); }

.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 999;
  background: var(--c-text); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 20px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); }
.btn--outline { border-color: var(--c-border-strong); background: #fff; }
.btn--outline:hover { border-color: var(--c-text); }
.btn--ghost { background: var(--c-surface); }
.btn--ghost:hover { background: var(--c-surface-2); }
.btn--block { width: 100%; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* 5. Header ---------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -.03em; }
.logo__mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: var(--c-accent); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 900; letter-spacing: -.04em;
}
.logo__sub { display: block; margin-top: 1px; font-size: 11px; font-weight: 500; color: var(--c-text-mute); letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__link {
  padding: 9px 14px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; color: var(--c-text-sub);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav__link:hover { color: var(--c-text); background: var(--c-surface); }
.nav__link.is-active { color: var(--c-text); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 15px; color: var(--c-accent);
}
.header__phone:hover { color: var(--c-accent-dark); }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--c-text); margin: 4px auto; border-radius: 2px; }

/* 6. Notice bar ------------------------------------------------------------ */
.notice {
  background: var(--c-text); color: #fff; font-size: 13.5px;
}
.notice__inner { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 0; }
.notice__badge {
  flex: none; background: var(--c-accent); color: #fff;
  font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: var(--r-full); letter-spacing: .02em;
}
.notice__text { color: rgba(255, 255, 255, .92); }

/* 7. Hero / Banner --------------------------------------------------------- */
.hero { padding: 28px 0 8px; }
.hero__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }

.banner {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--c-surface); min-height: 320px;
}
.banner__track { display: flex; height: 100%; transition: transform .5s var(--ease); }
.banner__slide { position: relative; flex: 0 0 100%; min-height: 320px; }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__body {
  position: relative; padding: 40px; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%);
  color: #fff;
}
.banner__title { font-size: clamp(18px, 4vw, 26px); font-weight: 800; }
.banner__sub { font-size: 15px; color: rgba(255, 255, 255, .9); }
.banner__nav {
  position: absolute; bottom: 18px; right: 20px; display: flex; gap: 6px; align-items: center;
}
.banner__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.banner__dot.is-active { background: #fff; width: 20px; border-radius: var(--r-full); }
.banner__arrow {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .9);
  display: grid; place-items: center; font-size: 13px; color: var(--c-text);
}

.hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hero__card {
  border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 22px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  background: #fff; transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.hero__card:hover { border-color: var(--c-text); transform: translateY(-2px); }
.hero__card-label { font-size: 12.5px; font-weight: 700; color: var(--c-accent); letter-spacing: .02em; }
.hero__card-title { font-size: 19px; font-weight: 800; }
.hero__card-desc { font-size: 13.5px; color: var(--c-text-sub); }

/* 8. Quick links ----------------------------------------------------------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick__item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 16px 18px;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.quick__item:hover { border-color: var(--c-text); }
.quick__icon {
  width: 38px; height: 38px; flex: none; border-radius: var(--r-sm);
  background: var(--c-accent-soft); color: var(--c-accent);
  display: grid; place-items: center; font-size: 17px;
}
.quick__title { font-size: 15px; font-weight: 700; }
.quick__desc { font-size: 12.5px; color: var(--c-text-mute); }

/* 9. Chips / Tabs ---------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: var(--r-full);
  border: 1px solid var(--c-border-strong); background: #fff;
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--c-text-sub);
  transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--c-text); color: var(--c-text); }
.chip.is-active { background: var(--c-text); border-color: var(--c-text); color: #fff; }
.chip__count { font-size: 12.5px; color: var(--c-text-mute); font-weight: 500; }
.chip.is-active .chip__count { color: rgba(255, 255, 255, .7); }

/* 10. Card grid ------------------------------------------------------------ */
.grid-products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px;
}
.card {
  display: flex; flex-direction: column; position: relative;
}
.card__media {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--c-surface); aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.card__img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s var(--ease); }
.card__media--cover .card__img { object-fit: cover; padding: 0; }
.card:hover .card__img { transform: scale(1.04); }
.card__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--c-accent); color: #fff; font-size: 11.5px; font-weight: 800;
  padding: 4px 9px; border-radius: var(--r-sm); letter-spacing: .01em;
}
.card__badge--muted { background: rgba(25, 25, 25, .82); }
.card__body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card__cat { font-size: 12.5px; color: var(--c-text-mute); font-weight: 600; }
.card__title {
  font-size: 15.5px; font-weight: 700; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.card__summary {
  font-size: 13.5px; color: var(--c-text-sub);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__price { margin-top: 4px; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.card__note { font-size: 12px; color: var(--c-text-mute); }

/* 11. Empty state ---------------------------------------------------------- */
.empty {
  border: 1px dashed var(--c-border-strong); border-radius: var(--r-lg);
  padding: 64px 24px; text-align: center; color: var(--c-text-sub); background: var(--c-surface);
}
.empty__icon { font-size: 30px; margin-bottom: 10px; }
.empty__title { font-size: 16px; font-weight: 700; color: var(--c-text); margin-bottom: 4px; }

/* 12. Page head ------------------------------------------------------------ */
.page-head { padding: 40px 0 24px; border-bottom: 1px solid var(--c-border); background: #fff; }
.page-head__title { font-size: clamp(22px, 5vw, 30px); font-weight: 800; }
.page-head__desc { margin-top: 8px; font-size: 15px; color: var(--c-text-sub); max-width: 720px; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--c-text-mute); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--c-text); }
.breadcrumb span { color: var(--c-border-strong); }

/* 13. Toolbar / search ----------------------------------------------------- */
.toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 20px 0;
}
.search {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px; max-width: 420px;
  height: 44px; padding: 0 14px; border: 1px solid var(--c-border-strong); border-radius: var(--r-sm); background: #fff;
}
.search:focus-within { border-color: var(--c-text); }
.search input { flex: 1; border: 0; outline: 0; background: none; }
.result-count { font-size: 14px; color: var(--c-text-sub); margin-left: auto; }
.result-count strong { color: var(--c-text); }

/* 14. Pagination ----------------------------------------------------------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 40px 0 8px; }
.pager__btn {
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--r-sm);
  border: 1px solid var(--c-border); background: #fff; font-size: 14px; font-weight: 600; color: var(--c-text-sub);
}
.pager__btn:hover { border-color: var(--c-text); color: var(--c-text); }
.pager__btn.is-active { background: var(--c-text); border-color: var(--c-text); color: #fff; }
.pager__btn[disabled] { opacity: .4; pointer-events: none; }

/* 15. Prose ---------------------------------------------------------------- */
.prose { font-size: 15.5px; line-height: 1.85; color: #2b2b2b; overflow-wrap: break-word; }
.prose img { border-radius: var(--r-md); margin: 16px 0; }
.prose iframe, .prose video, .prose embed { max-width: 100%; }
.prose h2 { font-size: 21px; margin: 32px 0 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 22px; list-style: revert; }
.prose li { margin: 6px 0; }
.prose a { color: var(--c-accent); text-decoration: underline; }
.prose blockquote {
  margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--c-border-strong);
  background: var(--c-surface); color: var(--c-text-sub);
}
.prose table { margin: 18px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--c-border); padding: 10px 12px; }
.prose th { background: var(--c-surface); font-weight: 700; }

/* 16. Article (blog / news) ------------------------------------------------ */
.article { max-width: 780px; margin: 0 auto; padding: 40px 0 64px; }
.article__head { padding-bottom: 22px; border-bottom: 1px solid var(--c-border); margin-bottom: 28px; }
.article__title { font-size: clamp(22px, 4.6vw, 30px); font-weight: 800; }
.article__meta { margin-top: 12px; display: flex; gap: 14px; font-size: 13.5px; color: var(--c-text-mute); }
.article__thumb { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px; }

.list-articles { display: grid; gap: 4px; }
.list-item {
  display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--c-border);
  transition: background .15s var(--ease);
}
.list-item:hover { background: var(--c-surface); }
.list-item__thumb {
  aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--c-surface);
  display: grid; place-items: center; color: var(--c-text-mute); font-size: 22px;
}
.list-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-item__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.list-item__desc {
  font-size: 14px; color: var(--c-text-sub);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.list-item__meta { margin-top: 8px; font-size: 12.5px; color: var(--c-text-mute); }

/* 16b. Product detail (PDP) ------------------------------------------------ */
/* 기종별 테마 — --pdp-tint(이미지 배경) · --pdp-accent(포인트 색) */
.pdp--burgundy { --pdp-tint: radial-gradient(circle at 50% 30%, #f7e9ec 0%, #fbf8f9 62%, #f7f8fa 100%); --pdp-accent: #8d3552; }
.pdp--blue     { --pdp-tint: radial-gradient(circle at 50% 30%, #e6eef9 0%, #f8fafc 62%, #f7f8fa 100%); --pdp-accent: #2b5f9e; }
.pdp--sky      { --pdp-tint: radial-gradient(circle at 50% 30%, #e4f2fb 0%, #f8fbfd 62%, #f7f8fa 100%); --pdp-accent: #2a7fae; }
.pdp--lavender { --pdp-tint: radial-gradient(circle at 50% 30%, #efeafb 0%, #faf9fd 62%, #f7f8fa 100%); --pdp-accent: #6a4fb5; }

.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; padding: 24px 0 8px; }
.pdp__media {
  position: sticky; top: calc(var(--header-h) + 20px);
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--pdp-tint, var(--c-surface));
  border: 1px solid var(--c-border); aspect-ratio: 1 / 1; display: grid; place-items: center;
}
.pdp__media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pdp__media-fallback { padding: 24px; text-align: center; color: var(--c-text-mute); font-size: 14.5px; font-weight: 700; line-height: 1.7; }
.pdp__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--pdp-accent, var(--c-accent)); color: #fff;
  font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: var(--r-full); letter-spacing: .02em;
}

.pdp__info { display: flex; flex-direction: column; }
.pdp__cat { font-size: 13px; font-weight: 700; color: var(--pdp-accent, var(--c-accent)); }
.pdp__title { font-size: clamp(23px, 4vw, 32px); font-weight: 800; margin: 6px 0 10px; letter-spacing: -.02em; }
.pdp__summary { font-size: 15px; color: var(--c-text-sub); line-height: 1.7; }

.pdp__price {
  margin: 22px 0 20px; padding: 20px; border-radius: var(--r-md);
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-left: 3px solid var(--pdp-accent, var(--c-accent));
}
.pdp__price-label { font-size: 13px; font-weight: 600; color: var(--c-text-mute); }
.pdp__price-storage {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  color: var(--pdp-accent, var(--c-accent));
  background: var(--c-bg); border: 1px solid var(--c-border-strong);
  vertical-align: 1px;
}
.pdp__price-value { margin-top: 4px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.pdp__price-note { margin-top: 8px; font-size: 12.5px; color: var(--c-text-mute); line-height: 1.6; }

.pdp__opt { margin-bottom: 18px; }
.pdp__opt-label { display: block; font-size: 13px; font-weight: 700; color: var(--c-text-sub); margin-bottom: 9px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  height: 38px; padding: 0 15px; border-radius: var(--r-full);
  border: 1px solid var(--c-border-strong); background: #fff; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--c-text-sub);
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.pill:hover { border-color: var(--c-text); color: var(--c-text); }
.pill.is-active { background: var(--c-text); border-color: var(--c-text); color: #fff; }

.pdp__install { margin: 4px 0 22px; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--c-border); background: #fff; }
.pdp__install-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pdp__install-head .pdp__opt-label { margin-bottom: 0; }
.pdp__install-hint { font-size: 12px; color: var(--c-text-mute); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--c-surface-2); border-radius: var(--r-sm); }
.seg__btn {
  height: 40px; border: 0; border-radius: calc(var(--r-sm) - 2px); background: none; cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--c-text-sub);
  transition: background .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease);
}
.seg__btn.is-active { background: #fff; color: var(--c-text); box-shadow: var(--shadow-1); }
.pdp__install-out {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--c-border-strong);
}
.pdp__install-label { font-size: 14px; font-weight: 600; color: var(--c-text-sub); }
.pdp__install-value { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--pdp-accent, var(--c-accent)); }
.pdp__install-sub {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 8px; font-size: 13px; color: var(--c-text-sub);
}
.pdp__install-sub span:last-child { font-weight: 700; color: var(--c-text); }
.pdp__install-note { margin-top: 10px; font-size: 12px; color: var(--c-text-mute); line-height: 1.6; }

.pdp__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.pdp__specs { border-top: 1px solid var(--c-border); }
.pdp__spec-row { display: flex; gap: 18px; padding: 12px 2px; border-bottom: 1px solid var(--c-border); }
.pdp__spec-row dt { width: 110px; flex: none; font-size: 14px; font-weight: 700; color: var(--c-text-sub); }
.pdp__spec-row dd { font-size: 14.5px; }

.pdp-feat { padding: 48px 0 8px; }
.pdp-feat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: #fff;
}
.feat__num { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--pdp-accent, var(--c-accent)); }
.feat__text { font-size: 15px; font-weight: 600; line-height: 1.6; }

/* 스크롤 등장 — JS가 .reveal--armed 를 붙일 때만 감춰진다 (JS 없으면 항상 보임) */
.reveal { transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: var(--d, 0ms); }
.reveal--armed { opacity: 0; transform: translateY(14px); }
.reveal--armed.is-in { opacity: 1; transform: none; }

/* 17. Store ---------------------------------------------------------------- */
.store { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.store__map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-surface); min-height: 380px; }
.store__map iframe { width: 100%; height: 420px; border: 0; display: block; }
.info-table { border-top: 1px solid var(--c-border); }
.info-table__row { display: flex; gap: 18px; padding: 15px 2px; border-bottom: 1px solid var(--c-border); }
.info-table__key { width: 110px; flex: none; font-weight: 700; color: var(--c-text-sub); font-size: 14.5px; }
.info-table__val { font-size: 15px; }
.info-table__val a { color: var(--c-accent); font-weight: 700; }

/* 18. Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 18px; max-width: 620px; }
.field { display: grid; gap: 7px; }
.field__label { font-size: 14px; font-weight: 700; }
.field__label .req { color: var(--c-accent); margin-left: 2px; }
.field__hint { font-size: 12.5px; color: var(--c-text-mute); }
.input, .textarea, .select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-border-strong); border-radius: var(--r-sm);
  background: #fff; outline: 0; transition: border-color .15s var(--ease);
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--c-text); }
.textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field-error { font-size: 12.5px; color: var(--c-accent); }

.rating { display: flex; gap: 6px; }
.rating__star { font-size: 28px; line-height: 1; color: var(--c-border-strong); transition: color .12s var(--ease); }
.rating__star.is-on { color: #f5a623; }

.form-note {
  font-size: 13px; color: var(--c-text-sub); background: var(--c-surface);
  border-radius: var(--r-sm); padding: 14px 16px;
}
.form-ok {
  border-radius: var(--r-md); background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
  padding: 16px 18px; font-size: 14.5px; font-weight: 600;
}

/* 19. Footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--c-border); background: #fff; margin-top: 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 48px 0 32px; }
.footer__title { font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.footer__link { display: block; font-size: 14px; color: var(--c-text-sub); padding: 5px 0; }
.footer__link:hover { color: var(--c-text); }
.footer__brand { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.footer__text { font-size: 13.5px; color: var(--c-text-sub); line-height: 1.8; }
.footer__bottom {
  border-top: 1px solid var(--c-border); padding: 20px 0 32px;
  font-size: 12.5px; color: var(--c-text-mute);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* 20. Floating CTA --------------------------------------------------------- */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 8px;
}
.float-cta__btn {
  width: 52px; height: 52px; border-radius: 50%; background: var(--c-accent); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-3); font-size: 12px; font-weight: 800;
  line-height: 1.1; text-align: center;
}
.float-cta__btn--sub { background: #fff; color: var(--c-text); border: 1px solid var(--c-border-strong); }

/* 21. Utilities / feedback ------------------------------------------------- */
.skeleton { background: linear-gradient(90deg, #eef0f3 25%, #f7f8fa 37%, #eef0f3 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r-md); }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(12px);
  background: rgba(25, 25, 25, .94); color: #fff; padding: 13px 22px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 600; z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.is-hidden { display: none !important; }
.mt-0 { margin-top: 0; }
.mb-32 { margin-bottom: 32px; }

/* 22. Responsive ----------------------------------------------------------- */

/* 태블릿 가로 — 내비게이션 접힘 · 히어로 1열 · 상품 3열 */
@media (max-width: 1024px) {
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    padding: 8px 16px 16px; background: #fff;
    border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-2);
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 13px 8px; font-size: 16px; }
  .nav-toggle { display: block; }
  .header__phone { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .banner, .banner__slide { min-height: 280px; }

  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .pdp-feat__grid { grid-template-columns: 1fr 1fr; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .store { grid-template-columns: 1fr; gap: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* 태블릿 세로 — 상품 상세 1열 */
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .pdp__media { position: static; max-width: 560px; margin: 0 auto; }
  .store__map iframe { height: 340px; }
  .list-item { grid-template-columns: 150px 1fr; gap: 18px; }
  .article { padding: 30px 0 52px; }
}

/* 스마트폰 — 상품 2열 · 푸터 1열 */
@media (max-width: 768px) {
  :root { --gutter: 16px; --header-h: 58px; }
  .section { padding: 40px 0; }
  .section--tight { padding: 28px 0; }
  .section__head { gap: 10px; margin-bottom: 18px; }
  .hero { padding: 18px 0 6px; }

  .banner, .banner__slide { min-height: 240px; }
  .banner__body { padding: 24px; gap: 6px; }
  .hero__side { grid-template-columns: 1fr; }
  .hero__card { padding: 20px; }

  .quick { grid-template-columns: 1fr; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }

  .pdp-feat { padding: 34px 0 4px; }
  .pdp-feat__grid { grid-template-columns: 1fr; gap: 12px; }
  .feat { padding: 18px 16px; }

  .list-item { grid-template-columns: 112px 1fr; gap: 14px; padding: 16px 2px; }
  .list-item__title { font-size: 15.5px; }

  .page-head { padding: 28px 0 18px; }
  .prose { font-size: 15px; }
  .prose table { display: block; overflow-x: auto; }

  .store__map { min-height: 0; }
  .store__map iframe { height: 300px; }

  .footer { margin-top: 32px; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 24px; }
  .footer__bottom { padding: 18px 0 68px; }

  .info-table__row { flex-direction: column; gap: 4px; }
  .info-table__key { width: auto; }

  .float-cta {
    flex-direction: row;
    right: 12px; bottom: 12px;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .float-cta__btn { width: 46px; height: 46px; font-size: 11px; }

  .toast { bottom: 74px; padding: 12px 18px; font-size: 13.5px; }
}

/* 소형 스마트폰 */
@media (max-width: 480px) {
  .logo { font-size: 16px; gap: 7px; }
  .logo__mark { width: 28px; height: 28px; font-size: 12px; }
  .logo__sub { display: none; }

  .banner, .banner__slide { min-height: 200px; }
  .banner__body { padding: 18px 18px 44px; }
  .banner__nav { bottom: 12px; right: 14px; }

  .grid-products { gap: 20px 10px; }
  .card__body { padding-top: 11px; }
  .card__title { font-size: 14px; }
  .card__summary { font-size: 12.5px; }
  .card__price { font-size: 15px; }

  .quick__item { padding: 14px 15px; gap: 10px; }

  .chips { gap: 6px; }
  .chip { height: 34px; padding: 0 13px; font-size: 13.5px; }

  .search { min-width: 0; max-width: none; }
  .result-count { margin-left: 0; }
  .empty { padding: 44px 18px; }

  .pager { gap: 4px; padding: 28px 0 8px; }
  .pager__btn { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }

  .pdp__price { padding: 16px; margin: 18px 0; }
  .pdp__price-value { font-size: 22px; }
  .pdp__install { padding: 15px; }
  .pdp__install-value { font-size: 21px; }
  .seg__btn { height: 38px; font-size: 13.5px; }
  .pill { height: 34px; padding: 0 13px; font-size: 13.5px; }
  .pdp__actions { margin: 16px 0 24px; }
  .pdp__actions .btn { flex: 1 1 100%; }
  .pdp__spec-row { flex-direction: column; gap: 2px; padding: 9px 0; }
  .pdp__spec-row dt { width: auto; }
  .pdp__specs { margin-bottom: 22px; }

  .list-item { grid-template-columns: 92px 1fr; gap: 12px; }
  .list-item__title { font-size: 14.5px; }

  .article__head { padding-bottom: 18px; margin-bottom: 22px; }
  .article__meta { flex-wrap: wrap; gap: 6px 12px; }
  .store__map iframe { height: 240px; }
}

/* 터치 기기 — hover 효과로 인한 고정 상태 방지 */
@media (hover: none) {
  .card:hover .card__img { transform: none; }
  .card:hover .card__title { text-decoration: none; }
  .hero__card:hover { border-color: var(--c-border); transform: none; }
  .list-item:hover { background: transparent; }
}

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