@charset "utf-8";
/* =========================================================
   삼신담 메인 (Figma: 삼신담 반응형 동화책 홈페이지)
   ========================================================= */

:root {
    --sd-ink: #2e2b26;
    --sd-green: #482e29;
    --sd-green-deep: #3f2b27;
    --sd-sage: #826e6a;
    --sd-body: #615d56;
    --sd-muted: #736e64;
    --sd-cream: #fffdf8;
    --sd-line: #d9d2c5;
    --sd-serif: "Noto Serif KR", "Nanum Myeongjo", serif;
    --sd-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    --sd-header-h: 84px;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sd-cream); }

.sd, .sd * { box-sizing: border-box; }
.sd {
    font-family: var(--sd-sans);
    color: var(--sd-ink);
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
    overflow-x: clip;
}
/* 초기화는 :where() 로 우선순위 0 → 아래 컴포넌트 여백이 항상 이김 */
:where(.sd) :where(h1, h2, h3, p, ul, ol, li, figure) { margin: 0; padding: 0; }
:where(.sd) :where(ul, ol) { list-style: none; }
:where(.sd) :where(a) { color: inherit; text-decoration: none; }
:where(.sd) :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.sd) :where(img) { max-width: none; border: 0; }
/* 영카트 기본 CSS(p { word-break: break-all })보다 우선 */
.sd :where(h1, h2, h3, p, li, a, span, strong, button, time) { word-break: keep-all; overflow-wrap: break-word; }
/* 영카트 기본 #container 폭 고정 해제 */
.sd .sd-main { width: auto; max-width: none; min-width: 0; margin: 0; padding: 0; float: none; }
.sd [id^="sd-"] { scroll-margin-top: var(--sd-header-h); }
.sd :focus-visible { outline: 2px solid var(--sd-green); outline-offset: 3px; }

.sd-container { width: min(1300px, 100% - 48px); margin: 0 auto; position: relative; }
.sd-section { position: relative; overflow: hidden; }
.sd-center { display: flex; justify-content: center; }
.sd-ico { display: block; flex: none; }

/* 공통 타이포 */
.sd-eyebrow {
    font-size: 13px; line-height: 19.5px; font-weight: 700;
    color: var(--sd-sage); letter-spacing: .14em;
}
.sd-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sd-head__title {
    padding-top: 14px;
    font-family: var(--sd-serif); font-weight: 600;
    font-size: 44px; line-height: 1.3; letter-spacing: -.045em;
    color: var(--sd-ink);
}
.sd-head__desc { padding-top: 12px; font-size: 16px; line-height: 28.8px; color: var(--sd-muted); }

