@charset "UTF-8";

:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --surface-strong: #eceff3;
  --text: #181b20;
  --muted: #6d737d;
  --line: #e3e6ea;
  --brand: #1f5eff;
  --brand-dark: #1548c8;
  --accent: #ff5c35;
  --success: #0e9f6e;
  --max-width: 1280px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(30, 38, 54, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

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

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

.top-banner {
  background: #17213b;
  color: #fff;
  font-size: 13px;
}

.top-banner__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.top-banner p {
  margin: 0;
}

.top-banner strong {
  color: #9fc4ff;
  margin-right: 8px;
}

.top-banner__close {
  position: absolute;
  right: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.site-header {
  position: relative;
  background: #fff;
  z-index: 20;
}

.utility {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.utility nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}

.utility a:hover {
  color: var(--text);
}

.header-main {
  height: 92px;
  display: grid;
  grid-template-columns: 250px minmax(320px, 1fr) 260px;
  align-items: center;
  gap: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand__mark {
  width: 52px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.5px;
  transform: rotate(-4deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__text strong {
  font-size: 20px;
  letter-spacing: -0.6px;
}

.brand__text small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.search {
  height: 48px;
  border: 2px solid var(--brand);
  border-radius: 14px;
  display: flex;
  overflow: hidden;
  background: #fff;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: var(--text);
}

.search input::placeholder {
  color: #a0a5ad;
}

.search button {
  width: 52px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.search svg {
  width: 23px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.header-action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #505661;
}

.header-action__icon {
  font-size: 24px;
  line-height: 1;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
}

.nav-shell {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.nav-row {
  height: 58px;
  display: flex;
  align-items: center;
}

.category-trigger {
  width: 190px;
  height: 100%;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.category-trigger__icon {
  font-size: 17px;
}

.main-nav {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 38px;
  gap: clamp(14px, 1.7vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 3px;
  background: var(--brand);
  transition: right 0.2s ease;
}

.main-nav a:hover::after {
  right: 0;
}

.main-nav .accent {
  color: var(--accent);
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 1px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: 0.2s ease;
}

.mega-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  padding: 36px 0 42px;
}

.mega-menu section:not(.mega-menu__promo) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-menu h3 {
  margin: 0 0 7px;
  font-size: 16px;
}

.mega-menu section a {
  color: var(--muted);
  font-size: 14px;
}

.mega-menu section a:hover {
  color: var(--brand);
}

.mega-menu__promo {
  min-height: 170px;
  padding: 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e9f1ff, #f5f8ff);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mega-menu__promo span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.mega-menu__promo strong {
  margin: 14px 0 auto;
  font-size: 20px;
  line-height: 1.45;
}

.mega-menu__promo a {
  color: var(--brand) !important;
  font-weight: 800;
}

.mobile-drawer,
.drawer-dim {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #edf2ff;
}

.hero-track {
  position: relative;
  min-height: 510px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  position: relative;
}

.hero-slide--one {
  background:
    radial-gradient(circle at 75% 35%, rgba(255,255,255,0.9), transparent 28%),
    linear-gradient(120deg, #e9f1ff 0%, #dce9ff 55%, #cfe0ff 100%);
}

.hero-slide--two {
  background:
    radial-gradient(circle at 75% 42%, rgba(255,255,255,0.9), transparent 30%),
    linear-gradient(120deg, #f3f0e8 0%, #e9e1cf 100%);
}

.hero-slide--three {
  background:
    radial-gradient(circle at 75% 42%, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(120deg, #16223f 0%, #263d70 100%);
  color: #fff;
}

.hero-slide__inner {
  min-height: 510px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(31, 94, 255, 0.1);
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.1px;
}

.hero-slide--three .eyebrow {
  background: rgba(255,255,255,0.13);
  color: #c9d9ff;
}

.hero-copy h1 {
  margin: 21px 0 18px;
  font-size: clamp(38px, 4.1vw, 58px);
  line-height: 1.17;
  letter-spacing: -2.5px;
}

.hero-copy p {
  max-width: 560px;
  margin: 0 0 34px;
  color: #525d6d;
  font-size: 17px;
  line-height: 1.75;
}

.hero-slide--three .hero-copy p {
  color: #cbd5e8;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 11px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.button--dark {
  background: var(--text);
  color: #fff;
}

.hero-slide--three .button--dark {
  background: #fff;
  color: #17213b;
}

.button--outline {
  border: 1px solid var(--text);
  background: transparent;
}

.hero-visual {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(31, 94, 255, 0.2);
  border-radius: 50%;
}

.orbit-one {
  width: 340px;
  height: 340px;
}

.orbit-two {
  width: 255px;
  height: 255px;
  border-style: dashed;
  animation: spin 14s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.visual-card {
  width: 230px;
  height: 285px;
  border-radius: 24px;
  padding: 29px;
  color: #fff;
  background: linear-gradient(155deg, #2868ff, #1645be);
  box-shadow: 0 30px 60px rgba(31, 94, 255, 0.27);
  transform: rotate(6deg);
  display: flex;
  flex-direction: column;
}

.visual-card span {
  font-size: 12px;
  opacity: 0.75;
}

.visual-card strong {
  margin: 28px 0 auto;
  font-size: 30px;
  line-height: 1.25;
}

.visual-card em {
  font-size: 11px;
  font-style: normal;
  letter-spacing: 2px;
}

.hero-visual--service {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-calendar {
  width: 320px;
  min-height: 285px;
  padding: 30px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 25px 60px rgba(72, 63, 43, 0.14);
  transform: rotate(-3deg);
}

.service-calendar > span {
  color: #877856;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
}

.calendar-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.calendar-grid i {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f1eee6;
}

.calendar-grid .checked {
  display: grid;
  place-items: center;
  background: #bb9d62;
  color: #fff;
  font-style: normal;
  font-weight: 900;
}

.service-badge {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 82px;
  height: 82px;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #202532;
  color: #fff;
  font-weight: 900;
  transform: rotate(10deg);
}

.member-card {
  position: absolute;
  width: 315px;
  height: 200px;
  border-radius: 22px;
}

.member-card--back {
  background: rgba(255,255,255,0.14);
  transform: translate(36px, -35px) rotate(8deg);
}

.member-card--front {
  padding: 27px;
  background: linear-gradient(135deg, #ffffff, #dfe8ff);
  color: #17213b;
  box-shadow: 0 28px 65px rgba(0,0,0,0.28);
  transform: rotate(-5deg);
  display: flex;
  flex-direction: column;
}

.member-card--front small {
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 1.1px;
}

.member-card--front strong {
  margin: auto 0;
  font-size: 26px;
  line-height: 1.2;
}

.member-card--front span {
  color: #66728a;
  font-size: 11px;
  letter-spacing: 2px;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(24, 27, 32, 0.16);
  border-radius: 50%;
  background: rgba(255,255,255,0.65);
  cursor: pointer;
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-pagination button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 27, 32, 0.25);
  cursor: pointer;
  transition: width 0.2s ease;
}

.hero-pagination button.is-active {
  width: 28px;
  background: var(--text);
}

.quick-section {
  padding: 76px 0 90px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 31px;
}

.section-heading--compact {
  margin-bottom: 24px;
}

.section-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.section-heading h2,
.service-highlight__copy h2,
.quote-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -1.6px;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  font-weight: 800;
  white-space: nowrap;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.quick-card {
  min-height: 170px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.quick-card:hover {
  transform: translateY(-5px);
  border-color: #b9c9f3;
  box-shadow: 0 14px 34px rgba(31, 94, 255, 0.08);
}

.quick-card__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--surface);
  font-size: 27px;
}

.quick-card strong {
  font-size: 15px;
}

.quick-card small {
  margin-top: 6px;
  color: var(--muted);
}

.quick-card--accent {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.quick-card--accent .quick-card__icon {
  background: rgba(255,255,255,0.16);
}

.quick-card--accent small {
  color: #dce6ff;
}

.product-section {
  padding: 90px 0 110px;
  background: var(--surface);
}

.product-tabs {
  margin-bottom: 30px;
  display: flex;
  gap: 9px;
}

.product-tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.product-tabs button.is-active {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 20px;
}

.product-card {
  min-width: 0;
}

.product-card.is-hidden {
  display: none;
}

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  display: block;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  background: var(--text);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.badge--new {
  background: var(--success);
}

.badge--member {
  background: var(--brand);
}

.product-card__body {
  padding-top: 17px;
}

.product-card__category {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.product-card h3 {
  min-height: 48px;
  margin: 0;
  font-size: 17px;
  line-height: 1.42;
  letter-spacing: -0.4px;
}

.product-card__desc {
  min-height: 40px;
  margin: 7px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discount {
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
}

.price-row strong {
  font-size: 19px;
}

.product-card del {
  display: block;
  min-height: 18px;
  margin-top: 3px;
  color: #a0a5ad;
  font-size: 12px;
}

.member-price {
  min-height: 45px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.member-price span {
  color: var(--muted);
  font-size: 11px;
}

.member-price strong {
  color: var(--brand);
  font-size: 17px;
}

.add-cart {
  width: 100%;
  min-height: 42px;
  margin-top: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.add-cart:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.search-empty {
  margin: 50px 0 0;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
}

.benefit-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.benefit-grid {
  min-height: 150px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.benefit-grid > div {
  min-height: 65px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
}

.benefit-grid > div:first-child {
  padding-left: 0;
}

.benefit-grid > div:last-child {
  border-right: 0;
}

.benefit-grid span {
  color: #b6bdc8;
  font-size: 13px;
  font-weight: 900;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.benefit-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15px;
}

.service-highlight {
  padding: 120px 0;
}

.service-highlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}

.service-highlight__visual {
  min-height: 550px;
  padding: 58px;
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(255,255,255,0.18), transparent 60%),
    #23335f;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.service-highlight__visual::before,
.service-highlight__visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
}

.service-highlight__visual::before {
  width: 390px;
  height: 390px;
  right: -80px;
  top: -60px;
}

.service-highlight__visual::after {
  width: 230px;
  height: 230px;
  right: 40px;
  top: 65px;
}

.highlight-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.highlight-panel span {
  color: #b9ccff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.highlight-panel strong {
  display: block;
  margin-top: 12px;
  font-size: 30px;
}

.highlight-panel p {
  margin: 7px 0 0;
  color: #d5def2;
}

.service-highlight__copy > p {
  margin: 23px 0 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.process-list {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.process-list li {
  min-height: 83px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.process-list div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.process-list strong {
  font-size: 15px;
}

.process-list small {
  color: var(--muted);
}

.review-section {
  padding: 100px 0 110px;
  background: #18203a;
  color: #fff;
}

.review-section .section-kicker {
  color: #8fb4ff;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  margin: 0;
  padding: 30px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.11);
}

.stars {
  color: #ffcc67;
  letter-spacing: 2px;
  font-size: 13px;
}

.review-card > p {
  min-height: 100px;
  margin: 20px 0 26px;
  color: #d7deef;
  line-height: 1.8;
}

.review-card footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.review-card footer strong {
  font-size: 13px;
}

.review-card footer span {
  color: #9ca9c6;
  font-size: 11px;
}

.quote-section {
  padding: 100px 0;
  background: var(--surface);
}

.quote-card {
  padding: 58px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.quote-card > div > p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-form label span {
  font-size: 12px;
  font-weight: 800;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: #fff;
  padding: 13px 14px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--brand);
}

.quote-form__wide {
  grid-column: 1 / -1;
}

.support-section {
  border-top: 1px solid var(--line);
}

.support-grid {
  min-height: 160px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
}

.support-grid > div,
.support-grid > a {
  padding: 30px 36px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.support-grid > div {
  padding-left: 0;
  gap: 18px;
}

.support-grid > a:last-child {
  border-right: 0;
}

.support-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  font-size: 22px;
}

.support-grid small,
.support-grid > a span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.support-grid strong {
  font-size: 18px;
}

.support-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.support-grid > a {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.support-grid > a em {
  position: absolute;
  right: 34px;
  font-style: normal;
}

.site-footer {
  padding-bottom: 0;
  background: #11151e;
  color: #929aa8;
}

.footer-top {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  font-size: 12px;
}

.footer-top strong {
  color: #fff;
}

.footer-main {
  padding: 42px 0 58px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: block;
  margin-bottom: 20px;
  color: #fff;
  font-size: 19px;
}

.footer-main p {
  margin: 5px 0;
  font-size: 11px;
  line-height: 1.6;
}

.footer-main small {
  display: block;
  margin-top: 18px;
  font-size: 10px;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 12px;
}

.mobile-bottom-nav {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 60;
  min-width: 240px;
  padding: 15px 22px;
  border-radius: 10px;
  background: rgba(24, 27, 32, 0.94);
  color: #fff;
  text-align: center;
  font-size: 13px;
  opacity: 0;
  transform: translate(-50%, 15px);
  pointer-events: none;
  transition: 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1023px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .utility,
  .header-actions,
  .main-nav,
  .category-trigger {
    display: none;
  }

  .header-main {
    height: 72px;
    grid-template-columns: 42px 1fr 42px;
    gap: 8px;
  }

  .mobile-menu-button {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .mobile-menu-button span {
    width: 21px;
    height: 2px;
    background: var(--text);
  }

  .brand {
    justify-self: center;
  }

  .brand__mark {
    width: 46px;
    height: 36px;
    font-size: 15px;
  }

  .brand__text strong {
    font-size: 16px;
  }

  .brand__text small {
    font-size: 8px;
  }

  .search {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 12px);
    height: 44px;
    border-width: 1px;
    z-index: 4;
  }

  .nav-shell {
    height: 68px;
    border-top: 0;
  }

  .nav-row {
    display: none;
  }

  .mega-menu {
    display: none;
  }

  .mobile-drawer,
  .drawer-dim {
    display: block;
  }

  .mobile-drawer {
    position: fixed;
    z-index: 80;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(86vw, 370px);
    background: #fff;
    transform: translateX(-103%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

  .mobile-drawer.is-open {
    transform: translateX(0);
  }

  .drawer-dim {
    position: fixed;
    z-index: 70;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .drawer-dim.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-drawer__head {
    min-height: 70px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }

  .mobile-drawer__close {
    border: 0;
    background: transparent;
    font-size: 27px;
  }

  .mobile-login {
    margin: 17px;
    padding: 18px;
    border-radius: 12px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
  }

  .mobile-login span {
    color: var(--brand);
    font-weight: 800;
  }

  .mobile-categories {
    padding: 8px 20px 30px;
  }

  .mobile-categories details,
  .mobile-categories__single {
    border-bottom: 1px solid var(--line);
  }

  .mobile-categories summary,
  .mobile-categories__single {
    min-height: 58px;
    display: flex;
    align-items: center;
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-categories details a {
    display: block;
    padding: 0 0 14px 16px;
    color: var(--muted);
    font-size: 13px;
  }

  .hero-track,
  .hero-slide__inner {
    min-height: 640px;
  }

  .hero-slide__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 60px;
    padding-bottom: 100px;
  }

  .hero-copy {
    align-self: start;
  }

  .hero-visual {
    position: absolute;
    right: 2%;
    bottom: 65px;
    width: 46%;
    height: 300px;
    opacity: 0.82;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-copy p {
    max-width: 58%;
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-grid > div {
    min-height: 100px;
    border-bottom: 1px solid var(--line);
  }

  .service-highlight__grid {
    gap: 45px;
  }

  .service-highlight__visual {
    min-height: 480px;
  }

  .quote-card {
    gap: 40px;
    padding: 42px;
  }

  .support-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-grid > div {
    grid-column: 1 / -1;
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 67px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .top-banner {
    font-size: 11px;
  }

  .top-banner__inner {
    padding-right: 28px;
    justify-content: flex-start;
  }

  .top-banner strong {
    display: none;
  }

  .brand__text small {
    display: none;
  }

  .hero-track,
  .hero-slide__inner {
    min-height: 600px;
  }

  .hero-slide__inner {
    padding-top: 45px;
    padding-bottom: 95px;
    align-items: start;
  }

  .hero-copy h1 {
    margin-top: 16px;
    font-size: 35px;
    line-height: 1.2;
    letter-spacing: -1.7px;
  }

  .hero-copy p {
    max-width: none;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-visual {
    width: 100%;
    height: 245px;
    right: 0;
    bottom: 58px;
    opacity: 0.9;
  }

  .visual-card {
    width: 168px;
    height: 205px;
    padding: 21px;
  }

  .visual-card strong {
    font-size: 21px;
  }

  .orbit-one {
    width: 230px;
    height: 230px;
  }

  .orbit-two {
    width: 180px;
    height: 180px;
  }

  .service-calendar {
    width: 240px;
    min-height: 205px;
    padding: 22px;
  }

  .calendar-grid {
    gap: 9px;
    margin-top: 18px;
  }

  .service-badge {
    width: 62px;
    height: 62px;
    right: 14%;
    top: 7%;
    font-size: 13px;
  }

  .member-card {
    width: 238px;
    height: 150px;
  }

  .member-card--front {
    padding: 21px;
  }

  .member-card--front strong {
    font-size: 20px;
  }

  .hero-controls {
    bottom: 20px;
  }

  .quick-section {
    padding: 58px 0 68px;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 23px;
  }

  .section-heading h2,
  .service-highlight__copy h2,
  .quote-card h2 {
    font-size: 28px;
  }

  .section-heading p,
  .section-heading .text-link {
    display: none;
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .quick-card {
    min-height: 128px;
    padding: 15px 5px;
  }

  .quick-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
    border-radius: 13px;
    font-size: 21px;
  }

  .quick-card strong {
    font-size: 12px;
  }

  .quick-card small {
    font-size: 10px;
  }

  .product-section {
    padding: 68px 0 80px;
  }

  .product-tabs {
    margin: 0 -14px 24px;
    padding: 0 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .product-tabs button {
    white-space: nowrap;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }

  .product-card h3 {
    min-height: 42px;
    font-size: 14px;
  }

  .product-card__desc {
    display: none;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .discount {
    font-size: 13px;
  }

  .price-row strong {
    font-size: 16px;
  }

  .member-price strong {
    font-size: 14px;
  }

  .add-cart {
    min-height: 38px;
    margin-top: 11px;
    font-size: 12px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    padding: 15px 0;
  }

  .benefit-grid > div,
  .benefit-grid > div:first-child {
    min-height: 78px;
    padding: 0;
    border-right: 0;
  }

  .service-highlight {
    padding: 75px 0;
  }

  .service-highlight__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .service-highlight__visual {
    min-height: 380px;
    padding: 24px;
  }

  .service-highlight__copy > p {
    font-size: 14px;
  }

  .review-section {
    padding: 72px 0 78px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card > p {
    min-height: auto;
  }

  .quote-section {
    padding: 70px 0;
  }

  .quote-card {
    width: min(calc(100% - 28px), var(--max-width));
    padding: 30px 22px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-form__wide {
    grid-column: auto;
  }

  .support-grid {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .support-grid > div,
  .support-grid > a {
    min-height: 105px;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .support-grid > div {
    grid-column: auto;
  }

  .footer-top {
    overflow-x: auto;
    white-space: nowrap;
  }

  .footer-main {
    padding-bottom: 40px;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    height: 67px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    position: relative;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }

  .mobile-bottom-nav span {
    font-size: 18px;
    line-height: 1;
  }

  .mobile-bottom-nav small {
    font-size: 9px;
  }

  .mobile-bottom-nav .cart-count {
    top: 5px;
    right: calc(50% - 24px);
  }

  .toast {
    bottom: 82px;
  }
}

/* Supabase 상품 연동 상태 */
.product-loading,
.product-error {
  grid-column: 1 / -1;
  min-height: 260px;
  padding: 48px 24px;
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.product-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.product-loading p,
.product-error {
  margin: 0;
  line-height: 1.7;
}

.product-loading__spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--surface-strong);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: product-loading-spin 0.8s linear infinite;
}

@keyframes product-loading-spin {
  to { transform: rotate(360deg); }
}

.product-error {
  margin: 0;
  color: #a33b31;
}

.product-card__image img {
  object-fit: contain;
  padding: 18px;
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    radial-gradient(circle at 70% 30%, rgba(31, 94, 255, 0.12), transparent 30%),
    linear-gradient(145deg, #ffffff, #eef3ff);
  color: var(--brand);
}

.product-card__placeholder strong {
  font-size: 36px;
  letter-spacing: -1.8px;
}

.product-card__placeholder span {
  color: #7380a0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.product-card h3 {
  overflow-wrap: anywhere;
}

.product-card del.price-spacer {
  text-decoration: none;
}

@media (max-width: 767px) {
  .product-loading,
  .product-error {
    min-height: 190px;
    padding: 34px 18px;
  }

  .product-card__image img {
    padding: 10px;
  }

  .product-card__placeholder strong {
    font-size: 27px;
  }
}

/* 사업자 회원몰 */
.utility-logout {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.utility-logout:hover { color: var(--text); }
.member-price-note {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}
.member-special-price {
  min-height: 66px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.member-special-price__label {
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
}
.member-special-price del {
  min-height: 18px;
  margin-top: 3px;
  color: #a0a5ad;
  font-size: 12px;
}
