.mypage {
    background: #ffffff;
    padding: 42px 0 88px;
}

.mypage__inner {
    width: min(100% - 40px, 1280px);
    margin: 0 auto;
    padding: 0 15px;
}

.mypage--home .mypage__inner {
    width: min(100% - 40px, 640px);
}

.mypage-profile {
    padding: 0 0 24px;
    border-bottom: 1px solid #202124;
}

.mypage-profile__eyebrow {
    margin: 0;
    color: #dd4a2c;
    font-size: 14px;
    font-weight: 500;
}

.mypage-profile__name {
    margin: 6px 0 0;
    color: #202124;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    word-break: keep-all;
}

.mypage-profile__meta {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
}

.mypage-profile__meta > div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
}

.mypage-profile__meta dt {
    margin: 0;
    color: #8a929d;
    font-size: 14px;
    font-weight: 500;
}

.mypage-profile__meta dd {
    margin: 0;
    color: #202124;
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.mypage-home-menu {
    display: grid;
    margin-top: 8px;
}

.mypage-home-menu a,
.mypage-home-menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e5e8ee;
    background: transparent;
    color: #202124;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.mypage-home-menu a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #9aa1aa;
    border-right: 1.5px solid #9aa1aa;
    transform: rotate(45deg);
}

.mypage-home-menu button {
    color: #6f7680;
    font-weight: 600;
}

.mypage-home-menu a:hover {
    color: #dd4a2c;
}

.mypage-home-menu button:hover {
    color: #202124;
}

.mypage-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 26px;
    border-bottom: 1px solid #202124;
}

.mypage-hero p,
.mypage-hero h1 {
    margin: 0;
}

.mypage-hero p {
    color: #dd4a2c;
    font-size: 14px;
    font-weight: 500;
}

.mypage-hero h1 {
    margin-top: 4px;
    color: #202124;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 600;
}

.mypage-hero__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mypage-hero__actions a,
.mypage-order__actions a,
.mypage-order__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #d9dde5;
    border-radius: 6px;
    background: #ffffff;
    color: #202124;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.mypage-hero__actions a:first-child {
    border-color: #202124;
    background: #202124;
    color: #ffffff;
}

.mypage-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #e5e8ee;
    border-radius: 8px;
    overflow: hidden;
}

/* 쿠폰 / 포인트 / 리뷰 / 문의 — a 와 포인트 셀 동일 패딩·보더 */
.mypage-benefits > a,
.mypage-benefits > .mypage-benefits__point {
    min-width: 0;
    padding: 22px 24px;
    border-right: 1px solid #e5e8ee;
    box-sizing: border-box;
}

.mypage-benefits > :last-child {
    border-right: 0;
}

.mypage-benefits span {
    display: block;
    color: #6f7680;
    font-size: 14px;
    word-break: keep-all;
}

.mypage-benefits strong {
    display: block;
    margin-top: 8px;
    color: #202124;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.mypage-benefits__point-reason {
    display: block;
    margin-top: 4px;
    color: #9aa1aa;
    font-size: 12px;
    font-style: normal;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
}

.mypage-section {
    padding: 34px 0;
    border-bottom: 1px solid #e5e8ee;
}

.mypage-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.mypage-section__head h2 {
    margin: 0;
    color: #202124;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
}

.mypage-section__head a {
    color: #6f7680;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.mypage-recent__list {
    display: grid;
    border-top: 1px solid #e5e8ee;
}

.mypage-order {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid #e5e8ee;
}

.mypage-order:last-child {
    border-bottom: 0;
}

.mypage-order__thumb {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f6;
    aspect-ratio: 1 / 1;
}

.mypage-order__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mypage-order__body {
    min-width: 0;
}

.mypage-order__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mypage-order__meta span {
    color: #dd4a2c;
    font-size: 13px;
    font-weight: 700;
}

.mypage-order__meta em,
.mypage-order__body p,
.mypage-order__body small {
    color: #8a929d;
    font-size: 14px;
    font-style: normal;
}

.mypage-order__body p,
.mypage-order__body h3,
.mypage-order__body strong {
    margin: 0;
}

