:root {
    --columns: 6;
    --page: #f5f7fa;
    --panel: #ffffff;
    --ink: #0f172a;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --line-strong: #d7dee8;
    --soft: #f8fafc;
    --shadow: 0 1px 3px rgba(15, 23, 42, .05);
    --shadow-hover: 0 10px 26px rgba(15, 23, 42, .10);
    --brand-ink: #ffffff;
    --brand: #ff0000;
    --brand-dark: #d90000;
    --brand-soft: #fff0f0;
    --brand-line: #ffc7c7;
    --brand-shadow: rgba(255, 0, 0, .22);
}

.content_all {
    /* width: 1480px; */
    margin: 0 auto;
}

.goods-list-page {
    width: 100%;
    color: var(--ink);
    font-size: 12px;
    letter-spacing: -.2px;
}

.goods-list-page[data-theme="red"],
.goods-list-view[data-theme="red"] {
    --brand: #ef4444;
    --brand-dark: #dc2626;
    --brand-soft: #fff1f2;
    --brand-line: #fecdd3;
    --brand-shadow: rgba(220, 38, 38, .24);
}
.goods-list-page[data-theme="blue"],
.goods-list-view[data-theme="blue"] {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-soft: #eff6ff;
    --brand-line: #bfdbfe;
    --brand-shadow: rgba(29, 78, 216, .26);
}
.goods-list-page[data-theme="green"],
.goods-list-view[data-theme="green"] {
    --brand: #10b981;
    --brand-dark: #059669;
    --brand-soft: #ecfdf5;
    --brand-line: #a7f3d0;
    --brand-shadow: rgba(5, 150, 105, .26);
}
.goods-list-page[data-theme="slate"],
.goods-list-view[data-theme="slate"] {
    --brand: #334155;
    --brand-dark: #1f2937;
    --brand-soft: #f1f5f9;
    --brand-line: #cbd5e1;
    --brand-shadow: rgba(31, 41, 55, .24);
}
.goods-list-page[data-theme="orange"],
.goods-list-view[data-theme="orange"] {
    --brand: #f97316;
    --brand-dark: #ea580c;
    --brand-soft: #fff7ed;
    --brand-line: #fed7aa;
    --brand-shadow: rgba(234, 88, 12, .26);
}
.goods-list-page[data-theme="purple"],
.goods-list-view[data-theme="purple"] {
    --brand: #8b5cf6;
    --brand-dark: #7c3aed;
    --brand-soft: #f5f3ff;
    --brand-line: #ddd6fe;
    --brand-shadow: rgba(124, 58, 237, .26);
}
.goods-list-page[data-theme="pink"],
.goods-list-view[data-theme="pink"] {
    --brand: #ec4899;
    --brand-dark: #db2777;
    --brand-soft: #fdf2f8;
    --brand-line: #fbcfe8;
    --brand-shadow: rgba(219, 39, 119, .24);
}
.goods-list-page[data-theme="teal"],
.goods-list-view[data-theme="teal"] {
    --brand: #14b8a6;
    --brand-dark: #0d9488;
    --brand-soft: #f0fdfa;
    --brand-line: #99f6e4;
    --brand-shadow: rgba(13, 148, 136, .26);
}
.goods-list-page[data-theme="amber"],
.goods-list-view[data-theme="amber"] {
    --brand: #f59e0b;
    --brand-dark: #d97706;
    --brand-soft: #fffbeb;
    --brand-line: #fde68a;
    --brand-shadow: rgba(217, 119, 6, .26);
}
.goods-list-page[data-theme="indigo"],
.goods-list-view[data-theme="indigo"] {
    --brand: #6366f1;
    --brand-dark: #4f46e5;
    --brand-soft: #eef2ff;
    --brand-line: #c7d2fe;
    --brand-shadow: rgba(79, 70, 229, .26);
}
.goods-list-page[data-theme="cyan"],
.goods-list-view[data-theme="cyan"] {
    --brand: #06b6d4;
    --brand-dark: #0891b2;
    --brand-soft: #ecfeff;
    --brand-line: #a5f3fc;
    --brand-shadow: rgba(8, 145, 178, .26);
}
.goods-list-page[data-theme="navy"],
.goods-list-view[data-theme="navy"] {
    --brand: #1e3a8a;
    --brand-dark: #1e40af;
    --brand-soft: #eff6ff;
    --brand-line: #93c5fd;
    --brand-shadow: rgba(30, 64, 175, .28);
}
.goods-list-page[data-theme="lime"],
.goods-list-view[data-theme="lime"] {
    --brand: #84cc16;
    --brand-dark: #65a30d;
    --brand-soft: #f7fee7;
    --brand-line: #d9f99d;
    --brand-shadow: rgba(101, 163, 13, .26);
}
.goods-list-page[data-theme="rose"],
.goods-list-view[data-theme="rose"] {
    --brand: #f43f5e;
    --brand-dark: #e11d48;
    --brand-soft: #fff1f2;
    --brand-line: #fecdd3;
    --brand-shadow: rgba(225, 29, 72, .24);
}
.goods-list-page[data-theme="gray"],
.goods-list-view[data-theme="gray"] {
    --brand: #6b7280;
    --brand-dark: #4b5563;
    --brand-soft: #f9fafb;
    --brand-line: #e5e7eb;
    --brand-shadow: rgba(75, 85, 99, .22);
}

