.mt-mobile {
    --mt-ink: #182338;
    --mt-blue: #1563be;
    --mt-blue-dark: #104e97;
    --mt-blue-soft: #edf5ff;
    --mt-muted: #506179;
    --mt-line: #dce5f0;
    --mt-white: #fff;
    color: var(--mt-ink);
    font: 400 14px/1.55 "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
    letter-spacing: -.02em;
    text-align: left;
}

.mt-mobile,
.mt-mobile *,
.mt-mobile *::before,
.mt-mobile *::after {
    box-sizing: border-box;
}

.mt-mobile [hidden] {
    display: none !important;
}

#mt-page {
    display: block;
    width: min(1024px, calc(100% - 32px));
    min-width: 0;
    margin: 0 auto;
    padding: 24px 0 38px;
}

#mt-page ~ .footerarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 16px 20px;
    color: #dde5f0;
    background: #1c2636;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

#mt-page ~ .footerarea :is(.menu_1, .copyarea_new) {
    box-sizing: border-box;
    width: min(1024px, 100%);
    height: auto;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    list-style: none;
}

#mt-page ~ .footerarea .menu_1 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid #405069;
}

#mt-page ~ .footerarea .menu_1 li,
#mt-page ~ .footerarea .copyarea_new li {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-align: left;
}

#mt-page ~ .footerarea .menu_1 a {
    display: inline-flex;
    width: auto;
    min-height: 36px;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.mt-mobile h1,
.mt-mobile h2,
.mt-mobile h3,
.mt-mobile p,
.mt-mobile ol,
.mt-mobile li {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
}

.mt-mobile div {
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
}

.mt-mobile :is(button, select, input) {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
}

.mt-mobile :is(button, a, select, input):focus-visible {
    outline: 2px solid #246ec8;
    outline-offset: 2px;
}

#mt-page.mt-mobile .mt-page-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 20px;
    margin: 0 0 15px;
}

.mt-mobile .mt-page-heading h1 {
    font-size: clamp(25px, 5.7vw, 33px);
    font-weight: 680;
    line-height: 1.25;
    letter-spacing: -.045em;
}

.mt-mobile .mt-page-heading p {
    margin-top: 6px;
    color: var(--mt-muted);
    font-size: 13px;
    word-break: keep-all;
}

#mt-page #mt-search {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--mt-line);
    border-radius: 12px;
    background: #f3f8ff;
}

.mt-mobile .mt-button {
    display: inline-flex;
    width: auto;
    max-width: none;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    appearance: none;
    font: inherit;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.mt-mobile .mt-primary {
    color: #fff;
    background: var(--mt-blue);
}

.mt-mobile .mt-primary:not(:disabled):hover {
    background: var(--mt-blue-dark);
}

.mt-mobile .mt-outline {
    border-color: #b8cde6;
    color: var(--mt-blue-dark);
    background: #fff;
}

.mt-mobile .mt-outline:not(:disabled):hover {
    background: var(--mt-blue-soft);
}

.mt-mobile .mt-button:disabled {
    opacity: .62;
    cursor: default;
}

#mt-page #mt-calendar {
    position: fixed;
    inset: 0;
    width: min(390px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #d8e1ef;
    border-radius: 16px;
    color: var(--mt-ink);
    background: #fff;
    box-shadow: 0 16px 45px rgba(24, 35, 56, .22);
    font: inherit;
    text-align: left;
}

#mt-page #mt-calendar:not([open]) {
    display: none;
}

#mt-page #mt-calendar::backdrop {
    background: rgba(14,29,48,.48);
}

#mt-page .mt-calendar-heading,
#mt-page .mt-calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#mt-page .mt-calendar-heading {
    padding-bottom: 7px;
    border-bottom: 1px solid var(--mt-line);
}

#mt-page #mt-calendar-title,
#mt-page #mt-calendar-month {
    margin: 0;
    color: var(--mt-ink);
    font-size: 17px;
    font-weight: 650;
}