.mypage-order__body p {
    margin-top: 8px;
}

.mypage-order__body h3 {
    margin-top: 4px;
    color: #202124;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    word-break: keep-all;
}

.mypage-order__body small {
    display: block;
    margin-top: 6px;
}

.mypage-order__body strong {
    display: block;
    margin-top: 8px;
    color: #202124;
    font-size: 17px;
    font-weight: 700;
}

.mypage-order__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.mypage-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 44px;
    padding: 34px 0 0;
}

.mypage-sidebar {
    align-self: start;
    position: sticky;
    top: calc(var(--site-header-height, 139px) + 24px);
}

/* 모바일 햄버거 — PC에서는 숨김, JS가 제목 옆으로 이동 */
.mypage-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid #d9dde5;
    border-radius: 10px;
    background: #ffffff;
    color: #202124;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mypage-menu-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.mypage-drawer-backdrop {
    display: none;
}

.mypage-drawer__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #202124;
    cursor: pointer;
}

.mypage-drawer__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.mypage-sub__title-wrap,
.mypage-hero__title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.mypage-sub__title-text,
.mypage-hero__title-text {
    min-width: 0;
    flex: 1;
}

.mypage-menu-list {
    display: grid;
    border-top: 1px solid #e5e8ee;
}

.mypage-menu-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    border-bottom: 1px solid #e5e8ee;
    color: #202124;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.mypage-menu-list a:hover {
    color: #dd4a2c;
}

.mypage-menu-list a.is-active {
    color: #dd4a2c;
    font-weight: 700;
}

.mypage-menu-list a.is-active::after {
    border-color: #dd4a2c;
}

/* 마이페이지 하위 공통 셸 (사이드바 + 콘텐츠) */
.mypage-sub {
    background: #ffffff;
    padding: 42px 0 88px;
}

.mypage-sub__inner {
    width: min(100% - 40px, 1280px);
    margin: 0 auto;
    padding: 0 15px;
}

.mypage-sub__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 26px;
    border-bottom: 1px solid #202124;
}

.mypage-sub__head > div:first-child {
    min-width: 0;
}

.mypage-sub__head span {
    display: block;
    color: #dd4a2c;
    font-size: 14px;
    font-weight: 500;
}

.mypage-sub__head h1 {
    margin: 4px 0 0;
    color: #202124;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 600;
    word-break: keep-all;
}

.mypage-sub__head-meta {
    margin: 8px 0 0;
    color: #6f7680;
    font-size: 14px;
    font-weight: 500;
}

.mypage-sub__head-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.mypage-sub__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding-top: 34px;
}

.mypage-sub__content {
    min-width: 0;
}

/*
 * 제목(.mypage-sub__head / .mypage-hero) 아래 구분선 1개만 유지.
 * 페이지 CSS 콘텐츠 상단 다크 border-top(#202124) 이 이중 라인으로 보이므로 무력화.
 * 행 간 연한 구분(#e5e8ee 등)은 페이지 CSS 그대로 둔다.
 */
.mypage-sub__content .notification-list,
.mypage-sub__content .notification-empty,
.mypage-sub__content .address-list,
.mypage-sub__content .address-state,
.mypage-sub__content .address-loading,
.mypage-sub__content .customer-faq__list,
.mypage-sub__content .customer-state,
.mypage-sub__content .customer-empty,
.mypage-sub__content .inquiry-list,
.mypage-sub__content .inquiry-empty,
.mypage-sub__content .review-list,
.mypage-sub__content .review-empty,
.mypage-sub__content .wishlist-empty,
.mypage-sub__content .liked-live-empty,
.mypage-sub__content .coupon-empty,
.mypage-sub__content .purchase-intent-empty,
.mypage-sub__content .cart-empty,
.mypage-sub__content .profile-form,
.mypage-sub__content > [class$="-list"],
.mypage-sub__content > [class$="-empty"],
.mypage-sub__content > [class$="-state"] {
    border-top-color: transparent;
    border-top-width: 0;
}

