@charset "utf-8";
/* ㅁㅇㅎㅇ무인과일 이용 안내 페이지 전용 스타일 (공통은 fl-sub.css).
   소개 페이지들과 같은 톤(크림·딥그린·라운드·Oswald)이되 배치는 다르게 —
   선이 그어지며 켜지는 이용 방법 4단계 → 펼쳐 보는 알아두면 좋아요 → 가로로 넘기는 오늘의 과일(게시판). */

#container > #sub-muin { background: var(--fl-cream); }
#sub-muin { --fl-muin-gap: clamp(100px, 10vw, 160px); color: var(--fl-ink); }
#sub-muin p, #sub-muin h3, #sub-muin h4, #sub-muin span, #sub-muin dd { word-break: keep-all; overflow-wrap: break-word; }
body:has(#sub-muin) { background: var(--fl-cream) !important; } /* gw.css 의 body #f8f8f8 !important 를 이 페이지에서만 덮는다 */
body:has(#sub-muin) #container_wr, body:has(#sub-muin) .gw-footer-container { background: var(--fl-cream); }

#sub-muin .fl-muin-kicker { font-family: var(--fl-font-display); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fl-mango); }
#sub-muin .fl-muin-display { font-family: var(--fl-font-display); font-size: clamp(44px, 5.2vw, 80px); font-weight: 700; line-height: .95; text-transform: uppercase; color: var(--fl-primary); }
#sub-muin .fl-muin-head { margin-bottom: clamp(48px, 5vw, 72px); text-align: center; }
#sub-muin .fl-muin-head-title { margin-top: 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -0.03em; color: var(--fl-dark); }

/* ---------- 이용 방법 ---------- */
#sub-muin .fl-muin-howto { padding: clamp(72px, 7vw, 112px) 0 var(--fl-muin-gap); scroll-margin-top: calc(var(--fl-hd-total) + 24px); }
#sub-muin .fl-muin-steps { --fl-line-p: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
/* 번호 원을 잇는 선: 회색 바탕 선 위에 그린 선이 진행도만큼 그어진다(첫·마지막 원 가운데 사이) */
#sub-muin .fl-muin-steps::before,
#sub-muin .fl-muin-steps::after { content: ""; position: absolute; top: 48px; left: 12.5%; right: 12.5%; height: 2px; background: var(--fl-line); }
#sub-muin .fl-muin-steps::after { background: var(--fl-primary); transform: scaleX(var(--fl-line-p)); transform-origin: left center; }
#sub-muin .fl-muin-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
#sub-muin .fl-muin-step-ico {
    display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border: 2px solid var(--fl-line); border-radius: 50%;
    background: var(--fl-cream); color: var(--fl-ink-3); font-size: 44px; transition: background .5s ease, border-color .5s ease, color .5s ease, transform .5s cubic-bezier(.22, .8, .24, 1);
}
#sub-muin .fl-muin-step-no { margin-top: 24px; font-family: var(--fl-font-display); font-size: 16px; font-weight: 600; text-transform: uppercase; color: var(--fl-ink-3); transition: color .5s ease; }
#sub-muin .fl-muin-step-title { margin-top: 8px; font-size: 22px; font-weight: 800; color: var(--fl-ink-3); transition: color .5s ease; }
#sub-muin .fl-muin-step-desc { margin-top: 10px; max-width: 220px; font-size: 16px; line-height: 1.7; color: var(--fl-ink-3); transition: color .5s ease; }
#sub-muin .fl-muin-step.is-on .fl-muin-step-ico { border-color: var(--fl-primary); background: var(--fl-primary); color: var(--fl-white); transform: scale(1.06); }
#sub-muin .fl-muin-step.is-on .fl-muin-step-no { color: var(--fl-mango); }
#sub-muin .fl-muin-step.is-on .fl-muin-step-title { color: var(--fl-dark); }
#sub-muin .fl-muin-step.is-on .fl-muin-step-desc { color: var(--fl-ink-2); }

/* ---------- 알아두면 좋아요 ---------- */
#sub-muin .fl-muin-faq { padding-bottom: var(--fl-muin-gap); }
#sub-muin .fl-muin-faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
#sub-muin .fl-muin-faq-head .fl-muin-head-title { margin-top: 10px; }
#sub-muin .fl-muin-faq-item { border-bottom: 1px solid var(--fl-line); }
#sub-muin .fl-muin-faq-item:first-child { border-top: 1px solid var(--fl-line); }
#sub-muin .fl-muin-faq-item summary {
    position: relative; display: flex; align-items: center; min-height: 72px; padding: 0 56px 0 4px; cursor: pointer; list-style: none;
    font-size: clamp(17px, 1.4vw, 19px); font-weight: 800; color: var(--fl-dark);
}
#sub-muin .fl-muin-faq-item summary::-webkit-details-marker { display: none; }
/* + 가 열리면 − 로 */
#sub-muin .fl-muin-faq-item summary::before,
#sub-muin .fl-muin-faq-item summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; background: var(--fl-primary); transition: transform .3s ease; }
#sub-muin .fl-muin-faq-item summary::after { transform: rotate(90deg); }
#sub-muin .fl-muin-faq-item[open] summary::after { transform: rotate(0); }
#sub-muin .fl-muin-faq-item.is-closing summary::after { transform: rotate(90deg); } /* 접히는 동안(아직 open) 아이콘은 먼저 + 로 */
#sub-muin .fl-muin-faq-item summary:hover { color: var(--fl-primary); }
#sub-muin .fl-muin-faq-item summary:focus-visible { outline-offset: -3px; }
#sub-muin .fl-muin-faq-a { overflow: hidden; box-sizing: border-box; padding: 0 56px 26px 4px; font-size: 16px; line-height: 1.8; color: var(--fl-ink-2); }
#sub-muin .fl-muin-faq-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 15px; font-weight: 700; text-decoration: none; }
#sub-muin .fl-muin-faq-link:link, #sub-muin .fl-muin-faq-link:visited { color: var(--fl-primary); }
#sub-muin .fl-muin-faq-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 오늘의 과일: 가로로 넘기는 카드 ---------- */
#sub-muin .fl-muin-today { padding-bottom: var(--fl-muin-gap); }
#sub-muin .fl-muin-today-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3vw, 40px); }
#sub-muin .fl-muin-today-ctrl { display: flex; align-items: center; gap: 8px; }
#sub-muin .fl-muin-today-btn {
    display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1.5px solid var(--fl-dark); border-radius: 50%;
    background: transparent; color: var(--fl-dark); font-size: 20px; cursor: pointer; transition: background .25s ease, color .25s ease, opacity .25s ease;
}
#sub-muin .fl-muin-today-btn:hover:not(:disabled) { background: var(--fl-dark); color: var(--fl-cream); }
#sub-muin .fl-muin-today-btn:disabled { opacity: .3; cursor: default; }
#sub-muin .fl-muin-today-ctrl.is-static .fl-muin-today-btn { display: none; }
#sub-muin .fl-muin-today-ctrl .fl-pill-link { margin-left: 8px; }
#sub-muin .fl-muin-today-rail .fl-fruit-grid {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
#sub-muin .fl-muin-today-rail .fl-fruit-grid::-webkit-scrollbar { display: none; }
#sub-muin .fl-muin-today-rail .fl-fruit-card { flex: none; width: calc((100% - 48px) / 4); scroll-snap-align: start; }
#sub-muin .fl-empty-state { width: 100%; padding: 64px 20px; border-radius: 24px; background: var(--fl-white); text-align: center; color: var(--fl-ink-2); }
#sub-muin .fl-empty-state i { display: block; margin: 0 auto 16px; color: var(--fl-line); }

