/* 쇼핑 화면: 사진을 크게, 안내는 구석으로 모은다. 구매 기능의 마크업은 그대로 둔다. */

/* 상품 격자 */
#sct .sct_10.lists-row {
    display: grid;
    grid-template-columns: repeat(var(--sct-cols, 3), minmax(0, 1fr));
    gap: 2.5rem 0.75rem;
    width: 100%;
    max-width: none;
    margin: 0 0 3rem;
    padding: 0;
}
#sct .sct_10.lists-row::before,
#sct .sct_10.lists-row::after { display: none; }
#sct .sct_10 .sct_li {
    border: 0;
    float: none;
    width: auto !important;
    margin: 0;
    padding: 0;
}
#sct .sct_10 .sct_img,
#sct .sct_10 .sct_img a { display: block; width: 100%; height: auto; border-radius: 0; }
#sct .sct_10 .sct_img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 0;
}
#sct .sct_10 .sct_ct_wrap { padding: 0.625rem 0 0; }
#sct .sct_10 .ca_id_name { display: none; }
#sct .sct_10 .sct-name-price { display: block; height: auto; min-height: 0; margin: 0; }
#sct .sct_10 .sct_txt,
#sct .sct_10 .sct_txt a {
    color: #111;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
    border: 0;
    margin: 0;
    padding: 0;
    word-break: keep-all;
}
#sct .sct_10 .sct_cost {
    color: #111;
    font-size: 0.875rem;
    font-weight: 400;
    text-align: left;
    width: auto;
    height: auto;
    position: static;
    margin: 0.25rem 0 0;
}
#sct .sct_10 .sct-sub-info,
#sct .sct_10 .issuance-box,
#sct .sct_10 .issuance-box div { color: #666; font-size: 0.75rem; }

/* 카테고리 소개와 정렬 */
#sct_hhtml:not(:empty) { margin-bottom: 2rem; }
#sct_sort,
#sct #sct_sort {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0 0 1rem;
}

#sct #sct_sortlst {
    width: 100%;
    max-width: none;
    background: none;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0;
    margin-bottom: 1.5rem;
}

/* 보기 전환 */
.sct-view {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: fixed;
    left: 32px;
    bottom: 28px;
    z-index: 300;
    color: #111;
}
.sct-view.over-footer { visibility: hidden; }
.sct-view-label { font-size: 0.875rem; margin-right: 0.5rem; }
.sct-view button {
    color: #767676;
    background: none;
    border: 0;
    font-size: 0.875rem;
    width: 28px;
    height: 44px;
    padding: 0;
}
.sct-view button[aria-pressed="true"] { color: #111; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.sct-view button:focus-visible { outline: 2px solid #111; outline-offset: 1px; }

/* 상품 상세 */
#sit_ov_btn .sit_btn_cart,
#sit_ov_btn .sit_btn_buy,
#sit_ov_btn .sit_btn_wish { border-radius: 0; min-height: 48px; }
/* 찜하기·장바구니: 회색 테두리, 바로구매: 검정. 세 버튼 같은 폭, 글자 16px */
#sit_ov_btn { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#sit_ov_btn .sit_btn_wish,
#sit_ov_btn button { font-size: 1rem; font-weight: 500; }
#sit_ov_btn .sit_btn_cart,
#sit_ov_btn .sit_btn_wish { color: #111; background: #fff; border: 1px solid #ccc; }
#sit_ov_btn .sit_btn_cart:hover,
#sit_ov_btn .sit_btn_wish:hover { color: #fff; background: #111; border-color: #111; }
#sit_ov_btn .sit_btn_buy { color: #fff; background: #111; border: 1px solid #111; }
#sit_ov_btn .sit_btn_buy:hover { background: #333; border-color: #333; }
#sit_ov_btn .sit_btn_wish.active { color: #fff; background: #C59BCB; border-color: #C59BCB; }   /* 찜한 상품 */
#sit_ov_btn .sit_btn_wish:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

@media (min-width: 769px) {
    /* 오른쪽 여백: default_shop.css 의 .shop-list-box 와 같은 값(메뉴~콘텐츠 간격을 좌우 같게) */
    #sct { padding-right: 134px; }

    /* 왼쪽 메뉴는 쇼핑 메인과 같은 모양(default_shop.css 의 .shop-nav)을 쓴다 */

    /* 상세: 목록과 같은 왼쪽 메뉴 + 콘텐츠 배치. 콘텐츠 안은 왼쪽 큰 사진, 오른쪽 정보.
       오른쪽 여백은 목록(#sct)과 같게 둔다 */
    .shop-item-layout #container { padding-right: 134px; }
    .shop-item-layout #sit { max-width: none; padding-left: 0; padding-right: 0; }
    .shop-item-layout #sit_ov_wrap {
        display: grid;
        /* 사진은 최대 760px. 화면이 좁으면 상품명·금액 쪽에 최소 360px 를 남기고 사진이 줄어든다 */
        grid-template-columns: minmax(0, min(760px, calc(100% - clamp(2rem, 5vw, 4.5rem) - 360px))) minmax(0, 1fr);
        gap: clamp(2rem, 5vw, 4.5rem);
        align-items: start;
        width: 100%;
        max-width: none;
        margin: 0;
    }
    .shop-item-layout #sit_pvi,
    .shop-item-layout #sit_ov {
        float: none;
        width: auto;
        max-width: none;
        margin: 0;
    }
    .shop-item-layout #sit_ov { position: sticky; top: 110px; padding: 0; }
    .shop-item-layout #sit_pvi_big img { display: block; width: 100%; height: auto; }
}

/* 태블릿 세로처럼 좁으면 사진(최대 760px)과 상품 정보를 위아래로 둔다 */
@media (min-width: 769px) and (max-width: 1100px) {
    .shop-item-layout #sit_ov_wrap { grid-template-columns: minmax(0, 760px); }
    .shop-item-layout #sit_ov { position: static; }
}
@media (min-width: 769px) and (max-width: 1200px) {
    #sct,
    .shop-item-layout #container { padding-right: 20px; }
}
@media (max-width: 768px) {
    #sct .sct_10.lists-row { grid-template-columns: repeat(var(--sct-cols, 2), minmax(0, 1fr)); gap: 1.75rem 0.5rem; }
    #ssch_q { width: 100%; max-width: 100%; box-sizing: border-box; }
    .sct-view { position: static; justify-content: flex-end; padding: 0 1rem 0.5rem; }
}