.mypage-sub__content > .order-message,
.mypage-sub__content > .delivery-message {
    margin-bottom: 16px;
}

/* 하위 페이지가 자체 max-width 를 쓰던 경우 셸 안에서 풀폭 */
.mypage-sub__content.wishlist-page,
.mypage-sub__content.liked-live-page,
.mypage-sub__content.notification-page,
.mypage-sub__content.purchase-intent-page,
.mypage-sub__content.coupon-page,
.mypage-sub__content.profile-page,
.mypage-sub__content.delivery-page,
.mypage-sub__content.address-page,
.mypage-sub__content.review-page,
.mypage-sub__content.inquiry-page,
.mypage-sub__content.customer-inquiry-page,
.mypage-sub__content.cart-page,
.mypage-sub__content.notice-page,
.mypage-sub__content > .wishlist-page,
.mypage-sub__content > .liked-live-page,
.mypage-sub__content > .notification-page,
.mypage-sub__content > .purchase-intent-page,
.mypage-sub__content > .coupon-page,
.mypage-sub__content > .profile-page,
.mypage-sub__content > .delivery-page,
.mypage-sub__content > .address-page,
.mypage-sub__content > .review-page,
.mypage-sub__content > .inquiry-page,
.mypage-sub__content > .customer-inquiry-page,
.mypage-sub__content > .cart-page,
.mypage-sub__content > .notice-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
}

.mypage-sub__link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #d9dde5;
    border-radius: 8px;
    color: #202124;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.mypage-sub__head-tools .wishlist-filter button,
.mypage-sub__head-tools .liked-live-filter button,
.mypage-sub__head-tools .notification-read-all {
    flex-shrink: 0;
}

.mypage-sub__head-tools .coupon-register {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: min(100%, 320px);
}

.mypage-sub__head-tools .coupon-register input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d9dde5;
    border-radius: 8px;
    font-size: 14px;
}

