/* v2 page styles: info — DB pages (page.html: 회사소개 / 이용안내 / 약관 / 개인정보처리방침 / exfolder / NEWMAIN).
   Popup, bookmark and estimate are standalone documents and carry their own small rule sets (still on shop.css tokens). */

/* ---------------------------------------------------------------- page frame */
.is-info .info-page { padding-bottom: 24px; }
.is-info .info-tabs { margin-bottom: 32px; }
.is-info .info-tabs a { padding: 0 14px; }
@media (max-width: 767px) { .is-info .info-tabs { margin-bottom: 24px; } .is-info .info-tabs a { height: 44px; padding: 0 9px; font-size: 13px; } }
.is-info .info-empty { display: grid; justify-items: center; gap: 16px; }
.is-info .info-empty .empty { width: 100%; }
.is-info .info-empty .cs-info { justify-items: center; text-align: center; }

/* ---------------------------------------------------------------- legacy Cafe24 chrome inside the DB bodies */
.info-body .path, .info-body .titleArea, .info-body #titleArea, .info-body .xans-layout-mobileaction,
.info-body img[src*="design/kr/gongji"], .info-body [itemtype*="schema.org"], .info-body .kakao-crop:empty { display: none !important; }
.info-body p:empty { display: none; }
.info-body > br:first-child { display: none; }

/* ---------------------------------------------------------------- readable text */
.info-body { color: var(--ink-2); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.info-body :where(p, ul, ol, dl, blockquote) { margin: 0 0 1em; }
.info-body :where(p, li, dd) { max-width: 72ch; }
.info-body :where(ul, ol) { padding-left: 1.2em; }
.info-body ul { list-style: disc; } .info-body ol { list-style: decimal; }
.info-body :where(h2, h3, h4) { margin: 0 0 12px; color: var(--ink); line-height: 1.4; letter-spacing: -0.02em; }
.info-body h3 { font-size: 17px; font-weight: 700; }
.info-body h4 { font-size: 15px; font-weight: 700; }
.info-body :where(b, strong) { color: var(--ink); }
.info-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.info-body img { max-width: 100%; height: auto !important; }
.info-body .fr-view { font: inherit; color: inherit; }
.info-body .ec-base-box, .info-body .agree { margin: 0; padding: 0; border: 0; background: none; height: auto; max-height: none; overflow: visible; }
/* tables (wrapped in .info-scroll by page.html): scroll sideways on phones */
.info-scroll { max-width: 100%; margin: 0 0 1.25em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.info-body table { border-collapse: collapse; font-size: 13px; line-height: 1.6; border-top: 1px solid var(--ink); }
.info-body :where(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-body th { font-weight: 600; color: var(--ink); background: var(--bg-soft); white-space: nowrap; }
@media (max-width: 767px) { .info-body { font-size: 14px; line-height: 1.75; } .info-body table { min-width: 560px; } }

/* ---------------------------------------------------------------- 약관 / 개인정보처리방침 */
.info-terms .info-body { font-size: 14px; }
.info-terms .info-body .fr-view > p { margin-bottom: 20px; }
.info-terms .info-body p.info-clause-p { padding-top: 20px; border-top: 1px solid var(--line); }
.info-terms .info-body .fr-view > p.info-clause-p:first-child, .info-terms .info-body p:not(.info-clause-p) + p.info-clause-p:first-of-type { border-top: 0; padding-top: 0; }
.info-terms .info-body .info-clause { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.info-terms .info-body .date { display: block; margin-bottom: 16px; color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------- 이용안내 (Cafe24 FAQ markup) */
/* PC copy: one .ec-base-tab per section, each repeating the same anchor menu -> keep the first menu as a section index */
.info-guide .info-body .ec-base-tab { margin: 0; }
.info-guide .info-body .ec-base-tab .menu { display: none; }
.info-guide .info-body .ec-base-tab:first-child .menu {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; max-width: none;
}
.info-guide .info-body .ec-base-tab:first-child .menu li { max-width: none; }
.info-guide .info-body .ec-base-tab:first-child .menu a {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--ink-2); font-size: 13px; text-decoration: none; white-space: nowrap; background: #fff;
}
.info-guide .info-body .ec-base-tab:first-child .menu a:hover { border-color: var(--ink); color: var(--ink); }
.info-guide .info-body .ec-base-tab { scroll-margin-top: 80px; }
.info-guide .info-body .cont { padding: 24px 0 28px; border-top: 1px solid var(--line); }
.info-guide .info-body .ec-base-tab:first-child .cont { border-top: 1px solid var(--ink); }
.info-guide .info-body .cont h3 { margin-bottom: 12px; }
.info-guide .info-body .cont ul { list-style: none; padding: 0; }
.info-guide .info-body .cont ul li { padding-left: 0; }
/* mobile copy (dl.eToggle), when an admin-written one is used */
.info-guide .info-body .eToggle dt { padding: 16px 0 8px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--ink); }
.info-guide .info-body .eToggle dd { margin: 0 0 16px; }

/* ---------------------------------------------------------------- 회사소개 */
.info-doc .info-body .xans-mall-company h3 { display: none; }

/* ---------------------------------------------------------------- landing (layout/NEWMAIN-*) */
.is-landing .info-landing { padding-top: 24px; }
.info-map { display: grid; justify-items: center; }
.info-map img { display: block; max-width: 100%; height: auto; }
.info-map p { margin: 0; }
.info-promos { margin-top: 56px; }
/* phones: the 980px price-table maps stay legible — pan sideways instead of shrinking to 1/3 */
@media (max-width: 767px) {
  .info-map { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .info-map img[usemap] { max-width: none; width: 760px; }
}
.info-promos .sec-head { flex-wrap: wrap; }
.info-promos .sec-title { white-space: nowrap; }
/* placeholder bodies left after the old business details were removed (identity_scrub) */
.info-body .shop-neutral-note { max-width: none; padding: 56px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 14px; }