@media (max-width: 1024px) {
    #sub-muin .fl-muin-faq-inner { grid-template-columns: 1fr; gap: 24px; }
    #sub-muin .fl-muin-today-rail .fl-fruit-card { width: calc((100% - 16px) / 2); }
    /* 이용 방법: 세로 목록 — 왼쪽 세로선이 위에서 아래로 그어진다 */
    #sub-muin .fl-muin-steps { grid-template-columns: 1fr; gap: 32px; }
    #sub-muin .fl-muin-steps::before, #sub-muin .fl-muin-steps::after { top: 36px; bottom: 36px; left: 35px; right: auto; width: 2px; height: auto; }
    #sub-muin .fl-muin-steps::after { transform: scaleY(var(--fl-line-p)); transform-origin: center top; }
    #sub-muin .fl-muin-step { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; align-items: start; text-align: left; }
    #sub-muin .fl-muin-step-ico { grid-row: 1 / span 3; width: 72px; height: 72px; font-size: 32px; }
    #sub-muin .fl-muin-step-no { margin-top: 6px; }
    #sub-muin .fl-muin-step-desc { max-width: none; }
}
@media (max-width: 576px) {
    #sub-muin .fl-muin-today-head { flex-direction: column; align-items: flex-start; }
    #sub-muin .fl-muin-today-ctrl .fl-pill-link { margin-left: 0; }
    #sub-muin .fl-muin-today-rail .fl-fruit-card { width: 78%; }
    #sub-muin .fl-muin-faq-item summary { min-height: 64px; padding-right: 44px; }
    #sub-muin .fl-muin-faq-a { padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    #sub-muin .fl-muin-step-ico, #sub-muin .fl-muin-faq-item summary::after { transition: none; }
}
