@charset "utf-8";

.bmd900 {overflow: hidden;  color: var(--color-base); font-family: "PaperoziR"; line-height: 1.4; word-break: keep-all;}
.bmd900 :is(
  .bmd900-label,
  .bmd900-title,
  .bmd900-heading,
  .bmd900-row dd,
  .bmd900-total dt
) {
  font-family: "PaperoziB";
}


.bmd900 :is(
  .bmd900-label,
  .bmd900-after,
  .bmd900-cost
),
.bmd900 .bmd900-mark::after {background: var(--color-point-light);}
.bmd900 :is(.bmd900-hero, .bmd900-card, .bmd900-chips li),.bmd900 .bmd900-cost::before {background: var(--color-white);}

/* 상단 */
.bmd900 .bmd900-inner {display: grid; grid-template-columns: 44% 56%; align-items: center; width: 90%; max-width: 1400px; min-height: 717px; margin: auto;  padding: 70px 0 82px;}
.bmd900 .bmd900-copy {position: relative; z-index: 1; min-width: 0;}
.bmd900 .bmd900-label {display: inline-block; margin-bottom: 12px; padding: 8px 10px; font-size: clamp(17px, 1.1vw, 21px); letter-spacing: -1px;}
.bmd900 .bmd900-title {font-size: clamp(55px, 4.85vw, 80px); line-height: 1.13; letter-spacing: -.03em;}
.bmd900 .bmd900-mark {position: relative; isolation: isolate; white-space: nowrap;}
.bmd900 .bmd900-mark::after {content: ""; position: absolute; z-index: -1; inset: auto -8px 4px 0; height: .25em; transform-origin: left;}
.bmd900 .bmd900-subtitle {margin: 34px 0 60px 10px; font-size: clamp(19px, 1.27vw, 24px); letter-spacing: -1px;}
.bmd900 .bmd900-note {margin-left: 14px; color: #aaa; font-size: 13px;}

/* 매장 비교 */
.bmd900 .bmd900-photos {position: relative; min-width: 0; aspect-ratio: 787 / 541;}
.bmd900 :is(.bmd900-after, .bmd900-before) {position: absolute; padding: 12px 14px 0;}
.bmd900 .bmd900-after {inset: 0 0 auto auto; width: 83.1%;}
.bmd900 .bmd900-before {inset: auto auto 0 0; width: 31.13%; background: #e1e1e1;}
.bmd900 .bmd900-photos img {display: block; width: 100%; height: auto;}
.bmd900 .bmd900-caption {font-size: clamp(14px, 1.05vw, 20px); line-height: 2.3; letter-spacing: -.8px; text-align: center; white-space: nowrap;}
.bmd900 .bmd900-arrow {position: absolute; top: 35%; left: 9.5%; width: 7%; height: auto; color: var(--color-point-light);}

/* 하단 */
.bmd900 .bmd900-cost {position: relative; padding: 100px 24px;}
.bmd900 .bmd900-cost::before {content: ""; position: absolute; top: -24px; left: 50%; width: 100px;  height: 66px; clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);}
.bmd900 .bmd900-heading {font-size: 58px;line-height: 1.2; letter-spacing: -.06em; text-align: center;}
.bmd900 .bmd900-heading em,.bmd900 .bmd900-total { color: #be2026;}
.bmd900 .bmd900-chips {display: flex;justify-content: center; gap: 9px; margin: 32px 0 46px;}
.bmd900 .bmd900-chips li {  padding: 10px 24px; border-radius: 100px; font-size: 22px; letter-spacing: -1px;}

/* 비용표 */
.bmd900 .bmd900-card {max-width: 732px; margin: auto; border: 9px solid #be2026;}
.bmd900 .bmd900-card-title {padding: 18px 12px;background: #fffae2; font-size: 23px; text-align: center;}
.bmd900 .bmd900-card-body { padding: 10px 40px 12px;}

.bmd900 .bmd900-row {display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 67px; padding: 14px 20px; border-bottom: 1px solid var(--color-point-light);
  letter-spacing: -.6px;}
.bmd900 .bmd900-row dt {font-size: 20px;}
.bmd900 .bmd900-row dd {font-size: 26px; line-height: 1.25; text-align: right; white-space: nowrap;}
.bmd900 .bmd900-check {color: #289b1b; font: 20px sans-serif;}
.bmd900 .bmd900-row small {display: block; margin-top: 4px;color: #aaa;font: 10px/1.4 "PaperoziR";}
.bmd900 .bmd900-total {min-height: 91px; border: 0;}
.bmd900 .bmd900-total dt {font-size: 23px;}
.bmd900 .bmd900-total dd {font-size: 42px;letter-spacing: -1.5px; font-variant-numeric: tabular-nums;}
.bmd900 .bmd900-disclaimer {margin-top: 10px; color: #666;font-size: 12px; line-height: 1.7; letter-spacing: -.7px;text-align: center;}

/* 기존에 전달한 스크립트와 연결 */
.bmd900 [data-bmd900-reveal] {
  transition:
    opacity .75s ease var(--bmd900-delay, 0ms),
    transform .75s ease var(--bmd900-delay, 0ms);
}

.bmd900 .bmd900-pending {opacity: 0;transform: translateY(26px);}
.bmd900 .bmd900-copy.bmd900-visible .bmd900-mark::after {animation: bmd900-underline .85s .3s both;}

@keyframes bmd900-underline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* 태블릿 */
@media (max-width: 1000px) {
  .bmd900 .bmd900-inner {grid-template-columns: 1fr; gap: 40px; max-width: 720px;  padding: 60px 0;}
  .bmd900 .bmd900-copy {text-align: center;}
  .bmd900 .bmd900-title {font-size: 76px;}
  .bmd900 .bmd900-subtitle {margin: 24px 0;}
  .bmd900 .bmd900-note {margin-left: 0;}
  .bmd900 .bmd900-heading {font-size: 46px;}
  .bmd900 .bmd900-chips li {font-size: 19px;}
}

/* 모바일 */
@media (max-width: 600px) {
  .bmd900 .bmd900-inner {gap: 30px; padding: 38px 0 45px; min-height: 0;}
  .bmd900 .bmd900-label {padding: 6px 8px; font-size: 12px; letter-spacing: -.5px;}
  .bmd900 .bmd900-title {font-size: clamp(36px, 11.5vw, 66px);}
  .bmd900 .bmd900-subtitle {font-size: 15px;}
  .bmd900 :is(.bmd900-note, .bmd900-disclaimer) {font-size: 10px;}
  .bmd900 :is(.bmd900-after, .bmd900-before) {padding: 6px 6px 0;}
  .bmd900 .bmd900-caption {font-size: clamp(8px, 2.5vw, 14px); line-height: 26px; letter-spacing: -.6px; }
  .bmd900 .bmd900-cost {padding: 45px 15px 35px;}
  .bmd900 .bmd900-cost::before {top: -16px; width: 65px; height: 44px;}
  .bmd900 .bmd900-heading {font-size: clamp(25px, 7.2vw, 40px);}
  .bmd900 .bmd900-chips {gap: 6px; margin: 22px 0 26px;}
  .bmd900 .bmd900-chips li {padding: 8px 10px;font-size: clamp(10px, 2.8vw, 15px);letter-spacing: -.5px;}
  .bmd900 .bmd900-card {border-width: 5px;}
  .bmd900 .bmd900-card-title { padding: 14px 5px;  font-size: 16px; }
  .bmd900 .bmd900-card-body { padding: 4px 12px 12px;}
  .bmd900 .bmd900-row {min-height: 59px; gap: 6px; padding: 13px 0;}
  .bmd900 .bmd900-row dt {font-size: 10px;}
  .bmd900 .bmd900-row dd {font-size: 17px;}
  .bmd900 .bmd900-check {font-size: 14px;}
  .bmd900 .bmd900-total dt {font-size: 12px;}
  .bmd900 .bmd900-total dd {font-size: clamp(21px, 6vw, 33px); letter-spacing: -1px; }
}

@media (prefers-reduced-motion: reduce) {
  .bmd900 [data-bmd900-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .bmd900 .bmd900-mark::after {
    animation: none !important;
  }
}