@charset "utf-8";
/* ==================================================================
   메디라인 (Mediline) 병원·의원 테마 v1.0.0
   색·글꼴은 아래 :root 변수만 바꾸면 전체에 반영됩니다.
   ================================================================== */
:root {
  --md-main: #11808a;        /* 병원 대표색 (청록) */
  --md-main-2: #0b6670;
  --md-soft: #eaf5f5;
  --md-coral: #ff7355;       /* 예약 단추 */
  --md-coral-2: #f25a3a;
  --md-ink: #13262b;
  --md-text: #33474c;
  --md-sub: #5d7277;
  --md-mute: #93a5a9;
  --md-line: #d9e6e6;
  --md-bg: #ffffff;
  --md-ok: #19a866;
  --md-warn: #f0a41a;
  --md-radius: 22px;
  --md-radius-sm: 14px;
  --md-wrap: 1240px;
  --md-gutter: 28px;
  --md-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --md-shadow: 0 16px 40px -20px rgba(11, 102, 112, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.md-body { margin: 0; background: var(--md-bg); color: var(--md-text); font-family: var(--md-font); font-size: 17px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
.md-body img { max-width: 100%; height: auto; }
.md-body a { color: inherit; text-decoration: none; }
.md-body button { font-family: inherit; }
.sound_only, .msg_sound_only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; margin: -1px !important; padding: 0 !important; border: 0 !important; }
:focus-visible { outline: 3px solid var(--md-coral); outline-offset: 2px; }
#hd_pop { width: 100% !important; max-width: var(--md-wrap); }
#hd_pop h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
.md-ic { flex-shrink: 0; }
.md-wrap { width: 100%; max-width: var(--md-wrap); margin: 0 auto; padding: 0 var(--md-gutter); }
.md-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--md-ink); color: #fff !important; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.md-skip:focus { top: 12px; }

/* 단추 */
.md-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap; transition: background .15s, transform .15s, border-color .15s; }
.md-btn:hover { transform: translateY(-1px); }
.md-btn--lg { height: 58px; padding: 0 28px; font-size: 17px; }
.md-btn--block { display: flex; width: 100%; }
.md-btn--coral { background: var(--md-coral); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(255, 115, 85, .8); }
.md-btn--coral:hover { background: var(--md-coral-2); }
.md-btn--white { background: #fff; color: var(--md-main-2) !important; }
.md-btn--line { border-color: var(--md-line); background: #fff; color: var(--md-ink) !important; }
.md-btn--line:hover { border-color: var(--md-main); color: var(--md-main-2) !important; }
.md-ibtn { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 14px; background: transparent; color: var(--md-ink); cursor: pointer; }
.md-ibtn:hover { background: var(--md-soft); }

/* 진료 상태 */
.md-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; }
.md-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--md-mute); }
.md-status--open i { background: var(--md-ok); box-shadow: 0 0 0 4px rgba(25,168,102,.2); animation: md-blink 1.8s infinite; }
.md-status--lunch i, .md-status--before i { background: var(--md-warn); }
.md-status--closed i { background: #c0564a; }
.md-status--lg { font-size: 18px; }
.md-status--lg i { width: 12px; height: 12px; }
@keyframes md-blink { 50% { box-shadow: 0 0 0 8px rgba(25,168,102,0); } }

/* 머리 */
.md-top { background: var(--md-soft); font-size: 14px; color: var(--md-sub); }
.md-top__in { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.md-top .md-status { color: var(--md-ink); }
.md-top__links { display: flex; gap: 16px; }
.md-top__links a:hover { color: var(--md-main-2); }
.md-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--md-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.md-header__in { display: flex; align-items: center; gap: 30px; height: 84px; }
.md-logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.md-logo img { display: block; max-height: 44px; width: auto; }
.md-logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.md-logo__txt b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--md-ink); }
.md-logo__txt small { margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--md-main); }
.md-nav { flex: 1; }
.md-nav > ul { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.md-nav__item { position: relative; }
.md-nav__item > a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 17px; font-weight: 700; color: var(--md-ink); }
.md-nav__item > a:hover, .md-nav__item:focus-within > a { background: var(--md-soft); color: var(--md-main-2); }
.md-nav__sub { position: absolute; left: 50%; top: 100%; min-width: 180px; margin: 8px 0 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--md-line); border-radius: var(--md-radius-sm); box-shadow: var(--md-shadow); transform: translateX(-50%) translateY(-4px); opacity: 0; visibility: hidden; transition: .18s; }
.md-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.md-nav__item:hover .md-nav__sub, .md-nav__item:focus-within .md-nav__sub { opacity: 1; visibility: visible; transform: translateX(-50%); }
.md-nav__sub a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 15px; color: var(--md-sub); white-space: nowrap; }
.md-nav__sub a:hover { background: var(--md-soft); color: var(--md-main-2); }
.md-header__acts { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.md-tel { display: inline-flex; align-items: center; gap: 10px; color: var(--md-main-2); }
.md-tel .md-ic { display: grid; place-items: center; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--md-soft); }
.md-tel span { display: flex; flex-direction: column; line-height: 1.15; }
.md-tel small { font-size: 12px; color: var(--md-mute); }
.md-tel b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.md-ibtn--menu { display: none; }

