@charset "UTF-8";
/* 공통 부품 : 버튼 · 더보기 링크 · 탭 · 제품 카드 · 단계 카드 · 칩 · 연혁 */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: var(--fs-15); font-weight: 700; line-height: 1; transition: background .25s, color .25s, border-color .25s; }
.btn--primary { background: var(--c-main); color: var(--c-brown); }
.btn--primary:hover { background: #FFA333; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.more { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; font-size: var(--fs-14); font-weight: 700; border-bottom: 1px solid currentColor; }
.more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.more { position: relative; }
.more::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }   /* 글자는 그대로, 터치 영역만 44px */

/* 탭 : 밑줄형 (모바일판 서브 탭과 같은 모양) */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--c-line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; min-height: 48px; padding: 0 18px; font-size: var(--fs-16); font-weight: 500; color: var(--c-text-2); white-space: nowrap; }
.tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--c-main); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab[aria-selected="true"] { color: var(--c-brown); font-weight: 700; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab:hover { color: var(--c-brown); }
.tab-panel[hidden] { display: none; }

@media (min-width: 1024px) {
    .tab { padding: 0 26px; font-size: var(--fs-18); }
}

/* 제품 카드 : 모바일판 제품 검색 카드 (용량·도수 → 이름 → 설명) */
.product-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.product-card__img { display: grid; place-items: center; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--c-bg-2); }
.product-card__img img { width: 72%; height: 88%; object-fit: contain; transition: transform .5s var(--ease); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 22px; }
.product-card__spec { font-family: var(--ff-en); font-size: var(--fs-13); font-weight: 500; color: var(--c-accent-text); }
.product-card__name { margin-top: 4px; font-size: var(--fs-18); font-weight: 700; color: var(--c-brown); }
.product-card__desc { margin-top: 8px; font-size: var(--fs-14); line-height: 1.6; color: var(--c-text-2); }
a.product-card:hover { box-shadow: 0 14px 30px rgba(46, 37, 33, .12); transform: translateY(-4px); }
a.product-card:hover .product-card__img img { transform: scale(1.05); }

/* 칩 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font-size: var(--fs-14); color: var(--c-text); }

/* 번호 붙은 단계 카드 */
.step-num { font-family: var(--ff-en); font-size: var(--fs-13); font-weight: 700; letter-spacing: .1em; color: var(--c-accent-text); }
.on-dark .step-num, .section--dark .step-num { color: var(--c-main); }