.mypage-sub__head-tools .coupon-register button {
    flex-shrink: 0;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: #202124;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

/*
 * 모바일/태블릿 마이페이지 = PC와 다른 레이아웃
 * - PC: 좌 240px 사이드 + 우 컨텐츠 2열
 * - 모바일: 1열 컨텐츠 + 제목 옆 햄버거 → 좌측 사이드 드로어
 * - JS 미로드 시(mypage-drawer-ready 없음): 기존 2열 그리드 메뉴 폴백
 */
@media (max-width: 1024px) {
    .mypage,
    .mypage-sub {
        overflow-x: clip;
        max-width: 100vw;
        padding: 24px 0 96px;
    }

    .mypage__inner,
    .mypage-sub__inner {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .mypage-layout,
    .mypage-sub__layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* head 하단선과 콘텐츠 사이 갭을 줄여 이중 라인 느낌 완화 */
        padding-top: 16px;
        min-width: 0;
    }

    /* 드로어 호스트: 사이드바 absolute 기준 박스 */
    body.mypage-drawer-ready .mypage-layout,
    body.mypage-drawer-ready .mypage-sub__layout {
        position: relative;
    }

    .mypage-sidebar .mypage-section__head {
        margin-bottom: 10px;
    }

    .mypage-sidebar .mypage-section__head h2 {
        font-size: 16px;
    }

    /* JS 폴백: 드로어 준비 전/실패 시 2열 그리드 */
    body:not(.mypage-drawer-ready) .mypage-sidebar {
        position: static;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body:not(.mypage-drawer-ready) .mypage-menu-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        border: 1px solid #e5e8ee;
        border-radius: 8px;
        border-top: 1px solid #e5e8ee;
        overflow: hidden;
        overflow-x: hidden;
        max-width: 100%;
    }

    body:not(.mypage-drawer-ready) .mypage-menu-list a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        min-height: 48px;
        margin: 0;
        padding: 10px 12px;
        border: 0;
        border-right: 1px solid #e5e8ee;
        border-bottom: 1px solid #e5e8ee;
        border-radius: 0;
        background: #ffffff;
        color: #202124;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    body:not(.mypage-drawer-ready) .mypage-menu-list a:nth-child(2n) {
        border-right: 0;
    }

    body:not(.mypage-drawer-ready) .mypage-menu-list a::after {
        display: none;
    }

    body:not(.mypage-drawer-ready) .mypage-menu-list a.is-active {
        background: #fff7f4;
        color: #dd4a2c;
        font-weight: 700;
        border-color: transparent;
    }

    /* 드로어 모드 (mypage_nav.js) */
    body.mypage-drawer-ready .mypage-sub__title-wrap .mypage-menu-toggle,
    body.mypage-drawer-ready .mypage-hero__title-wrap .mypage-menu-toggle {
        display: none;
    }

    body.mypage-drawer-ready .mypage-drawer__close {
        display: inline-flex;
    }

    body.mypage-drawer-ready .mypage-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 8px;
        padding: 4px 0 8px;
    }

    body.mypage-drawer-ready .mypage-drawer__head h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    /*
     * 모바일 드로어 (닫힘): 레이아웃 기준 오프스크린.
     * 열림은 fixed + JS 메트릭(--mypage-drawer-top/bottom)으로
     * 콘텐츠 시작 ~ 바텀내비 위까지 캡하고 패널 내부 스크롤.
     */
    body.mypage-drawer-ready .mypage-sidebar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 20;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 12px 0 16px;
        background: #ffffff;
        box-shadow: none;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: translate3d(-102%, 0, 0);
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.28s;
        will-change: transform;
    }

    body.mypage-drawer-ready.is-mypage-drawer-open .mypage-layout,
    body.mypage-drawer-ready.is-mypage-drawer-open .mypage-sub__layout {
        /* fixed 패널이 뷰포트를 채우므로 레이아웃 min-height 추정 불필요 */
        overflow: visible;
    }

    /*
     * 열림: 콘텐츠 영역 top 앵커 + bottom-nav 위까지.
     * height 는 mypage_nav.js 가 window.innerHeight 로 계산한
     * --mypage-drawer-height (100dvh 는 모바일 layout 뷰포트보다 커 바텀내비 덮음).
     */
    body.mypage-drawer-ready.is-mypage-drawer-open .mypage-sidebar {
        position: fixed;
        top: var(--mypage-drawer-top, 200px);
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        max-width: none;
        height: var(--mypage-drawer-height, 50vh);
        max-height: var(--mypage-drawer-height, 50vh);
        min-height: 0;
        margin: 0;
        padding: 12px 16px 16px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: none;
        will-change: auto;
        visibility: visible;
        pointer-events: auto;
        transition: none;
        box-sizing: border-box;
        align-self: stretch;
    }

    /* 열림: 본문 숨기고 메뉴가 콘텐츠 자리를 대체 */
    body.mypage-drawer-ready.is-mypage-drawer-open .mypage-sub__content,
    body.mypage-drawer-ready.is-mypage-drawer-open .mypage-content {
        display: none;
    }

    /* 백드롭: 열림 시 fixed 사이드와 동일 영역 디밍 */
    body.mypage-drawer-ready .mypage-drawer-backdrop {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 15;
        margin: 0;
        padding: 0;
        border: 0;
        background: rgba(15, 23, 42, 0.28);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
    }

    body.mypage-drawer-ready.is-mypage-drawer-open .mypage-drawer-backdrop {
        position: fixed;
        top: var(--mypage-drawer-top, 200px);
        left: 0;
        right: 0;
        bottom: auto;
        height: var(--mypage-drawer-height, 50vh);
        max-height: var(--mypage-drawer-height, 50vh);
        z-index: 19;
        opacity: 1;
        pointer-events: auto;
    }

    body.mypage-drawer-ready.is-mypage-drawer-open {
        overflow: hidden;
    }

    body.mypage-drawer-ready .mypage-menu-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        border: 0;
        border-top: 1px solid #e5e8ee;
        border-radius: 0;
        overflow: visible;
        max-width: none;
    }

    body.mypage-drawer-ready .mypage-menu-list a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
        min-height: 48px;
        margin: 0;
        padding: 10px 4px;
        border: 0;
        border-bottom: 1px solid #e5e8ee;
        border-radius: 0;
        background: transparent;
        color: #202124;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.35;
        white-space: normal;
        word-break: keep-all;
    }

    body.mypage-drawer-ready .mypage-menu-list a::after {
        display: block;
    }

    body.mypage-drawer-ready .mypage-menu-list a.is-active {
        background: transparent;
        color: #dd4a2c;
        font-weight: 700;
    }

    .mypage-section__head {
        margin-bottom: 12px;
    }

    .mypage-sub__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 18px;
    }

    .mypage-sub__head h1 {
        font-size: 24px;
    }

    .mypage-sub__head-tools {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .mypage-sub__content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: clip;
    }

    .mypage-content {
        min-width: 0;
        max-width: 100%;
    }

    /* 혜택 4칸: 사이드바 접힌 중폭부터 2×2 */
    .mypage-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mypage-benefits > a,
    .mypage-benefits > .mypage-benefits__point {
        padding: 18px 16px;
        border-right: 1px solid #e5e8ee;
        border-bottom: 1px solid #e5e8ee;
    }

    .mypage-benefits > :nth-child(2n) {
        border-right: 0;
    }

    .mypage-benefits > :nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