#mt-page .mt-calendar-navigation {
    padding-block: 9px 4px;
}

#mt-page #mt-calendar-month {
    font-size: 20px;
    white-space: nowrap;
}

#mt-page #mt-calendar button {
    display: grid;
    float: none;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 0;
    appearance: none;
    font: inherit;
    text-align: center;
    cursor: pointer;
}

#mt-page #mt-calendar .mt-calendar-close,
#mt-page #mt-calendar .mt-calendar-month-button {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #eef5ff;
}

#mt-page #mt-calendar .mt-calendar-close {
    background: transparent;
}

#mt-page #mt-calendar :is(.mt-calendar-close, .mt-calendar-month-button):enabled:hover {
    background: #e1efff;
}

#mt-page .mt-calendar-week,
#mt-page .mt-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
    text-align: center;
}

#mt-page .mt-calendar-week span {
    display: grid;
    min-height: 35px;
    place-items: center;
    color: var(--mt-muted);
    font-size: 13px;
    font-weight: 600;
}

#mt-page #mt-calendar .mt-calendar-day {
    width: 100%;
    height: 42px;
    border-radius: 9px;
    color: var(--mt-ink);
    background: transparent;
    font-size: 15px;
    font-weight: 550;
}

#mt-page .mt-calendar-week span:is(:first-child, :last-child),
#mt-page #mt-calendar .mt-calendar-day:is(:nth-child(7n + 1), :nth-child(7n)) {
    color: #c33634;
}

#mt-page #mt-calendar .mt-calendar-day:enabled:hover,
#mt-page #mt-calendar .mt-calendar-day[aria-current="date"]:enabled {
    color: var(--mt-blue);
    background: #e8f2ff;
}

#mt-page #mt-calendar .mt-calendar-day[aria-pressed="true"]:enabled {
    color: #fff;
    background: var(--mt-blue);
    font-weight: 650;
}

#mt-page #mt-calendar .mt-calendar-day:disabled {
    color: #8794a5;
    cursor: default;
}

#mt-page #mt-calendar .mt-calendar-day[aria-hidden="true"],
#mt-page #mt-calendar .mt-calendar-month-button:disabled {
    opacity: .42;
    cursor: default;
}

.mt-mobile .mt-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    min-width: 0;
    margin: 0;
    font: inherit;
}

.mt-mobile .mt-field > span {
    font-size: 13px;
    font-weight: 630;
}

#mt-page .mt-date-controls :is(select, input, button),
#mt-page .mt-field :is(select, input) {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 44px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid #cbd9e9;
    border-radius: 7px;
    color: var(--mt-ink);
    background: var(--mt-white);
    font-size: 16px;
    font-weight: 400;
    box-shadow: none;
}

#mt-page .mt-date-controls input[type="date"],
#mt-page .mt-date-controls select {
    padding-inline: 6px;
    font-size: clamp(13px, 3.5vw, 16px);
}

#mt-page #mt-search select {
    appearance: auto;
    background-image: none;
}

#mt-page .mt-date-controls .mt-date-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    padding-inline: 8px;
    appearance: none;
    font-size: clamp(13px, 3.55vw, 16px);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: pointer;
}

.mt-mobile .mt-date-trigger svg,
.mt-mobile .mt-calendar svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #3d6495;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mt-mobile .mt-search-submit {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
}

.mt-mobile .mt-form-message {
    margin-top: 10px;
    color: #9e3238;
    font-size: 13px;
}

#mt-results {
    margin-top: 25px;
    scroll-margin-top: 92px;
}

.mt-mobile .mt-results > h2 {
    margin: 0 0 9px;
    font-size: clamp(20px, 4.85vw, 26px);
    font-weight: 680;
    line-height: 1.28;
    letter-spacing: -.035em;
}

.mt-mobile .mt-result-count {
    margin-bottom: 10px;
    color: var(--mt-muted);
    font-size: 13px;
}

.mt-mobile .mt-car-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mt-mobile .mt-car-list > li {
    min-width: 0;
    margin: 0;
}

