@charset "utf-8";
/* rroys 전용 : 상품목록(/product/list.asp) 디자인 업그레이드 2026-07-25
   common.css 를 여러 세션이 동시에 편집해 덮어쓰기 충돌이 나므로 별도 파일로 분리.
   common.css 이후에 로드되며, list.asp 에서 siteID=rroys 일 때만 링크된다. */

/* ==========================================================================
   2026-07-25  상품목록(/product/list.asp - 타임세일/베스트/신상품) 디자인 업그레이드
     1) 폰트   : 상단 :root / html body 규칙으로 Pretendard 이미 통일됨
     2) 라인색 : --rr-line / --rr-line-strong 로 전부 통일
     3) 버튼   : 라운딩 + 음영 + hover/active 트랜지션
     4) 카드   : 이미지 라운딩 · hover 리프트 · 타이포/여백 정돈
   ↓↓↓ 이 아래는 상품목록 전용 (LIST-UPGRADE-START) ↓↓↓
   ========================================================================== */

/* ── 페이지 타이틀 ─────────────────────────────────────────────────────── */
.best_wrap .tit_area {
	margin-top: 44px;
}
.best_wrap .tit_area h1,
.best_wrap .tit_area h2 {
	margin: 0 0 26px;
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.035em;
	color: var(--rr-ink);
}
.best_wrap .tit_area h1 span:before,
.best_wrap .tit_area h2 span:before {
	width: 40px;
	margin: 0 auto;
	border-top: 3px solid var(--rr-primary);
	padding-top: 14px;
}

/* ── 기획전 배너 ───────────────────────────────────────────────────────── */
.sub_contents .time_sale_bn {
	margin-bottom: 28px;
}
.sub_contents .time_sale_bn img {
	display: block;
	border-radius: var(--rr-radius);
	box-shadow: var(--rr-shadow-sm);
}
.list_banner .swiper-slide img {
	border-radius: var(--rr-radius);
}

/* ── 정렬 바 ───────────────────────────────────────────────────────────── */
.view_type_box {
	height: auto;
	min-height: 64px;
	padding: 12px 20px;
	border: 1px solid var(--rr-line);
	border-radius: var(--rr-radius);
	background: #fff;
	box-shadow: var(--rr-shadow-sm);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}
.view_type_box .total_cont {
	float: none;
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--rr-ink-2);
}
.view_type_box .total_cont em {
	font-weight: 800;
	font-style: normal;
	color: var(--rr-primary);
}
.view_type_box .view_type {
	float: none;
	margin: 0;
	line-height: 1.4;
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}
/* 기존 구분선 이미지 제거 → 라운딩 pill 로 교체 */
.view_type_box .view_type a {
	background-image: none !important;	/* 기존 구분선 이미지 제거 */
	background-color: transparent;
	padding: 7px 14px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--rr-ink-3);
	border: 1px solid transparent;
	border-radius: 999px;
	transition: color var(--rr-tr), background-color var(--rr-tr), border-color var(--rr-tr), box-shadow var(--rr-tr);
}
.view_type_box .view_type a:hover {
	color: var(--rr-ink);
	background-color: var(--rr-bg-soft);
	border-color: var(--rr-line);
}
.view_type_box .view_type a.active {
	color: #fff;
	font-weight: 700;
	background-color: var(--rr-primary);
	border-color: var(--rr-primary);
	box-shadow: var(--rr-shadow-primary);
}
.view_type_box .view_type a:focus-visible {
	outline: 2px solid var(--rr-primary);
	outline-offset: 2px;
}

/* ── 목록 로딩 상태 ────────────────────────────────────────────────────── */
.gallery_ajax {
	transition: opacity var(--rr-tr);
	min-height: 120px;
}
.gallery_ajax.is-loading {
	opacity: .45;
	pointer-events: none;
}

/* ── 상품 카드 ─────────────────────────────────────────────────────────── */
.gallery_list {
	margin-top: 8px;
}
.gallery_list ul {
	row-gap: 8px;
}
.gallery_list ul li {
	overflow: visible;			/* hover 그림자가 잘리지 않도록 */
	margin-top: 26px;
}
/* hover 시 사이트컬러 테두리(common.css.asp)가 붙으므로 평상시엔 투명 테두리로 자리만 확보 → 레이아웃 밀림 방지 */
.gallery_list ul li .con {
	border: 1px solid transparent;
	border-radius: var(--rr-radius);
	padding-bottom: 6px;
	transition: box-shadow var(--rr-tr), transform var(--rr-tr), border-color var(--rr-tr);
}
.gallery_list.pdBtnBoxWrap.wrap .liWrap:before {
	display: none;				/* 기존 회색 오버레이 제거 → 그림자 리프트로 대체 */
}
.gallery_list ul li:hover .con {
	transform: translateY(-4px);
	box-shadow: var(--rr-shadow-lift);
}