.mypage-menu-list a::after,
.mypage-live-alert__list a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1px solid #9aa1aa;
    border-right: 1px solid #9aa1aa;
    transform: rotate(45deg);
}

.mypage-live-alert__list {
    display: grid;
    border-top: 1px solid #e5e8ee;
}

.mypage-live-alert__list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 14px;
    align-items: center;
    min-height: 72px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e8ee;
}

.mypage-live-alert__list strong {
    color: #202124;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    word-break: keep-all;
}

.mypage-live-alert__list span {
    grid-column: 1;
    color: #8a929d;
    font-size: 14px;
}

.mypage-live-alert__list a::after {
    grid-column: 2;
    grid-row: 1 / span 2;
}

@media (max-width: 768px) {
    .mypage {
        padding: 20px 0 96px;
    }

    .mypage__inner,
    .mypage-sub__inner {
        padding: 0 14px;
    }

    .mypage-hero {
        display: block;
        padding: 0 0 16px;
    }

    .mypage-hero h1,
    .mypage-profile__name {
        font-size: 22px;
    }

    .mypage--home .mypage__inner {
        width: 100%;
        max-width: 100%;
        padding: 0 14px;
    }

    .mypage-hero__actions {
        display: none;
    }

    /* 2×2 그리드·보더는 1024 구간에서 정의 — 여기선 패딩/타이포만 */
    .mypage-benefits > a,
    .mypage-benefits > .mypage-benefits__point {
        padding: 16px 14px;
    }

    .mypage-benefits strong {
        font-size: 20px;
    }

    .mypage-section {
        padding: 24px 0;
    }

    .mypage-section__head h2 {
        font-size: 18px;
    }

    .mypage-order {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 16px 0;
        min-width: 0;
    }

    .mypage-order__thumb {
        width: 72px;
    }

    .mypage-order__body {
        min-width: 0;
    }

    .mypage-order__body h3 {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .mypage-order__actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mypage-order__actions a,
    .mypage-order__actions button {
        width: 100%;
        min-width: 0;
    }

    /* JS 폴백 메뉴 2열 유지 */
    body:not(.mypage-drawer-ready) .mypage-menu-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow-x: hidden;
    }

    .mypage-layout,
    .mypage-sub__layout {
        padding-top: 12px;
        gap: 16px;
    }

    .mypage-sub__head-tools .coupon-register {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        flex-wrap: wrap;
    }

    .mypage-sub__head-tools .cart-steps {
        flex-wrap: wrap;
        gap: 10px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .mypage-benefits > a,
    .mypage-benefits > .mypage-benefits__point {
        padding: 16px 12px;
    }

    .mypage-benefits strong {
        font-size: 19px;
    }

    .mypage-order__meta {
        flex-wrap: wrap;
        gap: 4px 8px;
    }
}