/* 하위 분류 탭(예: 국내 브리더 > 항상일번 …). 관리자 분류관리의 하위 분류를 그대로 보여 준다 */
.sct-sub { border-bottom: 1px solid #e5e5e5; margin: 0 0 1.75rem; }
.sct-sub ul { display: flex; flex-wrap: wrap; gap: 0 1.75rem; list-style: none; margin: 0; padding: 0; }
.sct-sub a {
    color: #767676;
    font-size: 0.9375rem;
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.sct-sub a:hover { color: #111; }
.sct-sub a[aria-current="page"] { color: #111; font-weight: 600; border-bottom-color: #111; }
.sct-sub a:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.sct-sub .cnt { color: #999; font-size: 0.75rem; font-weight: 400; }
@media (max-width: 768px) {
    .sct-sub { margin-bottom: 1.25rem; }
    .sct-sub ul { flex-wrap: nowrap; gap: 0 1.25rem; overflow-x: auto; scrollbar-width: none; }
    .sct-sub ul::-webkit-scrollbar { display: none; }
    .sct-sub li { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .sct-sub a { transition: none; }
}

/* 상품 목록 페이지 번호: 회색 알약 안에 번호를 한 줄로(이전에는 번호 모양이 빠져 2가 위로 뜨고 파랗게 보였다) */
#sct .pg_wrap { height: 40px; padding: 0 0.5rem; border: 1px solid #ccc; border-radius: 999px; margin: 3rem auto 0; }
#sct .pg { display: flex; align-items: center; height: 100%; }
#sct .pg_page,
#sct .pg_current {
    color: #999;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1;
    height: 100%;
    min-width: 2.25rem;
    padding: 0 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease;
}
#sct .pg_page:hover { color: #111; }
#sct .pg_current { color: #111; font-weight: 600; }
#sct .pg_start, #sct .pg_prev, #sct .pg_end, #sct .pg_next { min-width: 1.75rem; }
#sct .pg_page svg { width: 11px; height: 20px; }
#sct .pg_page:hover path { fill: #111; }
#sct .pg_page:focus-visible { outline: 2px solid #111; outline-offset: -4px; border-radius: 999px; }

/* 정렬 드롭다운(1200px 이하): 회색 테두리, 글자 14px, 항목은 왼쪽 정렬 */
@media (max-width: 1200px) {
    #sct_sort ul#ssch_sort { width: 7.5rem !important; height: 2.25rem; padding: 0 0.75rem; border: 1px solid #ccc; border-radius: 8px; }
    #sct_sort ul#ssch_sort.open { height: calc(2.25rem + 5 * 2.25rem + 0.25rem); }
    #ssch_sort li { height: 2.25rem; }
    #ssch_sort li:first-child { height: calc(2.25rem - 2px); border-bottom: 1px solid #eee; }
    #ssch_sort .ssch-val-text { color: #111; font-size: 0.875rem; }
    #ssch_sort li a { color: #666; font-size: 0.875rem; justify-content: flex-start; }
    #ssch_sort li a:hover, #ssch_sort li a.active { color: #111; font-weight: 600; }
    .sct-sort-box { padding-top: 0.5rem; }
    #sct #sct_sortlst { padding-right: 0; }   /* 드롭다운 오른쪽 끝을 상품·제목 오른쪽 끝과 맞춘다 */
}

/* 모바일 상품 목록: 판매 개체 메인과 같은 모양(정사각 사진 안 오른쪽 아래 작은 찜·장바구니, 이름·가격 바로 아래) */
@media (max-width: 768px) {
    .sct-view { display: none; }
    #sct .sct_10 .sct_img a { aspect-ratio: 1 / 1; display: block; }
    #sct .sct_10 .sct_img img { aspect-ratio: 1 / 1; height: 100%; }
    #sct .sct_10 .sct_btn { bottom: 6px; right: 6px; }
    #sct .sct_10 .sct_cart { width: 24px; height: 24px; padding: 0; }
    #sct .sct_10 .sct_cart svg { width: 16px; height: 16px; }
    #sct .sct_10 .sct_ct_wrap { height: auto; padding: 0.625rem 0 0; }
    #sct .sct_10 .sct_cost { font-weight: 600; }
    #sct .pg_wrap { height: 36px; margin-top: 2.5rem; }
    /* 분류 소개(관리자 입력)와 정렬 줄을 상품과 같은 왼쪽 선에 맞추고 글자는 소개 페이지 기준으로 */
    #sct_hhtml:not(:empty) { padding: 0; }
    #sct_hhtml h1, #sct_hhtml h2, #sct_hhtml h3 { font-size: 1.375rem; letter-spacing: -0.5px; }
    #sct_hhtml p { font-size: 0.9375rem; }
    #sct #sct_sortlst { padding-left: 0; }
}

/* 판매 개체 분류 제목(관리자 상단 HTML 이 없을 때 자동으로 나오는 제목). 메인 NEW·BEST 제목과 같은 모양, 아래 소개 글은 보라 13px */
.sct-head { margin: 0; }
.sct-head-title { font-family: "Minguk-Regular", sans-serif; font-size: 2.25rem; font-weight: 700; letter-spacing: -1px; line-height: 1.3; color: #111; margin: 0; }
.sct-head-sub,
#sct_hhtml p,
.shop-list-box .sct_wrap header p { color: #C59BCB; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; margin: 0.375rem 0 0; }   /* 공지·문의·구매 후기 제목 아래 글과 같은 보라 13px */
@media (max-width: 768px) {
    .sct-head-title { font-size: 1.375rem; letter-spacing: -0.5px; }
    .sct-head-sub,
    #sct_hhtml p,
    body .shop-list-box .sct_wrap header p { color: #C59BCB; font-size: 0.8125rem; font-weight: 600; }
}

/* 모바일 정렬 드롭다운: 구매 후기 '상품명' 선택 상자와 같은 모양(연회색 알약, 테두리 없음, 회색 작은 화살표) */
@media (max-width: 768px) {
    #sct_sort ul#ssch_sort { height: 2.5rem; padding: 0 0.875rem 0 1rem; border: 0; border-radius: 1.25rem; background-color: #f5f5f5; }
    #sct_sort ul#ssch_sort.open { height: calc(2.5rem + 5 * 2.25rem + 0.5rem); }
    #ssch_sort li:first-child { height: 2.5rem; border-bottom: 0; }
    #sct_sort ul#ssch_sort.open li:first-child { border-bottom: 1px solid #e5e5e5; }
    #ssch_sort .ssch-val-text { color: #333; font-size: 0.9375rem; }
    #ssch_sort li a { font-size: 0.9375rem; }
    #ssch_sort li:first-child svg { width: 10px; height: 6px; }
    #ssch_sort li:first-child svg path { fill: #999; }
}
@media (max-width: 480px) {
    #sct_sort ul#ssch_sort { height: 2rem; padding: 0 0.75rem 0 0.875rem; border-radius: 1rem; }
    #sct_sort ul#ssch_sort.open { height: calc(2rem + 5 * 2.25rem + 0.5rem); }
    #ssch_sort li:first-child { height: 2rem; }
    #ssch_sort .ssch-val-text, #ssch_sort li a { font-size: 0.875rem; }
}

/* 정렬 줄(전체 N개 · 정렬 상자): 상자 위아래 여백을 같게(위 선·제목과 상자 사이 20px = 상자와 아래 선 사이 20px) */
@media (max-width: 1200px) {
    .sct-sub,
    #sct_hhtml:not(:empty):has(+ #sct_sortlst) { margin-bottom: 0; }   /* 하위 분류 탭이 없으면 제목 바로 아래 정렬 줄 */
    #sct #sct_sortlst { padding: 20px 0; }
    #sct #sct_sort { margin: 0; min-height: 2.25rem; align-items: center; }
    #sct .sct-sort-box { padding-top: 0; margin: 0; }
}
@media (max-width: 768px) {
    #sct #sct_sort { min-height: 2.5rem; }
}
@media (max-width: 480px) {
    #sct #sct_sort { min-height: 2rem; }
}

/* 상품 상세: 양쪽 여백·글자·버튼·간격을 판매 개체 목록·게시판과 같게
   (모바일 양쪽 20px·첫 콘텐츠 128px, 제목 22px·본문 14px·보조 13px, 알약 버튼 모바일 32px/14px·PC 40px/16px) */
body #sit_info #sit_inf:has(> .contents_tit:only-child) { display: none; }   /* 상품 설명이 비었을 때 탭 아래 빈 칸 */
body #sit_tab .tab_tit { margin-bottom: 2.5rem; }
body #sit_tab .tab_tit li a { font-size: 1rem; }
body #sit_dex_con { padding-left: 0; padding-right: 0; }                     /* 안내 글도 목록 양끝 선에 맞춘다 */
body .sit-con-tit a { height: 2.5rem; padding: 0 1.25rem; font-size: 1rem; }
body #sit_use_list .sit_empty, body #sit_qa_list .sit_empty { padding: 3rem 0; color: #666; font-size: 0.9375rem; }
@media (max-width: 768px) {
    body #sit { padding: 67px 0 40px; }                                       /* 첫 사진 위 128px, 양쪽 20px(목록과 같게) */
    body #sit_tab .tab_tit { top: 104px; width: 100%; transform: none; margin-bottom: 1.75rem; }   /* 머리글+2단 메뉴 바로 아래, 양끝은 콘텐츠와 같은 선 */
    body #sit_tab .tab_tit li a { font-size: 0.875rem; }
    body #sit_ov .ca-id-text { font-size: 0.8125rem; }
    body #sit_ov #sit_title { font-size: 1.375rem; letter-spacing: -0.5px; }
    body .sit_ov_tbl th, body .sit_ov_tbl td, body .sit_info .tr_price th { font-size: 0.875rem; }
    body .sit_ov_tbl td strong { font-size: 1rem; }
    body #sit_tot_price span { font-size: 0.875rem; }
    body #sit_ov_btn .sit_btn_wish, body #sit_ov_btn button { font-size: 0.875rem; min-height: 44px; }
    body .sit-con-tit a { height: 2rem; padding: 0 0.875rem; font-size: 0.875rem; }
    body #sit_use_list .sit_empty, body #sit_qa_list .sit_empty { padding: 2.5rem 0; font-size: 0.875rem; }
    body #sit_dex_con { padding-top: 1.25rem; }
}
@media (min-width: 769px) {
    body .sit_ov_tbl th, body .sit_ov_tbl td, body .sit_info .tr_price th { font-size: 1rem; }   /* PC 본문 16px */
    body #sit_tot_price span { font-size: 1rem; }
}
@media (min-width: 769px) { body #sit_info .common-margin-bottom { margin-bottom: 5rem; } }   /* 상세 하단 구역 사이(128px)가 너무 벌어져 줄인다 */

/* 장바구니(shop/cart.php): 회원가입·찾기·구매 후기와 같은 모양.
   영문 큰 제목 + 보라 안내, 검정 윗줄 표(어두운 둥근 머리 대신), 네모 체크·버튼, 합계는 연보라 바탕(빨강 대신 검정 강조).
   기존 스타일(theme/basic/css/default_shop.css)은 버전 번호가 고정이라 이 파일에서 덮는다 */
#sod_bsk.custom-cart { max-width: 1080px; margin: 0 auto; padding: 0; word-break: keep-all; box-sizing: border-box; }   /* 위·옆 여백은 바깥 #wrapper.common-layout 이 준다 */
#sod_bsk.custom-cart .cart-head { margin: 0 0 3rem; text-align: center; }
#sod_bsk.custom-cart .cart-title { margin: 0; font-family: "Minguk-Bold", sans-serif; font-size: 3.125rem; font-weight: 700; letter-spacing: -1.8px; line-height: 1.2; color: #111; }
#sod_bsk.custom-cart .cart-sub { margin: 0.5rem 0 0; color: #C59BCB; font-size: 0.8125rem; font-weight: 600; line-height: 1.5; }

/* 표 */
#sod_bsk.custom-cart .tbl_wrap table { width: 100%; border-collapse: collapse; border: 0; border-top: 1px solid #111; }
#sod_bsk.custom-cart thead th { height: auto; padding: 1rem 0.75rem; color: #111; font-size: 0.875rem; font-weight: 600; background: #fff; border: 0; border-bottom: 1px solid #ddd; border-radius: 0; }
#sod_bsk.custom-cart thead th:first-child, #sod_bsk.custom-cart thead th:last-child { border-radius: 0; }
#sod_bsk.custom-cart tbody td { padding: 1.5rem 0.75rem; color: #222; font-size: 0.9375rem; background: #fff; border: 0; border-bottom: 1px solid #e5e5e5; vertical-align: middle; }
#sod_bsk.custom-cart .cart_tb_chk, #sod_bsk.custom-cart .td_chk { width: 44px; text-align: center; }
#sod_bsk.custom-cart .td_numbig, #sod_bsk.custom-cart .td_num { text-align: center; white-space: nowrap; }
#sod_bsk.custom-cart .td_numbig:nth-last-child(2) div { color: #111; font-weight: 600; }
#sod_bsk.custom-cart .td_prd_div { position: relative; display: flex; align-items: center; gap: 1.25rem; }
#sod_bsk.custom-cart .sod_img { flex: none; width: 100px; height: 100px; overflow: hidden; background: #f5f5f5; }
#sod_bsk.custom-cart .sod_img img { width: 100%; height: 100%; object-fit: cover; display: block; }
#sod_bsk.custom-cart .td_prd .over-image { position: absolute; top: 6px; left: 70px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; background: rgba(255, 255, 255, .9); border: 0; border-radius: 50%; }
#sod_bsk.custom-cart .td_prd .over-image svg { width: 16px; height: 16px; }
#sod_bsk.custom-cart .prd_name, #sod_bsk.custom-cart .prd_name b { color: #111; font-size: 1rem; font-weight: 600; text-decoration: none; }
#sod_bsk.custom-cart .prd_name:hover b { text-decoration: underline; text-underline-offset: 3px; }
#sod_bsk.custom-cart .sod_opt { margin-top: 0.375rem; color: #666; font-size: 0.875rem; }
#sod_bsk.custom-cart .sod_opt ul { margin: 0; padding: 0; list-style: none; }
#sod_bsk.custom-cart .sod_opt li { padding: 0; border: 0; }
#sod_bsk.custom-cart .sod_opt li:before { content: none; }
#sod_bsk.custom-cart .empty_table { padding: 4rem 0; color: #888; text-align: center; border-bottom: 1px solid #ddd; }

/* 체크: 회원가입 동의와 같은 20px 네모, 체크하면 검정 */
#sod_bsk.custom-cart .chk_box { position: relative; }
#sod_bsk.custom-cart .chk_box input[type="checkbox"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
#sod_bsk.custom-cart .chk_box input[type="checkbox"] + label { display: inline-flex; padding: 0; cursor: pointer; }
#sod_bsk.custom-cart .chk_box input[type="checkbox"] + label span { position: static; float: none; display: block; width: 20px; height: 20px; margin: 0; background: #fff; border: 1px solid #999; border-radius: 3px; }
#sod_bsk.custom-cart .chk_box input[type="checkbox"]:checked + label span { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") no-repeat center / 16px 16px #111; border-color: #111; }
#sod_bsk.custom-cart .chk_box input[type="checkbox"]:focus-visible + label span { outline: 2px solid #111; outline-offset: 2px; }

/* 삭제·옵션수정 */
#sod_bsk.custom-cart .cart-buttons { display: flex; flex-direction: column; align-items: stretch; gap: 0.375rem; }
#sod_bsk.custom-cart .cart-buttons button { min-width: 5.5rem; height: 34px; margin: 0; padding: 0 0.75rem; color: #111; font-size: 0.8125rem; background: #fff; border: 1px solid #ccc; border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
#sod_bsk.custom-cart .cart-buttons button:hover { color: #fff; background: #111; border-color: #111; }

/* 합계: 연보라 바탕, 결제예정금액은 검정 굵게 */
#sod_bsk.custom-cart #sod_bsk_tot { margin: 2rem 0 0; padding: 0; background: none; border: 0; }
#sod_bsk.custom-cart .total-price-info { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; padding: 1.75rem 2rem; background: #faf7fb; border: 0; border-radius: 0; }
#sod_bsk.custom-cart .total-price-info > div { display: flex; align-items: baseline; gap: 0.625rem; margin: 0; }
#sod_bsk.custom-cart .total-price-info > span { color: #bbb; font-size: 1.25rem; }
#sod_bsk.custom-cart .info-title { color: #666; font-size: 0.9375rem; font-weight: 500; }
#sod_bsk.custom-cart .info-price { color: #111; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.3px; }
#sod_bsk.custom-cart .sod_bsk_total .info-title { color: #111; font-weight: 700; }
#sod_bsk.custom-cart .sod_bsk_total .info-price { color: #111; font-size: 1.625rem; font-weight: 700; }

/* 주문 버튼: 선택상품주문(회색 테두리) / 전체상품주문(검정), 빈 장바구니의 쇼핑 계속하기(회색 테두리) */
#sod_bsk.custom-cart #sod_bsk_act { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.625rem; margin: 2.5rem 0 0; padding: 0; }
#sod_bsk.custom-cart #sod_bsk_act button, #sod_bsk.custom-cart #sod_bsk_act .btn01 { display: inline-flex; align-items: center; justify-content: center; width: 12.5rem; height: 52px; margin: 0; padding: 0 1rem; font-size: 1rem; font-weight: 500; border-radius: 0; box-shadow: none; opacity: 1; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
#sod_bsk.custom-cart #sod_bsk_act .btn_submit { order: 2; color: #111; background: #fff; border: 1px solid #ccc; }
#sod_bsk.custom-cart #sod_bsk_act .btn_submit:hover { color: #fff; background: #111; border-color: #111; }
#sod_bsk.custom-cart #sod_bsk_act .btn_submit.buy-all { order: 3; color: #fff; background: #111; border-color: #111; }
#sod_bsk.custom-cart #sod_bsk_act .btn_submit.buy-all:hover { background: #333; border-color: #333; }
#sod_bsk.custom-cart #sod_bsk_act .btn01 { color: #111; background: #fff; border: 1px solid #ccc; }
#sod_bsk.custom-cart #sod_bsk_act .btn01:hover { color: #fff; background: #111; border-color: #111; }
#sod_bsk.custom-cart #sod_bsk_act .cart-naverpay { order: 4; flex-basis: 100%; display: flex; justify-content: center; }
#sod_bsk.custom-cart button:focus-visible, #sod_bsk.custom-cart a:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

@media screen and (max-width: 1200px) {
    #sod_bsk.custom-cart .total-price-info { flex-wrap: wrap; padding: 1.5rem; }
}
@media screen and (max-width: 768px) {
    #sod_bsk.custom-cart .cart-head { margin-bottom: 2rem; text-align: left; }
    #sod_bsk.custom-cart .cart-title { font-size: 1.375rem; letter-spacing: -0.5px; }
    #sod_bsk.custom-cart .total-price-info { flex-direction: column; align-items: stretch; gap: 0.625rem; padding: 1.25rem; }
    #sod_bsk.custom-cart .total-price-info > div { justify-content: space-between; }
    #sod_bsk.custom-cart .total-price-info > span { display: none; }
    #sod_bsk.custom-cart .info-title { font-size: 0.875rem; }
    #sod_bsk.custom-cart .info-price { font-size: 1rem; }
    #sod_bsk.custom-cart .sod_bsk_total { margin-top: 0.375rem !important; padding-top: 0.875rem; border-top: 1px solid #e8dcea; }
    #sod_bsk.custom-cart .sod_bsk_total .info-price { font-size: 1.25rem; }
    #sod_bsk.custom-cart #sod_bsk_act { margin-top: 1.5rem; }
    #sod_bsk.custom-cart #sod_bsk_act button, #sod_bsk.custom-cart #sod_bsk_act .btn01 { flex: 1; width: auto; height: 48px; font-size: 0.9375rem; }
}
@media screen and (max-width: 480px) {
    /* 모바일 카드(.cart-list): 검정 윗줄 아래 한 줄씩, 회색 줄로 나눈다 */
    #sod_bsk.custom-cart .tbl_wrap { border-top: 1px solid #111; }
    #sod_bsk.custom-cart .cart-list { gap: 0.75rem; padding: 1.25rem 0; border: 0; border-bottom: 1px solid #e5e5e5; }
    #sod_bsk.custom-cart .cart-list .sod_img { width: 80px; height: 80px; }
    #sod_bsk.custom-cart .cart-list .td_prd_div { gap: 0.875rem; align-items: flex-start; }
    #sod_bsk.custom-cart .cart-list .prd_name b { font-size: 0.9375rem; }
    #sod_bsk.custom-cart .cart-list .cart-buttons { flex-direction: row; }
    #sod_bsk.custom-cart .cart-list .cart-buttons button { flex: 1; height: 38px; }
    #sod_bsk.custom-cart .price-info { color: #111; font-size: 0.9375rem; }
    #sod_bsk.custom-cart .option-title { color: #666; font-size: 0.8125rem; font-weight: 500; }
}
/* 장바구니 보정: 선택 칸은 좁게·상품정보 칸이 남는 폭을 쓴다, 옵션 글자는 회색, 모바일 제목은 머리에서 띄운다 */
#sod_bsk.custom-cart thead th.cart_tb_chk, #sod_bsk.custom-cart tbody td.td_chk { width: 44px; padding-left: 0.75rem; padding-right: 0.75rem; }
#sod_bsk.custom-cart thead th.cart_tb_od_cnt, #sod_bsk.custom-cart tbody td.td_prd { width: 100%; text-align: left; }
#sod_bsk.custom-cart thead th.cart_tb_od_cnt { padding-left: 1rem; }
#sod_bsk.custom-cart .sod_opt, #sod_bsk.custom-cart .sod_opt * { color: #666; font-weight: 400; }
#sod_bsk.custom-cart .option-title { padding: 0; color: #888; font-size: 0.8125rem; background: none; border: 0; border-radius: 0; }
#sod_bsk.custom-cart .prod-per-price { gap: 0.5rem; margin-top: 0.375rem; color: #111; font-size: 0.875rem; }
@media screen and (max-width: 768px) {
    #sod_bsk.custom-cart .cart-head { margin-top: 2.75rem; }
}
@media screen and (min-width: 1201px) {
    #sod_bsk.custom-cart thead th.cart_tb_od_price, #sod_bsk.custom-cart thead th.cart_tb_od_proceed, #sod_bsk.custom-cart thead th.cart_tb_od_info,
    #sod_bsk.custom-cart tbody td.td_num, #sod_bsk.custom-cart tbody td.td_numbig { min-width: 7.5rem; padding-left: 1rem; padding-right: 1rem; }
}
/* 모바일 장바구니 제목(Cart)·안내도 가운데 정렬 */
@media screen and (max-width: 768px) {
    #sod_bsk.custom-cart .cart-head, #sod_bsk.custom-cart .cart-title, #sod_bsk.custom-cart .cart-sub { text-align: center; }
}

/* 마이페이지(shop/mypage.php): 장바구니(Cart)와 같은 모양.
   영문 큰 제목 + 보라 안내, 둥근 검정 테두리 상자·보라 큰 숫자·어두운 둥근 표 머리 대신 검정 윗줄·회색 가는 줄·네모 버튼.
   기존 스타일(theme/basic/css/default_shop.css)은 버전 번호가 고정이라 이 파일에서 덮는다 */
#smb_my.custom-mypage { max-width: 1000px; margin: 0 auto; padding: 0 0 2rem; word-break: keep-all; }
#smb_my.custom-mypage .mypage-head { margin: 0 0 3rem; text-align: center; }
#smb_my.custom-mypage .mypage-title { margin: 0; font-family: "Minguk-Bold", sans-serif; font-size: 3.125rem; font-weight: 700; letter-spacing: -1.8px; line-height: 1.2; color: #111; }
#smb_my.custom-mypage .mypage-sub { margin: 0.5rem 0 0; color: #C59BCB; font-size: 0.8125rem; font-weight: 600; line-height: 1.5; }

/* 회원 요약: 검정 윗줄 + 회색 아랫줄 띠, 가운데 주문 단계, 오른쪽 적립금 */
#smb_my.custom-mypage #smbMyInfo { height: auto; padding: 1.75rem 0; display: grid; grid-template-columns: minmax(220px, 3fr) 9fr minmax(160px, 3fr); align-items: center; background: #fff; border: 0; border-top: 1px solid #111; border-bottom: 1px solid #e5e5e5; border-radius: 0; }
#smb_my.custom-mypage #smbMyInfo .info { gap: 1rem; padding: 0 1.5rem 0 0.5rem; flex-direction: row; border-right: 1px solid #e5e5e5; }
#smb_my.custom-mypage #smbMyInfo .info img { flex: none; width: 64px; height: 64px; border: 1px solid #e5e5e5; border-radius: 50%; object-fit: cover; }
#smb_my.custom-mypage #smbMyInfo .info h5 { margin: 0 0 0.625rem; color: #111; font-size: 1.125rem; font-weight: 400; line-height: 1.4; }
#smb_my.custom-mypage #smbMyInfo .info h5 strong { font-weight: 700; }
#smb_my.custom-mypage .mypage-info-buttons { flex-direction: row; flex-wrap: wrap; gap: 0.375rem; }
#smb_my.custom-mypage .mypage-info-buttons > a { display: inline-flex; align-items: center; height: 30px; margin: 0; padding: 0 0.625rem !important; color: #111; font-size: 0.8125rem; font-weight: 500; background: #fff; border: 1px solid #ccc; border-radius: 0; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
#smb_my.custom-mypage .mypage-info-buttons > a:hover { color: #fff; background: #111; border-color: #111; }
#smb_my.custom-mypage #smbMyInfo .dlvr { padding: 0 1rem; }
#smb_my.custom-mypage #smbMyInfo .dlvr > img { width: 14px; opacity: .45; }
#smb_my.custom-mypage #smbMyInfo .dlvr-icon-box img { width: 40px; margin: 0 0 0.5rem; }
#smb_my.custom-mypage #smbMyInfo .dlvr-icon-box p { color: #333; font-size: 0.875rem; font-weight: 500; }
#smb_my.custom-mypage #smbMyInfo .dlvr-num { top: -6px; right: -4px; width: 20px; height: 20px; font-size: 0.75rem; background: #111; }
#smb_my.custom-mypage #smbMyInfo .point { gap: 0.5rem; padding: 0 0.5rem 0 1.5rem; justify-content: center; border-left: 1px solid #e5e5e5; }
#smb_my.custom-mypage #smbMyInfo .point h5 { margin: 0; color: #666; font-size: 0.9375rem; font-weight: 500; }
#smb_my.custom-mypage #smbMyInfo .point p { color: #111; font-size: 1rem; text-align: right; }
#smb_my.custom-mypage #smbMyInfo .point p strong { color: #111; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.5px; }

/* 구역 제목: 왼쪽 검정 막대 대신 굵은 글씨 */
#smb_my.custom-mypage .my_page_sec { margin: 0; padding: 4.5rem 0 0; }
#smb_my.custom-mypage .mypage_sce_title { margin: 0 0 1.25rem; padding: 0; color: #111; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.4px; line-height: 1.3; text-align: left; }
#smb_my.custom-mypage .mypage_sce_title::before { content: none; }

/* 조회기간: 연보라 띠, 네모 기간 버튼(선택 검정), 회색 테두리 날짜칸 */
#smb_my.custom-mypage .mypage_search_box { gap: 0.75rem 1.25rem; margin: 0 0 1.5rem; padding: 1rem 1.5rem; background: #faf7fb; border: 0; border-radius: 0; }
#smb_my.custom-mypage .mypage_search_box h5 { color: #111; font-size: 0.875rem; font-weight: 600; }
#smb_my.custom-mypage .date_btn_box { grid-template-columns: repeat(5, 56px); grid-template-rows: 36px; background: #fff; border: 1px solid #ccc; border-radius: 0; }
#smb_my.custom-mypage .date_btn_box button { color: #666; font-size: 0.8125rem; font-weight: 500; background: #fff; border: 0; border-left: 1px solid #e5e5e5; cursor: pointer; }
#smb_my.custom-mypage .date_btn_box button:first-child { border-left: 0; }
#smb_my.custom-mypage .date_btn_box button:hover { color: #111; }
#smb_my.custom-mypage .date_btn_box button.active { color: #fff; background: #111; }
#smb_my.custom-mypage .date_search_box input[type=date] { width: 150px; height: 38px; padding: 0 0.75rem; color: #111; font-size: 0.875rem; background: #fff; border: 1px solid #ccc; border-radius: 0; }
#smb_my.custom-mypage .date_search_box input[type=date]:focus { border-color: #111; outline: 0; }
#smb_my.custom-mypage .date_search_box > div { display: flex; gap: 0.375rem; }
#smb_my.custom-mypage .date_search_box p { padding: 0 0.125rem; color: #999; font-size: 1rem; }
#smb_my.custom-mypage .date_search_box button { width: 64px; height: 38px; color: #fff; font-size: 0.875rem; background: #111; border: 0; border-radius: 0; cursor: pointer; }
#smb_my.custom-mypage .date_search_box button:hover { background: #333; }

/* 주문 표: 장바구니 표와 같은 검정 윗줄·흰 머리 */
#smb_my.custom-mypage .mypage_table { border-collapse: collapse; border-top: 1px solid #111; }
#smb_my.custom-mypage .mypage_table thead { height: auto; color: #111; background: #fff; }
#smb_my.custom-mypage .mypage_table thead th { padding: 1rem 0.75rem; font-size: 0.875rem; font-weight: 600; border-bottom: 1px solid #ddd; border-radius: 0; }
#smb_my.custom-mypage .mypage_table tbody td { padding: 1.25rem 0.75rem; color: #222; font-size: 0.9375rem; border: 0; border-bottom: 1px solid #e5e5e5; vertical-align: middle; }
#smb_my.custom-mypage .mypage_table tbody td a { color: #111; text-decoration: underline; text-underline-offset: 3px; }
#smb_my.custom-mypage #dlvr .product_info { padding: 0; align-items: center; }
#smb_my.custom-mypage #dlvr .product_info img { flex: none; width: 80px; height: 80px; object-fit: cover; background: #f5f5f5; }
#smb_my.custom-mypage #dlvr .product_info > div { margin-left: 1rem; text-align: left; }
#smb_my.custom-mypage .mypage-product-cnt { color: #666; font-weight: 500; }
#smb_my.custom-mypage #dlvr .order_btn { gap: 0.375rem; }
#smb_my.custom-mypage #dlvr .order_btn a { text-decoration: none; }
#smb_my.custom-mypage #dlvr .order_btn button { width: 80px; height: 32px; color: #111; font-size: 0.8125rem; background: #fff; border: 1px solid #ccc; border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
#smb_my.custom-mypage #dlvr .order_btn button:hover { color: #fff; background: #111; border-color: #111; }
#smb_my.custom-mypage #dlvr #delivery_btn { color: #fff; background: #111; border-color: #111; }
#smb_my.custom-mypage #dlvr .od_cancel_txt { color: #c0392b; }
#smb_my.custom-mypage .empty_li { padding: 4rem 0; color: #888; font-size: 0.9375rem; text-align: center; border-bottom: 1px solid #ddd; }

/* 쪽 번호: 둥근 테두리 대신 네모, 선택 검정 */
#smb_my.custom-mypage #dlvr .pg-dlvr { height: auto; margin-top: 2.5rem; }
#smb_my.custom-mypage #dlvr .view-list-pagination { height: auto; gap: 0.25rem; padding: 0; border: 0; border-radius: 0; }
#smb_my.custom-mypage #dlvr .pg-dlvr button { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 0.5rem; color: #666; font-size: 0.9375rem; cursor: pointer; }
#smb_my.custom-mypage #dlvr .pg-dlvr button.active { color: #fff; font-weight: 600; background: #111; }
#smb_my.custom-mypage #dlvr .pg-dlvr button[disabled] { opacity: .35; cursor: default; }
#smb_my.custom-mypage #dlvr .pg-dlvr button svg { width: 10px; height: 18px; }
#smb_my.custom-mypage #dlvr .pg-dlvr button svg path { fill: #111; }

/* 찜한 상품: 판매 개체 목록처럼 사진 + 이름·가격, 하트는 흰 동그라미, 주문 버튼은 회색 테두리 네모 */
#smb_my.custom-mypage #wishlist .smb_my_container { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2.5rem 1.25rem; margin: 0; padding: 1.5rem 0 0; border-top: 1px solid #111; list-style: none; }
#smb_my.custom-mypage #wishlist .smb_my_card { height: auto; padding: 0; border: 0; align-items: stretch; }
#smb_my.custom-mypage #wishlist .img_container { overflow: hidden; background: #f5f5f5; }
#smb_my.custom-mypage #wishlist .smb_my_img { display: block; }
#smb_my.custom-mypage #wishlist .smb_my_img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
#smb_my.custom-mypage #wishlist .smb_my_img:hover img { transform: scale(1.03); }
#smb_my.custom-mypage #wishlist .img_container .wishlist-btn { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; background: rgba(255, 255, 255, .92); border: 0; border-radius: 50%; cursor: pointer; }
#smb_my.custom-mypage #wishlist .img_container .wishlist-btn svg { position: static; width: 18px; height: 18px; }
#smb_my.custom-mypage #wishlist .smb_my_info.space8 { flex-direction: column; align-items: flex-start; gap: 0.25rem; margin: 0.875rem 0 0.75rem; }
#smb_my.custom-mypage #wishlist .smb_my_tit { font-size: 1rem; font-weight: 600; line-height: 1.4; }
#smb_my.custom-mypage #wishlist .smb_my_tit a { color: #111; text-decoration: none; }
#smb_my.custom-mypage #wishlist .smb_my_tit a:hover { text-decoration: underline; text-underline-offset: 3px; }
#smb_my.custom-mypage #wishlist .smb_my_price { margin: 0; color: #111; font-size: 1rem; font-weight: 700; }
#smb_my.custom-mypage #wishlist .smb_my_detail { height: 44px; color: #111; font-size: 0.875rem; font-weight: 500; background: #fff; border: 1px solid #ccc; border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
#smb_my.custom-mypage #wishlist .smb_my_detail:hover { color: #fff; background: #111; border-color: #111; }
#smb_my.custom-mypage #wishlist .empty_li { grid-column: 1 / -1; border-bottom: 1px solid #ddd; }
#smb_my.custom-mypage a:focus-visible, #smb_my.custom-mypage button:focus-visible, #smb_my.custom-mypage input:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

@media screen and (max-width: 1200px) {
    #smb_my.custom-mypage #smbMyInfo { grid-template-columns: minmax(200px, 1fr) minmax(140px, auto); row-gap: 1.5rem; }
    #smb_my.custom-mypage #smbMyInfo .dlvr { grid-column: 1 / -1; grid-row: 2; padding: 1.5rem 0 0; border-top: 1px solid #f0f0f0; }
}
@media screen and (max-width: 768px) {
    #smb_my.custom-mypage { padding: 67px 0 1rem; }   /* 머리(60px)와 가로 메뉴(44px) 아래에서 시작 */
    #smb_my.custom-mypage .mypage-head { margin-bottom: 2rem; }
    #smb_my.custom-mypage .mypage-title { font-size: 1.375rem; letter-spacing: -0.5px; }
    #smb_my.custom-mypage #smbMyInfo { grid-template-columns: 1fr auto; padding: 1.25rem 0; }
    #smb_my.custom-mypage #smbMyInfo .info { padding: 0 1rem 0 0; flex-direction: row; }
    #smb_my.custom-mypage #smbMyInfo .info img { width: 52px; height: 52px; }
    #smb_my.custom-mypage #smbMyInfo .info h5 { font-size: 1rem; margin-bottom: 0.5rem; }
    #smb_my.custom-mypage .mypage-info-buttons > a { height: 28px; font-size: 0.75rem; }
    #smb_my.custom-mypage #smbMyInfo .point { padding: 0 0 0 1rem; }
    #smb_my.custom-mypage #smbMyInfo .point h5 { font-size: 0.8125rem; text-align: right; }
    #smb_my.custom-mypage #smbMyInfo .point p { font-size: 0.875rem; }
    #smb_my.custom-mypage #smbMyInfo .point p strong { font-size: 1.375rem; }
    #smb_my.custom-mypage .my_page_sec { padding-top: 3rem; }
    #smb_my.custom-mypage .mypage_sce_title { margin-bottom: 1rem; font-size: 1.125rem; text-align: left; }
    #smb_my.custom-mypage .mypage_search_box { flex-direction: column; align-items: stretch; gap: 0.625rem; padding: 1rem; }
    #smb_my.custom-mypage .date_btn_box { width: 100%; grid-template-columns: repeat(5, 1fr); grid-template-rows: 36px; }
    #smb_my.custom-mypage .date_search_box { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0.375rem; width: 100%; }
    #smb_my.custom-mypage .date_search_box > div { display: contents; }
    #smb_my.custom-mypage .date_search_box input[type=date] { width: 100%; min-width: 0; height: 38px; padding: 0 0.5rem; font-size: 0.8125rem; }
    #smb_my.custom-mypage .date_search_box button { grid-column: 1 / -1; width: 100%; height: 40px; }
    #smb_my.custom-mypage #mypage_list { border-top: 1px solid #111; }
    #smb_my.custom-mypage .dlvr-mobile-list { gap: 0.875rem; padding: 1rem 0; border-bottom: 1px solid #e5e5e5; cursor: pointer; }
    #smb_my.custom-mypage .dlvr-mobile-list img { width: 80px; height: 80px; object-fit: cover; background: #f5f5f5; }
    #smb_my.custom-mypage .dlvr-mobile-list div { color: #111; font-size: 0.9375rem; }
    #smb_my.custom-mypage .dlvr-mobile-list .option { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
    #smb_my.custom-mypage .dlvr-mobile-list .option-name { color: #888; font-size: 0.8125rem; }
    #smb_my.custom-mypage .dlvr-mobile-list .option div { font-size: 0.8125rem; }
    #smb_my.custom-mypage #mypage_list .empty_li { width: 100%; padding: 3rem 0; }
    #smb_my.custom-mypage #wishlist .smb_my_container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 0.75rem; padding-top: 1.25rem; }
}
@media screen and (max-width: 480px) {
    /* 찜: 한 줄씩 — 사진 80px + 이름·가격 + 하트 */
    #smb_my.custom-mypage #wishlist .smb_my_container { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
    #smb_my.custom-mypage #wishlist .smb_my_card { height: auto; padding: 1rem 0; border-bottom: 1px solid #e5e5e5; }
    #smb_my.custom-mypage #wishlist .smb_my_card > form { display: flex; align-items: center; gap: 0.875rem; height: auto; }
    #smb_my.custom-mypage #wishlist .smb_my_card .img_container { flex: none; width: 80px; height: 80px; margin: 0; }
    #smb_my.custom-mypage #wishlist .smb_my_card .img_container img { width: 80px; height: 80px; aspect-ratio: auto; }
    #smb_my.custom-mypage #wishlist .smb_my_info.space8 { flex: 1; min-width: 0; margin: 0; }
    #smb_my.custom-mypage #wishlist .smb_my_card .smb_my_tit, #smb_my.custom-mypage #wishlist .smb_my_card .smb_my_price { font-size: 0.9375rem; }
    #smb_my.custom-mypage #wishlist .wish-no-position { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; margin: 0; padding: 0; background: none; border: 0; }
    #smb_my.custom-mypage #wishlist .wish-no-position svg { position: static; width: 20px; height: 20px; }
}

/* 마이페이지 보조: 주문일자·주문금액·진행상태 이름표는 테두리 상자 대신 회색 글씨, 회원 이름 묶음은 왼쪽 정렬 */
#smb_my.custom-mypage .prod-detail .show-1200-flex { gap: 0.5rem; align-items: baseline; }
#smb_my.custom-mypage .prod-detail .show-1200-flex > div, #smb_my.custom-mypage .dlvr-mobile-list .option-name { padding: 0; color: #888; font-size: 0.8125rem; background: none; border: 0; border-radius: 0; }
#smb_my.custom-mypage #smbMyInfo .info > div { text-align: left; }
@media screen and (max-width: 1200px) {
    #smb_my.custom-mypage #wishlist .smb_my_container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 768px) {
    #smb_my.custom-mypage #wishlist .smb_my_container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 480px) {
    #smb_my.custom-mypage #wishlist .smb_my_container { grid-template-columns: 1fr; }
}
#smb_my.custom-mypage #smbMyInfo .info h5 { text-align: left; }

/* 마이페이지: 주문 단계 표시를 빼서 회원 요약은 왼쪽 회원 정보 · 오른쪽 적립금 두 칸 */
#smb_my.custom-mypage #smbMyInfo { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; }
#smb_my.custom-mypage #smbMyInfo .info { border-right: 0; }
#smb_my.custom-mypage #smbMyInfo .point { min-width: 180px; padding-left: 2rem; }
@media screen and (max-width: 768px) {
    #smb_my.custom-mypage #smbMyInfo .point { min-width: 0; padding-left: 1rem; }
}

/* 마이페이지 회원 요약: 가로를 정확히 반으로(회원 정보 | 적립금), 가운데 세로 칸막이 */
#smb_my.custom-mypage #smbMyInfo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
#smb_my.custom-mypage #smbMyInfo .point { min-width: 0; align-self: stretch; padding: 0 0.5rem 0 2rem; border-left: 1px solid #ddd; }
@media screen and (max-width: 768px) {
    #smb_my.custom-mypage #smbMyInfo .info { gap: 0.625rem; padding-right: 0.75rem; }
    #smb_my.custom-mypage #smbMyInfo .info img { width: 44px; height: 44px; }
    #smb_my.custom-mypage #smbMyInfo .point { padding: 0 0 0 1rem; }
}

/* 마이페이지 회원 요약 왼쪽: 사진 · 이름(왼쪽)  ……  정보수정 · 로그아웃(오른쪽) */
#smb_my.custom-mypage #smbMyInfo .info { padding-right: 2rem; }
#smb_my.custom-mypage #smbMyInfo .info > div { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
#smb_my.custom-mypage #smbMyInfo .info h5 { margin: 0; }
#smb_my.custom-mypage .mypage-info-buttons { flex: none; flex-wrap: nowrap; }
@media screen and (max-width: 768px) {
    #smb_my.custom-mypage #smbMyInfo .info { padding-right: 0.75rem; }
    #smb_my.custom-mypage #smbMyInfo .info > div { gap: 0.5rem; }
    #smb_my.custom-mypage #smbMyInfo .info h5 { font-size: 0.9375rem; }
    #smb_my.custom-mypage .mypage-info-buttons { flex-direction: column; gap: 0.25rem; }
    #smb_my.custom-mypage .mypage-info-buttons > a { justify-content: center; height: 26px; padding: 0 0.5rem !important; }
}
#smb_my.custom-mypage #smbMyInfo .info h5 { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }   /* 이름이 길면 한 줄 … 로 줄인다(님이 아랫줄로 떨어지지 않게) */
@media screen and (max-width: 480px) {
}
@media screen and (max-width: 1200px) {
    #smb_my.custom-mypage .mypage-info-buttons { flex-direction: column; gap: 0.25rem; }
    #smb_my.custom-mypage .mypage-info-buttons > a { justify-content: center; }
}

/* 마이페이지 회원 사진: 누르면 바꾸기(오른쪽 아래 카메라 표시), 사진이 있으면 아래 작은 삭제 */
#smb_my.custom-mypage .mypage-photo { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
#smb_my.custom-mypage .mypage-photo-btn { position: relative; display: block; padding: 0; background: none; border: 0; border-radius: 50%; cursor: pointer; }
#smb_my.custom-mypage .mypage-photo-btn img { display: block; width: 64px; height: 64px; border: 1px solid #e5e5e5; border-radius: 50%; object-fit: cover; transition: opacity .2s; }
#smb_my.custom-mypage .mypage-photo-btn:hover img { opacity: .8; }
#smb_my.custom-mypage .mypage-photo-btn.is-loading img { opacity: .4; }
#smb_my.custom-mypage .mypage-photo-badge { position: absolute; right: -2px; bottom: -2px; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: #fff; background: #111; border: 2px solid #fff; border-radius: 50%; }
#smb_my.custom-mypage .mypage-photo-badge svg { width: 13px; height: 13px; }
#smb_my.custom-mypage .mypage-photo-del { padding: 0; color: #888; font-size: 0.75rem; background: none; border: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
#smb_my.custom-mypage .mypage-photo-del:hover { color: #111; }
#smb_my.custom-mypage .mypage-photo-del[hidden] { display: none; }
@media screen and (max-width: 768px) {
    #smb_my.custom-mypage .mypage-photo-btn img { width: 48px; height: 48px; }
    #smb_my.custom-mypage .mypage-photo-badge { width: 20px; height: 20px; }
    #smb_my.custom-mypage .mypage-photo-badge svg { width: 11px; height: 11px; }
}
#smb_my.custom-mypage #smbMyInfo .info > .mypage-photo { flex: none; justify-content: flex-start; gap: 0.25rem; }   /* 위 ".info > div" (이름 칸) 규칙이 사진 묶음에 걸리지 않게 */
@media screen and (max-width: 480px) {
    /* 반쪽 폭(약 175px): 사진 옆에 이름, 그 아래 정보수정·로그아웃 가로 */
    #smb_my.custom-mypage #smbMyInfo .info > div:not(.mypage-photo) { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.375rem; }
    #smb_my.custom-mypage #smbMyInfo .info h5 { max-width: 100%; }
    #smb_my.custom-mypage .mypage-info-buttons { flex-direction: row; gap: 0.25rem; }
    #smb_my.custom-mypage .mypage-info-buttons > a { height: 26px; padding: 0 0.375rem !important; font-size: 0.6875rem; }
}

/* 마이페이지(샘플 화면 기준): 위 줄 = 내 정보 | 적립금(아이콘·이름 왼쪽, 금액·> 오른쪽, 누르면 적립금 내역 창),
   그 아래 바로가기 4칸(주문/배송내역·찜한상품·후기내역·문의내역, 개수는 검정 동그라미), 아래에 후기내역·문의내역 구역 */
#smb_my.custom-mypage #smbMyInfo .point { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; color: #111; text-decoration: none; transition: background .2s; }
#smb_my.custom-mypage #smbMyInfo a.point:hover { background: #faf7fb; }
#smb_my.custom-mypage #smbMyInfo .point h5 { display: flex; align-items: center; gap: 0.5rem; color: #111; font-size: 1rem; font-weight: 600; }
#smb_my.custom-mypage #smbMyInfo .point-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1; background: #111; border-radius: 50%; }
#smb_my.custom-mypage #smbMyInfo .point p { display: flex; align-items: center; gap: 0.25rem; margin: 0; }
#smb_my.custom-mypage #smbMyInfo .point-arrow { width: 18px; height: 18px; margin-left: 0.25rem; color: #999; }

#smb_my.custom-mypage .mypage-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.25rem 0 0; border: 1px solid #111; }
#smb_my.custom-mypage .mypage-shortcut { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.625rem; padding: 1.75rem 0.5rem; color: #111; text-decoration: none; border-left: 1px solid #eee; transition: background .2s; }
#smb_my.custom-mypage .mypage-shortcut:first-child { border-left: 0; }
#smb_my.custom-mypage .mypage-shortcut:hover { background: #faf7fb; }
#smb_my.custom-mypage .mypage-shortcut-icon { position: relative; display: block; width: 30px; height: 30px; }
#smb_my.custom-mypage .mypage-shortcut-icon svg { display: block; width: 30px; height: 30px; }
#smb_my.custom-mypage .mypage-shortcut-num { position: absolute; top: -7px; right: -12px; display: flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; color: #fff; font-size: 0.6875rem; font-weight: 700; line-height: 1; background: #111; border: 2px solid #fff; border-radius: 10px; box-sizing: border-box; }
#smb_my.custom-mypage .mypage-shortcut-label { font-size: 0.9375rem; font-weight: 600; text-align: center; }

/* 후기내역·문의내역 목록: 검정 윗줄, 한 줄씩 회색 줄, 오른쪽에 별점·날짜·상태 */
#smb_my.custom-mypage .mypage-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #111; }
#smb_my.custom-mypage .mypage-list > li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.125rem 0.25rem; border-bottom: 1px solid #e5e5e5; }
#smb_my.custom-mypage .mypage-list > li.empty_li { display: block; padding: 3.5rem 0; }
#smb_my.custom-mypage .mypage-list-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; color: #111; text-decoration: none; }
#smb_my.custom-mypage a.mypage-list-main:hover .mypage-list-title { text-decoration: underline; text-underline-offset: 3px; }
#smb_my.custom-mypage .mypage-list-sub { color: #888; font-size: 0.8125rem; }
#smb_my.custom-mypage .mypage-list-title { overflow: hidden; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
#smb_my.custom-mypage .mypage-list-meta { flex: none; display: flex; align-items: center; gap: 0.875rem; color: #666; font-size: 0.8125rem; }
#smb_my.custom-mypage .mypage-list-score { color: #111; letter-spacing: 1px; }
#smb_my.custom-mypage .mypage-list-score .is-off { color: #ddd; }
#smb_my.custom-mypage .mypage-list-state { display: inline-flex; align-items: center; height: 26px; padding: 0 0.625rem; color: #fff; font-size: 0.75rem; font-weight: 600; background: #111; }
#smb_my.custom-mypage .mypage-list-state.is-wait { color: #666; background: #fff; border: 1px solid #ccc; }
#smb_my.custom-mypage .mypage-list-more { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
#smb_my.custom-mypage .mypage-list-more a { display: inline-flex; align-items: center; justify-content: center; min-width: 10rem; height: 44px; padding: 0 1rem; color: #111; font-size: 0.875rem; font-weight: 500; text-decoration: none; background: #fff; border: 1px solid #ccc; transition: background .2s, color .2s, border-color .2s; }
#smb_my.custom-mypage .mypage-list-more a:hover { color: #fff; background: #111; border-color: #111; }
#smb_my.custom-mypage .mypage-list-more a.is-primary { color: #fff; background: #111; border-color: #111; }
#smb_my.custom-mypage .mypage-list-more a.is-primary:hover { background: #333; }

@media screen and (max-width: 768px) {
    #smb_my.custom-mypage #smbMyInfo .point { flex-direction: column; align-items: flex-end; justify-content: center; gap: 0.375rem; }
    #smb_my.custom-mypage #smbMyInfo .point h5 { font-size: 0.8125rem; gap: 0.375rem; }
    #smb_my.custom-mypage #smbMyInfo .point-icon { width: 18px; height: 18px; font-size: 0.625rem; }
    #smb_my.custom-mypage #smbMyInfo .point-arrow { width: 14px; height: 14px; margin-left: 0; }
    #smb_my.custom-mypage .mypage-shortcuts { margin-top: 1rem; }
    #smb_my.custom-mypage .mypage-shortcut { gap: 0.5rem; padding: 1.125rem 0.25rem; }
    #smb_my.custom-mypage .mypage-shortcut-icon, #smb_my.custom-mypage .mypage-shortcut-icon svg { width: 26px; height: 26px; }
    #smb_my.custom-mypage .mypage-shortcut-label { font-size: 0.75rem; letter-spacing: -0.3px; }
    #smb_my.custom-mypage .mypage-list > li { flex-direction: column; align-items: stretch; gap: 0.5rem; padding: 1rem 0; }
    #smb_my.custom-mypage .mypage-list-meta { gap: 0.625rem; }
    #smb_my.custom-mypage .mypage-list-state { margin-left: auto; }
    #smb_my.custom-mypage .mypage-list-more a { flex: 1; min-width: 0; height: 44px; }
}

/* 마이페이지 정보수정·로그아웃: 알약 모양(샘플 화면) */
#smb_my.custom-mypage .mypage-info-buttons > a { padding: 0 0.875rem !important; color: #555; border-color: #ddd; border-radius: 999px; }
#smb_my.custom-mypage .mypage-info-buttons > a:hover { color: #fff; background: #111; border-color: #111; }
@media screen and (max-width: 480px) {
    #smb_my.custom-mypage .mypage-info-buttons > a { padding: 0 0.5rem !important; }
}
@media screen and (max-width: 768px) {
    /* 모바일도 적립금 이름(왼쪽)·금액(오른쪽) 한 줄, 섹션 세로 가운데 */
    #smb_my.custom-mypage #smbMyInfo .point { flex-direction: row; align-items: center; justify-content: space-between; gap: 0.375rem; padding: 0 0 0 0.75rem; }
    #smb_my.custom-mypage #smbMyInfo .point h5 { flex: none; }
    #smb_my.custom-mypage #smbMyInfo .point p { white-space: nowrap; }
    #smb_my.custom-mypage #smbMyInfo .point p strong { font-size: 1.125rem; }
}
@media screen and (max-width: 400px) {
    #smb_my.custom-mypage .mypage-info-buttons > a { padding: 0 0.375rem !important; font-size: 0.625rem; }
}

/* 마이페이지 바로가기 4칸 상자: 검정 테두리 대신 연한 회색 */
#smb_my.custom-mypage .mypage-shortcuts { border-color: #e5e5e5; }

/* 마이페이지 홈/메뉴별 페이지: 홈에서 숨긴 조회기간·쪽 번호, 후기·문의 쪽 번호, 전체 보기 링크 */
#smb_my.custom-mypage [hidden] { display: none !important; }
#smb_my.custom-mypage .mypage-paging { margin-top: 2rem; text-align: center; }
#smb_my.custom-mypage .mypage-paging .pg_wrap { float: none; display: inline-block; }
#smb_my.custom-mypage #dlvr > .mypage-list-more, #smb_my.custom-mypage #wishlist > .mypage-list-more { margin-top: 1.5rem; }

/* 마이페이지 가로 폭: 공지·구매 후기·문의 게시판과 같은 오른쪽 끝(PC 쇼핑 본문 오른쪽에서 131px, 태블릿 17px) */
#smb_my.custom-mypage { width: auto; max-width: none; margin: 0 131px 0 0; }   /* 기존 width:100% 를 풀어야 오른쪽 여백만큼 줄어든다 */
@media screen and (max-width: 1200px) { #smb_my.custom-mypage { margin: 0 17px 0 0; } }
@media screen and (max-width: 768px) { #smb_my.custom-mypage { margin: 0; } }

/* 마이페이지 홈 카드(최근 주문·찜·후기): PC·태블릿 3칸, 모바일은 옆으로 넘겨 보기 */
#smb_my.custom-mypage .mypage-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding: 1.5rem 0 0; border-top: 1px solid #111; }
#smb_my.custom-mypage .mypage-cards > .empty_li { grid-column: 1 / -1; margin: 0; }
#smb_my.custom-mypage .mypage-card { display: flex; flex-direction: column; min-width: 0; color: #111; text-decoration: none; background: #fff; border: 1px solid #e5e5e5; transition: border-color .2s; }
#smb_my.custom-mypage a.mypage-card:hover { border-color: #111; }
#smb_my.custom-mypage .mypage-card-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #f5f5f5; }
#smb_my.custom-mypage .mypage-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
#smb_my.custom-mypage a.mypage-card:hover .mypage-card-img img { transform: scale(1.03); }
#smb_my.custom-mypage .mypage-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.375rem; padding: 0.875rem 1rem 1rem; }
#smb_my.custom-mypage .mypage-card-body .mypage-list-state { height: 22px; padding: 0 0.5rem; font-size: 0.6875rem; }
#smb_my.custom-mypage .mypage-card-body .mypage-list-state span { color: inherit; }
#smb_my.custom-mypage .mypage-card-body .od_cancel_txt { color: inherit; }
#smb_my.custom-mypage .mypage-card-sub { max-width: 100%; overflow: hidden; color: #888; font-size: 0.75rem; white-space: nowrap; text-overflow: ellipsis; }
#smb_my.custom-mypage .mypage-card-title { display: -webkit-box; max-width: 100%; overflow: hidden; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#smb_my.custom-mypage .mypage-card-title .mypage-product-cnt { margin-left: 0.25rem; }
#smb_my.custom-mypage .mypage-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin-top: 0.125rem; color: #666; font-size: 0.8125rem; }

/* 찜 홈 카드: 3칸 고정 */
#smb_my.custom-mypage #wishlist.is-card .smb_my_container { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 찜 메뉴 페이지: 목록(사진 · 이름·가격 · 주문하러 가기 · 하트) */
#smb_my.custom-mypage #wishlist.is-list .smb_my_container { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
#smb_my.custom-mypage #wishlist.is-list .smb_my_card { padding: 1rem 0.25rem; border-bottom: 1px solid #e5e5e5; }
#smb_my.custom-mypage #wishlist.is-list .smb_my_card > form { display: flex; align-items: center; gap: 1.25rem; }
#smb_my.custom-mypage #wishlist.is-list .img_container { flex: none; width: 100px; height: 100px; }
#smb_my.custom-mypage #wishlist.is-list .smb_my_img img { width: 100px; height: 100px; aspect-ratio: auto; }
#smb_my.custom-mypage #wishlist.is-list .img_container .wishlist-btn { display: none !important; }
#smb_my.custom-mypage #wishlist.is-list .smb_my_info.space8 { flex: 1; min-width: 0; margin: 0; }
#smb_my.custom-mypage #wishlist.is-list .smb_my_info.hide-480 { flex: none; width: auto; }
#smb_my.custom-mypage #wishlist.is-list .smb_my_detail { width: 8.5rem; height: 40px; }
#smb_my.custom-mypage #wishlist.is-list .wish-no-position { display: flex !important; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; margin: 0; padding: 0; background: none; border: 0; cursor: pointer; }
#smb_my.custom-mypage #wishlist.is-list .wish-no-position svg { position: static; width: 20px; height: 20px; }

@media screen and (max-width: 768px) {
    /* 홈 카드: 옆으로 넘겨 보기(한 장 72%) */
    #smb_my.custom-mypage .mypage-cards,
    #smb_my.custom-mypage #wishlist.is-card .smb_my_container { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.25rem; }
    #smb_my.custom-mypage .mypage-cards::-webkit-scrollbar,
    #smb_my.custom-mypage #wishlist.is-card .smb_my_container::-webkit-scrollbar { display: none; }
    #smb_my.custom-mypage .mypage-card,
    #smb_my.custom-mypage #wishlist.is-card .smb_my_card { flex: 0 0 72%; scroll-snap-align: start; }
    #smb_my.custom-mypage .mypage-cards > .empty_li,
    #smb_my.custom-mypage #wishlist.is-card .empty_li { flex: 1 0 100%; }
    #smb_my.custom-mypage #wishlist.is-list .smb_my_card > form { gap: 0.875rem; }
    #smb_my.custom-mypage #wishlist.is-list .img_container,
    #smb_my.custom-mypage #wishlist.is-list .smb_my_img img { width: 80px; height: 80px; }
    #smb_my.custom-mypage #wishlist.is-list .smb_my_detail { width: auto; padding: 0 0.75rem; height: 36px; font-size: 0.8125rem; }
}
@media screen and (max-width: 480px) {
    /* 홈 찜 카드는 작은 폰에서도 카드(기존 작은 폰 목록 규칙을 덮는다) */
    #smb_my.custom-mypage #wishlist.is-card .smb_my_card { height: auto; padding: 0; border-bottom: 0; }
    #smb_my.custom-mypage #wishlist.is-card .smb_my_card > form { display: block; }
    #smb_my.custom-mypage #wishlist.is-card .smb_my_card .img_container { width: 100%; height: auto; margin: 0; }
    #smb_my.custom-mypage #wishlist.is-card .smb_my_card .img_container img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
    #smb_my.custom-mypage #wishlist.is-card .img_container .wishlist-btn { display: flex !important; }
    #smb_my.custom-mypage #wishlist.is-card .wish-no-position { display: none !important; }
    #smb_my.custom-mypage #wishlist.is-card .smb_my_info.space8 { margin: 0.75rem 0 0; }
    /* 찜 목록: 주문 버튼은 빼고 사진 · 이름·가격 · 하트 */
    #smb_my.custom-mypage #wishlist.is-list .smb_my_info.hide-480 { display: none !important; }
}
#smb_my.custom-mypage #wishlist.is-list .wish-no-position { position: static; }   /* 기존 .wishlist-btn 의 absolute 를 풀어 줄마다 오른쪽에 둔다 */
#smb_my.custom-mypage .mypage-card-body .mypage-list-state { margin-left: 0; }   /* 목록용 모바일 규칙(오른쪽 붙임)이 카드에 걸리지 않게 */
#smb_my.custom-mypage.is-tab .my_page_sec { padding-top: 0; }   /* 메뉴별 페이지는 제목 바로 아래에서 시작 */

/* 마이페이지 제목: 구매 후기(Review)·공지(Notice)처럼 왼쪽 정렬(PC·모바일 모두), 위치는 벨리타 소개·구매 후기와 같은 168px(1440 기준) */
#smb_my.custom-mypage .mypage-head, #smb_my.custom-mypage .mypage-title, #smb_my.custom-mypage .mypage-sub { text-align: left; }

/* 마이페이지 홈 카드: 작게(PC 4칸, 태블릿 2x2, 모바일 옆으로 넘김 56%), 최근 4개 */
#smb_my.custom-mypage .mypage-cards, #smb_my.custom-mypage #wishlist.is-card .smb_my_container { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
#smb_my.custom-mypage .mypage-card-body { padding: 0.75rem 0.875rem 0.875rem; }
#smb_my.custom-mypage .mypage-card-title { font-size: 0.875rem; }
#smb_my.custom-mypage #wishlist.is-card .smb_my_tit, #smb_my.custom-mypage #wishlist.is-card .smb_my_price { font-size: 0.875rem; }
#smb_my.custom-mypage #wishlist.is-card .smb_my_detail { height: 38px; font-size: 0.8125rem; }
@media screen and (max-width: 1200px) {
    #smb_my.custom-mypage .mypage-cards, #smb_my.custom-mypage #wishlist.is-card .smb_my_container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 768px) {
    #smb_my.custom-mypage .mypage-card, #smb_my.custom-mypage #wishlist.is-card .smb_my_card { flex: 0 0 56%; }
}
@media screen and (max-width: 1200px) {
    /* 태블릿도 4칸(2x2 는 카드가 오히려 커진다) */
    #smb_my.custom-mypage .mypage-cards, #smb_my.custom-mypage #wishlist.is-card .smb_my_container { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* 좁은 태블릿: 4칸이면 너무 작아서 옆으로 넘겨 보기(한 화면 약 3장) */
    #smb_my.custom-mypage .mypage-cards, #smb_my.custom-mypage #wishlist.is-card .smb_my_container { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.25rem; }
    #smb_my.custom-mypage .mypage-cards::-webkit-scrollbar, #smb_my.custom-mypage #wishlist.is-card .smb_my_container::-webkit-scrollbar { display: none; }
    #smb_my.custom-mypage .mypage-card, #smb_my.custom-mypage #wishlist.is-card .smb_my_card { flex: 0 0 calc((100% - 1.5rem) / 3.3); scroll-snap-align: start; }
}

/* 마이페이지도 다른 페이지(벨리타 소개·공지·구매 후기)와 같은 PC 최대 폭 1400px, 넓은 화면에서는 가운데(layout.css 의 .rv-page 규칙과 같은 계산) */
@media (min-width: 769px) {
    #smb_my.custom-mypage { max-width: var(--belita-content-max); }
}
@media (min-width: 1201px) {
    #smb_my.custom-mypage { margin-left: max(0px, calc((100vw - var(--belita-content-max)) / 2 - 341px)); }
}

/* 마이페이지 홈 카드 칸 수: 넓은 화면(창 1700px 이상)은 5칸, 일반 PC(1025~1699px)는 4칸이고 5번째 카드는 숨김.
   좁은 태블릿·모바일은 옆으로 넘겨 보기라 5개 모두 보인다. 데이터는 최근 5개를 가져온다 */
@media screen and (min-width: 1700px) {
    #smb_my.custom-mypage .mypage-cards, #smb_my.custom-mypage #wishlist.is-card .smb_my_container { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media screen and (min-width: 1025px) and (max-width: 1699px) {
    #smb_my.custom-mypage .mypage-cards > .mypage-card:nth-child(n+5), #smb_my.custom-mypage #wishlist.is-card .smb_my_card:nth-child(n+5) { display: none; }
}

/* 마이페이지 홈: 구역 제목 줄 오른쪽 끝 "전체 보기 >" (목록 아래 버튼 대신). 제목(1.375rem·줄높이 1.3)과 같은 높이에 세로 가운데 */
#smb_my.custom-mypage .my_page_sec { position: relative; }
#smb_my.custom-mypage .mypage-more { position: absolute; top: 4.5rem; right: 0; z-index: 1; display: inline-flex; align-items: center; gap: 0.125rem; height: calc(1.375rem * 1.3); color: #666; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: color .2s; }
#smb_my.custom-mypage .mypage-more svg { width: 16px; height: 16px; transition: transform .2s; }
#smb_my.custom-mypage .mypage-more:hover { color: #111; }
#smb_my.custom-mypage .mypage-more:hover svg { transform: translateX(2px); }
@media screen and (max-width: 768px) {
    #smb_my.custom-mypage .mypage-more { top: 3rem; height: calc(1.125rem * 1.3); font-size: 0.8125rem; }
    #smb_my.custom-mypage .mypage-more svg { width: 14px; height: 14px; }
}
#smb_my.custom-mypage #wishlist .mypage-more svg { position: static; display: block; width: 16px; height: 16px; background: none; border-radius: 0; }   /* 찜 구역의 하트용 svg 규칙(absolute)이 화살표에 걸리지 않게 */
@media screen and (max-width: 768px) { #smb_my.custom-mypage #wishlist .mypage-more svg { width: 14px; height: 14px; } }

/* 상품 검색 결과(shop/search.php): 판매 개체 목록과 같은 틀(#sct·제목·정렬 줄·3칸).
   검색창은 게시판 검색과 같은 연회색 알약, 분류는 글자 탭(선택 검정 밑줄) */
#sct.sct-search .ssch-form { position: relative; display: flex; align-items: center; max-width: 30rem; margin: 0 0 1.5rem; }
#sct.sct-search .ssch-input { flex: 1; min-width: 0; height: 48px; padding: 0 3.25rem 0 1.25rem; color: #111; font-size: 0.9375rem; background: #f5f5f5; border: 1px solid transparent; border-radius: 24px; box-shadow: none; -webkit-appearance: none; appearance: none; }
#sct.sct-search .ssch-input::placeholder { color: #999; }
#sct.sct-search .ssch-input:focus { background: #fff; border-color: #111; outline: 0; }
#sct.sct-search .ssch-input::-webkit-search-cancel-button { -webkit-appearance: none; }
#sct.sct-search .ssch-btn { position: absolute; top: 4px; right: 6px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; color: #111; background: none; border: 0; border-radius: 50%; cursor: pointer; }
#sct.sct-search .ssch-btn svg { width: 20px; height: 20px; }
#sct.sct-search .ssch-btn:hover { background: rgba(0, 0, 0, .06); }
#sct.sct-search .ssch-cate { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0 0 0.5rem; }
#sct.sct-search .ssch-cate a { display: inline-flex; align-items: center; gap: 0.25rem; height: 36px; color: #999; font-size: 0.9375rem; text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
#sct.sct-search .ssch-cate a span { font-size: 0.8125rem; }
#sct.sct-search .ssch-cate a:hover { color: #444; }
#sct.sct-search .ssch-cate a.active { color: #111; font-weight: 600; border-bottom-color: #111; }
#sct.sct-search .ssch-empty { padding: 5rem 0; color: #888; font-size: 0.9375rem; line-height: 1.7; text-align: center; border-bottom: 1px solid #e5e5e5; }
#sct.sct-search a:focus-visible, #sct.sct-search button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
@media screen and (max-width: 768px) {
    #sct.sct-search .ssch-form { max-width: none; margin-bottom: 1.25rem; }
    #sct.sct-search .ssch-input { height: 44px; font-size: 1rem; }   /* iOS 입력 시 화면 확대 방지 16px */
    #sct.sct-search .ssch-btn { top: 2px; }
    #sct.sct-search .ssch-cate { flex-wrap: nowrap; gap: 1.25rem; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
    #sct.sct-search .ssch-cate::-webkit-scrollbar { display: none; }
    #sct.sct-search .ssch-cate a { flex: none; font-size: 0.875rem; white-space: nowrap; }
}
#sct.sct-search { width: 100%; box-sizing: border-box; }   /* 결과가 없을 때 모바일에서 내용 폭만큼 줄어들던 것 방지 */
@media screen and (max-width: 768px) {
    #sct.sct-search { padding-right: 0; }   /* 상품 스킨 style.css 의 #sct 오른쪽 여백 158px(PC용)이 결과가 없을 때 모바일에 남던 것 */
}

/* 모바일 마이페이지 홈 카드: 한 화면에 약 2.5장(사진도 그만큼 작게), 날짜·금액은 두 줄(2026-11-12) */
@media screen and (max-width: 768px) {
    #smb_my.custom-mypage .mypage-card, #smb_my.custom-mypage #wishlist.is-card .smb_my_card { flex: 0 0 calc((100% - 1.5rem) / 2.5); }
    #smb_my.custom-mypage .mypage-cards, #smb_my.custom-mypage #wishlist.is-card .smb_my_container { gap: 0.75rem; }
    #smb_my.custom-mypage .mypage-card-body { gap: 0.25rem; padding: 0.5rem 0.625rem 0.625rem; }
    #smb_my.custom-mypage .mypage-card-body .mypage-list-state { height: 20px; padding: 0 0.375rem; font-size: 0.625rem; }
    #smb_my.custom-mypage .mypage-card-title { font-size: 0.8125rem; }
    #smb_my.custom-mypage .mypage-card-sub { font-size: 0.6875rem; }
    #smb_my.custom-mypage .mypage-card-meta { flex-direction: column; align-items: flex-start; gap: 0.125rem; font-size: 0.75rem; }
    #smb_my.custom-mypage .mypage-card-meta > span:last-child { color: #111; font-weight: 600; }   /* 주문 카드의 금액 */
    #smb_my.custom-mypage #review .mypage-card-meta > span:last-child { color: #666; font-weight: 400; }   /* 후기 카드는 날짜 */
    #smb_my.custom-mypage #wishlist.is-card .smb_my_info.space8 { margin-top: 0.5rem; }
    #smb_my.custom-mypage #wishlist.is-card .smb_my_tit, #smb_my.custom-mypage #wishlist.is-card .smb_my_price { font-size: 0.8125rem; }
}

/* 주문 상세(shop/orderinquiryview.php, theme/basic/shop/orderinquiryview.php): 장바구니(Cart)와 같은 모양(2026-11-12).
   영문 큰 제목 + 보라 안내, 어두운 둥근 표 머리·둥근 상자·빨강 금액·보라 상태 대신 검정 윗줄·흰 표 머리·검정 글씨·네모 */
#sod_fin.or-detail-wrap { max-width: 1080px; margin: 0 auto; word-break: keep-all; }
#sod_fin.or-detail-wrap .order-head { margin: 0 0 2.5rem; text-align: center; }
#sod_fin.or-detail-wrap .order-title { margin: 0; font-family: "Minguk-Bold", sans-serif; font-size: 3.125rem; font-weight: 700; letter-spacing: -1.8px; line-height: 1.2; color: #111; }
#sod_fin.or-detail-wrap .order-sub { margin: 0.5rem 0 0; color: #C59BCB; font-size: 0.8125rem; font-weight: 600; line-height: 1.5; }
#sod_fin.or-detail-wrap #sod_fin_no { margin: 0 0 1rem; padding: 0; color: #666; font-size: 0.9375rem; background: none; border: 0; border-radius: 0; }
#sod_fin.or-detail-wrap #sod_fin_no strong { margin-left: 0.375rem; color: #111; font-weight: 600; }

/* 상품 표 */
#sod_fin.or-detail-wrap #sod_fin_list table { border-collapse: collapse; border-top: 1px solid #111; }
#sod_fin.or-detail-wrap #sod_fin_list thead th { height: auto; padding: 1rem 0.75rem; color: #111; font-size: 0.875rem; font-weight: 600; background: #fff; border: 0; border-bottom: 1px solid #ddd; border-radius: 0; }
#sod_fin.or-detail-wrap #sod_fin_list tbody td { padding: 1.25rem 0.75rem; color: #222; font-size: 0.9375rem; background: #fff; border: 0; border-bottom: 1px solid #e5e5e5; }
#sod_fin.or-detail-wrap #sod_fin_list .sod_img img { object-fit: cover; background: #f5f5f5; }
#sod_fin.or-detail-wrap #sod_fin_list .sod_name a, #sod_fin.or-detail-wrap #sod_fin_list .sod_name b { color: #111; font-weight: 600; }
#sod_fin.or-detail-wrap #sod_fin_list .sod_opt { color: #666; }
#sod_fin.or-detail-wrap #sod_fin_list .sod_name .sod_opt:before { color: #666; background: #f5f5f5; border: 0; border-radius: 0; }

/* 왼쪽(주문자·받는 분·배송) · 오른쪽(합계·결제) 상자: 둥근 테두리 대신 검정 윗줄 */
#sod_fin.or-detail-wrap .sod_left h3,
#sod_fin.or-detail-wrap #sod_fin_pay h3 { margin: 0; padding: 1rem 0 0.75rem; color: #111; font-size: 1.0625rem; font-weight: 700; background: none; border: 0; border-top: 1px solid #111; border-radius: 0; }
#sod_fin.or-detail-wrap .sod_left .tbl_head01,
#sod_fin.or-detail-wrap .sod_left .tbl_wrap { padding: 0 0 0.5rem; background: none; border: 0; border-radius: 0; }
#sod_fin.or-detail-wrap .sod_left section { margin: 0 0 2rem; background: none; border: 0; border-radius: 0; }
#sod_fin.or-detail-wrap .sod_left th { width: 6.5rem; padding: 0.5rem 0; color: #888; font-size: 0.875rem; font-weight: 500; background: none; border: 0; }
#sod_fin.or-detail-wrap .sod_left td { padding: 0.5rem 0; color: #111; font-size: 0.9375rem; background: none; border: 0; }
#sod_fin.or-detail-wrap #sod_fin_dvr .dvr_link { color: #111; }
#sod_fin.or-detail-wrap #sod_fin_dvr .empty_table, #sod_fin.or-detail-wrap #sod_fin_dvr p { color: #888; }

#sod_fin.or-detail-wrap #sod_bsk_tot2 { margin: 0 0 2rem; padding: 0.5rem 1.25rem; background: #faf7fb; border: 0; border-radius: 0; }
#sod_fin.or-detail-wrap #sod_bsk_tot2 li { background: none; border: 0; border-bottom: 1px solid #ece4ee; }
#sod_fin.or-detail-wrap #sod_bsk_tot2 li:last-child { border-bottom: 0; }
#sod_fin.or-detail-wrap #sod_bsk_tot2 li span { color: #666; }
#sod_fin.or-detail-wrap #sod_bsk_tot2 li strong { color: #111; }
#sod_fin.or-detail-wrap #sod_bsk_tot2 li.sod_fin_tot { background: none; }
#sod_fin.or-detail-wrap #sod_bsk_tot2 li.sod_fin_tot span, #sod_fin.or-detail-wrap #sod_bsk_tot2 li.sod_fin_tot strong { color: #111; font-weight: 700; }
#sod_fin.or-detail-wrap #sod_fin_pay { margin: 0 0 2rem; background: none; border: 0; border-radius: 0; }
#sod_fin.or-detail-wrap #sod_fin_pay ul { padding: 0.25rem 0 0; }
#sod_fin.or-detail-wrap #sod_fin_pay li > strong { color: #888; font-weight: 500; }
#sod_fin.or-detail-wrap #sod_fin_pay li > span { color: #111; }

/* 버튼(현금영수증·취소 등): 네모 회색 테두리 */
#sod_fin.or-detail-wrap .btn_frmline { height: 40px; padding: 0 1rem; color: #111; font-size: 0.875rem; line-height: 38px; background: #fff; border: 1px solid #ccc; border-radius: 0; }
#sod_fin.or-detail-wrap .btn_frmline:hover { color: #fff; background: #111; border-color: #111; }
#sod_fin.or-detail-wrap button#delivery_btn { color: #fff; background: #111; border: 1px solid #111; border-radius: 0; }

/* 모바일 상품 카드 */
#sod_fin.or-detail-wrap .sod_fin_order-card { padding: 1rem 0; border: 0; border-top: 1px solid #111; border-bottom: 1px solid #e5e5e5; border-radius: 0; }
#sod_fin.or-detail-wrap .sod_fin_order-card .card-title, #sod_fin.or-detail-wrap .sod_fin_order-card .card-title span { color: #111; font-weight: 700; }

@media screen and (max-width: 768px) {
    #sod_fin.or-detail-wrap .order-head { margin-bottom: 1.75rem; }
    #sod_fin.or-detail-wrap .order-title { font-size: 1.375rem; letter-spacing: -0.5px; }
    #sod_fin.or-detail-wrap .sod_left section { margin-bottom: 1.5rem; }
    #sod_fin.or-detail-wrap .sod_left th { width: 5.5rem; }
    #sod_fin.or-detail-wrap #sod_bsk_tot2 { padding: 0.25rem 1rem; }
}
#sod_fin.or-detail-wrap #sod_fin_list tbody td.td_prd { padding-left: calc(0.75rem + 80px + 1rem); }   /* 사진(왼쪽 고정) 자리만큼 상품명을 띄운다 */
#sod_fin.or-detail-wrap #sod_fin_list .td_prd .sod_img { top: 50%; left: 0.75rem; transform: translateY(-50%); }
#sod_fin.or-detail-wrap #sod_fin_list .td_prd .sod_img img { width: 80px; height: 80px; }
@media screen and (max-width: 768px) {
    #sod_fin.or-detail-wrap { padding-top: 44px; }   /* 모바일 제목 위치를 장바구니(Cart, 104px)와 같게 */
}

/* 주문 상세 가로 폭을 구매 후기(.rv-page)와 같게(2026-11-12). 이 페이지는 왼쪽 메뉴 칸이 없어 본문 틀이 99px 에서 시작하므로
   그만큼 왼쪽 여백을 더해 구매 후기와 같은 시작선(PC 341·태블릿 227)·오른쪽 끝·넓은 화면 1400px 가운데를 맞춘다 */
@media (min-width: 1201px) {
    #sod_fin.or-detail-wrap { width: auto; max-width: var(--belita-content-max); margin: 0 134px 0 max(242px, calc((100vw - var(--belita-content-max)) / 2 - 99px)); }
}
@media (min-width: 769px) and (max-width: 1200px) {
    #sod_fin.or-detail-wrap { width: auto; max-width: var(--belita-content-max); margin: 0 20px 0 128px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    /* 좁은 태블릿: 7칸 상품 표가 본문(약 450px)보다 넓어지지 않게 칸 여백·글자를 줄인다 */
    #sod_fin.or-detail-wrap #sod_fin_list thead th, #sod_fin.or-detail-wrap #sod_fin_list tbody td { padding-left: 0.375rem; padding-right: 0.375rem; font-size: 0.8125rem; }
    #sod_fin.or-detail-wrap #sod_fin_list tbody td.td_prd { padding-left: calc(0.375rem + 64px + 0.625rem); }
    #sod_fin.or-detail-wrap #sod_fin_list .td_prd .sod_img { left: 0.375rem; }
    #sod_fin.or-detail-wrap #sod_fin_list .td_prd .sod_img img { width: 64px; height: 64px; }
}