.goods-list-page * {
    box-sizing: border-box;
}

.goods-list-page button,
.goods-list-page input,
.goods-list-page select {
    font-family: inherit;
    font-size: 13px;
}

.auction-renew-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
}

.auction-renew-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #31506f;
    font-size: 15px;
    font-weight: 900;
}

.auction-renew-title b {
    color: #111827;
    font-size: 17px;
}

.cata_list,
.cata_menu_down {
	margin-bottom: 20px;
}
.filter-panel {
    margin-bottom: 18px;
    padding: 12px 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.filter-row div {
    display: flex;
    gap: 5px;
    align-items: center;
}

.chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: #666;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip:hover {
    background: var(--brand-soft);
    border-color: var(--brand-line);
    color: var(--brand-dark);
}

.chip:has(input:checked),
.chip.is-checked {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--brand-ink);
    box-shadow: 0 7px 16px var(--brand-shadow);
}

.chip:active {
    transform: translateY(1px);
}

.sep {
    flex: 0 0 auto;
    width: 1px;
    height: 26px;
    margin: 0 4px;
    background: var(--line);
}

.price-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.price-search input {
    width: 104px;
    height: 35px;
    padding: 0 11px;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    outline: none;
    color: var(--ink);
    text-align: right;
}

.price-search input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.price-search .unit {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.range-mark {
    color: #475569;
}

.btn-search {
    height: 35px;
    padding: 0 18px;
    background: var(--brand-dark);
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 7px 15px var(--brand-shadow);
    transition: filter .15s, transform .15s;
}

.btn-search:hover {
    filter: brightness(.95);
}

.btn-search:active {
    transform: translateY(1px);
}

.result-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.result-count {
    font-size: 14px;
}

.result-count strong {
    color: var(--brand-dark);
    font-size: 18px;
    font-weight: 900;
}

.tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.tools select {
    height: 36px;
    padding: 0 34px 0 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: #666;
    font-weight: 700;
    outline: none;
}

.tools select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.view-btn {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: #64748b;
    font-weight: 900;
    cursor: pointer;
    transition: .15s;
}

.view-btn:hover {
    background: var(--brand-soft);
    border-color: var(--brand-line);
    color: var(--brand-dark);
}

.view-btn.active {
    background: var(--brand);
    color: var(--brand-ink);
}

.ready-panel {
    padding-top: 10px;
    margin-bottom: 30px;
}

.ready-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 18px;
    flex-direction: column;
    line-height: 1.5;
}

.ready-box .title {
    font-size: 20px;
    overflow: unset;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
}

