@charset "utf-8";

/* ==========================================================================
   대구메이트 상품 상세 (Figma 0201_Package Tours_dt / node 7288:16435,
                          0301_Tickets_dt       / node 7288:16853)
   - main.css → sub.css 뒤에 로드된다. 상단/하단/퀵메뉴·서브 히어로는 그대로 쓴다.
   - 회사소개(sub.css)와 달리 이 화면의 본문 서체는 전부 Pretendard 다.
   - main.css 와 마찬가지로 모두 px 로 작성한다.

   분류별 차이 (마크업은 한 벌, 클래스로 갈린다)
     .dm-it-package : 제목 아래 1인 기준가, Bed Type 드롭다운, Book Now
     .dm-it-ticket  : Select Date 버튼, 정가 취소선 병기, Get Tickets

   브레이크포인트 (main.css 와 동일)
     ~1279px  태블릿 가로  : 섹션 간격 축소
     ~1023px  태블릿       : 이미지/정보 세로 배치, 평점 요약 세로 배치
     ~767px   모바일       : 옵션 줄 접기, 후기 행 카드형 전환
     ~479px   소형 모바일  : 버튼 세로 배치
   ========================================================================== */

:root {
    --dm-base3: #666666;        /* Colors/Grey Color/Light/Base3 */
    --dm-base6: #b2b2b2;        /* Colors/Grey Color/Light/Base6 */
    --dm-base7: #c4c4c4;        /* Colors/Grey Color/Light/Base7 */
    --dm-score-bg: #f3f5f8;     /* 평점 요약 박스 */
    --dm-it-gap: 100px;         /* 시안의 본문 블록 간격 */
}

/* 이 화면만 본문 서체를 Pretendard 로 되돌린다. (sub.css 의 #dm_sub 규칙을 덮음) */
#dm_sub.dm-sub-item {
    font-family: var(--dm-font-kr);
}

.dm-it-admin {
    max-width: calc(var(--dm-content) + var(--dm-gutter) * 2);
    margin: 20px auto -20px;
    padding: 0 var(--dm-gutter);
    text-align: right;
}

/* ------------------------------------------------------------ 상품 요약 */
.dm-it-info {
    display: grid;
    /* 시안 기준 이미지 560x420 고정, 나머지를 정보 패널이 쓴다. */
    grid-template-columns: 560px minmax(0, 1fr);
    align-items: start;
    gap: 40px;
    margin-top: 120px;
}

/* 이미지 (PC 560x420, 좁아지면 4:3 비율 유지) */
.dm-it-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--dm-base9);
}
/* 가로로 이어 붙인 트랙을 transform 으로 밀어 넘긴다. */
.dm-it-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
    touch-action: pan-y;
}
/* 끌고 있는 동안에는 손가락을 그대로 따라온다. */
.dm-it-slides.dm-it-dragging {
    transition: none;
}
@media (prefers-reduced-motion: reduce) {
    .dm-it-slides {
        transition: none;
    }
}
.dm-it-slide {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
    user-select: none;
}
/* 시안에는 없지만 여러 장일 때 넘길 수단이 필요해 최소한으로 둔다. */
.dm-it-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.dm-it-visual:hover .dm-it-nav,
.dm-it-nav:focus-visible {
    opacity: 1;
}
/* 터치 기기는 hover 가 없어 영영 안 보인다. 항상 노출한다. */
@media (hover: none), (pointer: coarse) {
    .dm-it-nav {
        opacity: 1;
    }
}
.dm-it-nav::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--dm-base10);
    border-right: 2px solid var(--dm-base10);
}
.dm-it-prev {
    left: 12px;
}
.dm-it-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}
.dm-it-next {
    right: 12px;
}
.dm-it-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}
/* 1 · 3 카운터 */
.dm-it-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.5);
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--dm-base10);
}
.dm-it-count i {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--dm-base10);
}

