@charset "utf-8";
/* 더블업 테마. style.css 뒤에 실려 기존 핑크 UI 를 카탈로그 톤으로 덮음.
   기존 CSS 가 변수에 !important 를 걸어둬서 여기서도 같은 방식으로 다시 선언함 */

@font-face {
    font-family: 'IropkeBatang';
    font-weight: 500;
    font-display: swap;
    src: url(/resources/fonts/iropke/IropkeBatangM.woff) format('woff');
}

:root {
    --paper: #ffffff;
    --ink: #17171a;
    --ink-soft: #6b6b73;
    --ink-mute: #a2a2aa;
    --line: #e6e6ea;
    --sand: #f4f3f0;
    --sand-deep: #ebe9e4;
    --cobalt: #1b3fe6;
    --cobalt-tint: #eef1ff;
    --font-serif: 'IropkeBatang', 'Noto Serif KR', serif;

    /* 기존 변수 재매핑 */
    --white: #ffffff !important;
    --BGGray: #e6e6ea !important;
    --BGPink: #ffffff !important;
    --gray-900: #17171a !important;
    --gray-800: #4d4d55 !important;
    --gray-700: #6b6b73 !important;
    --gray-600: #e6e6ea !important;
    --gray-500: #f4f3f0 !important;
    --main-900: #17171a !important;
    --main-800: #6b6b73 !important;
    --main-600: #1b3fe6 !important;
    --main-500: #1b3fe6 !important;
    --main-400: #8fa0f5 !important;
    --main-300: #c9cfef !important;
    --main-200: #f4f3f0 !important;
    --linear-900: linear-gradient(#1b3fe6, #1b3fe6) !important;
    --linear-800: linear-gradient(#1b3fe6, #1b3fe6) !important;
}

html, body { background: var(--paper); }
body { color: var(--ink); letter-spacing: -0.2px; }
.bg-pink { background: var(--paper) !important; }
.is__bng { padding-bottom: 120px; }

/* 기존 유리질 그림자 전부 제거 */
.pinkbox, .mypage-list, .mypage-point-item, .bng-wrap, .textfield01, .btn-common01, .btn-common02,
.collapse, .contact-card, .faq-item, .home-menu, .cart-item, .products__detail .item-info {
    box-shadow: none !important;
}

.mi { display: inline-block; vertical-align: middle; flex: none; }

/* ─── 헤더 ─── */
.header-home {
    height: 56px;
    padding: 0 16px 0 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 90;
}
.header-home-left { gap: 4px; }
.header-home-left .btn-back {
    width: 36px; height: 36px; margin-left: -8px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: 0; color: var(--ink);
}
.header-home-left .btn-back img { display: none; }
.mall-wordmark {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex; align-items: baseline; gap: 6px;
}
.mall-wordmark small {
    font-family: var(--font-pretendard);
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    color: var(--ink-mute);
}
.header-home-right { gap: 2px !important; }
.hdr-btn {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 0; color: var(--ink); cursor: pointer;
    position: relative; text-decoration: none;
}
.hdr-btn .cnt {
    position: absolute; top: 5px; right: 3px;
    min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 8px; background: var(--cobalt); color: #fff;
    font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}
.hdr-login {
    height: 32px; padding: 0 12px; margin-left: 6px;
    border: 1px solid var(--ink); border-radius: 16px;
    background: none; color: var(--ink);
    font-size: 13px; font-weight: 600; line-height: 30px;
    display: inline-flex; align-items: center;
}

/* 서브 페이지 상단(뒤로가기 + 제목) */
header:not(.header-home) {
    height: 56px; padding: 0 20px;
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}
header:not(.header-home) h1 {
    font-family: var(--font-serif); font-size: 19px; font-weight: 500;
    color: var(--ink); margin: 0;
}
header:not(.header-home) .btn-back img { display: none; }
header:not(.header-home) .btn-back {
    width: 36px; height: 36px; margin-left: -10px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317171a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") center/22px no-repeat;
}
header:empty { display: none; }

/* ─── 메뉴 레이어: 왼쪽 드로어 ─── */
.home-menu-wrap { z-index: 200; }
.home-menu-wrap .bg { background: rgba(23, 23, 26, 0.45); }
.home-menu-inner { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.home-menu {
    top: 0; left: 0;
    width: min(78vw, 320px); height: 100%;
    border-radius: 0; border: 0;
    background: var(--paper);
    padding: 0;
    display: flex; flex-direction: column;
    pointer-events: auto;
    animation: mallSlideIn 0.22s ease;
    box-shadow: 8px 0 32px rgba(23, 23, 26, 0.12) !important;
}
@keyframes mallSlideIn { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.home-menu li a { padding: 14px 20px; font-size: 16px; }
.home-menu .menu-head {
    height: 56px; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.home-menu .menu-head .mall-wordmark { font-size: 20px; }
.home-menu .menu-close { width: 36px; height: 36px; margin-right: -8px; background: none; border: 0; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.home-menu ul { padding: 8px 0; }
.home-menu ul li { padding: 0; margin: 0; border: 0; }
.home-menu ul li a {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    font-size: 16px; font-weight: 500; color: var(--ink);
    text-decoration: none;
}
.home-menu ul li a .mi { color: var(--ink-soft); }
.home-menu ul li.sep { height: 1px; background: var(--line); margin: 8px 20px; }
.home-menu .menu-foot { margin-top: auto; padding: 16px 20px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-mute); }
.home-menu .menu-foot a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); text-decoration: none; font-weight: 500; }

/* ─── 하단 독 ─── */
.bng-wrap {
    left: 50%; bottom: 18px;
    transform: translateX(-50%);
    width: auto; padding: 6px;
    border-radius: 999px;
    background: var(--ink);
    display: flex; gap: 4px;
    box-shadow: 0 10px 30px rgba(23, 23, 26, 0.25) !important;
}
.bng-wrap a {
    transform: none;
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 18px 0 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}
.bng-wrap a.active { background: var(--paper); color: var(--ink); }
.bng-wrap a span { font-size: 13px; font-weight: 600; color: inherit; }
.bng-wrap a.active span { color: var(--ink); }
.bng-wrap img { display: none; }

/* ─── 홈 ─── */
.page__home { background: var(--paper); }
.page__home .page__outer { padding: 0; min-height: 0; }
.mall-hero { padding: 28px 20px 8px; }
.mall-hero h1 {
    font-family: var(--font-serif);
    font-size: 30px; line-height: 1.28; font-weight: 500;
    letter-spacing: -0.02em; color: var(--ink); margin: 0;
    max-width: 18ch;
}
.mall-hero p { margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.mall-section { padding: 0 20px; }
.mall-section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 30px 0 14px;
}
.mall-section-head h2 {
    font-family: var(--font-serif);
    font-size: 21px; font-weight: 500; letter-spacing: -0.01em;
    color: var(--ink); margin: 0;
}
.mall-section-head a {
    font-size: 13px; font-weight: 500; color: var(--ink-soft);
    text-decoration: none; display: inline-flex; align-items: center; gap: 2px;
}

/* 새로 들어온 상품: 큰 판 가로 스크롤 */
.mall-rail {
    display: flex; gap: 12px;
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 20px;
    padding: 0 20px 4px; margin: 0 -20px;
    scrollbar-width: none;
}
.mall-rail::-webkit-scrollbar { display: none; }
.mall-rail .rail-item {
    flex: 0 0 64%;
    scroll-snap-align: start;
    text-decoration: none; color: inherit;
}
.mall-rail .rail-item:last-child { margin-right: 20px; }
.mall-rail .plate { aspect-ratio: 4 / 5; }
.mall-rail .rail-info { padding-top: 12px; }

/* 상품 판 공통 */
.plate {
    position: relative;
    background: var(--sand);
    border-radius: 6px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.plate img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
}
.plate .badge {
    position: absolute; left: 10px; top: 10px; z-index: 1;
    padding: 4px 8px; border-radius: 4px;
    background: var(--paper); color: var(--ink);
    font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
}
.p-brand { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.p-name {
    margin: 3px 0 0; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.p-price { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.p-price small { font-size: 12px; font-weight: 600; margin-left: 1px; }

/* 카테고리 칩 */
.mall-chips {
    display: flex; gap: 8px;
    overflow-x: auto; scrollbar-width: none;
    padding: 4px 20px 16px; margin: 0 -20px;
}
.mall-chips::-webkit-scrollbar { display: none; }
.mall-chips button {
    flex: none;
    height: 36px; padding: 0 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink); font-size: 13px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 6px;
    cursor: pointer; white-space: nowrap;
}
.mall-chips button .mi { color: var(--ink-soft); }
.mall-chips button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.mall-chips button.active .mi { color: #fff; }

/* 상품 그리드: 기존 .items02 마크업을 카탈로그 그리드로 */
.home__products { background: var(--paper); padding: 0 20px 24px; margin: 0; border-radius: 0; }
.items02, .home__items02 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; align-items: start; overflow: visible; margin-top: 0; }
.home__items02 .item { width: auto; box-shadow: none !important; }
.items02.items02-nowrap { display: flex; gap: 12px; }
.items02 .item {
    max-width: none; min-width: 0; width: auto;
    padding: 0; border-radius: 0; background: none;
}
.items02 .item .thum, .items02 .item .item-img a { display: block; }
.items02 .item-img {
    background: var(--sand); border-radius: 6px;
    aspect-ratio: 4 / 5; overflow: hidden;
}
.items02 .item-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.items02 .item-info { padding-top: 10px; }
.items02 .item-info a { text-decoration: none; }
.items02 .item-info span { margin: 0; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.items02 .item-info h2, .items02 .item-info .p_name {
    margin: 3px 0 0; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink);
    white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.items02 .item-info p { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.items02 .item-soldout { border-radius: 6px; background: rgba(255, 255, 255, 0.72); }
.items02 .item-soldout .btn-common01 { width: auto; height: 32px; line-height: 32px; padding: 0 12px; background: var(--ink) !important; color: #fff; font-size: 12px; border-radius: 4px; }
.no-data { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--ink-mute); }
.no-data img { display: none; }

/* 기존 title-common 이 남아 있는 페이지용 */
.title-common { padding: 28px 0 14px; gap: 0; }
.title-common > img { display: none; }
.title-common b { font-family: var(--font-serif); font-size: 21px; font-weight: 500; color: var(--ink); }
.title-common .more-btn { margin-left: auto; }
.title-common .more-btn img { width: 18px; opacity: 0.5; }

/* 기존 카테고리 탭(마켓 목록) */
.products__tab { gap: 8px; padding: 4px 0 12px; }
.products__tab .tab-item, .products__tab .swiper-slide { width: auto !important; }
.products__tab .tab-item {
    height: 36px; padding: 0 14px;
    border-radius: 18px; border: 1px solid var(--line);
    background: var(--paper); color: var(--ink);
    display: inline-flex; align-items: center;
    font-size: 13px; font-weight: 500;
}
.products__tab .tab-item.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.products__tab .tab-item-img { display: none; }
.products__tab .tab-item p { margin: 0; font-size: 13px; color: inherit; font-weight: inherit; }

/* 마켓 목록 상단 */
.mall-list-head { padding: 26px 0 12px; }
.mall-list-head h1 { font-family: var(--font-serif); font-size: 26px; font-weight: 500; margin: 0; letter-spacing: -0.02em; }
.search-wrap { position: relative; margin-top: 4px; }
.search-wrap .textfield01 { height: 46px; border-radius: 23px; padding-left: 44px; }
.search-wrap .btn-search {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; background: none; border: 0; padding: 0;
    color: var(--ink-soft);
}
.search-wrap .btn-search img { display: none; }
.search-wrap .btn-search::before {
    content: ""; display: block; width: 22px; height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
#gift_notice { color: var(--ink-soft) !important; text-align: left !important; padding: 8px 0 0 !important; font-size: 12px !important; }
.top__items { padding: 18px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.top__items .total { font-size: 13px; color: var(--ink-soft); }
.top__items .total b { color: var(--ink); font-weight: 700; margin: 0 2px; }
.btn-sorting { background: none; border: 0; font-size: 13px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.btn-sorting img { width: 14px; opacity: 0.6; }
.sorting-popup { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 8px 24px rgba(23, 23, 26, 0.08); }

/* ─── 버튼 · 입력 ─── */
.btn-common01 {
    height: 52px; line-height: 52px; border-radius: 8px;
    background: var(--ink) !important; color: #fff !important;
    font-size: 15px; font-weight: 600;
}
.btn-common01.disabled, .btn-common01:disabled { background: var(--sand-deep) !important; color: var(--ink-mute) !important; }
.common_btn.btn-common01, .btn-qna.btn-common01 { background: var(--cobalt) !important; }
.btn-common02 {
    height: 52px; line-height: 52px; border-radius: 8px;
    background: var(--paper) !important; color: var(--ink) !important;
    border: 1px solid var(--line) !important; font-size: 15px; font-weight: 600;
}
.textfield01 {
    height: 52px; border-radius: 8px;
    border: 1px solid var(--line); background: var(--paper);
    font-size: 15px; color: var(--ink);
}
.textfield01:focus { border-color: var(--ink); }
.textfield01::placeholder { color: var(--ink-mute); font-weight: 400; }
.head__tab { gap: 8px; }
.head__tab button { height: 40px; line-height: 40px; border-radius: 20px; font-size: 14px; }
.hr01 { border-color: var(--line); }
input[type="number"].my_point { display: none; }

/* 접기 패널 · 카드 · 공지 · FAQ */
.collapse { border: 1px solid var(--line); border-radius: 8px !important; background: var(--paper); }
.collapse-header h2 { font-size: 15px; font-weight: 600; color: var(--ink); }
.contact-card, .faq-item { background: var(--paper); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.faq-q span { color: var(--ink); }
.faq-q b { color: var(--cobalt); margin-right: 6px; }

/* ─── 상품 상세 ─── */
.products__detail { padding: 0; }
#item-view-swper { width: 100%; margin: 0; background: var(--sand); }
#item-view-swper .swiper-slide { background: var(--sand); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 8%; box-sizing: border-box; }
#item-view-swper .swiper-slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.detail__info { margin-top: 0; padding: 22px 20px 8px; border-radius: 0; background: var(--paper); box-shadow: none !important; }
.detail__info-text span { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.detail__info-text h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 500; line-height: 1.35; color: var(--ink); margin: 6px 0 10px; }
.detail__info-text b { font-size: 22px; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.gauge { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gauge h2 { font-size: 13px; color: var(--ink-soft); font-weight: 500; padding: 0; margin: 0 0 8px; }
.gaugebar-track { height: 6px; background: var(--sand-deep); box-shadow: none; overflow: hidden; }
.gaugebar-fill { height: 6px; min-width: 6px; background: var(--ink); box-shadow: none; }
.gaugebar-fill .gauge-circle { display: none; }
.gaugebar b { color: var(--ink); font-size: 13px; min-width: 34px; text-align: right; }
.commonbox-info { padding: 14px 16px; border-radius: 8px; background: var(--sand); box-shadow: none; }
.commonbox-info p { color: var(--ink); font-weight: 600; font-size: 13px; }
.commonbox-info ul li { color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.products__detail .item-detail { padding: 0; }
.detail__info .btn-soldout { width: auto; height: 32px; line-height: 32px; padding: 0 12px; font-size: 12px; }

/* ─── 장바구니 · 주문 ─── */
.box__buy { padding: 20px 0; background: none; border-radius: 0; box-shadow: none !important; }
.cart-item, .cart_item { background: var(--paper); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 0; box-shadow: none !important; }
.cart-item-img { background: var(--sand); border-radius: 6px; overflow: hidden; }
.cart-item-img img { mix-blend-mode: multiply; }
.cart-item .btn-delete img { display: none; }
.cart-item .btn-delete { width: 32px; height: 32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2a2aa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14M10 3.8h4M8 7l.7 12.2a1 1 0 0 0 1 .9h4.6a1 1 0 0 0 1-.9L16 7'/%3E%3C/svg%3E") center/20px no-repeat; border: 0; }
.delivery-info, .addr-card, .delivery-info-empty { background: var(--sand) !important; border-radius: 8px; box-shadow: none !important; }
.delivery-info-empty .icon-warn { display: none; }
.price__list { background: var(--sand); border-radius: 8px; }
.price__list li p, .price__list li b.order_total_sum { color: var(--ink); }
.price__list li b.order_total_sum { color: var(--cobalt); }
.box-title h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 500; }

/* ─── 내 정보 ─── */
.page__mypage .profile { padding: 26px 0 18px; gap: 14px; }
.page__mypage .profile img { width: 48px; height: 48px; border-radius: 50%; background: var(--sand); object-fit: cover; }
.page__mypage .profile .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-serif); font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.page__mypage .profile b { font-family: var(--font-serif); font-size: 22px; font-weight: 500; }
.mypage-point { margin-top: 0; }
.mypage-point-item { background: var(--sand); border-radius: 8px; padding: 16px; text-align: left; }
.mypage-point-item b { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mypage-point-item p { color: var(--ink-soft); font-size: 12px; }
.mypage-list { margin-top: 24px; background: none; border-radius: 0; padding: 0; border-top: 1px solid var(--line); }
.mypage-list a { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); }
.mypage-list a img { width: 18px; height: 18px; opacity: 1; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2a2aa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E"); }
.mypage-btns { margin-top: 20px; gap: 8px; }
.logout_btn .btn-logout { color: var(--ink-mute); text-decoration: underline; background: none; border: 0; }

/* ─── 내 정보 수정 ─── */
.profile__center { padding-top: 20px; }
.profile__center label { position: relative; display: inline-block; }
.profile__center img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--sand); }
.profile__center .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-serif); font-size: 26px; display: inline-flex; align-items: center; justify-content: center; }
#profileImgForm label svg { background: var(--cobalt); border-radius: 50%; padding: 4px; width: 22px; height: 22px; }
.profile__center b { font-family: var(--font-serif); font-size: 20px; font-weight: 500; }
.profile__center p { color: var(--ink-mute); font-size: 13px; }
.input-group label { font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-bottom: 6px; }
.textfield01:disabled { color: var(--ink); background: var(--sand); border-color: var(--sand); -webkit-text-fill-color: var(--ink); opacity: 1; }
.setting-box { margin-top: 24px; background: none; border-radius: 0; padding: 0; border-top: 1px solid var(--line); box-shadow: none !important; }
.setting-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.setting-item span { font-size: 15px; color: var(--ink); font-weight: 500; }
.slider { background-color: var(--sand-deep) !important; }
input:checked + .slider { background-color: var(--ink) !important; }
.slider:before { background-color: #fff !important; }

/* ─── 팝업 (배송지 추가·주소 검색) ─── */
.pop-layer .pop-container { background: var(--paper); border-radius: 12px; }
.pop_title h2 { font-family: var(--font-serif); font-size: 18px; font-weight: 500; color: var(--ink); }
.pop_title img { width: 20px; opacity: 0.6; }
#addr_layer { background: var(--paper); border-radius: 12px; }
.box_form .title-form { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.pop_btn a, .pop_btn span { border-radius: 8px; }


/* ─── 라디오·체크박스: 이미지 대신 CSS 로 ─── */
.radio-item i, .checkbox i, .checkbox-item i {
    width: 22px; height: 22px; border-radius: 50%;
    border: 1.5px solid var(--ink-mute); background: var(--paper) !important;
    box-sizing: border-box; position: relative;
}
.checkbox i, .checkbox-item i { border-radius: 6px; }
.radio-item input:checked + i, .checkbox.on i, .checkbox-item input:checked + i { border-color: var(--ink); background: var(--ink) !important; }
.radio-item input:checked + i::after {
    content: ""; position: absolute; left: 6px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #fff;
}
.checkbox.on i::after, .checkbox-item input:checked + i::after {
    content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ck_box label::before, .adv-checkbox label:before {
    background-image: none !important; border: 1.5px solid var(--ink-mute); border-radius: 6px; background-color: var(--paper);
}
.ck_box input:checked + label::before, .adv-checkbox input[type="checkbox"]:checked + label:before {
    background-color: var(--ink); border-color: var(--ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") !important;
    background-size: 70% !important; background-position: center; background-repeat: no-repeat;
}
.btn-textfield01, .input_btn { background: var(--ink) !important; color: #fff !important; border-radius: 8px; height: 52px; line-height: 52px; font-size: 14px; box-shadow: none !important; }
.pop-layer .pop_title h2 { color: var(--ink); text-align: left; }
.textfield-sub-box { box-shadow: none !important; border: 1px solid var(--line); border-radius: 8px; }
.pop-layer .pop_in, .pop-layer .pop_in * { box-shadow: none !important; }
.pop-layer ::placeholder { color: var(--ink-mute); }
.box-textfield .textfield01 { border-radius: 8px; }

/* ─── 로그인 ─── */
.page_login.page__outer { padding: 0 20px 40px; justify-content: flex-start; }
.page_login .page__inner { padding-top: 56px; }
.page_login .img-login-heart { display: none; }
.page_login .page__inner { text-align: left; }
.page_login .login-brand { text-align: left; font-family: var(--font-serif); font-size: 34px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.page_login .login-brand small { display: block; margin-top: 10px; font-family: var(--font-pretendard); font-size: 14px; color: var(--ink-soft); letter-spacing: -0.2px; }
.page_login .login_form { margin-top: 36px; }
.page_login .flex-gap-10 { display: flex; flex-direction: column; gap: 0; }
.page_login .flex-gap-10 .textfield01 { border-radius: 0; border-width: 0 0 1px 0; padding: 0 2px; height: 54px; font-size: 16px; }
.page_login .flex-gap-10 .textfield01:focus { border-color: var(--ink); }
.page_login .pwdbox { position: relative; }
.page_login .btn-pwd-toggle { right: 0; color: var(--ink-mute); background: none; border: 0; }
.page_login .btn-pwd-toggle img { display: none; }
.page_login .btn-pwd-toggle::before {
    content: ""; display: block; width: 22px; height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2a2aa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}
.page_login .login__btmlink { display: flex; justify-content: flex-start; gap: 14px; margin-top: 18px; font-size: 13px; }
.page_login .login__btmlink a { color: var(--ink-soft); text-decoration: none; }
.page_login .login__btmlink span { color: var(--line); }
.page_login .login__social { margin-top: 44px; display: flex; justify-content: center; gap: 14px; position: relative; }
.page_login .login__social::before {
    content: "간편 로그인"; position: absolute; top: -26px; left: 0; right: 0;
    text-align: center; font-size: 12px; color: var(--ink-mute);
}
.page_login .login__social a { position: relative; }
.page_login .img-social { width: 48px; height: 48px; border-radius: 50%; }
.page_login .login-ballon { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 60px; }

/* ─── 푸터 ─── */
footer { background: var(--paper); border-top: 1px solid var(--line); margin-top: 32px; }
footer .footer__head { height: 56px; padding: 0 20px; }
footer .footer__head h2 { font-size: 13px; font-weight: 600; color: var(--ink); }
footer .footer__head-links span { font-size: 12px; color: var(--ink-soft); }
footer .footer__head > img { width: 14px; opacity: 0.5; }
footer .footer__body { padding: 0 20px 24px; font-size: 12px; line-height: 1.7; color: var(--ink-soft); }
footer .footer__body .footer-btn a { color: var(--ink); }

/* ─── 팝업 ─── */
.popup .cont, .pop-layer .pop-container, .popup-layer .popup-content { border-radius: 12px; }
.popup .cont-head h3, .pop_title h2 { font-family: var(--font-serif); font-weight: 500; }
.dim-layer .dimBg, .popup .bg { background: rgba(23, 23, 26, 0.45); }

/* 포커스 */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