/* 썸네일 */
.gallery_list .cutImgBox {
	border-radius: var(--rr-radius);
	background: var(--rr-bg-soft);
	overflow: hidden;
}
/* 기존 z-index:-11 때문에 부모 배경 아래로 깔리던 문제 해제 */
.gallery_list ul li.hoverborder1 img {
	z-index: auto;
}
.gallery_list .cutImgBox img {
	transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.gallery_list ul li:hover .cutImgBox img {
	transform: translate(-50%, -50%) scale(1.045);
}
/* 마감임박 뱃지는 좌측 상단으로 (우측 상단은 액션 버튼 자리) */
.gallery_list .goodsImminent {
	left: 10px;
	right: auto;
	top: 10px;
	z-index: 3;
	filter: drop-shadow(0 2px 6px rgba(23,24,28,.18));
}
.gallery_list .goodsImminent img {
	border-radius: var(--rr-radius-xs);
}

/* 타임세일 카운트다운 */
.gallery_list .timerestBox_height .timerestBox {
	margin-top: 10px;
}
.gallery_list .timerestBox_height .timeSaleArea {
	height: auto;
	min-height: 38px;
	line-height: 1.2;
	padding: 8px 10px;
	border: 1px solid var(--rr-primary-soft);
	border-radius: 999px;
	background: var(--rr-primary-soft);
	box-sizing: border-box;
	gap: 2px;
}
.gallery_list .timerestBox_height .timeSaleArea .ts_txt {
	margin-right: 10px;
	padding-right: 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--rr-primary);
	display: inline-flex;
	align-items: center;
}
.gallery_list .timerestBox_height .timeSaleArea .ts_txt::after {
	background: color-mix(in srgb, var(--sitecolor1, #FF0051) 25%, transparent);
}
.gallery_list .timerestBox_height .timeSaleArea .ts_txt .material-icons {
	font-size: 17px;
	margin-right: 3px;
}
.gallery_list .timerestBox_height .timeSaleArea .timeBox {
	margin: 0;
	white-space: nowrap;
}
.gallery_list .timerestBox_height .timeSaleArea .timeBox span {
	font-size: 12px;
	font-weight: 700;
	color: var(--rr-ink-2);
	font-variant-numeric: tabular-nums;
}
.gallery_list .timerestBox_height .timeSaleArea .timeBox .time-sale-day,
.gallery_list .timerestBox_height .timeSaleArea .timeBox .time-sale-hour,
.gallery_list .timerestBox_height .timeSaleArea .timeBox .time-sale-min,
.gallery_list .timerestBox_height .timeSaleArea .timeBox .time-sale-sec {
	font-weight: 800;
	color: var(--rr-ink);
}
/* 5열일 때는 두 줄로 (list.asp 인라인 규칙과 동일 조건) */
.gallery_list.column5 .timerestBox_height .timeSaleArea {
	border-radius: var(--rr-radius-sm);
	padding: 7px 8px;
}

/* 텍스트 영역 */
.gallery_list ul li .txt {
	padding: 14px 4px 4px;
}
.gallery_list ul li .txt .brand {
	height: auto;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--rr-ink-3);
	margin-bottom: 4px;
}
.gallery_list ul li .txt .brand:empty {
	display: none;
}
.gallery_list ul li .txt .tit {
	font-size: 15px;
	line-height: 1.45;
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 43px;
	color: var(--rr-ink-2);
}
.gallery_list ul li .txt .tit a {
	color: inherit;
	transition: color var(--rr-tr);
}
.gallery_list ul li:hover .txt .tit a {
	color: var(--rr-primary);
}
.gallery_list ul li .txt .price_wrap {
	height: auto;
	min-height: 44px;
	margin-top: 8px;
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
}
.gallery_list ul li .txt .price_wrap .dis {
	float: none;
	order: 2;
	margin: 0 8px 0 0;
	font-family: inherit;
	font-size: 20px;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--rr-primary);
}
.gallery_list ul li .txt .price_wrap .dis em {
	font-size: 21px;
	font-style: normal;
	font-weight: 800;
	letter-spacing: -0.03em;
}
.gallery_list ul li .txt .price_wrap .price_box {
	float: none;
	order: 3;
	line-height: 1.2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.gallery_list ul li .txt .price_wrap .price_box .mkprice {
	color: var(--rr-ink-4);
	font-size: 12px;
	line-height: 1.3;
	margin-bottom: 1px;
}
.gallery_list ul li .txt .price_wrap .price_box .mkprice:empty {
	display: none;
}
.gallery_list ul li .txt .price_wrap .price_box .price {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: var(--rr-ink);
}
.gallery_list ul li .txt .price_wrap .price_box .price .mwon {
	font-size: 14px;
	font-weight: 600;
	color: var(--rr-ink-2);
}

/* 아이콘 줄 : 비어 있으면 자리 차지하지 않도록 */
.gallery_list ul li .point_wrap {
	padding: 0 4px;
	background: transparent;
	line-height: normal;
	overflow: visible;
}
.gallery_list ul li .point_wrap .isiconBoxTop:empty {
	display: none;
}
.gallery_list ul li .point_wrap .isiconBoxTop img {
	width: auto;
	max-width: 100%;
	border-radius: var(--rr-radius-xs);
}

/* 색상칩 영역 : 색상이 없으면 높이 차지하지 않도록 */
.gallery_list ul li .txt .color_area {
	height: auto;
	min-height: 0;
}

/* ── 카드 hover 액션 버튼 (라운딩 + 음영) ──────────────────────────────── */
/* commonTotal.css 의 .gallery_list.columnN.pdBtnBoxWrap 규칙과 특이도를 맞춘다 */
.gallery_list.column2.pdBtnBoxWrap li .pdBtnBox,
.gallery_list.column3.pdBtnBoxWrap li .pdBtnBox,
.gallery_list.column4.pdBtnBoxWrap li .pdBtnBox,
.gallery_list.column5.pdBtnBoxWrap li .pdBtnBox,
.gallery_list.pdBtnBoxWrap li .pdBtnBox {
	right: 10px;
	left: auto;
	top: 10px;
	bottom: auto;
	margin-top: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transform: translateX(6px);
	transition: opacity var(--rr-tr), transform var(--rr-tr);
}
.gallery_list.pdBtnBoxWrap li:hover .pdBtnBox,
.gallery_list.pdBtnBoxWrap.wrap .liWrap:hover .pdBtnBox {
	opacity: 1;
	transform: translateX(0);
}
.gallery_list.pdBtnBoxWrap li .pdBtnBox .btn {
	width: 38px;
	height: 38px;
	margin: 0;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: var(--rr-shadow-md);
	transition: transform var(--rr-tr), box-shadow var(--rr-tr);
}
.gallery_list.pdBtnBoxWrap li .pdBtnBox .btn span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, .95);
	backdrop-filter: saturate(180%) blur(6px);
	-webkit-backdrop-filter: saturate(180%) blur(6px);
	opacity: 1;
	color: var(--rr-ink-2);
	font-size: 19px;
	transition: background-color var(--rr-tr), color var(--rr-tr);
}
.gallery_list.pdBtnBoxWrap li .pdBtnBox .btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--rr-shadow-lift);
}
.gallery_list.pdBtnBoxWrap li .pdBtnBox .btn:hover span {
	background: var(--rr-primary);
	color: #fff;
}
.gallery_list.pdBtnBoxWrap li .pdBtnBox .btn:active {
	transform: translateY(0);
}
.gallery_list.pdBtnBoxWrap li .pdBtnBox .btn.wish span.on {
	color: var(--rr-primary);
}
.gallery_list.pdBtnBoxWrap li .pdBtnBox .btn.wish:hover span.on {
	color: #fff;
}
.gallery_list.pdBtnBoxWrap li .pdBtnBox .btn:focus-visible {
	outline: 2px solid var(--rr-primary);
	outline-offset: 2px;
}