.mt-mobile .mt-car-card,
.mt-mobile .mt-detail-card,
.mt-mobile .mt-policy-content {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--mt-line);
    border-radius: 10px;
    background: #fff;
}

.mt-mobile .mt-car-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 9px 11px;
}

.mt-mobile .mt-photo {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    aspect-ratio: 4 / 3;
    place-items: center;
    padding: 4px;
    overflow: hidden;
    border-radius: 7px;
    color: var(--mt-muted);
    background: #f1f6fc;
    font-size: 11px;
    text-align: center;
}

.mt-mobile .mt-photo img {
    position: absolute;
    inset: 0;
    display: block;
    float: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 4px;
    border: 0;
    background: #fff;
    object-fit: contain;
}

.mt-mobile .mt-card-copy {
    min-width: 0;
    align-self: center;
}

.mt-mobile .mt-card-copy h3,
.mt-mobile .mt-detail-vehicle h3 {
    font-size: 17px;
    font-weight: 680;
    line-height: 1.28;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.mt-mobile .mt-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
    margin: 7px 0 0;
    padding: 0;
    list-style: none;
}

.mt-mobile .mt-specs > li {
    padding: 2px 6px;
    border-radius: 4px;
    color: #34567b;
    background: #edf4fd;
    font-size: 11px;
    font-weight: 550;
    overflow-wrap: anywhere;
}

.mt-mobile .mt-card-bottom,
.mt-mobile .mt-booking {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    margin: 0;
}

.mt-mobile .mt-card-bottom {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid #e5edf6;
}

.mt-mobile .mt-price-copy {
    display: grid;
    justify-items: start;
    gap: 2px;
    min-width: 0;
    color: var(--mt-muted);
    font-size: 12px;
}

.mt-mobile .mt-money {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: var(--mt-blue-dark);
    font-size: clamp(20px, 5.4vw, 25px);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mt-mobile .mt-money strong {
    font-weight: 720;
}

.mt-mobile .mt-money small {
    font-size: .62em;
    font-weight: 550;
}

.mt-mobile .mt-unpriced {
    color: var(--mt-ink);
    font-size: 14px;
    font-weight: 630;
}

.mt-mobile .mt-card-bottom .mt-button {
    min-width: 86px;
    margin-left: auto;
}

.mt-mobile .mt-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
}

.mt-mobile .mt-detail-vehicle {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 10px;
    min-width: 0;
}

.mt-mobile .mt-detail-vehicle .mt-photo {
    aspect-ratio: 16 / 9;
    max-height: 290px;
}

.mt-mobile .mt-detail-vehicle h3 {
    font-size: clamp(19px, 4.7vw, 24px);
}

.mt-mobile .mt-detail-quote {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 11px;
    min-width: 0;
}

.mt-mobile .mt-trip-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--mt-line);
    border-radius: 8px;
    background: #f8fbff;
}

.mt-mobile .mt-trip-summary dt {
    color: var(--mt-muted);
    font-size: 12px;
}