/* 정보 패널 */
.dm-it-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding-top: 12px;
}
.dm-it-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dm-it-name {
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
    color: var(--dm-base0);
}
.dm-it-unit {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    color: var(--dm-primary);
}
.dm-it-unit strong {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
}
.dm-it-unit span {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

/* 날짜 선택 (Tickets 전용) */
.dm-it-order {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dm-it-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 24px;
    border: 1px solid var(--dm-base7);
    border-radius: 4px;
    background: var(--dm-base10);
    font-family: inherit;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--dm-base2);
}
.dm-it-date img {
    display: block;
    flex: none;
    width: 20px;
    height: 20px;
}

/* 방문일 달력 (시안에 없는 요소. Select Date 버튼 아래로 펼쳐진다) */
.dm-it-datewrap {
    position: relative;
}
.dm-it-date-on {
    border-color: var(--dm-primary);
    color: var(--dm-primary);
}
.dm-it-cal {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    width: 100%;
    min-width: 280px;
    padding: 16px;
    border: 1px solid var(--dm-base8);
    border-radius: 8px;
    background: var(--dm-base10);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.dm-it-cal[hidden] {
    display: none;
}
.dm-it-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.dm-it-cal-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--dm-base1);
}
.dm-it-cal-nav {
    position: relative;
    flex: none;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 4px;
    background: none;
    cursor: pointer;
}
.dm-it-cal-nav::before {
    /* 별도 아이콘 없이 꺾쇠를 그린다 */
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--dm-base1);
    border-right: 2px solid var(--dm-base1);
}
.dm-it-cal-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}
.dm-it-cal-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}
.dm-it-cal-nav:hover {
    background: var(--dm-base9);
}
.dm-it-cal-nav:disabled {
    cursor: default;
    opacity: .3;
}
.dm-it-cal-nav:disabled:hover {
    background: none;
}
.dm-it-cal-grid {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.dm-it-cal-grid th {
    padding-bottom: 6px;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: var(--dm-base4);
}
.dm-it-cal-grid th abbr {
    text-decoration: none;
    border: 0;
}
.dm-it-cal-grid td {
    padding: 2px;
    text-align: center;
}
.dm-it-cal-day {
    display: block;
    width: 100%;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    line-height: 34px;
    color: var(--dm-base1);
    cursor: pointer;
}
button.dm-it-cal-day:hover {
    background: var(--dm-base9);
}
.dm-it-cal-today {
    box-shadow: inset 0 0 0 1px var(--dm-base7);
}
.dm-it-cal-on,
button.dm-it-cal-on:hover {
    background: var(--dm-primary);
    box-shadow: none;
    color: var(--dm-base10);
}
.dm-it-cal-off {
    color: var(--dm-base7);
    cursor: default;
}

/* 옵션 박스 */
.dm-it-opts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-radius: 4px;
    background: var(--dm-base9);
}
.dm-it-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.dm-it-opt-name {
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
    color: var(--dm-base1);
}
.dm-it-opt-ctrl {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dm-it-opt-price {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--dm-base3);
}
.dm-it-opt-was {
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: var(--dm-base6);
    text-decoration: line-through;
}

/* 수량 조절 */
.dm-it-num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 120px;
    border: 1px solid var(--dm-base8);
    border-radius: 8px;
    background: var(--dm-base10);
    overflow: hidden;
}
.dm-it-step {
    position: relative;
    flex: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: none;
}
/* 빼기는 막대 하나라 이미지 없이 그린다. */
.dm-it-minus::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--dm-base4);
    transform: translate(-50%, -50%);
}
.dm-it-plus::before,
.dm-it-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--dm-base4);
    transform: translate(-50%, -50%);
}
.dm-it-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.dm-it-qty {
    width: 44px;
    height: 34px;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--dm-base0);
    text-align: center;
}
/* default_shop.css 가 input 에 거는 포커스 그림자/테두리를 없앤다. */
#dm_sub .dm-it-qty:focus {
    border: 0 !important;
    box-shadow: none;
}