/* 버튼 */
.sd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 26px;
    min-height: 52px; padding: 0 24px;
    border: 1px solid var(--sd-green); border-radius: 4px;
    font-size: 15px; line-height: 22.5px; font-weight: 700;
    transition: background-color .2s, color .2s, transform .2s;
}
.sd-btn--solid { background: var(--sd-green); color: #fff !important; }
.sd-btn--solid:hover { background: var(--sd-green-deep); }
.sd-btn--line { color: var(--sd-green) !important; }
.sd-btn--line:hover { background: rgba(72,46,41,.06); }
.sd-btn--brown {
    gap: 12px; min-height: 50px; min-width: 180px; padding: 0 24px;
    border-color: #9a887a; border-radius: 3px;
    font-size: 16px; line-height: 24px; color: #65584e !important;
}
.sd-btn--brown:hover { background: rgba(154,136,122,.1); }

/* 장식 */
.sd-sprig { position: absolute; pointer-events: none; overflow: hidden; }
.sd-sprig__leaves { position: absolute; top: 13.75%; right: 31.82%; bottom: 11.25%; left: 9.09%; width: auto; height: auto; }
.sd-sprig__leaves { width: calc(100% - 31.82% - 9.09%); height: calc(100% - 13.75% - 11.25%); }
.sd-sprig__berry { position: absolute; top: 15.63%; left: 64.54%; width: calc(100% - 64.54% - 26.59%); height: calc(100% - 15.63% - 74.69%); }
.sd-butterfly { position: absolute; pointer-events: none; }

/* ---------- 헤더 ---------- */
.sd-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,253,248,.94);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(70,64,52,.13);
}
.sd-header__inner {
    width: min(1320px, 100% - 48px); height: 83px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    position: relative;
}
.sd-brand {
    display: flex; align-items: center; gap: 11px;
    width: max-content; flex: none; color: var(--sd-green);
}
/* 로고는 투명 PNG 를 마스크로 써서 색을 CSS 로 바꿈 (푸터는 밝은 색) */
.sd-brand__mark, .sd-brand__name {
    display: block; background-color: currentColor;
    -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.sd-brand__mark {
    width: 48px; height: 49px;
    -webkit-mask-image: url(../img/brand/logo-mark.png); mask-image: url(../img/brand/logo-mark.png);
}
.sd-brand__text { display: flex; flex-direction: column; gap: 6px; }
.sd-brand__name {
    width: 84px; height: 27px; overflow: hidden; text-indent: -999px; white-space: nowrap;
    -webkit-mask-image: url(../img/brand/logo-word.png); mask-image: url(../img/brand/logo-word.png);
}
.sd-brand__tag {
    font-size: 11px; line-height: 14px; letter-spacing: .3px; opacity: .85; white-space: nowrap;
}
.sd-brand--light { color: #f4f0e7; }
@media (max-width: 860px) {
    .sd-brand { gap: 9px; }
    .sd-brand__mark { width: 40px; height: 41px; }
    .sd-brand__name { width: 72px; height: 23px; }
    .sd-brand__text { gap: 4px; }
    .sd-brand__tag { font-size: 10px; line-height: 12px; }
}

.sd-nav { display: flex; gap: 40px; position: absolute; left: 50%; transform: translateX(-50%); }
.sd-nav a { padding: 9px 0; font-size: 14px; line-height: 21px; color: var(--sd-ink); white-space: nowrap; }
.sd-nav a:hover { color: var(--sd-green); }

.sd-util { display: flex; align-items: center; gap: 20px; }
.sd-nav .sd-nav__auth { display: none; }
.sd-util__text { color: var(--sd-muted); }
.sd-util__cart > span { padding-left: 4px; }
.sd-util__text:hover { color: var(--sd-green); }
.sd-util__link { position: relative; display: flex; align-items: center; gap: 7px; font-size: 12px; line-height: 18px; white-space: nowrap; }
.sd-util__count {
    position: absolute; left: 9px; top: -8px; box-shadow: 0 0 0 2px var(--sd-cream);
    min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
    background: var(--sd-green); color: #fff;
    font-size: 9px; line-height: 16px; font-style: normal; text-align: center;
}
.sd-menu-btn { display: none; width: 36px; height: 36px; position: relative; }
.sd-menu-btn span { position: absolute; left: 8px; right: 8px; height: 2px; border-radius: 1px; background: var(--sd-ink); transition: transform .2s, opacity .2s; }
.sd-menu-btn span:nth-child(1) { top: 11px; }
.sd-menu-btn span:nth-child(2) { top: 17px; }
.sd-menu-btn span:nth-child(3) { top: 23px; }
.sd-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sd-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sd-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 히어로 ---------- */
.sd-hero { position: relative; background: var(--sd-cream); padding-bottom: 6px; }
.sd-hero__inner {
    width: min(1300px, 100% - 48px); min-height: 760px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 514.8fr) minmax(0, 655.2fr); gap: 30px; align-items: center;
}
.sd-hero__copy { padding-bottom: 24px; }
.sd-hero__title {
    padding-top: 22px;
    font-family: var(--sd-serif); font-weight: 600;
    font-size: 58px; line-height: 78.3px; letter-spacing: -.055em; color: var(--sd-ink);
}
.sd-hero__title > span { display: block; white-space: nowrap; }
.sd-hero__accent { position: relative; width: fit-content; margin-top: 6px; color: var(--sd-green); }
.sd-hero__accent img { position: absolute; left: 0; top: calc(100% + 3px); width: 445.7px; max-width: 100%; height: 8px; }
.sd-hero__lead { padding-top: 22px; min-height: 85px; font-size: 17px; line-height: 31.45px; color: var(--sd-body); }
.sd-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 34px; }
.sd-hero__prices { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 24px; }
.sd-hero__prices li { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 18px; color: #777269; }

.sd-hero__art { position: relative; height: 610px; }
.sd-hero__frame {
    position: absolute; left: 11.48%; top: 42px; width: 90.05%; height: 500px;
    background: #edf1df; overflow: hidden;
    box-shadow: 0 24px 50px rgba(69,61,45,.1);
}
.sd-hero__frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(95,71,67,.12); }
.sd-hero__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-hero__cover {
    position: absolute; width: 140px; height: 180px; object-fit: cover;
    border: 6px solid #fffdf8; border-radius: 3px 7px 7px 3px;
    box-shadow: -10px 15px 24px rgba(55,46,33,.18);
}
.sd-hero__cover--premium { left: 80.74%; top: calc(347px + 4px); transform: rotate(8deg); }
.sd-hero__cover--modular { left: 67.8%; top: calc(347px + 65px); transform: rotate(-7deg); }
.sd-sprig--hero { width: 210px; height: 152.7px; left: -8px; top: 435px; opacity: .8; transform: rotate(-19deg); }
.sd-butterfly--hero { width: 42px; height: 30.8px; left: 90.5%; top: 78px; transform: rotate(18deg); }