/* ── 품절 상품 ─────────────────────────────────────────────────────────── */
.gallery_list ul li.isSoldOut .cutImgBox img {
	filter: grayscale(1);
	opacity: .55 !important;
}
.gallery_list ul li.isSoldOut .txt .price_wrap .price_box .price {
	color: var(--rr-ink-3);
	font-size: 17px;
}
.gallery_list ul li.isSoldOut:hover .cutImgBox img {
	transform: translate(-50%, -50%);
}

/* ── 상품 없음 (빈 상태) ───────────────────────────────────────────────── */
.gallery_list .listEmpty {
	width: 100%;
	padding: 72px 20px;
	margin-top: 20px;
	text-align: center;
	color: var(--rr-ink-3);
	border: 1px solid var(--rr-line);
	border-radius: var(--rr-radius);
	background: var(--rr-bg-soft);
	box-sizing: border-box;
}
.gallery_list .listEmpty .material-icons {
	font-size: 44px;
	color: var(--rr-ink-4);
	display: block;
	margin-bottom: 10px;
}
.gallery_list .listEmpty p {
	font-size: 15px;
	line-height: 1.5;
}

/* ── 반응형 ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.best_wrap .tit_area h1,
	.best_wrap .tit_area h2 { font-size: 28px; }
	.view_type_box { padding: 12px 14px; }
	.view_type_box .view_type a { padding: 6px 11px; font-size: 13px; }
}

/* ── 모션 최소화 선호 사용자 ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.gallery_list ul li .con,
	.gallery_list .cutImgBox img,
	.gallery_list.pdBtnBoxWrap li .pdBtnBox,
	.gallery_list.pdBtnBoxWrap li .pdBtnBox .btn,
	.view_type_box .view_type a { transition: none !important; }
	.gallery_list ul li:hover .con,
	.gallery_list ul li:hover .cutImgBox img,
	.gallery_list.pdBtnBoxWrap li .pdBtnBox .btn:hover { transform: none !important; }
}
/* ↑↑↑ 상품목록 전용 끝 (LIST-UPGRADE-END) ↑↑↑ */