/* 선택옵션 드롭다운 */
.dm-it-select {
    position: relative;
    flex: none;
    display: block;
    width: 200px;
}
.dm-it-select select {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 12px;
    border: 1px solid var(--dm-base8);
    border-radius: 8px;
    background: var(--dm-base10);
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--dm-base2);
    appearance: none;
    -webkit-appearance: none;
}
.dm-it-select img {
    position: absolute;
    top: 8px;
    right: 3px;
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* 결제금액 */
.dm-it-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    color: var(--dm-base0);
}
.dm-it-total-label {
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
}
.dm-it-total-price {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}
.dm-it-total-was {
    /* 시안: 취소선 → KRW 는 11px, KRW → 금액은 4px (gap 4 + 7) */
    margin-right: 7px;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: var(--dm-base4);
    text-decoration: line-through;
}
.dm-it-total-cur {
    font-weight: 700;
    font-size: 13px;
    line-height: 18px;
}
.dm-it-total-sum {
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
}

/* 버튼 */
.dm-it-btns {
    display: flex;
    gap: 12px;
}
.dm-it-btn {
    /* 높이를 확실히 잡으려면 글자를 직접 가운데 정렬한다. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 0;
    min-width: 0;
    height: 50px;
    padding: 0 20px;
    border-radius: 6px;
    /* iOS 사파리가 button 에 기본 모양을 입혀 배경·모서리를 무시한다. */
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}
.dm-it-btn-share {
    border: 1px solid var(--dm-primary);
    background: var(--dm-base10);
    color: var(--dm-primary);
}
.dm-it-btn-buy {
    border: 1px solid var(--dm-primary);
    background: var(--dm-primary);
    color: var(--dm-base10);
}
.dm-it-btn-buy[disabled] {
    border-color: var(--dm-base8);
    background: var(--dm-base8);
    color: var(--dm-base4);
    cursor: default;
}

/* ----------------------------------------------------------------- 탭 */
.dm-it-tabs {
    display: flex;
    margin-top: var(--dm-it-gap);
}
.dm-it-tab {
    flex: 1 0 0;
    min-width: 0;
    height: 48px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--dm-base8);
    background: none;
    font-family: inherit;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--dm-base3);
}
.dm-it-tab-on {
    border-bottom-color: var(--dm-base0);
    font-weight: 500;
    color: var(--dm-base0);
}

.dm-it-pane {
    margin-top: 80px;
}
/* default_shop.css 리셋의 section{display:block} 이 UA 의 [hidden] 을 이기므로 직접 숨긴다 */
.dm-it-pane[hidden] {
    display: none;
}
/* 관리자가 넣은 HTML 이라 폭을 통제할 수 없다. 가로 스크롤로 가둔다. */
.dm-it-explan {
    overflow-x: auto;
    font-size: 15px;
    line-height: 1.7;
    color: var(--dm-base2);
}
.dm-it-explan img,
.dm-it-explan video,
.dm-it-explan iframe {
    max-width: 100%;
    height: auto;
}
/* 관리자가 상품 설명을 아직 등록하지 않은 경우 */
.dm-it-noexplan {
    padding: 60px 0;
    font-size: 15px;
    line-height: 22px;
    color: var(--dm-base4);
    text-align: center;
}

/* ------------------------------------------------------------- 평점 요약 */
.dm-rv-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 0 var(--dm-gutter);
}
.dm-rv-avg {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 400px;
    min-height: 180px;
    padding: 30px 20px;
    border-radius: 8px;
    background: var(--dm-score-bg);
}
.dm-rv-avg strong {
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    color: var(--dm-base1);
}
.dm-rv-avg > span {
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: var(--dm-base4);
}
.dm-stars {
    display: inline-flex;
    align-items: center;
}
.dm-rv-avg .dm-stars {
    gap: 8px;
}
.dm-stars img {
    display: block;
}