.mt-mobile .mt-trip-summary dd {
    min-width: 0;
    margin: 1px 0 0;
    color: var(--mt-ink);
    font-size: 13px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.mt-mobile .mt-booking {
    padding: 10px;
    border: 1px solid #b8d0ed;
    border-radius: 8px;
    background: #eff6ff;
}

.mt-mobile .mt-booking .mt-money {
    font-size: clamp(22px, 6vw, 29px);
}

.mt-mobile .mt-booking .mt-button {
    min-width: 100px;
    margin-left: auto;
}

.mt-mobile .mt-message {
    min-width: 0;
    padding: 20px 12px;
    border: 1px solid var(--mt-line);
    border-radius: 10px;
    color: var(--mt-muted);
    background: #f7faff;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.mt-mobile .mt-message strong {
    display: block;
    color: var(--mt-ink);
    font-size: 14px;
    font-weight: 650;
}

.mt-mobile .mt-message p {
    margin-top: 7px;
}

.mt-mobile .mt-policies {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.mt-mobile .mt-policy {
    min-width: 0;
    border: 1px solid var(--mt-line);
    border-radius: 10px;
    background: #fff;
}

.mt-mobile .mt-policy h2 {
    padding: 11px 13px;
    border-bottom: 1px solid var(--mt-line);
    border-radius: 9px 9px 0 0;
    background: #f4f8fe;
    font-size: 16px;
    font-weight: 650;
}

.mt-mobile .mt-policy .mt-policy-content {
    border: 0;
    border-radius: 0 0 9px 9px;
}

.mt-mobile .mt-policy-content {
    max-width: 100%;
    overflow-x: auto;
    font-size: 14px;
    overflow-wrap: anywhere;
    word-break: normal;
}

.mt-mobile .mt-policy-content :is(ul, ol) {
    padding-left: 1.2em;
    list-style: revert;
}

.mt-mobile .mt-policy-content table {
    max-width: 100%;
    border-collapse: collapse;
}

.mt-mobile .mt-policy-content :is(th, td) {
    padding: 6px;
    border: 1px solid var(--mt-line);
}

.mt-mobile .mt-policy-content img {
    max-width: 100%;
    height: auto;
}

.mt-mobile .mt-page-heading > div {
    min-width: 0;
}

.mt-mobile .mt-page-heading > .mt-button {
    flex-shrink: 0;
}

.mt-mobile .mt-dates,
.mt-mobile .mt-people,
.mt-mobile .mt-search-extra {
    display: grid;
    gap: 10px;
}

.mt-mobile .mt-dates {
    grid-template-columns: minmax(0, 1fr);
}

.mt-mobile .mt-date-group,
.mt-mobile .mt-travelers {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.mt-mobile legend {
    margin: 0 0 5px;
    padding: 0;
    color: var(--mt-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 650;
}

.mt-mobile .mt-date-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(54px, 1fr));
    gap: 6px;
}

.mt-mobile .mt-people {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.mt-mobile .mt-search-extra {
    grid-template-columns: minmax(76px, .62fr) minmax(0, 1.38fr);
    align-items: end;
    margin-top: 13px;
}

.mt-mobile .mt-travelers {
    grid-column: 1 / -1;
}

.mt-mobile .mt-search-submit {
    grid-column: auto;
    white-space: normal;
    word-break: keep-all;
}

.mt-mobile .mt-card-bottom form {
    margin-left: auto;
}

.mt-mobile .mt-gallery {
    min-width: 0;
}

.mt-mobile .mt-gallery-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 0;
    min-width: 0;
    overflow: auto hidden;
    scroll-snap-type: x mandatory;
}

.mt-mobile .mt-gallery-track > .mt-photo {
    scroll-snap-align: start;
}

.mt-mobile .mt-gallery-controls {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 7px;
    color: var(--mt-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.mt-mobile .mt-gallery-controls button {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0 0 2px;
    border: 1px solid var(--mt-line);
    border-radius: 50%;
    color: var(--mt-blue-dark);
    background: var(--mt-blue-soft);
    font-size: 23px;
    cursor: pointer;
}

.mt-mobile .mt-gallery-controls button:disabled {
    opacity: .45;
    cursor: default;
}

.mt-mobile .mt-policy-content p + p {
    margin-top: .7em;
}

@media (min-width: 760px) {
    #mt-page {
        padding: 32px 0 44px;
    }

    #mt-page #mt-search {
        padding: 19px;
    }

    .mt-mobile .mt-dates,
    #mt-page .mt-car-list,
    #mt-page .mt-detail-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mt-mobile .mt-search-extra {
        grid-template-columns: minmax(0, 1fr) minmax(90px, .25fr) minmax(170px, .42fr);
    }

    .mt-mobile .mt-travelers {
        grid-column: auto;
    }

    #mt-page .mt-detail-card {
        gap: 18px;
        padding: 16px;
    }

    #mt-results {
        scroll-margin-top: 118px;
    }
}