#message_pop {
    width: fit-content !important;
    border-radius: 6px;
    box-shadow: 0 1px 4px 0 #00000029;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: -0.05em;
    padding: 8px 10px;
    background-color: #FFFFFF !important;
}
#message_pop span {
    color: #555555 !important;
}

.goods-list-view {
    width: 100%;
    margin: 22px auto 60px;
    color: var(--ink);
    font-family: 'Noto Sans KR', Arial, 'Apple SD Gothic Neo', sans-serif;
    font-size: 14px;
    letter-spacing: -.2px;
}

.goods-list-view[data-theme="blue"] {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-soft: #eff6ff;
    --brand-line: #bfdbfe;
    --brand-shadow:rgba(29, 78, 216, .26);
}

.goods-list-view[data-theme="green"] {
    --brand: #10b981;
    --brand-dark: #059669;
    --brand-soft: #ecfdf5;
    --brand-line: #a7f3d0;
    --brand-shadow:rgba(5, 150, 105, .26);
}

.goods-list-view[data-theme="slate"] {
    --brand: #334155;
    --brand-dark: #1f2937;
    --brand-soft: #f1f5f9;
    --brand-line: #cbd5e1;
    --brand-shadow:rgba(31, 41, 55, .24);
}

.goods-list-view * {
    box-sizing: border-box;
}

.goods-list-view button,
.goods-list-view input,
.goods-list-view select {
    font-family: inherit;
    font-size: 14px;
}

.goods-list-view .products {
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.goods-list-view .card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: transform .16s, box-shadow .16s, border-color .16s;
    cursor: pointer;
}

.goods-list-view .card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: var(--shadow-hover);
}

.goods-list-view .photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    max-height: 232px;
    background: #eef2f7;
}

.goods-list-view .photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goods-list-view .photo img.soldout {
	opacity: 0.5;
}

.goods-list-view .is-soldout::after {
	content: 'SOLD OUT';
    position: absolute;
    top: 12px;
    left: -46px;
    width: 150px;
    padding: 10px 0;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    transform: rotate(-45deg);
    z-index: 2;
    pointer-events: none;
    box-shadow: var(--brand-shadow);
}

.goods-list-view .badge-area {
	position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px;
    max-width: calc(100% - 50px);
    pointer-events: none;
}

.goods-list-view .badge {
    padding: 5px 9px;
    background: var(--brand);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 5px 12px  var(--brand-shadow);
    z-index: 2;
}

.goods-list-view .badge_01 {
    background: #494949; /* 즉시구매 */
    box-shadow: 0 5px 12px rgba(73, 73, 73, .22);
}
.goods-list-view .badge_02 { /* 종료임박 */
    background: #ef4444;
    box-shadow: 0 5px 12px rgba(239, 68, 68, .22);
	animation: badge02-blink 1s linear infinite;
}
@keyframes badge02-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.goods-list-view .badge_03{ /* HOT */
    background: #ec4899;
    box-shadow: 0 5px 12px rgba(236, 72, 153, .22);
}
.goods-list-view .badge_04{ /* 무료배송 */
    background: var(--brand);
    box-shadow: 0 5px 12px var(--brand-shadow);
}

.goods-list-view .fav,
.goods-list-view .zoom {
    position: absolute;
    background: rgba(255, 255, 255, .94);
    border: 0;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .12);
    cursor: pointer;
    z-index: 3;
    color: #cbd5e1;
}

.goods-list-view .fav {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;

    font-size: 16px;
    line-height: 1;
}
.goods-list-view .fav.on {
    color: var(--brand);
}

.goods-list-view .zoom {
    right: 10px;
    bottom: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 900;
    line-height: 30px;
    text-align: center;
    padding: 0;
    color:rgb(134, 138, 143);
}

.goods-list-view .fav:hover,
.goods-list-view .zoom:hover {
    color: var(--brand-dark);
}

.goods-list-view .body {
    display: flex;
    flex-direction: column;
    padding: 15px 12px 16px;
}

.goods-list-view .album-only {
    padding-bottom: 10px;
}