.dm-rv-bars {
    flex: 0 1 393px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dm-rv-bars li {
    display: flex;
    align-items: center;
    gap: 28px;
}
.dm-rv-bar-no {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
    color: var(--dm-base2);
}
.dm-rv-bar-no img {
    display: block;
    width: 20px;
    height: 20px;
}
.dm-rv-bar {
    flex: 1 1 auto;
    height: 8px;
    border-radius: 12px;
    background: var(--dm-base9);
    overflow: hidden;
}
.dm-rv-bar i {
    display: block;
    height: 100%;
    border-radius: 20px;
    background: var(--dm-primary);
}
.dm-rv-bar-cnt {
    flex: none;
    min-width: 9px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--dm-base3);
    text-align: center;
}

/* ------------------------------------------------------------- 후기 목록 */
.dm-rv-wrap {
    margin-top: 60px;
}
.dm-rv-total {
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
    color: var(--dm-base1);
}
.dm-rv-list {
    margin-top: 30px;
}
.dm-rv-list > li {
    display: grid;
    grid-template-columns: 40px 140px 124px minmax(0, 1fr) auto;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid var(--dm-base8);
}
.dm-rv-list > li:first-child {
    border-top: 1px solid var(--dm-base8);
}
.dm-rv-no {
    padding: 16px 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--dm-base4);
}
.dm-rv-name {
    padding: 16px 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--dm-base0);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dm-rv-score {
    padding: 16px 12px;
}
.dm-rv-txt {
    padding: 16px 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--dm-base2);
}
.dm-rv-date {
    padding: 16px 12px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--dm-base4);
    white-space: nowrap;
}

/* ------------------------------------------------------------ 페이지 번호 */
.dm-rv-page {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 10페이지 + 화살표 4개는 316px 라 320px 화면에서 넘친다.
       #dm_wrap 이 overflow-x:hidden 이라 넘치면 잘려서 못 누르게 된다. */
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 60px;
}
.dm-pg-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    color: var(--dm-base3);
}
.dm-pg-on {
    background: var(--dm-how-bg);
    font-weight: 700;
    color: var(--dm-primary);
}
.dm-pg-arw {
    position: relative;
    width: 16px;
    height: 20px;
}
.dm-pg-arw::before,
.dm-pg-arw::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--dm-base4);
    border-right: 1px solid var(--dm-base4);
}
.dm-pg-prev::before,
.dm-pg-first::before,
.dm-pg-first::after {
    transform: translate(-50%, -50%) rotate(-135deg);
}
.dm-pg-next::before,
.dm-pg-last::before,
.dm-pg-last::after {
    transform: translate(-50%, -50%) rotate(45deg);
}
/* 겹화살표는 두 개를 어긋나게 겹친다. */
.dm-pg-first::before {
    margin-left: -3px;
}
.dm-pg-first::after {
    margin-left: 3px;
}
.dm-pg-last::before {
    margin-left: -3px;
}
.dm-pg-last::after {
    margin-left: 3px;
}
.dm-pg-prev::after,
.dm-pg-next::after {
    display: none;
}
.dm-pg-arw:hover::before,
.dm-pg-arw:hover::after {
    border-color: var(--dm-primary);
}
.dm-rv-page a:hover {
    color: var(--dm-primary);
}

/* ======================================================================
   ~1279px : 태블릿 가로
   ====================================================================== */
@media (max-width: 1279px) {
    :root {
        --dm-it-gap: 80px;
    }

    .dm-it-info {
        /* 1200 미만에서는 560 고정이 패널을 짓누르므로 시안 비율(560:600)로 줄인다. */
        grid-template-columns: minmax(0, 56fr) minmax(0, 60fr);
        gap: 28px;
        margin-top: 80px;
    }
    .dm-it-panel {
        gap: 24px;
    }
    .dm-it-name {
        font-size: 24px;
        line-height: 32px;
    }

    .dm-it-pane {
        margin-top: 56px;
    }
    .dm-rv-summary {
        gap: 40px;
    }
    .dm-rv-avg {
        width: 320px;
    }
    .dm-rv-bars li {
        gap: 16px;
    }

    .dm-rv-list > li {
        grid-template-columns: 36px 120px 110px minmax(0, 1fr) auto;
    }
}

