/* BASIC css start */
/* =========================================
   쿠션이야기 모바일 최근 본 상품 (csrc-)
   ========================================= */
.csrc {
    --ink: #121212;
    --sub: #6b6b6b;
    --mute: #767676;
    --line: #f0f0f0;
    --soft: #f6f6f4;
    --point: #d14444;
    --bg: #f4f4f4;
    display: block;
    padding-bottom: 32px;
    background: var(--bg);
    color: var(--ink);
    font-family: SUIT, Pretendard, 'Noto Sans KR', sans-serif;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}
.csrc *,
.csrc *::before,
.csrc *::after { box-sizing: border-box; }
.csrc h2,
.csrc p,
.csrc ul,
.csrc li { margin: 0; padding: 0; list-style: none; }
.csrc a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.csrc svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 타이틀 */
.csrc-top { padding: 28px 20px 20px; background: #fff; }
.csrc-eyebrow {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--mute);
}
.csrc .csrc-title { font-size: 22px; font-weight: 800; line-height: 1.35; }

/* 전체 선택 · 삭제 바 */
.csrc .btn-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    height: 52px;
    margin-top: 8px;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.csrc-del-btn {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border: 1px solid #dedede;
    border-radius: 15px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sub);
}
.csrc .all-select {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    height: 52px;
    margin: -53px 0 1px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* 체크박스 */
#recent input[type=checkbox] {
    flex: none;
    position: relative;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1.5px solid #cfcfcd;
    border-radius: 6px;
    background: #fff no-repeat center / 14px;
    vertical-align: middle;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
#recent input[type=checkbox]:checked {
    border-color: #121212;
    background-color: #121212;
    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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* 상품 목록 */
.csrc .recentList { background: #fff; }
.csrc .recentList li + li { border-top: 1px solid var(--line); }
.csrc-item { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 18px 16px 18px 20px; }
.csrc-check { flex: none; display: flex; padding-top: 33px; }
.csrc-thumb { flex: none; display: block; width: 88px; height: 88px; border-radius: 10px; overflow: hidden; background: #eae8e4; }
.csrc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.csrc-info { flex: 1; min-width: 0; padding-right: 26px; }
.csrc .pname {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    word-break: keep-all;
}
.csrc .csrc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 6px; }
.csrc-sell { font-size: 15px; font-weight: 800; }
.csrc-disc { font-size: 15px; font-weight: 800; color: var(--point); }
.csrc .csrc-price:has(.csrc-disc) .csrc-sell { order: 2; font-size: 12.5px; font-weight: 400; color: var(--mute); text-decoration: line-through; }
.csrc .csrc-reserve { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 12px; color: var(--mute); }
.csrc-mo {
    height: 17px;
    padding: 0 5px;
    border: 1px solid #dedede;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 15px;
    color: var(--sub);
}
.csrc-cart {
    display: inline-flex;
    align-items: center;
    height: 32px;
    margin-top: 10px;
    padding: 0 12px;
    border: 1px solid #dedede;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
}
.csrc-remove {
    position: absolute;
    top: 8px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #a8a8a8;
}
.csrc-remove svg { width: 16px; height: 16px; }

/* 빈 상태 */
.csrc .none-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px;
    padding: 64px 20px;
    background: #fff;
    border-radius: 14px;
    text-align: center;
}
.csrc .none-data svg { width: 38px; height: 38px; color: #c6c6c6; }
.csrc .none-data p { margin-top: 14px; font-size: 14px; color: var(--sub); }
.csrc .none-data a {
    margin-top: 18px;
    height: 40px;
    padding: 0 18px;
    border: 1px solid #dedede;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    line-height: 38px;
}

@media screen and (min-width: 768px) {
    .csrc { max-width: 640px; margin: 0 auto; }
}
/* BASIC css end */