.sd-scroll {
    position: absolute; left: 50%; bottom: 25px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: 8px; line-height: 12px; letter-spacing: 1.6px; color: #8e887d;
}
.sd-scroll i { width: 1px; height: 28px; background: #9e988d; }

/* ---------- 상품 ---------- */
/* 홍보 영상 — 화면을 꽉 채우지 않도록 폭 제한 */
.sd-film { background: var(--sd-cream); padding: 72px 0 120px; }
.sd-film__box {
    position: relative; width: min(880px, 100%); margin: 40px auto 0;
    aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #e9e2d6;
    box-shadow: 0 24px 48px -20px rgba(72,46,41,.35);
}
.sd-film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sd-film__sound {
    position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 15px 9px 12px; border: 0; border-radius: 999px; cursor: pointer;
    background: rgba(255,253,248,.9); color: var(--sd-green); font: 600 13px/1 var(--sd-sans);
    box-shadow: 0 4px 12px rgba(0,0,0,.12); transition: background .2s;
}
.sd-film__sound:hover { background: #fff; }
.sd-film__ico {
    width: 18px; height: 18px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4V5z' fill='%23000'/%3E%3Cpath d='m17 9 5 6M22 9l-5 6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4V5z' fill='%23000'/%3E%3Cpath d='m17 9 5 6M22 9l-5 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sd-film__sound[aria-pressed="true"] .sd-film__ico {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4V5z' fill='%23000'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4V5z' fill='%23000'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E");
}
@media (max-width: 860px) {
    .sd-film { padding: 48px 0 80px; }
    .sd-film__box { margin-top: 28px; border-radius: 12px; }
    .sd-film__sound { right: 10px; top: 10px; bottom: auto; padding: 7px 12px 7px 10px; font-size: 12px; }
}

.sd-products { background: #f8f4eb; padding: 128px 0 140px; }
.sd-products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 48px; }
.sd-product {
    display: flex; flex-direction: column; min-height: 625px; padding: 28px;
    border-radius: 8px; background: #f2ecdc;
}
.sd-product--modular { background: #f2ece4; }
.sd-product--premium { background: #f8e9e2; }
.sd-product__media {
    position: relative; height: 225px; margin-bottom: 28px; overflow: hidden;
    border-radius: 4px; background: rgba(255,255,255,.66);
}
.sd-product__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.sd-product:hover .sd-product__media img { transform: scale(1.03); }
.sd-product__badge {
    position: absolute; left: 15px; top: 15px;
    display: inline-flex; align-items: center; height: 31px; padding: 0 12px; border-radius: 99px;
    background: rgba(255,253,248,.92);
    font-size: 12px; line-height: 20px; font-weight: 800; letter-spacing: 1.17px; color: var(--sd-green);
}
.sd-product__overlay {
    position: absolute; font-family: var(--sd-serif); font-weight: 600; color: #4e493f;
    font-size: 22px; line-height: 31.9px; letter-spacing: -.04em;
}
.sd-product--experience .sd-product__overlay { left: 0; right: 0; top: 174px; text-align: center; font-size: 19px; line-height: 27.55px; }
.sd-product--modular .sd-product__overlay { left: 47.6%; top: 27px; width: 157px; }
.sd-product--premium .sd-product__overlay { left: 50%; top: 42px; width: 193px; transform: translateX(-50%); text-align: center; }
.sd-product__name {
    padding: 16px 0 10px;
    font-family: var(--sd-serif); font-weight: 600; font-size: 24px; line-height: 36px; letter-spacing: -.04em;
}
.sd-product__price { font-family: var(--sd-serif); font-weight: 700; font-size: 21px; line-height: 31.5px; color: var(--sd-green); }
.sd-product__desc { min-height: 86px; padding: 12px 0 26px; font-size: 15px; line-height: 25.5px; color: #625e57; }
.sd-product__more {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 52px; padding: 0 20px;
    border: 1px solid var(--sd-green); border-radius: 3px;
    font-size: 16px; line-height: 24px; font-weight: 700; color: var(--sd-green) !important;
    transition: background-color .2s;
}
.sd-product__more:hover { background: rgba(255,255,255,.5); }

/* ---------- 제작 사례 ---------- */
.sd-cases { background: #fffdf9; padding: 130px 0; }
.sd-sprig--cases { width: 280px; height: 203.6px; right: -50px; top: 25px; opacity: .45; transform: rotate(23deg); }
.sd-pills {
    display: flex; gap: 4px; width: fit-content; margin: 48px auto 0; padding: 5px;
    border-radius: 999px; background: #fff;
    border: 1px solid rgba(72,46,41,.1); box-shadow: 0 1px 2px rgba(72,46,41,.04);
}
.sd-pills button {
    min-width: 100px; min-height: 42px; padding: 0 22px; border-radius: 999px;
    font-size: 14px; line-height: 20px; font-weight: 600; color: #6c5f5d;
    transition: background-color .2s, color .2s, box-shadow .2s;
}
.sd-pills button:hover:not(.is-active) { color: var(--sd-green); background: #f5f2ee; }
.sd-pills button.is-active {
    background: var(--sd-green); color: #fff; font-weight: 700;
    box-shadow: 0 4px 12px rgba(72,46,41,.22);
}
.sd-pills button:focus-visible { outline: 2px solid var(--sd-green); outline-offset: 2px; }
.sd-cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 42px; }
.sd-case {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fffdf8; border: 1px solid #e2ddd3; border-radius: 7px;
}
.sd-case[hidden] { display: none; }
.sd-case__media { position: relative; height: 230px; overflow: hidden; }
.sd-case__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-case__label {
    position: absolute; right: 8px; bottom: 13px; padding: 7px 10px; border-radius: 2px;
    background: rgba(255,253,248,.9);
    font-size: 10px; line-height: 15px; font-weight: 600; color: #7b756c;
}
.sd-case__body { display: flex; flex-direction: column; flex: 1; padding: 25px 25px 22px; }
.sd-case__tags { display: flex; gap: 7px; }
.sd-case__tags span {
    padding: 5px 9px; border-radius: 99px; background: #efede7;
    font-size: 10px; line-height: 15px; font-weight: 700; color: #756765;
}
.sd-case__title { padding-top: 17px; font-family: var(--sd-serif); font-weight: 400; font-size: 21px; line-height: 31.5px; }
.sd-case__desc { min-height: 44px; padding-top: 9px; font-size: 13px; line-height: 22.1px; color: var(--sd-muted); }
.sd-case__open {
    margin-top: auto; width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 48px; margin-top: 20px; border-top: 1px solid var(--sd-line) !important;
    font-size: 13px; line-height: 19.5px; font-weight: 700; color: var(--sd-green) !important;
}
.sd-case__open .sd-ico { transition: transform .2s; }
.sd-case__open:hover .sd-ico { transform: translateX(3px); }

/* ---------- 후기 ---------- */
.sd-reviews { background: #f2e5dc; padding: 125px 0; }
.sd-reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 48px 0 35px; }
.sd-review {
    display: flex; flex-direction: column; gap: 20px; padding: 32px 34px 28px;
    background: #fffdf8; border: 1px solid rgba(88,71,55,.12); border-radius: 12px;
}
.sd-review__head { display: flex; align-items: center; gap: 14px; }
.sd-review__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #e8d8cc; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(88,71,55,.12); }
.sd-review__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; scale: 1.06; }
.sd-review__stars { color: #f2b93b; font-size: 15px; line-height: 18px; letter-spacing: 2px; }
.sd-review__stars i { color: #e5ddd0; font-style: normal; }
.sd-review__label { margin-top: 4px; font-size: 12px; line-height: 16px; font-weight: 700; color: #7c6f65; }
.sd-review__text {
    position: relative; flex: 1; margin: 0; padding: 0 0 0 26px;
    font-family: var(--sd-serif); font-size: 17px; line-height: 1.8; color: var(--sd-ink); letter-spacing: -.01em;
}
.sd-review__text::before {
    content: "\201C"; position: absolute; left: -2px; top: -10px;
    font-family: Georgia, var(--sd-serif); font-size: 46px; line-height: 1; color: #d7c3b3;
}
.sd-review__meta {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding-top: 16px; border-top: 1px solid rgba(88,71,55,.1);
    font-size: 12px; line-height: 16px; color: #8a7e74;
}
.sd-review__meta b { color: #665d55; font-weight: 700; }

/* ---------- 제작 과정 ---------- */
.sd-process { background: #f2ece4; padding: 130px 0 120px; }
.sd-seg {
    display: flex; gap: 4px; width: fit-content; margin: 28px auto 0; padding: 5px;
    border-radius: 999px; background: rgba(255,255,255,.55);
    border: 1px solid rgba(72,46,41,.08); box-shadow: 0 1px 2px rgba(72,46,41,.04);
}
.sd-seg button {
    min-height: 42px; padding: 0 24px; border-radius: 999px;
    font-size: 14px; line-height: 20px; font-weight: 600; color: #6c5f5d;
    transition: background .2s, color .2s, box-shadow .2s;
}
.sd-seg button:hover:not(.is-active) { color: var(--sd-green); background: rgba(255,255,255,.7); }
.sd-seg button.is-active { background: var(--sd-green); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(72,46,41,.22); }
.sd-seg button:focus-visible { outline: 2px solid var(--sd-green); outline-offset: 2px; }
.sd-steps { display: grid; grid-template-columns: repeat(var(--sd-cols, 6), 1fr); margin-top: 60px; }
.sd-steps[hidden], .sd-proc-panel[hidden] { display: none; }
.sd-step {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
    min-height: 235px; padding: 25px 12px;
    border-left: 1px solid rgba(72,46,41,.18);
}
.sd-step:last-child { border-right: 1px solid rgba(72,46,41,.18); }
.sd-step:not(:last-child)::after {
    content: "→"; position: absolute; right: -7.3px; top: 72px; width: 14.6px;
    background: #f2ece4; color: #8c7773; font-size: 16px; line-height: 24px; text-align: center;
}
.sd-step__no { position: absolute; left: 21px; top: 0; transform: translateX(-50%); font-family: var(--sd-serif); font-size: 12px; line-height: 18px; color: rgba(72,46,41,.35); }
.sd-step__icon {
    display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
    background: rgba(255,255,255,.52);
    font-family: var(--sd-serif); font-size: 14px; line-height: 21px; color: var(--sd-green);
}
.sd-step__title { padding-top: 24px; font-family: var(--sd-serif); font-weight: 400; font-size: 15px; line-height: 21.75px; }
.sd-step__desc { padding-top: 9px; font-size: 12px; line-height: 19.8px; color: #6e766d; }
.sd-process__note { padding-top: 25px; text-align: center; font-size: 11px; line-height: 16.5px; color: #7a8178; }

/* ---------- FAQ ---------- */
.sd-faq { background: #fffdf8; padding: 130px 0; }
.sd-faq__inner { display: grid; grid-template-columns: minmax(0, 354.25fr) minmax(0, 735.75fr); gap: 110px; align-items: start; }
.sd-faq__head .sd-head__title { padding-top: 16px; }
.sd-faq__head .sd-head__desc { padding-top: 10px; }
.sd-textlink {
    display: inline-flex; align-items: center; gap: 28px; margin-top: 30px; padding-bottom: 6px;
    border-bottom: 1px solid var(--sd-green);
    font-size: 13px; line-height: 19.5px; font-weight: 700; color: var(--sd-green) !important;
}
.sd-faq__list { border-top: 1px solid var(--sd-line); }
.sd-faq__item { border-bottom: 1px solid var(--sd-line); }
.sd-faq__q {
    width: 100%; min-height: 76px; padding: 0 5px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
    font-size: 15px; line-height: 22.5px; color: var(--sd-ink);
}
.sd-faq__q span { display: flex; align-items: center; gap: 22px; }
.sd-faq__q i { font-family: var(--sd-serif); font-weight: 700; font-style: normal; color: #94817d; }
.sd-faq__q img { flex: none; transition: transform .25s; }
.sd-faq__item.is-open .sd-faq__q img { transform: rotate(45deg); }
.sd-faq__a > div { padding: 0 50px 25px; font-size: 13px; line-height: 23.4px; color: #706b63; }
.sd-faq__a p { margin: 0; }

/* ---------- CTA ---------- */
.sd-cta { position: relative; overflow: hidden; background: #f4ede4; min-height: 460px; padding: 119px 24px 76px; text-align: center; }
.sd-sprig--cta-left { width: 330px; height: 240px; left: -20px; top: 245px; opacity: .56; }
.sd-sprig--cta-right { width: 330px; height: 240px; right: -20px; top: -10px; opacity: .56; transform: rotate(168deg) scaleY(-1); }
.sd-butterfly--cta { width: 40px; height: 29.3px; left: calc(50% - 20px); top: 6px; transform: rotate(14deg); }
.sd-cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.sd-cta__title {
    padding-top: 20px;
    font-family: var(--sd-serif); font-weight: 600; font-size: 38px; line-height: 55.1px; letter-spacing: -.04em;
}
.sd-cta__desc { padding: 14px 0 28px; font-size: 14px; line-height: 21px; color: #6d746b; }

/* ---------- 푸터 ---------- */
.sd-footer { background: var(--sd-green-deep); padding: 70px 0 24px; color: rgba(255,255,255,.7); }
.sd-footer__inner {
    width: min(1300px, 100% - 48px); margin: 0 auto;
    display: grid; grid-template-columns: 650fr 230fr 180fr; gap: 70px;
}
.sd-footer__about p { padding-top: 22px; font-size: 14px; line-height: 24px; }
.sd-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 20px; }
.sd-footer__col strong { padding-bottom: 6px; font-size: 16px; line-height: 22px; color: #fff; }
.sd-footer__col a:hover, .sd-footer__links a:hover { color: #fff; }
.sd-footer__bottom {
    width: min(1300px, 100% - 48px); margin: 50px auto 0; padding-top: 22px;
    display: flex; justify-content: space-between; gap: 20px;
    border-top: 1px solid rgba(255,255,255,.13);
    font-size: 12px; line-height: 20px;
}
.sd-footer__biz span + span::before { content: "·"; margin: 0 6px; }
.sd-footer__links { display: flex; gap: 20px; white-space: nowrap; }
.sd-footer b { color: rgba(255,255,255,.85); }

/* ---------- 라이트박스 ---------- */
.sd-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.sd-lightbox[hidden] { display: none; }
.sd-lightbox__dim { position: absolute; inset: 0; background: rgba(63,43,39,.6); }
.sd-lightbox__box {
    position: relative; width: min(880px, 100%); max-height: calc(100vh - 48px); overflow: auto;
    background: var(--sd-cream); border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.sd-lightbox__box img { display: block; width: 100%; height: auto; }
.sd-lightbox__box figcaption { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px 26px; }
.sd-lightbox__box strong { font-family: var(--sd-serif); font-weight: 600; font-size: 22px; }
.sd-lightbox__box span { font-size: 14px; color: var(--sd-muted); }
.sd-lightbox__close {
    position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,253,248,.9) !important; font-size: 22px !important; line-height: 36px; color: var(--sd-ink);
}

/* ---------- 반응형 ---------- */
@media (max-width: 1240px) {
    .sd-hero__art { transform: scale(.88); transform-origin: left center; }
}
@media (max-width: 1080px) {
    .sd-nav { gap: 24px; }
    .sd-hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 72px 0 96px; gap: 40px; }
    .sd-hero__art { transform: none; width: 655px; max-width: 100%; margin: 0 auto; }
    .sd-scroll { display: none; }
    .sd-products__grid, .sd-cases__grid { grid-template-columns: repeat(2, 1fr); }
    .sd-reviews__grid { grid-template-columns: 1fr; }
    .sd-steps { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
    .sd-step:nth-child(3n) { border-right: 1px solid rgba(72,46,41,.18); }
    .sd-step:nth-child(3n)::after { display: none; }
    .sd-faq__inner { grid-template-columns: 1fr; gap: 40px; }
    .sd-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .sd-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    :root { --sd-header-h: 64px; }
    .sd-header__inner { height: 63px; }
    .sd-menu-btn { display: block; }
    .sd-util { gap: 12px; }
    .sd-util__link span { display: none; }
    .sd-util__text { display: none; }
    .sd-nav.is-open .sd-nav__auth { display: block; color: var(--sd-green); font-weight: 600; }
    .sd-nav {
        position: absolute; left: -24px; right: -24px; top: 63px; transform: none;
        display: none; flex-direction: column; gap: 0; padding: 8px 24px 16px;
        background: var(--sd-cream); border-bottom: 1px solid rgba(70,64,52,.13);
        box-shadow: 0 12px 24px rgba(46,43,38,.06);
    }
    .sd-nav.is-open { display: flex; }
    .sd-nav a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid rgba(70,64,52,.08); }
    .sd-nav a:last-child { border-bottom: 0; }

    .sd-head__title { font-size: 30px; }
    .sd-head__desc { font-size: 14px; line-height: 24px; }
    .sd-hero__inner { padding: 48px 0 72px; }
    .sd-hero__title { font-size: 36px; line-height: 50px; }
    .sd-hero__title > span { white-space: normal; }
    .sd-hero__accent { margin-top: 0; }
    .sd-hero__accent img { width: 100%; }
    .sd-hero__lead { font-size: 15px; line-height: 27px; padding-top: 18px; }
    .sd-hero__actions { padding-top: 26px; }
    .sd-hero__actions .sd-btn { flex: 1 1 160px; gap: 14px; }
    .sd-hero__art { height: 0; padding-bottom: 93%; width: 100%; }
    .sd-hero__frame { left: 4%; top: 0; width: 96%; height: 76%; }
    .sd-hero__cover { width: 26%; height: auto; aspect-ratio: 140 / 180; border-width: 4px; }
    .sd-hero__cover--premium { left: auto; right: 0; top: 54%; }
    .sd-hero__cover--modular { left: auto; right: 22%; top: 62%; }
    .sd-sprig--hero { width: 34%; height: auto; aspect-ratio: 210 / 152.7; left: -6%; top: 66%; }
    .sd-butterfly--hero { left: auto; right: 6%; top: 6%; }

    .sd-products, .sd-cases, .sd-reviews, .sd-process, .sd-faq { padding: 80px 0; }
    .sd-products__grid, .sd-cases__grid { grid-template-columns: 1fr; padding-top: 32px; }
    .sd-product { min-height: 0; padding: 20px; }
    .sd-product__media { height: auto; aspect-ratio: 332 / 225; }
    .sd-product--experience .sd-product__overlay { top: auto; bottom: 22%; }
    .sd-product--modular .sd-product__overlay { font-size: 19px; line-height: 27px; }
    .sd-product__desc { min-height: 0; }
    .sd-pills { margin-top: 32px; }
    .sd-pills button { min-width: 0; padding: 0 18px; }
    .sd-case__media { height: auto; aspect-ratio: 383 / 230; }
    .sd-sprig--cases { width: 180px; height: 131px; right: -60px; top: 0; }
    .sd-review { padding: 26px 22px 22px; }
    .sd-review__text { padding-left: 22px; }
    .sd-review__text { font-size: 15.5px; line-height: 1.75; }
    .sd-steps { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
    .sd-step { min-height: 0; padding: 22px 10px; }
    .sd-step:nth-child(3n) { border-right: 0; }
    .sd-step:nth-child(3n)::after { display: block; }
    .sd-step:nth-child(2n) { border-right: 1px solid rgba(72,46,41,.18); }
    .sd-step:nth-child(2n)::after { display: none; }
    .sd-faq__a > div { padding: 0 5px 22px 39px; }
    .sd-cta { padding: 96px 20px 72px; min-height: 0; }
    .sd-cta__title { font-size: 28px; line-height: 40px; }
    .sd-sprig--cta-left, .sd-sprig--cta-right { width: 200px; height: 145px; }
    .sd-sprig--cta-left { top: auto; bottom: -30px; }
    .sd-footer { padding-top: 56px; }
    .sd-footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .sd-footer__bottom { flex-direction: column; }
    .sd-footer__links { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .sd-hero__actions .sd-btn { flex: 1 1 100%; justify-content: space-between; white-space: nowrap; }
}
@media (max-width: 420px) {
    .sd-hero__title { font-size: 31px; line-height: 44px; }
    .sd-head__title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sd * { transition: none !important; }
}

/* 영카트 기본 a:link/a:visited 색(#000) 무력화 — 헤더·푸터·메인 섹션 */
.sd-header a:link, .sd-header a:visited,
.sd-main > section a:link, .sd-main > section a:visited { color: inherit; }
.sd-footer a:link, .sd-footer a:visited { color: rgba(255,255,255,.7); text-decoration: none; }
.sd-footer a:hover, .sd-footer a:focus-visible { color: #fff; }
.sd-footer .sd-brand:link, .sd-footer .sd-brand:visited { color: #f4f0e7; }

/* ---------- 스크롤 등장 애니메이션 (js 가 html.sd-anim 을 붙일 때만 동작) ---------- */
.sd-header { transition: box-shadow .3s; }
.sd-header.is-scrolled { box-shadow: 0 6px 24px rgba(46,43,38,.06); }

.sd-anim [data-sd-anim] {
    opacity: 0;
    transition: opacity .9s ease, translate .9s cubic-bezier(.2,.7,.2,1), scale 1.1s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--sd-delay, 0ms);
    will-change: opacity, translate;
}
.sd-anim [data-sd-anim="up"]   { translate: 0 32px; }
.sd-anim [data-sd-anim="left"] { translate: -32px 0; }
.sd-anim [data-sd-anim="zoom"] { scale: .96; }
.sd-anim [data-sd-anim="draw"] { opacity: 1; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.6,0,.2,1) .6s; }
.sd-anim [data-sd-anim].is-in { opacity: 1; translate: 0 0; scale: 1; }
.sd-anim [data-sd-anim="draw"].is-in { clip-path: inset(0 0 0 0); }

/* 은은한 장식 움직임 */
@keyframes sd-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes sd-sway  { 0%, 100% { rotate: 0deg; } 50% { rotate: 2.5deg; } }
.sd-butterfly { animation: sd-float 5s ease-in-out infinite; }
.sd-butterfly--cta { animation-duration: 6s; animation-delay: -2s; }
.sd-sprig { animation: sd-sway 7s ease-in-out infinite; transform-origin: 20% 90%; }
.sd-sprig--cases { animation-delay: -3s; }
.sd-sprig--cta-right { animation-delay: -1.5s; animation-duration: 8s; }
.sd-scroll i { transform-origin: top; animation: sd-scroll 2.2s ease-in-out infinite; }
@keyframes sd-scroll { 0% { scale: 1 0; opacity: 1; } 60% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }

/* 카드 호버 */
.sd-product, .sd-case, .sd-review { transition: translate .35s ease, box-shadow .35s ease; }
.sd-product:hover, .sd-case:hover, .sd-review:hover { translate: 0 -4px; box-shadow: 0 18px 36px rgba(69,61,45,.08); }
.sd-anim .sd-product.is-in:hover, .sd-anim .sd-case.is-in:hover, .sd-anim .sd-review.is-in:hover { translate: 0 -4px; transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
    .sd-butterfly, .sd-sprig, .sd-scroll i { animation: none; }
}

/* ---------- 맨 위로 버튼 ---------- */
.sd-totop {
    position: fixed; right: 28px; bottom: 28px; z-index: 80;
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--sd-green) !important; color: #fff !important;
    box-shadow: 0 10px 24px rgba(63,43,39,.22);
    opacity: 0; visibility: hidden; translate: 0 12px;
    transition: opacity .3s, translate .3s, visibility .3s, background-color .2s;
}
.sd-totop.is-show { opacity: 1; visibility: visible; translate: 0 0; }
.sd-totop:hover { background: var(--sd-green-deep) !important; }
.sd-totop:hover svg { translate: 0 -2px; }
.sd-totop svg { transition: translate .2s; }
@media (max-width: 860px) {
    .sd-totop { right: 16px; bottom: 16px; width: 44px; height: 44px; }
    /* 모바일 하단 고정 구매/주문 바가 있는 페이지에서는 그 위로 */
    .sd-shop--m ~ .sd-totop, body:has(#sod_bsk_act, #sit_buy, .sit_buy_btn, #m_sit_buy) .sd-totop { bottom: 84px; }
}

/* 상품 가격 보조 표시 */
.sd-product__note { margin-top: 2px; font-size: 13px; line-height: 20px; color: #7c6f65; }
.sd-product__price.is-soon { font-family: var(--sd-sans); font-size: 18px; font-weight: 700; color: #9a887a; letter-spacing: -.01em; }
.sd-product__more.is-disabled {
    cursor: default; justify-content: center; border-style: dashed !important; border-color: #c9bfae !important;
    color: #9a887a !important; background: rgba(255,255,255,.35);
}
.sd-product__more.is-disabled:hover { background: rgba(255,255,255,.35); }
.sd-product--experience .sd-product__badge { color: #9a6a4f; }

/* 헤더: 관리자 바로가기 (관리자 로그인 시에만) */
.sd .sd-util__admin, .sd-util__admin { padding: 4px 11px; border-radius: 99px; background: var(--sd-green); color: #fff !important; font-weight: 600; }
.sd-util__admin:hover { background: #432923; }
@media (max-width: 860px) { .sd-util__admin { display: none; } }

/* 그누보드 기본 관리자 톱니바퀴 버튼 숨김 (관리자는 헤더 '관리자' 버튼 사용) */
.btn_admin, #hd_qnb .btn_admin, .sit_admin { display: none !important; }
