/**************************** common ***************************/
#contents:has( .myshop-layout) { padding-top: 40px; } 
.container:has( .myshop-layout) { max-width: 1200px; } 
.myshop-layout { display: flex; align-items: start; gap: 40px; } 

/* menu */
.myshop-menu { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; position: sticky; top: calc(var(--header-height) + 20px); width: 260px; min-width: 260px; padding: 12px 10px; border-radius: 4px; border: 1px solid var(--gray-2); background: #FFF; } 
.myshop-menu__list { display: flex; flex-direction: column; gap: 2px; } 
.myshop-menu__list,
.myshop-menu nav { width: 100%; } 
.myshop-menu nav { display: flex; flex-direction: column; gap: 20px; } 
.myshop-menu__item a,
.myshop-menu__logout { display: flex; align-items: center; gap: 10px; align-self: stretch; width: 100%; padding: 8px 10px; border-radius: 4px; font-size: 16px; font-weight: 400; line-height: 150%; color: var(--gray-7); transition: all .3s; } 
.myshop-menu__item.is-active a { font-weight: 500; color: var(--gray-black); background: var(--gray-1); } 
.myshop-menu__item:hover a,
.myshop-menu__logout:hover { font-weight: 500; color: var(--gray-black); } 

/* contents */
.myshop-content { width: 100%; } 
.myshop-dashboard__orders { width: 100%; } 

@media screen and (max-width: 1280px){
 .myshop-layout { gap: 20px; } 
 .myshop-menu { min-width: 200px; width: 200px; } 
 }

@media screen and (max-width: 1024px) { /* 모바일 인트로 헤더 영역 */
 body:has([data-myshop-dashboard]:not(.is-home-view)) #site-header.sub-header .site-header__inner { display: flex; } 
 body:has([data-myshop-dashboard]:not(.is-home-view)) #site-header.sub-header .mobile-sub-header { display: none; } 
 body:has([data-myshop-dashboard]:not(.is-home-view)) #site-header.sub-header { padding: 0 16px; }
 [data-myshop-dashboard]:not(.is-home-view) .myshop-dashboard__orders { display: none; } 
 [data-myshop-dashboard].is-home-view .myshop-summary { display: none; } 

 /* 레이아웃 */
 #contents:has( .myshop-layout),
 #contents:has( .myshop-order-detail) { padding: 0; } 
 .container:has( .myshop-layout),
 .container:has( .myshop-order-detail) { padding: 0 0 80px 0; } 
 .myshop-hidden-title { display: none; }
 .myshop-layout { flex-direction: column; gap: 0; } 
 .myshop-menu { display: none; order: 2; border-radius: 0; border: none; width: 100%; padding: 20px 16px; } 
 .myshop-layout:has([data-myshop-dashboard]:not(.is-home-view)) > .myshop-menu { display: flex; } 
 .myshop-menu__item a, .myshop-menu__logout { font-weight: 500; color: var(--gray-black); } 
 .myshop-menu__logout { font-size: 14px; text-decoration-line: underline; text-decoration-style: solid; text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font; color: var(--gray-6); } 
}


/*************************** index ***************************/

/* index 상단 :: 회원 인포 영역 */
.myshop-summary { display: flex; padding: 24px 30px; flex-direction: column; align-items: flex-start; gap: 20px; align-self: stretch; width: 100%; border-radius: 8px; border: 1px solid var(--gray-2); background: #FFF; } 
.myshop-summary__stats { display: flex; align-items: center; gap: 30px; flex: 1 0 0; align-self: stretch; padding: 20px 0; } 
.myshop-summary__stat { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1 0 0; position: relative; } 
.myshop-summary__stat:after { content: ""; display: block; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); width: 1px; height: 60px; background-color: var(--gray-2); } 
.myshop-summary__stat:last-child::after { display: none; } 
.myshop-summary__stat dt { display: flex; align-items: center; gap: 6px; } 
.myshop-summary__stat dt i { display: flex; } 

/* index 하단 :: 검색 필터 */
.myshop-period { display: flex; align-items: center; gap: 40px; padding: 16px 20px; margin-top: 40px; border-radius: 4px; white-space: nowrap; background: var(--gray-1); } 
.myshop-period__mobile-toggle { display: none; } 
.myshop-period__controls { display: flex; align-items: center; gap: 8px; width: 100%; } 
.myshop-period__presets { display: flex; gap: 8px; } 
.myshop-period__dates { display: flex; position: relative; align-items: center; gap: 4px; flex: 1; min-width: 0; } 
.myshop-period__dates label { position: relative; display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; padding: 12px 14px 12px 12px; border-radius: 4px; border: 1px solid var(--gray-3); height: 45px; font-size: 14px; font-weight: 400; line-height: 150%; background: #FFF; cursor: pointer; } 

.myshop-period__dates label input { all: unset; width: 100%; } 
.myshop-period__presets .btnNormal { height: 45px; } 
.myshop-period__presets .btnNormal.is-active { border: 1px solid var(--gray-black); color: var(--sub-color); background: #EBF5F0; } 

.myshop-period .btnSubmit { margin-left: 8px; } 

/* 조회 기간 커스텀 달력 */
.myshop-calendar { position: absolute; top: calc(100% + 8px); left: 0; z-index: 100; width: 260px; padding: 20px; border: 1px solid var(--gray-3); border-radius: 4px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); } 
.myshop-calendar[hidden] { display: none; } 
.myshop-calendar__header { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 16px; } 
.myshop-calendar__header strong { font-size: 16px; font-weight: 600; line-height: 150%; } 
.myshop-calendar__nav { display: flex; justify-content: center; align-items: center; width: 24px; height: 24px; font-size: 22px; color: var(--gray-7); } 
.myshop-calendar__weekdays,
.myshop-calendar__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; text-align: center; } 
.myshop-calendar__weekdays { margin-bottom: 12px; } 
.myshop-calendar__weekdays span { display: flex; justify-content: center; align-items: center; width: 20px; height: 20px; font-size: 12px; line-height: 100%; } 
.myshop-calendar__weekdays span:first-child { color: var(--red); } 
.myshop-calendar__day { display: flex; justify-content: center; align-items: center; width: 20px; height: 20px; margin: 1px auto; border-radius: 4px; font-size: 12px; } 
.myshop-calendar__day.is-sunday { color: var(--red); } 
.myshop-calendar__day.is-outside { color: var(--gray-3); } 
.myshop-calendar__day:hover:not(.is-outside),
.myshop-calendar__day.is-selected { color: #fff; background: var(--sub-color); } 


/* 최근주문내역 */
.myshop-recent-orders { margin-top: 30px; } 
.myshop-recent-orders__head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 24px 4px; } 
.myshop-recent-orders__head h2 { gap: 6px; } 
.myshop-recent-orders__head a { gap: 2px; } 

/* 최근주문내역 카드 */
.myshop-order-list { display: flex; flex-direction: column; gap: 20px; } 
.myshop-order-card { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; border-radius: 4px; border: 1px solid var(--gray-2); } 
.myshop-order-card__header { display: flex; padding: 10px 16px; justify-content: space-between; align-items: center; align-self: stretch; border-bottom: 1px solid var(--gray-2); } 
.myshop-order-card__body { display: flex; padding: 16px; flex-direction: column; align-items: flex-start; gap: 20px; align-self: stretch; } 
.myshop-order-card__content { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 20px; align-items: end; width: 100%; } 
.myshop-order-card__products .myshop-order-product { display: flex; align-items: flex-start; gap: 16px; flex: 1 0 0; } 
.myshop-order-product + .myshop-order-product { margin-top: 20px; } 
.myshop-order-product-group { display: grid; grid-template-columns: 100px minmax(0, 1fr); column-gap: 16px; }
.myshop-order-product-group + .myshop-order-product-group { margin-top: 20px; }
.myshop-order-product-group .myshop-order-product { display: contents; }
.myshop-order-product-group .myshop-order-product__image { grid-row: 1 / span 2; }
.myshop-order-product__details { grid-column: 2; }
.myshop-order-product__image { width: 100px; min-width: 100px; height: 100px; } 
.myshop-order-product__image img { object-fit: cover; width: 100%; height: 100%; } 
.myshop-order-product details summary,
.myshop-order-product__details details summary { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; padding: 2px 0; list-style: none; cursor: pointer; }
.myshop-order-product details summary::-webkit-details-marker,
.myshop-order-product__details details summary::-webkit-details-marker { display: none; }
.myshop-order-product details summary img,
.myshop-order-product__details details summary img { flex: none; transform: rotate(180deg); transition: transform .2s; }
.myshop-order-product details[open] summary img,
.myshop-order-product__details details[open] summary img { transform: rotate(0); }
.myshop-order-card__meta { gap: 10px; } 
.myshop-order-card__order-info { gap: 20px; } 
.myshop-order-card__order-info strong { position: relative; } 
.myshop-order-card__order-info strong:after { content: ""; display: block; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 1px; height: 14px; background-color: #B3B383; } 
.myshop-order-card__header a { gap: 2px; } 
.myshop-order-card__header-actions { align-items: center; gap: 16px; } 
.myshop-order-card__header-actions button line { transform: translateX(8px); } 
.myshop-order-card__badge { padding: 2px 6px; border-radius: 2px; font-size: 12px; font-weight: 600; line-height: 150%; color: #fff; } 
.myshop-order-card__badge.myshop-order-card__badge--pickup { background: #1156A4; } 
.myshop-order-card__badge.myshop-order-card__badge--quick { background: #E46B2C; } 
.myshop-order-card__status { display: flex; align-items: center; gap: 8px; } 
.myshop-order-card__status line { width: 1px; height: 14px; background-color: #b3b383; } 

.myshop-order-product__info { width: 100%; } 
.myshop-order-product__info h3 { margin-bottom: 4px; } 
.myshop-order-product__info line { width: 1px; height: 14px; margin: 0 8px 0 6px; background: #b3b383; } 
.myshop-order-product__info strong { display: block; margin-bottom: 4px; } 

.myshop-order-product__info ul,
.myshop-order-product__details ul { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; align-self: stretch; padding: 10px; border-radius: 4px; background: var(--gray-1); }

.myshop-order-cancel-detail { margin-top: 4px; } 
.myshop-order-cancel-detail__content { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px; border-radius: 4px; background: var(--gray-1); } 
.myshop-order-cancel-detail__row { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 8px; } 
.myshop-order-cancel-detail__row dt { font-weight: 500; } 
.myshop-order-cancel-detail__row dd { margin: 0; } 

.myshop-order-card__actions { display: flex; gap: 10px; justify-content: end; } 

/* 주문 취소 내역 */
@media screen and (max-width: 1024px) {
    .myshop-content:has( .myshop-recent-orders) .myshop-title-wrap {
        display: none;
    }
}

/* 상세 주문내역 */
.myshop-order-detail { max-width: 700px; width: 100%; margin: 0 auto; } 
.myshop-order-detail__title { text-align: center; margin-bottom: 30px; } 
.myshop-order-detail__card { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; border-radius: 4px; border: 1px solid var(--gray-2); background: #FFF; } 
.myshop-order-detail__header { width: 100%; padding: 16px 20px; background: var(--gray-1) } 
.myshop-order-detail__meta time { font-size: 16px; font-weight: 500; line-height: 150%; } 
.myshop-order-detail__meta { gap: 10px; } 
.myshop-order-detail__meta line { width: 1px; height: 14px; background: #B3B3B3; } 
.myshop-order-detail__meta span { font-size: 16px; font-weight: 500; line-height: 150%; color: var(--gray-5); } 
.myshop-order-detail__status { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; line-height: 150%; } 

/* 섹션 영역 */
.myshop-order-detail__section { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; align-self: stretch; padding: 16px; width: 100%; } 
.myshop-order-detail__section h2 { font-size: 16px; font-weight: 600; line-height: 150%; } 
.myshop-order-detail__info { display: flex; flex-direction: column; gap: 10px; } 
.myshop-order-detail__row { display: flex; gap: 10px; } 
.myshop-order-detail__row dt { min-width: 100px; font-size: 14px; font-weight: 500; line-height: 150%; color: var(--gray-5); } 
.myshop-order-detail__row dd { display: flex; align-items: center; gap: 8px; text-align: right; font-size: 14px; font-weight: 500; line-height: 150%; } 
.myshop-order-detail__row dd ul li { text-align: right; } 
.myshop-order-detail__row dd line { display: inline-block; width: 1px; height: 12px; background-color: #B3B3B3; } 
.myshop-order-detail__section + .myshop-order-detail__section { border-top: 1px solid var(--gray-2); } 
.myshop-order-detail__discount-total { color: var(--red); } 
.myshop-order-detail__refund-amount-box { width: 100%; padding: 14px; border: 1px solid var(--gray-2); border-radius: 4px; }
.myshop-order-detail__refund-total { justify-content: space-between; }
.myshop-order-detail__refund-total dt,
.myshop-order-detail__refund-total dd { font-weight: 600; color: var(--gray-black); }
.myshop-order-detail__refund-calculation { margin-top: 10px; }
.myshop-order-detail__refund-calculation summary { display: flex; align-items: center; gap: 4px; width: fit-content; padding: 2px 0; list-style: none; cursor: pointer; }
.myshop-order-detail__refund-calculation summary::-webkit-details-marker { display: none; }
.myshop-order-detail__refund-calculation summary img { flex: none; transform: rotate(180deg); transition: transform .2s; }
.myshop-order-detail__refund-calculation[open] summary img { transform: rotate(0); }
.myshop-order-detail__refund-calculation-content { margin-top: 8px; padding: 10px; border-radius: 4px; background: var(--gray-1); }
.myshop-order-detail__actions { margin-top: 30px; } 
.myshop-order-detail__actions a { width: 100%; font-weight: 700; } 

@media screen and (max-width: 1024px) { /* 회원 인포 */
 .myshop-summary { padding: 20px 16px; border-radius: 0; border: none; border-bottom: 8px solid var(--gray-1); } 
 .myshop-summary__title { font-size: 20px; } 
 .myshop-summary__stats { flex-direction: column; align-items: start; gap: 16px; padding: 16px; border-radius: 4px; background-color: var(--gray-1); } 
 .myshop-summary__stat { flex-direction: row; justify-content: space-between; width: 100%; } 
 .myshop-summary__stat:after { display: none; } 
 .myshop-summary__stat dd { font-weight: 500; } 

 /* 마이페이지 홈 조회 기간 */
 .myshop-period.myshop-period--dashboard { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 0; padding: 20px 16px; border-bottom: 8px solid var(--gray-1); background: #fff; } 
 .myshop-period--dashboard > h2 { font-size: 16px; font-weight: 600; line-height: 150%; } 
 .myshop-period--dashboard .myshop-period__mobile-toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; font-size: 14px; line-height: 150%; color: var(--gray-6); text-align: left; } 
 .myshop-period--dashboard .myshop-period__mobile-toggle i { flex: none; width: 1px; height: 14px; background: var(--gray-3); } 
 .myshop-period--dashboard .myshop-period__mobile-toggle img { flex: none; width: 16px; height: 16px; margin-left: auto; transition: transform .2s ease; } 
 .myshop-period--dashboard.is-open .myshop-period__mobile-toggle img { transform: rotate(180deg); } 
 .myshop-period--dashboard .myshop-period__controls { display: none; flex-direction: column; align-items: stretch; gap: 16px; padding-top: 10px; } 
 .myshop-period--dashboard.is-open .myshop-period__controls { display: flex; } 
 .myshop-period--dashboard .myshop-period__presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } 
 .myshop-period--dashboard .myshop-period__presets .btnNormal { width: 100%; height: 37px; padding: 8px 14px; font-size: 14px; } 
 .myshop-period--dashboard .myshop-period__dates { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; } 
 .myshop-period--dashboard .myshop-period__dates label { height: 42px; padding: 10px 12px; } 
 .myshop-period--dashboard .myshop-period__dates label img { flex: none; width: 16px; height: 16px; } 
 .myshop-period--dashboard .myshop-period__dates input { min-width: 0; padding: 0; border: 0; } 
 .myshop-period.myshop-period--dashboard .btnSubmit { width: 100%; margin-left: 0; } 

 .myshop-recent-orders { margin-top: 0; } 

 /* 주문 조회 카드 */
 .myshop-order-card__header { flex-direction: column; align-items: start; gap: 10px; } 


 /* 주문 상세 페이지 */
 .myshop-order-detail__header {
    flex-direction: column;
    align-items: start;
    gap: 8px;
    padding: 16px;
 }
 .myshop-order-detail__card {
    border-radius: 0;
    border: none;
 }
 .myshop-order-detail {
    max-width: 100%;
 }
 .myshop-order-detail__meta time,
 .myshop-order-detail__meta span {
    font-size: 12px;
 }
 .myshop-order-detail__status {
    font-size: 14px;
    font-weight: 700;
 }
 .myshop-order-detail__section {
    gap: 16px;
 }
 .myshop-order-detail__info {
    width: 100%;
 }
 .myshop-order-detail__row {
    justify-content: space-between;
 }
 .myshop-order-detail__section + .myshop-order-detail__section {
    border-top: 8px solid var(--gray-1);
 }
 .myshop-order-detail__actions {
    margin-top: 20px;
    padding: 0 16px;
 }
}

@media screen and (max-width: 768px) {
    .myshop-order-card__content {
        display: block;
    }
    .myshop-order-card__body {
        gap: 10px;
    }
    .myshop-order-card {
        border-radius: 0;
        border: none;
        border-bottom: 8px solid var(--gray-1);
    }
    .myshop-order-card:last-child {
        border-bottom: none;
    }
    .myshop-order-card__actions {
        margin-top: 20px;
    }
    .myshop-order-card__actions button {
        flex: 1;
    }
    .myshop-order-product__info h3 a,
    .myshop-order-product__info h3 span {
        font-size: 14px;
        line-height: 1;
    }
    .myshop-order-product__info h3 a {
        font-weight: 500;
    }
    .myshop-order-product__info line {
        margin: 0 8px;
    }
    .myshop-order-product__info strong {
        margin-bottom: 2px;
        font-size: 14px;
        font-weight: 500;
    }
    .myshop-order-product__details {
        margin-top: 10px;
    }
    .myshop-order-product-group {
        display: block;
    }
    .myshop-order-product-group .myshop-order-product {
        display: flex;
    }
    .myshop-order-product details summary,
    .myshop-order-product__details details summary {
        font-size: 12px;
    }
    .myshop-order-product__info ul li,
    .myshop-order-product__details ul li {
        font-size: 12px;
    }
}

@media screen and (max-width: 500px){
 .myshop-calendar { width: 100%; padding: 16px; } 
 .myshop-calendar__weekdays span { margin: 0 auto; font-size: 14px; } 
 }

/*************************** 배송지 관리 ***************************/
.myshop-page__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } 
.myshop-address-list { display: flex; flex-direction: column; gap: 20px; } 
.myshop-address-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 152px; padding: 20px; border: 1px solid var(--gray-2); border-radius: 4px; } 
.myshop-address-card__head,
.myshop-address-card__badges { display: flex; align-items: center; gap: 8px; } 
.myshop-address-card__badge { padding: 2px 4px; border-radius: 2px; font-size: 12px; font-weight: 500; line-height: 150%; color: var(--gray-8); background: var(--gray-2); } 
.myshop-address-card__info { margin-top: 6px; } 
.myshop-address-card__info p + p { margin-top: 2px; } 
.myshop-address-card__actions { display: flex; gap: 6px; margin-top: 6px; } 

@media screen and (max-width: 1024px) {
    .myshop-addresses .myshop-page__head {
        margin: 30px 0;
        padding: 0 16px;
    }
    .myshop-addresses .myshop-page__head h1 {
        display: none;
    }
    .myshop-addresses .myshop-page__head button {
        width: 100%;
        font-weight: 700;
    }
    .myshop-address-list {
        padding: 0 16px;
    }
    .myshop-address-card {
        min-height: unset;
        padding: 10px;
    }
}

/*************************** 포인트 관리 ***************************/
.myshop-page__title { margin-bottom: 20px; } 


.myshop-point-summary { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 30px; border-radius: 4px; background: var(--gray-1); } 
.myshop-point-summary dd { font-size: 32px; font-weight: 600; line-height: 150%; /* 48px */
 letter-spacing: -0.64px; color: #006AFF; } 
.myshop-point-history { margin-top: 40px; } 
.myshop-point-history > h2 { margin-bottom: 16px; } 
.myshop-point-list__head,
.myshop-point-list__fields { display: grid; grid-template-columns: 15% 15% 30% 20% 20%; text-align: center; } 
.myshop-point-list__head { align-items: center; padding: 10px 0; border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 150%; color: var(--gray-6); background: var(--gray-1); } 
.myshop-point-list__item { border-bottom: 1px solid var(--gray-3); } 
.myshop-point-list__field { padding: 20px 15px; font-size: 14px; font-weight: 500; line-height: 150%; color: var(--gray-7); } 
.myshop-point-list__field.myshop-point-list__field--description dd { font-size: 16px; color: var(--gray-black); } 
.myshop-point-list__field.myshop-point-list__field--remaining dd,
.myshop-point-list__field.myshop-point-list__change.myshop-point-list__change--earned dd,
.myshop-point-list__field.myshop-point-list__change.myshop-point-list__change--used dd { font-size: 16px; font-weight: 600; } 
.myshop-point-list__field dt { display: none; } 
.myshop-point-list__change--used { color: var(--red); } 
.myshop-point-list__change--earned { color: #0069e5; } 
.myshop-point-pagination { margin-top: 50px; } 

@media screen and (max-width: 1024px) {
    .myshop-points .myshop-page__title {
        display: none;
    }
    .myshop-point-summary {
        padding: 24px 16px;
        border-bottom: 8px solid var(--gray-1);
        background-color: #fff;
    }
    .myshop-point-summary dt {
        font-size: 14px;
    }
    .myshop-point-summary dd {
        font-size: 24px;
    }
    .myshop-point-history {
        margin-top: 0;
        padding: 20px 16px;
    }
    .myshop-point-history > h2 {
        font-weight: 700;
    }
}

@media screen and (max-width: 768px){
 .myshop-point-list__head { display: none; } 
 .myshop-point-history > h2 { margin-bottom: 0; font-size: 14px; }
 .myshop-point-list__fields { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; text-align: left; } 
 .myshop-point-list__field { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; padding: 0; } 
 .myshop-point-list__field dt { display: block; font-size: 12px; font-weight: 600; color: var(--gray-5); } 
 .myshop-point-list__field.myshop-point-list__field--remaining dd { font-size: 14px; font-weight: 500; color: var(--gray-7); } 
 .myshop-point-list__field.myshop-point-list__field--description dd,
 .myshop-point-list__field.myshop-point-list__change.myshop-point-list__change--used dd,
 .myshop-point-list__field.myshop-point-list__change.myshop-point-list__change--earned dd { font-size: 14px; font-weight: 700; } 
 .myshop-point-list__change--used dd { color: var(--red); } 
 .myshop-point-list__change--earned dd { color: #0069e5; } 
 }

/*************************** 쿠폰 관리 ***************************/
.myshop-coupons .myshop-period { margin-top: 0; } 

.myshop-coupon-register { display: flex; align-items: center; gap: 40px; margin-top: 30px; padding: 16px 20px; border-radius: 4px; background: var(--gray-1); } 
.myshop-coupon-register label { white-space: nowrap; padding: 0; } 
.myshop-coupon-register__controls { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; } 
.myshop-coupon-register input { width: 100%; } 
.myshop-coupon-filter { display: flex; gap: 10px; margin-top: 30px; } 
.myshop-coupon-filter .is-active { border-color: var(--gray-black); color: var(--gray-black); } 

.myshop-coupon-filter button { min-width: 80px; padding: 8px 12px; border-color: var(--gray-1); font-size: 16px; font-weight: 600; color: var(--gray-5); background-color: var(--gray-1); } 
.myshop-coupon-filter button.is-active { background-color: #fff; } 

.myshop-coupon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 20px; } 
.myshop-coupon-card { min-height: 170px; padding: 20px; border: 1px solid var(--gray-2); border-radius: 4px; background: #fff; } 
.myshop-coupon-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; } 
.myshop-coupon-card__head strong { font-size: 28px; font-weight: 600; line-height: 150%; color: var(--point-color); } 
.myshop-coupon-card__head span { padding: 2px 6px; border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 150%; color: #006aff; background: #E9F2FE; } 
.myshop-coupon-card__condition { margin-top: 14px; margin-bottom: 4px; } 
.myshop-coupon-card__condition em { margin-left: 8px; font-style: normal; color: var(--percent); } 
.myshop-coupon-card--unavailable { color: var(--gray-5); background: #F7F7F7; } 
.myshop-coupon-card--unavailable .myshop-coupon-card__head strong { color: var(--gray-5); } 
.myshop-coupon-card--unavailable .myshop-coupon-card__head span { color: #fff; background: var(--gray-4); } 

@media screen and (max-width: 1024px) {
    .myshop-coupons .myshop-page__title {
        display: none;
    }
    .myshop-coupon-register {
        margin: 20px 16px 30px;
    }
    .myshop-coupon-filter {
        margin-top: 0;
        padding: 0 16px;
    }
    .myshop-coupon-list {
        gap: 16px;
        padding: 0 16px;
    }
}

@media screen and (max-width: 768px) {
    .myshop-coupon-register {
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }
    .myshop-coupon-register label {
        font-size: 14px;
        font-weight: 500;
    }
    .myshop-coupon-filter button {
        flex: 1;
        min-width: unset;
    }
    .myshop-coupon-register__controls {
        width: 100%;
        flex-direction: column;
    }
    .myshop-coupon-register__controls button {
        width: 100%;
        padding: 8px 14px;
        font-weight: 400;
    }
    .myshop-coupon-card {
        min-height: unset;
        padding: 16px;
    }
    .myshop-coupon-card__head strong {
        font-size: 20px;
    }
    .myshop-coupon-card__head span {
        font-size: 12px;
        font-weight: 600;
    }
    .myshop-coupon-card h2 {
        font-size: 14px;
        font-weight: 700;
    }
    .myshop-coupon-card__condition {
        margin-top: 12px;
        font-size: 12px;
    }
    .myshop-coupon-card__period {
        font-size: 12px;
        font-weight: 500;
    }
}

@media screen and (max-width: 600px) {
    .myshop-coupon-list {
        display: flex;
        flex-direction: column;
    }
}

/*************************** 위시 리스트 ***************************/
.myshop-wishlist .product-list { column-gap: 16px; row-gap: 60px; } 
.myshop-wishlist .product-card { position: relative; min-width: 0; } 
.product-card__wishlist { position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; padding: 0; } 
.product-card__wishlist img { display: block; width: 100%; height: 100%; } 
.myshop-wishlist__pagination { margin-top: 30px; } 
.myshop-wishlist__empty { display: flex; min-height: 430px; flex-direction: column; justify-content: center; align-items: center; gap: 24px; color: var(--gray-5); } 
.myshop-wishlist__empty[hidden] { display: none; } 

.myshop-wishlist .product-card__name { font-size: 20px; font-weight: 600; line-height: 150%; } 
.myshop-wishlist .product-card__desc { font-size: 14px; line-height: 150%; } 
.myshop-wishlist .product-card__price strong { font-size: 20px; font-weight: 600; } 

@media screen and (max-width: 1024px) {
    .myshop-wishlist .myshop-page__title {
        display: none;
    }
    .myshop-wishlist .prod-area {
        padding: 30px 16px 0px;
    }
    .myshop-wishlist__pagination {
        margin-top: 40px;
    }
}
@media screen and (max-width: 768px){
 .myshop-wishlist .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; } 
 .product-card__wishlist { top: 8px; right: 8px; } 
 }

/*************************** 리뷰 관리 ***************************/
.myshop-review-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 6px; border-radius: 6px; background: var(--gray-1); } 
.myshop-review-tabs button { padding: 10px 16px; border: 1px solid transparent; border-radius: 4px; font-size: 16px; font-weight: 500; line-height: 150%; color: var(--gray-4); } 
.myshop-review-tabs button.is-active { border-color: var(--gray-2); font-weight: 600; color: var(--gray-black); background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); } 
.myshop-review-panel { margin-top: 10px; } 
.myshop-review-list { display: flex; flex-direction: column; gap: 20px; } 
.myshop-review-card { padding: 20px; border: 1px solid var(--gray-2); border-radius: 4px; } 
.myshop-review-card--writable { display: flex; flex-direction: column; gap: 16px; } 
.myshop-review-card--writable-btn-wrap { display: flex; justify-content: end; } 
.myshop-review-card__product { display: flex; align-items: center; gap: 10px; } 
.myshop-review-card__product-image { flex: none; width: 50px; height: 50px; overflow: hidden; border-radius: 4px; } 
.myshop-review-card__product-image img { width: 100%; height: 100%; object-fit: cover; } 
.myshop-review-card__product-info p { margin-top: 2px; } 
.myshop-review-card__product h2 a,
.myshop-review-card__product-info h2 a { text-decoration-line: underline; text-decoration-style: solid; text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font; } 
.myshop-review-card__header { display: flex; justify-content: space-between; align-items: flex-start; } 
.myshop-review-card__control { display: flex; position: relative; } 
.myshop-review-card__control-button { display: flex; padding: 0; } 
.myshop-review-card__control-menu { display: flex; position: absolute; top: 0; right: calc(100% + 4px); z-index: 2; flex-direction: column; min-width: 60px; overflow: hidden; border: 1px solid var(--gray-2); border-radius: 4px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); } 
.myshop-review-card__control-menu.displaynone { display: none; } 
.myshop-review-card__control-menu button { padding: 7px 12px; text-align: left; white-space: nowrap; font-size: 12px; font-weight: 500; line-height: 150%; } 
.myshop-review-card__control-menu button:last-child { color: var(--red); } 
.myshop-review-card__body { margin-top: 16px; } 
.myshop-review-card__stars { display: flex; gap: 2px; margin-bottom: 8px; } 
.myshop-review-card__stars img { width: 14px; height: 14px; } 
.myshop-review-card__body time { display: block; margin-top: 10px; } 
.myshop-review-card__photos { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; } 
.myshop-review-card__photos button { flex: none; width: 100px; height: 100px; overflow: hidden; border-radius: 8px; } 
.myshop-review-card__photos img { width: 100%; height: 100%; object-fit: cover; } 
.myshop-review-card__reply { margin-top: 16px; padding: 14px 16px; border-radius: 4px; background: var(--gray-1); } 
.myshop-review-card__reply-content { display: flex; align-items: flex-start; gap: 10px; } 
.myshop-review-card__reply-content i { display: flex; flex: none; } 
.myshop-review-card__reply-comment-wrap { display: flex; flex-direction: column; gap: 6px; } 

@media screen and (max-width: 1024px) {
    .myshop-reviews .myshop-page__title {
        display: none;
    }
    .myshop-review-tabs {
        gap: 10px;
        padding: 8px 16px;
        border-radius: 0;
    }
    .myshop-review-tabs button {
        padding: 8px;
        font-size: 14px;
    }
    .myshop-review-panel {
        margin-top: 0;
    }
    .myshop-review-list {
        padding: 16px 16px 0;
    }
    .myshop-review-card--writable-btn-wrap button {
        width: 100%;
        padding: 8px 14px;
    }

    /* 작성한 리뷰 */
    .myshop-review-card {
        padding: 10px;
        border-radius: 10px;
    }
    .myshop-review-card__control-menu {
        right: calc(100% + 2px);
    }
    .myshop-review-card__body time {
        margin-top: 8px;
    }
    .myshop-review-list {
        gap: 24px;
    }
    .myshop-review-card__reply {
        padding: 8px;
    }
    .myshop-review-card__photos {
        gap: 6px;
    }
    .myshop-review-card__photos button {
        width: 56px;
        height: 56px;
        border-radius: 4px;
    }
    .myshop-review-card__reply-content {
        gap: 8px;
    }
    .myshop-review-card__reply-comment-wrap {
        gap: 2px;
    }
    .myshop-review-card__reply-comment-wrap span {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px){
 .myshop-review-card--writable { align-items: stretch; flex-direction: column; gap: 20px; } 
 .myshop-review-card--writable > button { width: 100%; } 

 .myshop-review-card--writable {
    gap: 16px;
 }
 .myshop-review-card__product h2 a, .myshop-review-card__product-info h2 a {
    font-size: 14px;
 }
}
.myshop-coupon-card.myshop-coupon-card--unavailable .myshop-coupon-card__condition { color: var(--gray-5); } 

/*************************** 문의 관리 ***************************/
.myshop-inquiry-list { display: flex; flex-direction: column; gap: 20px; } 
.myshop-inquiry-card { position: relative; padding: 20px; border: 1px solid var(--gray-2); border-radius: 4px; } 
.myshop-inquiry-card__product { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; } 
.myshop-inquiry-card__product strong a { font: inherit; text-decoration-line: underline; text-decoration-style: solid; text-decoration-skip-ink: auto; text-decoration-thickness: auto; text-underline-offset: auto; text-underline-position: from-font; } 
.myshop-inquiry-card__product-image { flex: none; width: 50px; height: 50px; overflow: hidden; border-radius: 4px; } 
.myshop-inquiry-card__product-image img { width: 100%; height: 100%; object-fit: cover; } 
.myshop-inquiry-card__control { display: flex; position: absolute; top: 20px; right: 20px; } 
.myshop-inquiry-card__control-button { display: flex; padding: 0; } 
.myshop-inquiry-card__control-menu { display: flex; position: absolute; top: 0; right: calc(100% + 4px); z-index: 2; flex-direction: column; min-width: 60px; overflow: hidden; border: 1px solid var(--gray-2); border-radius: 4px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); } 
.myshop-inquiry-card__control-menu.displaynone { display: none; } 
.myshop-inquiry-card__control-menu button { padding: 7px 12px; text-align: left; white-space: nowrap; font-size: 12px; font-weight: 500; line-height: 150%; } 
.myshop-inquiry-card__control-menu button:last-child { color: var(--red); } 
.myshop-inquiry-card__title-row { display: flex; align-items: center;; } 
.myshop-inquiry-card__title { display: flex; align-items: center; gap: 2px; min-width: 0; }
.myshop-inquiry-card__title > img { flex: none; width: 20px; height: 20px; } 
.myshop-inquiry-card__status { flex: none; margin-left: 10px; padding: 2px 4px; border-radius: 2px; font-size: 12px; font-weight: 500; line-height: 150%; } 
.myshop-inquiry-card__status--pending { color: var(--gray-6); background: var(--gray-2); } 
.myshop-inquiry-card__status--answered { color: #fff; background: #006aff; } 
.myshop-inquiry-card__content { max-height: 4.5em; margin-top: 10px; overflow: hidden; transition: max-height .35s ease; } 
.myshop-inquiry-card__more { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--point-color); } 
.myshop-inquiry-card__more[hidden] { display: none; }
.myshop-inquiry-card__body time { display: block; margin-top: 10px; } 
.myshop-inquiry-card__answer { margin-top: 16px; padding: 14px; border-radius: 4px; font-size: 14px; font-weight: 400; line-height: 150%; color: var(--gray-6); background: var(--gray-1); } 
.myshop-inquiry-card__answer time { display: block; margin-top: 10px; font-size: 12px; font-weight: 500; color: var(--gray-5); } 

@media screen and (max-width: 1024px) {
    .myshop-inquiries .myshop-page__head {
        justify-content: end;
        padding: 20px 16px 0;
    }
    .myshop-inquiries .myshop-page__head h1 {
        display: none;
    }
    .myshop-inquiry-list {
        padding: 0 16px;
    }
}

@media screen and (max-width: 768px) {
    .myshop-inquiries .myshop-page__head button {
        width: 100%;
    }
    .myshop-inquiry-card {
        padding: 10px;
    }
    .myshop-inquiry-card__control {
        right: 10px;
        top: 10px;
    }
    .myshop-inquiry-card__title-row {
        flex-direction: column;
        align-items: start;
        gap: 6px;
    }
    .myshop-inquiry-card__title {
        order: 1;
    }
    .myshop-inquiry-card__title h2 {
        font-size: 16px;
        font-weight: 600;
    }
    .myshop-inquiry-card__status {
        order: 0;
        margin-left: 0;
    }
    .myshop-inquiry-card__content {
        margin-top: 8px;
        font-size: 14px;
    }
    .myshop-inquiry-card__body time {
        margin-top: 8px;
        font-size: 12px;
    }
}

/*************************** 내 정보 수정 ***************************/
.myshop-profile > h1 { margin-bottom: 8px; } 
.myshop-profile .myshop-profile__title { margin-bottom: 30px; } 
.myshop-profile-check > p { margin-bottom: 30px; font-size: 16px; font-weight: 400; line-height: 150%; color: var(--gray-6); } 
.myshop-profile-check > button { display: flex; min-width: 74px; margin: 30px auto 0; } 
.myshop-profile__field + .myshop-profile__field { margin-top: 20px; } 
.myshop-profile__field > label { display: inline-block; position: relative; padding: 0 4px 8px; font-size: 14px; font-weight: 500; line-height: 150%; } 
.myshop-profile__field > label em { position: absolute; right: -1px; top: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--red); } 
.myshop-profile__field > input { width: 100%; } 
.myshop-profile__field input:disabled { border-color: var(--gray-3); color: var(--gray-5); background: var(--gray-1); cursor: default; } 
.myshop-profile__birth { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } 
.myshop-profile__birth input { width: 100%; } 
.myshop-profile__email { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; gap: 12px; } 
.myshop-profile__email input { width: 100%; } 
.myshop-profile__agreements { margin-top: 26px; } 
.myshop-profile__agreements legend { margin-bottom: 8px; font-size: 14px; font-weight: 500; line-height: 150%; } 
.myshop-profile__agreements label { display: inline-flex; align-items: center; gap: 8px; padding: 0; margin-right: 24px; cursor: pointer; } 
.myshop-profile__actions { display: flex; gap: 10px; max-width: 500px; margin: 50px auto 0; } 
.myshop-profile__actions button { flex: 1; } 
.myshop-profile__withdraw { display: flex; margin: 24px auto 0; font-size: 14px; font-weight: 500; color: var(--gray-5); } 


@media screen and (max-width: 1024px) {
    .myshop-profile .myshop-profile__title {
        display: none;
    }
    .myshop-profile-check {
        padding: 30px 16px 0;
    }
    .myshop-profile__field > label {
        padding: 0 2px 4px;
    }
    .myshop-profile-check > button {
        margin: 30px 0 0 0;
        padding: 10px 24px;
    }

    /* 수정 페이지 */
    .myshop-profile-form {
        padding: 30px 16px 0;
    }
    .myshop-profile__field > label em {
        right: -4px;
    }
}

@media screen and (max-width: 768px){
 .myshop-profile__email { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; } 
 .myshop-profile__email button { grid-column: 1 / -1; width: 100%; } 
 .myshop-profile__birth { gap: 8px; } 
 .myshop-profile-check > button {
    width: 100%;
 }
 .myshop-profile__field > label {
    font-size: 12px;
 }
 .myshop-profile__email button {
    margin-top: 4px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
 }
 .myshop-profile__agreements label {
    font-size: 14px;
    font-weight: 500;
 }
 .myshop-profile__actions {
    margin: 30px 0 0;
    width: 100%;
 }
 .myshop-profile__actions button {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
 }
 .myshop-profile__withdraw {
    margin: 16px auto 0;
 }
}
