@charset "utf-8";
/* 상품 목록 박스 (검색결과 / 베스트·신상품 메뉴) - PC, 모바일 공용
   구조 : .gbox_list > .gbox > a.gb_card > .thumb + .gb_info( .gb_name / .gb_price / .gb_foot ) */

.gbox_list .gbox .gb_card { display:flex; flex-direction:column; height:100%; background:#fff; border:1px solid #ececec; border-radius:12px; overflow:hidden; text-decoration:none; color:#111; box-sizing:border-box; transition:box-shadow .2s, border-color .2s; }
.gbox_list .gbox .gb_card:hover { border-color:#dcdcdc; box-shadow:0 8px 22px rgba(0,0,0,.08); }
.gbox_list .gbox .gb_card .thumb { margin:0; background:#f7f7f7; }
.gbox_list .gbox .gb_card .thumb img,
.gbox_list .gbox .gb_card > img.thumb { display:block; width:100%; aspect-ratio:1 / 1; object-fit:cover; border-radius:0; margin:0; }
.gbox_list .gbox .gb_card .search_adult_thumb,
.gbox_list .gbox .gb_card .adult-thumb { border-radius:0; }

.gbox_list .gbox .gb_info { display:flex; flex-direction:column; flex:1 1 auto; padding:16px 18px 0; text-align:left; }
.gbox_list .gbox .gb_name { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; height:42px; margin:0; color:#111; font-size:14px; font-weight:400; line-height:21px; word-break:break-all; white-space:normal; }

/* 할인율 → 판매가 → 정가(취소선) 순서 */
.gbox_list .gbox .gb_price { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 6px; margin:10px 0 14px; line-height:1.2; }
.gbox_list .gbox .gb_price .rate { order:1; margin:0; color:#f43142; font-size:22px; font-weight:700; line-height:1.2; }
.gbox_list .gbox .gb_price .rate em { font-size:15px; font-style:normal; }
.gbox_list .gbox .gb_price .price { order:2; display:inline; margin:0; color:#111; font-size:14px; font-weight:400; line-height:1.2; overflow:visible; }
.gbox_list .gbox .gb_price .price strong { font-size:22px; font-weight:800; letter-spacing:-.3px; }
.gbox_list .gbox .gb_price .market,
.gbox_list .gbox .gb_price .marketprice { order:3; display:inline; margin:0; color:#aaa; font-size:13px; text-decoration:line-through; line-height:1.2; }

.gbox_list .gbox .gb_foot { display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding:13px 0 15px; border-top:1px solid #f3f3f3; color:#666; font-size:12px; line-height:1.3; }
.gbox_list .gbox .gb_foot .gb_ship.free { color:#111; }
.gbox_list .gbox .gb_foot .gb_buy { color:#777; white-space:nowrap; }

/* PC 검색결과 : 기존 4열 배치 유지, 카드 간격만 조정 */
#search .search_product_list .search_product_inner ul.gbox_list { font-size:0; }
#search .search_product_list .search_product_inner ul.gbox_list li.gbox { margin:24px 0 0; padding:0 10px; }
#search .search_product_list .search_product_inner ul.gbox_list li.gbox > a { font-size:14px; }
#search .search_product_list .search_product_inner ul.gbox_list li.gbox > h6 { display:none; }

/* 베스트·신상품 메뉴 (PC) */
.menu_search_wrap .product_list.gbox_list { align-items:stretch; }

/* 모바일 : 2열, 글자·여백 축소 */
.gbox_list.gb_m .gbox .gb_card { border-radius:10px; }
.gbox_list.gb_m .gbox .gb_info { padding:10px 10px 0; }
.gbox_list.gb_m .gbox .gb_name { height:38px; font-size:13px; line-height:19px; }
.gbox_list.gb_m .gbox .gb_price { gap:0 4px; margin:6px 0 10px; }
.gbox_list.gb_m .gbox .gb_price .rate { font-size:17px; }
.gbox_list.gb_m .gbox .gb_price .rate em { font-size:12px; }
.gbox_list.gb_m .gbox .gb_price .price { font-size:12px; }
.gbox_list.gb_m .gbox .gb_price .price strong { font-size:17px; }
.gbox_list.gb_m .gbox .gb_price .market,
.gbox_list.gb_m .gbox .gb_price .marketprice { font-size:11px; }
.gbox_list.gb_m .gbox .gb_foot { padding:9px 0 11px; font-size:11px; }
.productlisthalf.gbox_list { display:grid; grid-template-columns:1fr 1fr; gap:12px 10px; margin-top:12px; }
.productlisthalf.gbox_list:after { display:none; }
.productlisthalf.gbox_list li.gbox { float:none; width:auto; margin:0; padding:0 !important; }
.productlisthalf.gbox_list li.gbox a img { border-radius:0; }
