@charset "utf-8";

.home {
  --home-blue-top: #126eea;
  --home-blue-mid: #0758cf;
  --home-blue-deep: #073ba8;
  --home-lime: #a8dc19;
  --home-ink: #17202d;
  --home-sub: #68717d;
  --home-paper: #fff;
  --home-soft: #f4f6f8;
  --home-line: rgba(23,32,45,.11);
  overflow: hidden;
  background: #f3f4f6;
  color: var(--home-ink);
}
.home *, .home *::before, .home *::after { box-sizing: border-box; }
.home a, .home button { -webkit-tap-highlight-color: transparent; }
.home-eyebrow {
  display: inline-block;
  color: #337443;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.2;
}
.home-more {
  flex: none;
  color: #69717b;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

/* 공지 바 */
.home-notice {
  display: grid;
  grid-template-columns: auto auto minmax(0,1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 13px;
  background: #073283;
  color: #fff;
  text-decoration: none;
}
.home-notice .material-symbols-outlined { font-size: 17px; color: #c4ea38; }
.home-notice strong { font-size: 11px; white-space: nowrap; }
.home-notice > span:nth-child(3) {
  overflow: hidden;
  color: rgba(255,255,255,.76);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-notice > span:last-child { justify-self: end; color: rgba(255,255,255,.84); }

/* 히어로 */
.home-hero {
  position: relative;
  min-height: 485px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 16%, rgba(38,153,255,.9), transparent 37%),
    linear-gradient(150deg, var(--home-blue-top) 0%, var(--home-blue-mid) 46%, var(--home-blue-deep) 100%);
  color: #fff;
  isolation: isolate;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .21;
  background:
    linear-gradient(125deg, transparent 0 35%, rgba(255,255,255,.18) 35.2% 35.6%, transparent 35.8% 100%),
    linear-gradient(18deg, transparent 0 72%, rgba(255,255,255,.13) 72.1% 72.5%, transparent 72.7% 100%);
}
.home-hero::after {
  content: "";
  position: absolute;
  left: -18%;
  bottom: -42%;
  width: 96%;
  aspect-ratio: 1;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}
.home-hero__copy {
  position: relative;
  z-index: 4;
  width: 62%;
  padding: 45px 0 37px 20px;
}
.home-hero__eyebrow {
  max-width: 220px;
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(12px, 3.7vw, 16px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.25px;
  transform: rotate(-3deg);
}
.home-hero h1 { margin: 0; line-height: .91; letter-spacing: -2.8px; }
.home-hero h1 span,
.home-hero h1 em,
.home-hero h1 strong { display: block; }
.home-hero h1 span {
  padding-left: 3px;
  font-size: clamp(38px, 11.5vw, 62px);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 5px 0 rgba(0,42,128,.16);
}
.home-hero h1 em {
  margin-top: 7px;
  color: var(--home-lime);
  font-size: clamp(42px, 12.8vw, 68px);
  font-style: normal;
  font-weight: 900;
  text-shadow: 0 5px 0 rgba(0,42,128,.14);
}
.home-hero h1 strong {
  margin-top: 10px;
  font-size: clamp(53px, 16.3vw, 89px);
  font-weight: 900;
  letter-spacing: -3.8px;
  text-shadow: 0 5px 0 rgba(0,42,128,.16);
}
.home-hero__desc {
  margin: 21px 0 0;
  color: rgba(255,255,255,.94);
  font-size: clamp(12px, 3.55vw, 15px);
  font-weight: 650;
  line-height: 1.65;
  letter-spacing: -.25px;
}
.home-hero__desc::first-line { color: #fff; }
.home-hero__ray {
  position: absolute;
  height: 1px;
  background: rgba(255,255,255,.2);
  transform-origin: left center;
}
.home-hero__ray--one { width: 260px; left: 7px; bottom: 105px; transform: rotate(-14deg); }
.home-hero__ray--two { width: 225px; right: -84px; top: 158px; transform: rotate(122deg); }
.home-hero__confetti { position: absolute; width: 8px; height: 19px; border-radius: 2px; }
.home-hero__confetti--one { left: 48%; top: 76px; background: #d8f342; transform: rotate(38deg); }
.home-hero__confetti--two { right: 11%; top: 56px; background: #dbe9ff; transform: rotate(-25deg); }
.home-hero__confetti--three { left: 41%; bottom: 80px; background: #59baff; transform: rotate(62deg); }

/* HTML/CSS 휴대폰 목업 */
.home-phone {
  position: absolute;
  right: -34px;
  bottom: -65px;
  z-index: 3;
  width: clamp(190px, 52vw, 294px);
  aspect-ratio: .53;
  transform: rotate(4deg);
  filter: drop-shadow(-16px 22px 22px rgba(0,26,92,.3));
}
.home-phone__side {
  position: absolute;
  inset: 0 -5px 0 8px;
  border-radius: 38px;
  background: linear-gradient(90deg, #0a1831, #0f3a78 60%, #071429);
}
.home-phone__frame {
  position: absolute;
  inset: 0;
  padding: 8px;
  border: 2px solid rgba(255,255,255,.34);
  border-radius: 36px;
  background: #05080d;
}
.home-phone__notch {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 4;
  width: 20%;
  height: 8px;
  border-radius: 999px;
  background: #0b101b;
  transform: translateX(-50%);
}
.home-phone__screen {
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
  background: #fff;
  color: #17202d;
}
.home-phone__head {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) 22px;
  align-items: center;
  min-height: 54px;
  padding: 18px 12px 5px;
  color: #164d31;
}
.home-phone__head .material-symbols-outlined { font-size: 17px; }
.home-phone__head b {
  overflow: hidden;
  font-size: clamp(10px, 3vw, 16px);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-phone__visual {
  position: relative;
  min-height: 43%;
  padding: 32px 16px 18px;
  overflow: hidden;
  background: linear-gradient(155deg, #f7faf9, #e5f1e8);
}
.home-phone__visual small { display: block; color: #55615b; font-size: 8px; }
.home-phone__visual strong {
  display: block;
  width: 70%;
  margin-top: 5px;
  color: #143d2c;
  font-size: clamp(15px, 4.5vw, 23px);
  line-height: 1.08;
  letter-spacing: -1px;
}
.home-phone__visual p {
  width: 63%;
  margin: 10px 0 0;
  color: #68746d;
  font-size: 7px;
  line-height: 1.45;
}
.home-phone__cross {
  position: absolute;
  right: 28px;
  bottom: 31px;
  width: 10px;
  height: 44px;
  border-radius: 2px;
  background: #aa6b31;
  box-shadow: 0 5px 8px rgba(78,47,20,.18);
}
.home-phone__cross::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 10px;
  width: 30px;
  height: 9px;
  border-radius: 2px;
  background: #aa6b31;
}
.home-phone__leaf {
  position: absolute;
  right: 1px;
  bottom: -10px;
  width: 75px;
  height: 90px;
  border-radius: 80% 0 0 0;
  background: rgba(74,142,78,.24);
  transform: rotate(-13deg);
}
.home-phone__leaf--two { right: 28px; bottom: -28px; opacity: .55; transform: rotate(18deg) scale(.72); }
.home-phone__categories {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 4px;
  padding: 14px 8px 10px;
  border-bottom: 1px solid #eef0f2;
}
.home-phone__categories span {
  color: #313942;
  font-size: 6px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
.home-phone__categories i {
  display: block;
  margin-bottom: 4px;
  color: #36526f;
  font-size: clamp(16px, 5vw, 26px);
  font-style: normal;
}
.home-phone__products { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 11px 9px; }
.home-phone__products span { aspect-ratio: .8; border-radius: 7px; background: linear-gradient(155deg,#e9eef3,#f8f4ec); }
.home-phone__products span:nth-child(2) { background: linear-gradient(155deg,#d9e9df,#f8f5ec); }
.home-phone__products span:nth-child(3) { background: linear-gradient(155deg,#e4e0f1,#faf8f2); }

/* 검색은 기능 홍보가 아닌 화면 연결 요소 */
.home-search {
  position: relative;
  z-index: 8;
  padding: 0 16px;
  margin-top: -27px;
}
.home-search button {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 17px 0 20px;
  border: 1px solid rgba(31,42,55,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 14px 32px rgba(26,46,84,.14);
  color: #8a929b;
  text-align: left;
}
.home-search button span:first-child {
  overflow: hidden;
  font-size: 13px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-search .material-symbols-outlined { color: #2c405a; font-size: 25px; }

/* 링크가 아닌 설명 영역 */
.home-renewal { padding: 16px 16px 20px; background: #fff; }
.home-renewal__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0;
  border: 1px solid rgba(23,32,45,.06);
  border-radius: 18px;
  background: #fafbfc;
  overflow: hidden;
}
.home-renewal__item {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 15px 11px;
  border-right: 1px solid #eceff2;
  border-bottom: 1px solid #eceff2;
}
.home-renewal__item:nth-child(2n) { border-right: 0; }
.home-renewal__item:nth-last-child(-n+2) { border-bottom: 0; }
.home-renewal__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef1f4;
  color: #64707c;
  font-size: 17px;
}
.home-renewal__copy { min-width: 0; flex: 1 1 auto; }
.home-renewal h2 { margin: 1px 0 5px; font-size: 12px; line-height: 1.3; letter-spacing: -.25px; }
.home-renewal p { margin: 0; color: #818993; font-size: 9.5px; line-height: 1.48; letter-spacing: -.12px; word-break: keep-all; }

/* 공통 섹션 */
.home-section { margin-top: 10px; padding: 36px 16px 46px; background: #fff; }
.home-section__head { margin-bottom: 21px; }
.home-section__head h2,
.home-nss__head h2,
.home-feedback h2,
.home-brand h2 {
  margin: 7px 0 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.home-section__head p,
.home-nss__head p { margin: 9px 0 0; color: var(--home-sub); font-size: 12px; line-height: 1.55; }

/* 핵심 입구 — 전문관 자체가 궁금해지는 에디토리얼 카드 */
.home-gateways__head { max-width: 470px; }
.home-gateways__featured { display: grid; gap: 18px; align-items: stretch; }
.home-gateway {
  position: relative;
  display: grid;
  grid-template-rows: 210px minmax(0,1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23,32,45,.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 17px 40px rgba(25,38,48,.08);
  color: var(--home-ink);
  text-decoration: none;
  isolation: isolate;
}
.home-gateway__visual {
  position: relative;
  display: block;
  height: 210px;
  min-height: 210px;
  overflow: hidden;
  background: #e9efed;
}
.home-gateway--book .home-gateway__visual { background: #e8dccb; }
.home-gateway--church .home-gateway__visual { background: #7eadaf; }
.home-gateway img {
  display: block;
  width: 100%;
  height: 210px;
  min-height: 210px;
  object-fit: cover;
  transition: transform .45s ease;
}
.home-gateway--book img { object-position: center center; }
.home-gateway--church img { object-position: 50% 42%; }
.home-gateway__number {
  position: absolute;
  left: 15px;
  bottom: -7px;
  color: rgba(255,255,255,.73);
  font-size: clamp(34px, 11vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.home-gateway__edition {
  position: absolute;
  right: 14px;
  top: 14px;
  max-width: 58%;
  color: rgba(255,255,255,.92);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
  text-align: right;
  text-shadow: 0 1px 10px rgba(0,0,0,.22);
}
.home-gateway__copy {
  position: relative;
  display: block;
  min-width: 0;
  padding: 20px 19px 17px;
  background: #fbfaf7;
}
.home-gateway--book .home-gateway__copy { background: #faf6ef; }
.home-gateway--church .home-gateway__copy { background: #f3f7f5; }
.home-gateway__copy small { display: block; color: #557168; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.home-gateway--book .home-gateway__copy small { color: #84694e; }
.home-gateway__copy strong { display: block; margin-top: 8px; font-size: 25px; line-height: 1.15; letter-spacing: -1.15px; }
.home-gateway__copy > span:not(.home-gateway__foot) { display: block; margin-top: 9px; color: #68716d; font-size: 11px; line-height: 1.55; }
.home-gateway__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid rgba(23,32,45,.1);
}
.home-gateway__foot b { font-size: 10px; font-weight: 800; }
.home-gateway__foot i { font-size: 18px; font-style: normal; line-height: 1; }
.home-gateway:active { transform: scale(.995); }
.home-gateways__links {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: 26px;
  border: 1px solid #eceff1;
  border-radius: 16px;
  overflow: hidden;
}
.home-gateways__links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 76px;
  padding: 10px 4px;
  border-right: 1px solid #eef0f2;
  border-bottom: 1px solid #eef0f2;
  color: #4b5560;
  text-align: center;
  text-decoration: none;
}
.home-gateways__links a:nth-child(3n) { border-right: 0; }
.home-gateways__links a:nth-last-child(-n+3) { border-bottom: 0; }
.home-gateways__links .material-symbols-outlined { color: #50715f; font-size: 21px; }
.home-gateways__links strong { font-size: 10px; }

/* 추천 상품 */
.home-nss { margin-top: 10px; padding: 38px 0 42px; background: #f5f4ef; }
.home-nss__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  margin-bottom: 19px;
}
.home-nss__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 42vw);
  gap: 10px;
  padding: 0 16px 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.home-nss__rail::-webkit-scrollbar { display: none; }
.home-nss__rail .c-gc { min-width: 0; scroll-snap-align: start; }
.home-nss__rail .c-gc__img { border-radius: 13px; background: rgba(255,255,255,.82); }
.home-nss__rail .c-gc__name { font-size: 12px; }
.home-nss__rail .c-gc__sale { font-size: 14px; }
.home-nss__rail .home-gc--lead { grid-row: span 1; }

/* 맞춤 서비스 — 밝은 청록 배경과 텍스트 영역 전용 반투명 패널 */
.home-services { background: #2b5b50; color: #fff; }
.home-services .home-eyebrow { color: #d0e5de; }
.home-services .home-section__head p { color: rgba(255,255,255,.78); }
.home-services__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.home-service {
  position: relative;
  min-height: 174px;
  overflow: hidden;
  border-radius: 16px;
  background: #dfe5e1;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.home-service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-service__shade { display: none; }
.home-service__index {
  position: absolute;
  right: 12px;
  top: 11px;
  color: rgba(255,255,255,.94);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  text-shadow: 0 1px 8px rgba(0,0,0,.34);
}
.home-service__copy {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  padding: 6px 12px;
  border-radius: 0px;
  background: rgba(5,24,19,.3);
}
.home-service__copy small { display: block; margin-bottom: 5px; color: rgba(255,255,255,.75); font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.home-service__copy strong { display: block; font-size: 15px; }
.home-service__copy span { display: block; max-width: calc(100% - 20px); margin-top: 0px; color: rgba(255,255,255,.82); font-size: 9px; line-height: 1.45; }
.home-service__copy b { position: absolute; right: 5px; top: 12px; font-size: 17px; }

/* 마무리 */
.home-feedback {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 12px;
  padding: 34px 16px;
  background: #e8f0ed;
}
.home-feedback__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #2c6752; }
.home-feedback h2 { font-size: 20px; }
.home-feedback p { margin: 9px 0 0; color: #66736d; font-size: 11px; line-height: 1.55; }
.home-feedback__actions { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.home-feedback__actions a { min-height: 36px; padding: 9px 12px; border: 1px solid rgba(36,84,65,.18); border-radius: 999px; color: #285943; font-size: 10px; font-weight: 750; text-decoration: none; }
.home-brand {
  position: relative;
  margin-top: 10px;
  padding: 54px 18px 46px;
  overflow: hidden;
  background: #fff;
}
.home-brand__watermark {
  position: absolute;
  right: -18px;
  top: -34px;
  color: #edf0ed;
  font-size: 190px;
  font-weight: 900;
  letter-spacing: -18px;
  line-height: 1;
}
.home-brand__copy { position: relative; z-index: 1; max-width: 340px; }
.home-brand__copy-link { display: block; color: inherit; text-decoration: none; }
.home-brand h2 { margin: 14px 0 0; font-size: 30px; line-height: 1.15; letter-spacing: -1.35px; }
.home-brand p { margin: 14px 0 0; color: var(--home-sub); font-size: 12px; line-height: 1.7; }
.home-brand__facts { position: relative; z-index: 1; display: grid; margin-top: 30px; border-top: 1px solid var(--home-line); }
.home-brand__facts > span,
.home-brand__facts > a { display: grid; grid-template-columns: 30px minmax(0,1fr); min-height: 48px; align-items: center; border-bottom: 1px solid var(--home-line); color: inherit; font-size: 11px; font-weight: 800; text-decoration: none; }
.home-brand__facts b { color: #959a97; font-size: 8px; letter-spacing: .1em; }


/* 아주 좁은 모바일 */
@media (max-width: 359px) {
  .home-hero { min-height: 462px; }
  .home-hero__copy { width: 66%; padding-left: 15px; }
  .home-phone { right: -50px; bottom: -58px; width: 186px; }
  .home-renewal__item { gap: 6px; padding: 13px 8px; }
  .home-renewal__icon { width: 24px; height: 24px; font-size: 15px; }
  .home-renewal h2 { font-size: 11px; }
  .home-renewal p { font-size: 9px; line-height: 1.43; }
}

/* 넓은 모바일과 태블릿, PC 중앙 768px */
@media (min-width: 420px) {
  .home-hero { min-height: 494px; }
  .home-hero__copy { padding-left: 28px; width: 58%; }
  .home-phone { right: -18px; bottom: -86px; width: min(48vw, 280px); }
  .home-search { padding: 0 24px; }
  .home-nss__head, .home-nss__rail { padding-left: 24px; padding-right: 24px; }
  .home-feedback, .home-brand { padding-left: 24px; padding-right: 24px; }
}

/* 폴더블 펼침·넓은 모바일: 안내 설명만 4열로 전환 */
@media (min-width: 600px) {
  .home-renewal__grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-renewal__item { gap: 9px; padding: 17px 12px; border-bottom: 0; }
  .home-renewal__item:nth-child(2n) { border-right: 1px solid #eceff2; }
  .home-renewal__item:last-child { border-right: 0; }
  .home-renewal h2 { font-size: 12px; }
  .home-renewal p { font-size: 10px; }
}

@media (min-width: 600px) {
  .home-notice { min-height: 42px; padding-left: 22px; padding-right: 22px; }
  .home-notice strong { font-size: 12px; }
  .home-hero { min-height: 445px; }
  .home-hero__copy { width: 53%; padding: 45px 0 38px 44px; }
  .home-hero__eyebrow { font-size: 16px; }
  .home-hero h1 span { font-size: 62px; }
  .home-hero h1 em { font-size: 67px; }
  .home-hero h1 strong { font-size: 87px; }
  .home-hero__desc { margin-top: 18px; font-size: 14px; }
  .home-phone { right: 22px; bottom: -90px; width: 265px; }
  .home-search { margin-top: -29px; padding: 0 42px; }
  .home-search button { min-height: 60px; }
  .home-renewal { padding: 20px 28px;}
  .home-renewal h2 { font-size: 13px; }
  .home-section { padding: 40px 28px 50px; }
  .home-gateways__featured { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .home-gateway { grid-template-rows: 225px minmax(0,1fr); }
  .home-gateway__visual, .home-gateway img { height: 225px; min-height: 225px; }
  .home-gateway__copy { min-height: 158px; padding: 22px 20px 18px; }
  .home-gateways__links { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .home-gateways__links a { min-height: 84px; border-bottom: 0; }
  .home-gateways__links a:nth-child(3n) { border-right: 1px solid #eef0f2; }
  .home-gateways__links a:last-child { border-right: 0; }
  .home-nss { padding-top: 46px; padding-bottom: 50px; }
  .home-nss__head, .home-nss__rail { padding-left: 28px; padding-right: 28px; }
  .home-nss__rail { grid-auto-columns: minmax(138px, 1fr); }
  .home-services__grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-service { min-height: 208px; }
  .home-feedback { grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; padding: 40px 28px; }
  .home-feedback__actions { grid-column: auto; justify-content: flex-end; }
  .home-brand { padding-left: 32px; padding-right: 32px; }
  .home-brand__copy { max-width: 380px; }
}

@media (hover: hover) {
  .home-gateway:hover img { transform: scale(1.025); }
}

/* Home에서 Showcase categoryGrid를 인스턴스 섹션으로 사용할 때의 외곽 리듬 */
.home .c-showcase-category-grid.home-category-grid {
  margin: 10px 0 0;
  padding-top: 36px;
  padding-bottom: 40px;
}
.home .home-category-grid .c-showcase-category-grid__head h2 { font-size: 18px; letter-spacing: -1px; }
.home .home-category-grid .c-showcase-category-grid__head p { font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { scroll-behavior: auto !important; }
}


/* 운영 메인 tabbedNss — 설정 배열에 여러 블록을 추가할 수 있음 */
.home .c-nss.home-tabbed-nss {
  margin: 10px 0 0;
  padding-top: 42px;
  padding-bottom: 44px;
}
.home .home-tabbed-nss .c-nss-editorial__head,
.home .home-tabbed-nss .c-nss-tabs__nav,
.home .home-tabbed-nss .c-nss-tabs__panels {
  position: relative;
  z-index: 1;
}

/* 공용 editorial CTA */
.home-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #174d39;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.home-primary-link--dark { background: #403a33; }

/* 시즌 editorial — 대표 기획 + 확장 가능한 보조 카드 */
.home-season {
  position: relative;
  margin-top: 10px;
  padding: 42px 16px 30px;
  overflow: hidden;
  background: #dcebf1;
  isolation: isolate;
}
.home-season__word {
  position: absolute;
  left: -12px;
  top: 18px;
  z-index: -1;
  color: rgba(34,98,119,.09);
  font-size: clamp(68px,22vw,112px);
  font-weight: 900;
  letter-spacing: -6px;
  line-height: .8;
}
.home-season__copy { position: relative; z-index: 2; max-width: 420px; }
.home-season__copy h2 {
  margin: 15px 0 0;
  font-size: 31px;
  line-height: 1.18;
  letter-spacing: -1.45px;
}
.home-season__copy p { margin: 13px 0 0; color: #5f6d72; font-size: 12px; line-height: 1.6; }
.home-season-feature {
  position: relative;
  display: grid;
  margin-top: 27px;
  overflow: hidden;
  border: 1px solid rgba(34,98,119,.1);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 48px rgba(33,76,91,.13);
  color: #26383e;
  text-decoration: none;
}
.home-season-feature__visual {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 18%,rgba(255,255,255,.8),transparent 35%),
    linear-gradient(145deg,#cbdfe7,#edf5f7);
}
.home-season-feature__image {
  position: absolute;
  display: block;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 20px 38px rgba(33,76,91,.18);
}
.home-season-feature__image--1 {
  left: 8%;
  bottom: 20px;
  width: 47%;
  height: 205px;
  border-radius: 17px;
  transform: rotate(-6deg);
}
.home-season-feature__image--2 {
  right: -1%;
  bottom: 38px;
  width: 43%;
  height: 174px;
  border-radius: 20px 0 0 20px;
  transform: rotate(7deg);
}
.home-season-feature__image--3 {
  right: 28%;
  top: 17px;
  width: 29%;
  height: 112px;
  border-radius: 14px;
  transform: rotate(2deg);
}
.home-season-feature__mark {
  position: absolute;
  right: 13px;
  bottom: 10px;
  color: rgba(34,98,119,.6);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
  text-align: right;
}
.home-season-feature__copy { display: block; padding: 19px 18px 18px; }
.home-season-feature__copy small { display: block; color: #39758a; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.home-season-feature__copy strong { display: block; margin-top: 7px; font-size: 23px; line-height: 1.2; letter-spacing: -.9px; }
.home-season-feature__copy > span { display: block; margin-top: 7px; color: #68777c; font-size: 11px; line-height: 1.5; }
.home-season-feature__copy b { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 12px; border-top: 1px solid rgba(34,98,119,.14); font-size: 10px; }
.home-season-feature__copy i { font-size: 17px; font-style: normal; }
.home-season-items {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(205px,70vw);
  gap: 9px;
  margin: 11px -16px 0;
  padding: 0 16px 4px;
  overflow-x: auto;
  scroll-padding-inline: 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.home-season-items::-webkit-scrollbar { display: none; }
.home-season-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 88px;
  padding: 11px 12px;
  border: 1px solid rgba(34,98,119,.12);
  border-radius: 17px;
  background: rgba(255,255,255,.54);
  color: #29444e;
  text-decoration: none;
  scroll-snap-align: start;
}
.home-season-item__no { position: absolute; right: 11px; top: 8px; color: rgba(34,98,119,.3); font-size: 7px; font-weight: 900; }
.home-season-item__media { display: grid; place-items: center; width: 42px; height: 52px; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.78); }
.home-season-item__media img { width: 100%; height: 100%; object-fit: cover; }
.home-season-item__media.is-icon .material-symbols-outlined { color: #39758a; font-size: 23px; }
.home-season-item__copy { min-width: 0; }
.home-season-item__copy strong { display: block; font-size: 12px; }
.home-season-item__copy span { display: block; margin-top: 4px; color: #6f7d82; font-size: 9px; line-height: 1.4; }
.home-season-item > i { align-self: end; font-size: 15px; font-style: normal; }

/* BIBLE Showcase: 기존 카테고리 모양 + 축소형 NSS 상품 레일 */
.home-bible.c-nss.c-nss--tabs.c-nss--editorial {
  --nss-ed-paper: #e9e0d0;
  --nss-ed-ink: #28231f;
  --nss-ed-sub: #675f56;
  --nss-ed-accent: #8b5d2d;
  --nss-ed-line: rgba(60,51,41,.16);
  display: grid;
  margin-top: 10px;
  padding: 42px 0 42px;
  overflow: hidden;
  background: var(--nss-ed-paper);
}
.home-bible__copy {
  position: relative;
  z-index: 2;
  padding: 0 18px;
}
.home-bible__header { display: block; }
.home-bible__header.has-number {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  align-items: start;
  gap: 10px;
}
.home-bible__number { min-width: 0; }
.home-bible__showcase-head {
  display: block;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.home-bible__showcase-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.home-bible__showcase-label i {
  font-size: 10px;
  font-style: normal;
  transition: transform .18s ease;
}
.home-bible__showcase-head:active .home-bible__showcase-label i { transform: translate(2px,-2px); }
.home-bible__showcase-head:focus-visible {
  outline: 2px solid rgba(73,64,53,.64);
  outline-offset: 6px;
  border-radius: 2px;
}
.home-bible__copy h2 {
  margin: 12px 0 0;
  font-size: 27px;
  line-height: 1.16;
  letter-spacing: -1.15px;
}
.home-bible__copy h2 small { font-size: .55em; font-weight: 700; }
.home-bible__copy p {
  max-width: 350px;
  margin: 11px 0 0;
  color: #675f56;
  font-size: 12px;
  line-height: 1.65;
}
.home-bible__guide {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 0 5px;
  color: #675f56;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}
.home-bible__guide span {
  font-size: 12px;
  transition: transform .18s ease;
}
.home-bible__guide:active span { transform: translateX(2px); }

/* 기존 title 아래의 2열 카테고리 나열 모양을 탭 버튼으로 그대로 사용합니다. */
.home-bible__chips {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin-top: 22px;
  border-top: 1px solid rgba(60,51,41,.16);
}
.home-bible__chip {
  appearance: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(60,51,41,.16);
  border-radius: 0;
  background: transparent;
  color: #4f4942;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.home-bible__chip:nth-child(odd) { border-right: 1px solid rgba(60,51,41,.16); }
.home-bible__chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 2px;
}
.home-bible__chip i {
  flex: 0 0 auto;
  margin: 0 2px;
  color: rgba(79,73,66,.48);
  font-size: 12px;
  font-style: normal;
  transition: transform .18s ease, color .18s ease;
}
.home-bible__chip.is-active,
.home-bible__chip[aria-selected="true"] {
  background: rgba(255,255,255,.34);
  color: #29241f;
}
.home-bible__chip.is-active i,
.home-bible__chip[aria-selected="true"] i {
  color: #29241f;
  transform: translateX(2px);
}
.home-bible__chip.is-active > span::after,
.home-bible__chip[aria-selected="true"] > span::after {
  content: '바로가기';
  margin-left: 5px;
  color: #7a5a35;
  font-weight: 700;
}
.home-bible__chip:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid rgba(73,64,53,.64);
  outline-offset: -2px;
}

.home-bible__visual {
  position: relative;
  min-width: 0;
  margin: 22px 14px 0;
  overflow: visible;
  background: transparent;
}
/* 성경 섹션의 원래 베이지 바탕(#e9e0d0)은 그대로 보이게 두고,
 * 상품 NSS 부분만 한 톤 더 밝은 아이보리 면으로 구분합니다. */
.home-bible__surface {
  min-width: 0;
  padding: 22px 0 14px;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #f6f1e8;
  box-shadow: none;
}
.home-bible__panels,
.home-bible__panel { min-width: 0; }
.home-bible__panel { position: relative; }

/*
 * 성경 상품은 공용 editorial NSS 카드/레일을 재사용합니다.
 * 상품 수는 launch-2026.php의 bible.limit 또는 category.limit가 결정하며,
 * 레일 높이는 늘리지 않고 가로 스크롤하고 마지막에 전체보기 카드가 붙습니다.
 */
/*
 * 공용 tabbed editorial 레일은 .c-nss-container의 16px 여백을 상쇄하려고
 * margin-inline:-16px을 사용합니다. 성경 NSS는 그 컨테이너 구조가 아니므로
 * 음수 마진을 제거하고 실제 안쪽 여백을 직접 확보합니다.
 */
.home-bible.c-nss.c-nss--tabs.c-nss--editorial .c-nss-wrapper.home-bible__track {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 12px;
  margin-inline: 0;
  padding: 0 16px 6px;
  scroll-padding-inline: 16px;
}
/* 상품 카드 출력은 Showcase/Home 공용 editorial tabbedNss 규격을 그대로 따릅니다.
 * 브랜드·상품명·할인율·판매가·적립금과 레일 끝 더보기 카드를 같은 형태로 유지합니다. */
.home-bible .home-bible__more-card {
  background: rgba(255,255,255,.48);
  border-color: rgba(60,51,41,.14);
  color: #4f4942;
}
.home-bible .home-bible__more-card i { color: #8b5d2d; }
.home-bible .home-bible__panel-more {
  order: 2;
  justify-content: center;
  margin: 14px 0 0;
  padding: 0;
}
.home-bible .home-bible__panel-more a {
  justify-content: center;
  color: #5f574f;
  padding-right: 5px;
}

/* DB 결과가 비어도 기존 성경책 이미지로 섹션의 형태를 유지합니다. */
.home-bible__fallback {
  position: relative;
  min-height: 265px;
  margin: 0 18px;
}
.home-bible__fallback-books { position: relative; min-height: 235px; }
.home-bible__fallback-book {
  position: absolute;
  width: 170px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(57,48,39,.18));
  mix-blend-mode: multiply;
}
.home-bible__fallback-book--one {
  left: 50%;
  bottom: 4px;
  z-index: 2;
  transform: translateX(-68%) rotate(-5deg);
}
.home-bible__fallback-book--two {
  left: 50%;
  bottom: 12px;
  transform: translateX(-20%) rotate(5deg);
}
.home-bible__fallback-more {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  color: #5f574f;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .home-bible__showcase-head:hover .home-bible__showcase-label i { transform: translate(2px,-2px); }
  .home-bible__guide:hover span,
  .home-bible__fallback-more:hover span { transform: translateX(2px); }
}

@media (min-width: 480px) {
  .home-season-items { grid-auto-columns: minmax(220px,48vw); }
}

@media (min-width: 720px) {
  .home-season { padding: 58px 32px 40px; }
  .home-season-feature { grid-template-columns: 1.2fr .8fr; min-height: 310px; }
  .home-season-feature__visual { min-height: 310px; }
  .home-season-feature__copy { display: flex; flex-direction: column; justify-content: center; padding: 28px 24px; }
  .home-season-items { grid-auto-flow: row; grid-template-columns: repeat(3,minmax(0,1fr)); margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; overflow: visible; }
  .home-season-item { min-height: 94px; }
  .home-bible.c-nss.c-nss--tabs.c-nss--editorial {
    grid-template-columns: minmax(250px,.82fr) minmax(0,1.18fr);
    gap: 18px;
    padding: 42px 0 46px;
  }
  .home-bible__copy { padding-left: 32px; padding-right: 8px; }
  .home-bible__copy h2 { font-size: 30px; }
  .home-bible__visual {
    align-self: center;
    margin: 0 32px 0 0;
  }
  .home-bible.c-nss.c-nss--tabs.c-nss--editorial .c-nss-wrapper.home-bible__track {
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }
  .home-bible .home-bible__panel-more {
    padding-left: 0;
    padding-right: 0;
  }
  .home-bible__fallback { margin-left: 18px; margin-right: 18px; }
}