/* 전체 메뉴 */
.md-drawer { position: fixed; inset: 0; z-index: 300; }
.md-drawer[hidden] { display: none; }
.md-drawer__scrim { position: absolute; inset: 0; background: rgba(19,38,43,.5); }
.md-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(400px, 88vw); overflow-y: auto; padding: 0 22px 30px; background: #fff; animation: md-slide .25s ease; }
@keyframes md-slide { from { transform: translateX(30px); opacity: 0; } }
.md-drawer__head { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.md-drawer__head b { font-size: 20px; font-weight: 800; color: var(--md-ink); }
.md-drawer__status { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: var(--md-soft); color: var(--md-ink); }
.md-drawer__group { border-top: 1px solid var(--md-line); padding: 6px 0; }
.md-drawer__top { display: block; padding: 12px 2px; font-size: 19px; font-weight: 800; color: var(--md-ink); }
.md-drawer__subs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
.md-drawer__subs a { padding: 7px 12px; border-radius: 999px; background: var(--md-soft); font-size: 15px; color: var(--md-main-2); }
.md-drawer__btns { display: grid; gap: 10px; margin-top: 16px; }
.md-lock, .md-lock body { overflow: hidden; }

/* 공통 */
.md-sec { padding: 96px 0; }
.md-sec--soft { background: var(--md-soft); }
.md-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 20px; margin-bottom: 36px; }
.md-head__k { flex-basis: 100%; margin: 0; font-size: 15px; font-weight: 800; color: var(--md-main); }
.md-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.25; letter-spacing: -.03em; color: var(--md-ink); }
.md-head--sm { margin-bottom: 20px; }
.md-head--sm h2 { font-size: 26px; }
.md-more { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 15px; font-weight: 700; color: var(--md-sub); }
.md-more:hover { color: var(--md-main-2); }
.md-empty { padding: 26px 0; color: var(--md-mute); list-style: none; text-align: center; }
.md-new { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--md-coral); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; vertical-align: 2px; }
.md-placeholder { padding: 24px; border: 2px dashed var(--md-line); border-radius: var(--md-radius); background: #fff; color: var(--md-sub); }
.md-placeholder h2 { margin: 0 0 6px; font-size: 20px; color: var(--md-ink); }
.md-placeholder p { margin: 0; }
.md-placeholder code { padding: 1px 6px; border-radius: 6px; background: var(--md-soft); color: var(--md-main-2); }

/* 첫 화면 */
.md-hero { position: relative; padding: 70px 0 0; background: linear-gradient(160deg, var(--md-main) 0%, var(--md-main-2) 100%); color: #fff; }
.md-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: var(--md-bg); }
.md-hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 30px; padding-bottom: 40px; }
.md-hero__kicker { display: inline-block; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 15px; font-weight: 700; }
.md-hero__title { margin: 0 0 18px; font-size: clamp(36px, 4.8vw, 60px); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; }
.md-hero__text { max-width: 520px; margin: 0 0 30px; font-size: 19px; color: rgba(255,255,255,.88); }
.md-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.md-hero__svg { display: block; width: 100%; max-width: 440px; margin-left: auto; }
.md-hero__pulse { stroke-dasharray: 700; stroke-dashoffset: 700; animation: md-pulse 2.6s .3s ease forwards; }
@keyframes md-pulse { to { stroke-dashoffset: 0; } }
.md-quickcards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.md-quickcards a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 24px 22px; border-radius: var(--md-radius); background: #fff; color: var(--md-ink); box-shadow: 0 20px 44px -22px rgba(19,38,43,.45); transition: transform .2s, box-shadow .2s; }
.md-quickcards a:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -22px rgba(19,38,43,.55); }
.md-quickcards .md-ic { margin-bottom: 12px; color: var(--md-main); }
.md-quickcards li:first-child a { background: var(--md-coral); color: #fff; }
.md-quickcards li:first-child .md-ic { color: #fff; }
.md-quickcards b { font-size: 19px; font-weight: 800; }
.md-quickcards span { font-size: 14px; color: var(--md-sub); }
.md-quickcards li:first-child span { color: rgba(255,255,255,.85); }

/* 진료 과목 */
.md-dept { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.md-dept a { display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--md-line); border-radius: var(--md-radius); transition: border-color .15s, background .15s; }
.md-dept a:hover { border-color: var(--md-main); background: var(--md-soft); }
.md-dept__ic { grid-row: span 2; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--md-soft); color: var(--md-main); }
.md-dept a:hover .md-dept__ic { background: #fff; }
.md-dept b { font-size: 19px; font-weight: 800; color: var(--md-ink); }
.md-dept span:last-child { font-size: 15px; color: var(--md-sub); }

/* 의료진 */
.md-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.md-docs li { padding: 28px; border-radius: var(--md-radius); background: #fff; text-align: center; }
.md-docs__photo { display: grid; place-items: center; width: 132px; height: 132px; margin: 0 auto 18px; overflow: hidden; border-radius: 50%; }
.md-docs__photo img { width: 100%; height: 100%; object-fit: cover; }
.md-docs__photo b { font-size: 48px; font-weight: 800; color: #fff; }
.md-docs__photo--0 { background: linear-gradient(135deg, #1aa3ad, #0b6670); }
.md-docs__photo--1 { background: linear-gradient(135deg, #ff9a7f, #f25a3a); }
.md-docs__photo--2 { background: linear-gradient(135deg, #7bb8e8, #3a78b8); }
.md-docs__role { margin: 0; font-size: 14px; font-weight: 700; color: var(--md-main); }
.md-docs h3 { margin: 2px 0 6px; font-size: 24px; font-weight: 800; color: var(--md-ink); }
.md-docs__spec { margin: 0; font-weight: 700; color: var(--md-ink); }
.md-docs__bio { margin: 4px 0 0; font-size: 15px; color: var(--md-sub); }

/* 진료 시간 */
.md-hours { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.md-hours table { width: 100%; border-collapse: collapse; font-size: 18px; }
.md-hours th, .md-hours td { padding: 15px 18px; border-bottom: 1px solid var(--md-line); text-align: left; }
.md-hours th { width: 40%; font-weight: 700; color: var(--md-ink); }
.md-hours td { font-weight: 600; font-variant-numeric: tabular-nums; }
.md-hours tr.is-today { background: var(--md-soft); }
.md-hours tr.is-today th em { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--md-main); color: #fff; font-size: 12px; font-style: normal; vertical-align: 2px; }
.md-hours__lunch th, .md-hours__lunch td { color: var(--md-sub); font-weight: 500; }
.md-off { color: #c0564a; font-weight: 700; }
.md-hours__note { margin: 14px 0 0; font-size: 15px; color: var(--md-sub); }
.md-hours__cta { position: sticky; top: 110px; padding: 32px; border-radius: var(--md-radius); background: var(--md-ink); color: #fff; }
.md-hours__cta .md-status { color: #fff; margin-bottom: 22px; }
.md-hours__tel-label { margin: 0; font-size: 15px; color: rgba(255,255,255,.7); }
.md-hours__tel { display: block; margin: 2px 0 22px; font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: #fff !important; }
.md-hours__small { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.65); }

/* 건강 정보 · 소식 */
.md-duo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
.md-health__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.md-health__list a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--md-radius-sm); background: #fff; transition: transform .2s; }
.md-health__list a:hover { transform: translateY(-3px); }
.md-health__img { display: grid; place-items: center; aspect-ratio: 16 / 10; background: #d9efef; color: var(--md-main); overflow: hidden; }
.md-health__img img { width: 100%; height: 100%; object-fit: cover; }
.md-health__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.md-health__body em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--md-main); }
.md-health__body strong { font-size: 16px; line-height: 1.45; color: var(--md-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.md-health__body time { font-size: 13px; color: var(--md-mute); }
.md-nt__list { margin: 0; padding: 6px 20px; list-style: none; border-radius: var(--md-radius-sm); background: #fff; }
.md-nt__list li + li { border-top: 1px solid var(--md-line); }
.md-nt__list a { display: flex; justify-content: space-between; gap: 14px; padding: 15px 0; }
.md-nt__list a span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; color: var(--md-ink); }
.md-nt__list a:hover span { color: var(--md-main-2); }
.md-nt__list time { flex-shrink: 0; font-size: 14px; color: var(--md-mute); }

/* 오시는 길 */
.md-map { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.md-map__art svg { display: block; width: 100%; height: auto; }
.md-map__addr { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 19px; font-weight: 700; color: var(--md-ink); }
.md-map__addr .md-ic { color: var(--md-coral); }
.md-map__list { margin: 0 0 24px; }
.md-map__list div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--md-line); }
.md-map__list dt { font-weight: 800; color: var(--md-main); }
.md-map__list dd { margin: 0; }
.md-map__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }

/* 내부 페이지 */
.md-pagehead { background: var(--md-soft); }
.md-pagehead .md-wrap { padding-top: 40px; padding-bottom: 40px; }
.md-crumb { display: flex; gap: 8px; margin: 0 0 6px; font-size: 14px; color: var(--md-sub); }
.md-crumb a:hover { color: var(--md-main-2); }
.md-pagehead__t { margin: 0; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; color: var(--md-ink); }
.md-page { padding-top: 44px; padding-bottom: 90px; font-size: 14px; line-height: 1.55; }
.md-amina .md-page { font-size: 15px; }
.md-page__title, .md-page #container_title { margin: 0 0 20px; font-size: 26px; font-weight: 800; color: var(--md-ink); }
.md-page #mb_login, .md-page .mbskin { max-width: 460px; margin-left: auto; margin-right: auto; }
.md-page .btn_submit, .md-page .btn_b01.btn_submit { background: var(--md-main); border-color: var(--md-main); color: #fff; border-radius: 10px; }
.md-page .pg_current { background: var(--md-main) !important; border-color: var(--md-main) !important; }
.md-amina .md-page .pagination > .active > a, .md-amina .md-page .pagination > .active > span { background: var(--md-main); border-color: var(--md-main); }
.md-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; font-size: 16px; }

/* 스토어 */
.md-chips { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.md-chips::-webkit-scrollbar { display: none; }
.md-chips a { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; background: var(--md-soft); font-size: 15px; font-weight: 700; color: var(--md-main-2); }
.md-chips a.is-on { background: var(--md-main); color: #fff; }
.md-shelf { margin-bottom: 48px; }
.md-shelf__t { margin: 0 0 16px; font-size: 24px; font-weight: 800; color: var(--md-ink); }
.md-shelf__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.md-shelf__img { display: block; aspect-ratio: 1 / 1; margin-bottom: 10px; overflow: hidden; border-radius: 16px; background: var(--md-soft); }
.md-shelf__img img { width: 100%; height: 100%; object-fit: cover; }
.md-shelf__list strong { display: block; font-weight: 700; color: var(--md-ink); }
.md-shelf__price { display: block; margin-top: 4px; font-weight: 800; color: var(--md-ink); }
.md-shelf__price em { margin-right: 6px; font-style: normal; color: var(--md-coral-2); }
.md-page .sct { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; margin: 0; padding: 0; list-style: none; }
.md-page .sct::after { display: none; }
.md-page .sct > li { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; clear: none !important; }
.md-page .sct_img img { width: 100%; height: auto; display: block; border-radius: 14px; }
.md-page #sct_location { position: static !important; float: none !important; display: block !important; margin: 0 0 16px !important; }
.md-page #sit_btn_buy, .md-page .sit_btn_buy { background: var(--md-coral) !important; border-color: var(--md-coral) !important; color: #fff !important; border-radius: 12px; }
.md-page #sit_btn_cart, .md-page .sit_btn_cart { background: var(--md-main) !important; border-color: var(--md-main) !important; color: #fff !important; border-radius: 12px; }

/* 바닥글 */
.md-footer { padding: 50px 0 60px; background: var(--md-ink); color: rgba(255,255,255,.65); font-size: 15px; }
.md-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.md-footer__brand { margin: 0; font-size: 22px; font-weight: 800; color: #fff; }
.md-footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.md-footer__links b { color: #fff; }
.md-footer__links a:hover { color: #fff; }
.md-footer__info { display: flex; flex-wrap: wrap; gap: 4px 18px; font-style: normal; }
.md-footer__info a:hover { color: #fff; }
.md-footer__copy { margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.45); }
.md-quick { display: none; }
.md-top-btn { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--md-main); color: #fff; cursor: pointer; box-shadow: var(--md-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.md-top-btn.is-show { opacity: 1; visibility: visible; transform: none; }

/* 반응형 */
@media (max-width: 1100px) {
  .md-nav { display: none; }
  .md-ibtn--menu { display: inline-grid; }
  .md-hero__in { grid-template-columns: 1fr; }
  .md-hero__art { display: none; }
  .md-quickcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-dept { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-hours { grid-template-columns: 1fr; }
  .md-hours__cta { position: static; }
  .md-duo { grid-template-columns: 1fr; }
  .md-map { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --md-gutter: 18px; }
  body.md-body { font-size: 16px; }
  .md-top__links { display: none; }
  .md-header__in { height: 66px; gap: 10px; }
  .md-logo__txt b { font-size: 19px; }
  .md-logo__txt small { display: none; }
  .md-tel span { display: none; }
  .md-hide-sm { display: none; }
  .md-sec { padding: 64px 0; }
  .md-hero { padding-top: 44px; }
  .md-hero::after { height: 60px; }
  .md-hero__text { font-size: 17px; }
  .md-hero__btns .md-btn { flex: 1 1 100%; }
  .md-quickcards { gap: 10px; }
  .md-quickcards a { padding: 18px 16px; }
  .md-quickcards b { font-size: 17px; }
  .md-dept, .md-docs, .md-health__list { grid-template-columns: 1fr; }
  .md-docs li { display: grid; grid-template-columns: 84px 1fr; column-gap: 16px; text-align: left; padding: 20px; }
  .md-docs__photo { grid-row: span 4; width: 84px; height: 84px; margin: 0; }
  .md-docs__photo b { font-size: 32px; }
  .md-health__list a { flex-direction: row; }
  .md-health__img { flex: 0 0 120px; aspect-ratio: auto; }
  .md-hours table { font-size: 16px; }
  .md-hours th, .md-hours td { padding: 12px 10px; }
  .md-hours__tel { font-size: 32px; }
  .md-group { grid-template-columns: 1fr; }
  .md-shelf__list, .md-page .sct { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .md-page table { display: block; max-width: 100%; overflow-x: auto; }
  .md-quick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: flex; height: 64px; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--md-line); box-shadow: 0 -8px 24px rgba(19,38,43,.08); }
  .md-quick a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 700; color: var(--md-sub); }
  .md-quick a.is-main { color: #fff; background: var(--md-coral); }
  .md-footer { padding-bottom: 100px; }
  .md-top-btn { bottom: 80px; right: 14px; }
}
@media (max-width: 1024px) {
  .md-page #sit_ov_wrap, .md-page #sit_pvi, .md-page #sit_pvi_big, .md-page #sit_ov, .md-page #sit_title, .md-page #sit_desc,
  .md-page #sit_info, .md-page #sit_tab, .md-page #sit_rel, .md-page #sod_bsk, .md-page #sod_frm, .md-page #sod_fin, .md-page #sod_ws, .md-page #sod_v, .md-page #smb_my, .md-page #sct {
    float: none !important; width: auto !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
  .md-page #sit_buy { display: none !important; }
  .md-page #sit_pvi_big img, .md-page #sit_inf_explan img { width: 100% !important; height: auto !important; }
  .md-page #sit_pvi_thumb { display: flex; flex-wrap: wrap; gap: 6px; float: none !important; position: static !important; margin: 10px 0 !important; }
  .md-page #sit_pvi_thumb li { float: none !important; }
  .md-page #sit_ov_wrap > * { clear: both; }
  .md-page #sit_title { font-size: 21px !important; line-height: 1.35 !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .md-hero__pulse { stroke-dashoffset: 0; }
}
@media print {
  .md-top, .md-header, .md-footer, .md-quick, .md-top-btn, .md-drawer { display: none !important; }
}