.goods-list-view .album-only div {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.goods-list-view .price {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.6px;
    line-height: 1.2;
}

.goods-list-view .price .unit {
    font-size: 16px;
    font-weight: 900;
}

.goods-list-view .krw {
    display: block;
    margin-top: 3px;
    color: #718096;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.goods-list-view .name {
    display: -webkit-box;
    overflow: hidden;
    height: 38px;
    margin: 10px 0 0;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.goods-list-view .buy-now {
    min-height: 27px;
    margin: 8px 0 0;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 900;
}

.goods-list-view .buy-now.empty {
    visibility: hidden;
}

.goods-list-view .buy-now .label {
    display: inline-flex;
    align-items: center;
    height: 24px;
    margin-right: 7px;
    padding: 0 7px;
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    border-radius: 7px;
    color: var(--brand-dark);
    font-weight: 600;
}

.goods-list-view .buy-now .label.delivery-label {
    background: #f8fafc;
    border-color: #dbe3ef;
    color: #475569;
}

.goods-list-view .meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
    color: #64748b;
    font-size: 12px;
    line-height: 1.9;
}

.goods-list-view .meta-row {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
}

.goods-list-view .meta-row.seller:hover {
    text-decoration: underline;
}

.goods-list-view .meta b {
    color: #111827;
    font-weight: 700;
    text-align: right;
}

.goods-list-view .seller b {
    display: inline-block;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    cursor: pointer;
    justify-self: right;
}

.goods-list-view .products.list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#contents_integ li {
    display: grid;
}
.goods-list-view .products.list .card {
    display: grid;
    grid-template-columns: 160px 1fr;
}

.goods-list-view .products.list .photo {
    height: 160px;
    aspect-ratio: auto;
}

.goods-list-view .products.list .body {
    display: grid;
    grid-template-columns: 0.4fr 1fr 0.6fr;
    align-items: center;
    column-gap: 22px;
    min-height: 160px;
    padding: 16px 18px;
}

.goods-list-view .products.list .name {
    height: 46px;
    margin-top: 0;
}

.goods-list-view .products.list .buy-now {
    min-height: auto;
}

.goods-list-view .products.list .meta {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.goods-list-view .products.list .price {
    font-size: 23px;
}

.goods-list-view .list-only {
    display: none;
}

.goods-list-view .products.list .list-only {
    display: block;
}

.goods-list-view .products.list .album-only {
    display: none;
}

.goods-list-view .add-page {
    min-height: 320px;
    background: #fff;
}

.goods-list-view .products.list .card.add-page {
    display: none !important;
}

.goods-list-view .list .add-page a {
    min-height: auto;
    padding: 20px 0;
}

.goods-list-view .add-page a {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 320px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: #475569;
    text-decoration: none;
    font-weight: 900;
}

.goods-list-view .add-page-arrow {
    display: block;
    width: 100px;
    height: 100px;
    background: url("/images/integ/arrow2.png") no-repeat center / contain;
}

.goods-list-view .add-page:hover .add-page-arrow {
    background-image: url("/images/integ/arrow2_h.png");
}

.goods-list-view .pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 30px 0 0;
    padding: 0;
}

.goods-list-view .pagination a,
.goods-list-view .pagination strong,
.goods-list-view .pagination span,
.goods-list-view .pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #475569;
    font-weight: 800;
    text-decoration: none;
}

.goods-list-view .pagination a:hover {
    background: var(--brand-soft);
    border-color: var(--brand-line);
    color: var(--brand-dark);
}

.goods-list-view .pagination .active,
.goods-list-view .pagination .on,
.goods-list-view .pagination strong {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.goods-list-view .pagination .prev,
.goods-list-view .pagination .next {
    font-size: 0;
    line-height: 0;
}
.goods-list-view .pagination .prev::after,
.goods-list-view .pagination .next::after {
    font-size: 14px;
    line-height: 1;
}
.goods-list-view .pagination .prev::after {
    content: '<';
}
.goods-list-view .pagination .next::after {
    content: '>';
}

.goods-list-view .empty-result {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    color: #475569;
}

.goods-list-view .empty-result-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 560px;
    max-width: calc(100% - 40px);
    line-height: 1.5;
}