/* ======================================================================
   ~1023px : 태블릿
   ====================================================================== */
@media (max-width: 1023px) {
    .dm-it-info {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .dm-it-panel {
        padding-top: 0;
    }

    /* 평점 요약을 세로로 쌓는다. */
    .dm-rv-summary {
        flex-direction: column;
        gap: 32px;
    }
    .dm-rv-avg {
        width: 100%;
        max-width: 400px;
    }
    .dm-rv-bars {
        flex: 0 1 auto;
        width: 100%;
        max-width: 480px;
    }

    /* 닉네임/별점 칸을 줄이고 본문에 폭을 몰아 준다. */
    .dm-rv-list > li {
        grid-template-columns: 32px 100px 100px minmax(0, 1fr);
    }
    .dm-rv-date {
        display: none;
    }
}

/* ======================================================================
   ~767px : 모바일
   ====================================================================== */
@media (max-width: 767px) {
    :root {
        --dm-it-gap: 56px;
    }

    .dm-it-info {
        margin-top: 48px;
    }
    .dm-it-name {
        font-size: 20px;
        line-height: 28px;
    }
    .dm-it-unit strong {
        font-size: 18px;
        line-height: 26px;
    }

    .dm-it-opts {
        padding: 16px;
    }
    /* 한 줄에 다 들어가지 않으므로 이름 아래로 조작부를 내린다. */
    .dm-it-opt {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .dm-it-opt-name {
        flex: 1 0 100%;
    }
    .dm-it-opt-ctrl {
        flex: 1 0 100%;
        justify-content: flex-end;
    }
    .dm-it-select {
        flex: 1 1 0;
        width: auto;
    }

    .dm-it-total-sum {
        font-size: 24px;
        line-height: 32px;
    }

    .dm-it-tab {
        height: 44px;
        font-size: 15px;
    }
    .dm-it-pane {
        margin-top: 36px;
    }

    .dm-rv-avg {
        min-height: 0;
        padding: 24px 16px;
    }
    .dm-rv-avg strong {
        font-size: 28px;
    }
    .dm-rv-avg .dm-stars {
        gap: 4px;
    }
    .dm-rv-avg .dm-stars img {
        width: 26px;
        height: 26px;
    }

    .dm-rv-wrap {
        margin-top: 40px;
    }
    .dm-rv-list {
        margin-top: 16px;
    }
    /* 5칸 표를 카드형으로 바꾼다. */
    .dm-rv-list > li {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "no name date"
            "score score score"
            "txt txt txt";
        align-items: center;
        padding: 16px 0;
        row-gap: 6px;
    }
    .dm-rv-no {
        grid-area: no;
        padding: 0 8px 0 0;
    }
    .dm-rv-name {
        grid-area: name;
        padding: 0;
        font-size: 15px;
        line-height: 22px;
    }
    .dm-rv-score {
        grid-area: score;
        padding: 0;
    }
    .dm-rv-txt {
        grid-area: txt;
        padding: 0;
    }
    .dm-rv-date {
        grid-area: date;
        display: block;
        padding: 0;
        font-size: 13px;
        line-height: 18px;
    }

    .dm-rv-page {
        margin-top: 40px;
    }
}

/* ======================================================================
   ~479px : 소형 모바일
   ====================================================================== */
@media (max-width: 479px) {
    /* 좌우 배치를 유지한다. 320px 화면에서도 'Get Tickets' 가 한 줄에 들어가도록 여백만 줄인다. */
    .dm-it-btns {
        gap: 8px;
    }
    .dm-it-btn {
        padding: 0 12px;
    }
    .dm-it-opt-ctrl {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    /* 라벨 + 취소선 + KRW + 금액이 한 줄에 안 들어간다. 금액을 아래 줄로 내린다. */
    .dm-it-total {
        flex-wrap: wrap;
        row-gap: 4px;
    }
    .dm-it-total-price {
        flex: 1 0 100%;
        justify-content: flex-end;
    }
}