.goods-list-view .empty-result-img {
    width: 80px;
    height: 70px;
    background: #000;
    flex: 0 0 auto;
}

.goods-list-view .empty-result-title {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.6;
    color: #111827;
}

.goods-list-view .empty-result-title em {
    color: var(--brand-dark);
    font-style: normal;
}

@media (max-width: 1160px) {
    .goods-list-view {
        width: calc(100% - 32px);
    }
}

.layer-popup {
    display: none;
    position: fixed;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
    z-index: 100;
    width: auto;
    height: auto;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 40px);
    margin: 0 !important;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}
.layer-popup > span:only-child {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .45);
    z-index: 9998;
}
#layer-popup .popup_detail {
    display: flex;
    width: 820px;
    max-width: calc(100vw - 32px);
    height: auto;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    font-family: 'Noto Sans KR', Arial, 'Apple SD Gothic Neo', sans-serif;
}
#layer-popup .d_left {
    float: none;
    flex: 0 0 480px;
    width: 480px;
    height: auto;
    padding: 40px;
    background: var(--soft);
    border-right: 1px solid var(--line);
    box-sizing: border-box;
}
#layer-popup .d_left_in {
    padding: 0;
}
#layer-popup .d_right_img {
    width: 100%;
    height: 400px;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #eef2f7;
}
#layer-popup .d_right_img img {
    position: static;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#layer-popup .d_left_in ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: auto;
    margin-top: 16px;
}
#layer-popup .d_left_in ul li {
    float: none;
    width: 56px;
    height: 56px;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .15s;
}
#layer-popup .d_left_in ul li:hover {
    border-color: var(--brand-line);
}
#layer-popup .d_left_in ul li img {
    position: static;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#layer-popup .d_right {
    float: none;
    flex: 1;
    width: auto;
    height: auto;
    min-width: 0;
    position: relative;
    overflow-y: auto;
}
#layer-popup .d_right_text {
    padding: 40px 20px;
    margin: 0;
    height: 100%;
}
#layer-popup .d_right_tit {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}
#layer-popup .buynow {
    margin-top: 16px;
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 14px;
}
#layer-popup .buynow .buy_box {
    width: auto;
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    margin-right: 8px;
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    border-radius: 7px;
    font-size: 11px;
    line-height: 1;
}
#layer-popup .right_money {
    margin-top: 20px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.5px;
    display: flex;
}
#layer-popup .right_money .kor_money {
    display: block;
    margin-top: 4px;
    color: #718096;
    font-size: 13px;
    font-weight: 600;
}
#layer-popup .d_right_text .line {
    margin: 20px 0;
    border-top: 1px solid #eef2f7;
}
#layer-popup .info_box {
    display: block;
}
#layer-popup .g_item,
#layer-popup .b_item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
}
#layer-popup .g_item {
    color: #64748b;
    font-weight: 600;
}
#layer-popup .b_item {
    color: #111827;
    font-weight: 800;
    text-align: right;
}
#layer-popup .btn_box {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
#layer-popup .btn_box a {
    flex: 1;
    padding: 13px 0;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: border-color .15s, color .15s;
}
#layer-popup .btn_box a:hover {
    border-color: var(--brand-line);
    color: var(--brand-dark);
}
#layer-popup .click_detail {
    margin-top: 10px;
}
#layer-popup .click_detail a {
    display: block;
    padding: 14px 0;
    background: var(--brand);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 8px 20px var(--brand-shadow);
    transition: background .15s;
}
#layer-popup .click_detail a:hover {
    background: var(--brand-dark);
}
#layer-popup .closex {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .94);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .12);
    cursor: pointer;
    z-index: 2;
}
#layer-popup .closex img {
    width: 20px;
    height: 20px;
    opacity: .65;
}
@media (max-width: 860px) {
    #layer-popup .popup_detail {
        flex-direction: column;
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }
    #layer-popup .d_left {
        flex: none;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    #layer-popup .d_right_img {
        height: 280px;
    }
}