@charset "utf-8";

/* ----------------------------------------- color ----------------------------------------- */
:root {
  --primary-color: #0F5C59;
  --secondary-color: #0B4745;
  --accent-color: #6F9A8D;
  --text-color: #333;
  --bg-color: #FFF;
}
body.template_a {
  background: var(--bg-color, #F5F5F7);
}
/* ---------------------------------------------------------------------------------------- */


/* ------------------------------------- template top ------------------------------------- */
.temp_top {position:relative; width:100%; height:400px;}
.temp_top_cont {
  position: relative; z-index: 50;
  margin:0 auto; padding:40px;
  color:#fff; text-align:center;
	display:flex; 
	flex-wrap:nowrap; 
	flex-direction: column; 
	justify-content: center;
	align-items: center; 
}
.temp_top_cont .temp_top_logo {margin-bottom: 20px;}
.temp_top_cont .temp_top_logo img {max-height: 50px; filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));}
.temp_top_cont .temp_top_title {font-size: 45px; font-weight: 600;}
.temp_top_cont .temp_top_sub {font-size: 14px; margin:15px 0;}
.temp_top_cont .temp_top_sub i {color:var(--accent-color, #6F9A8D);}
.temp_top_cont .temp_top_text {font-size:15px; line-height:180%; margin-bottom:25px;}
.temp_top_cont .temp_top_fa {display:block; width:160px; padding:7px 0; border:2px solid #fff; text-align:center; border-radius:50px;}
.temp_top_cont .temp_top_fa:hover {background:#fff; color:var(--primary-color, #0F5C59);}
.header_icon a:hover,
.header_icon a:hover i,
.itb_t_icon_like:hover,
.itb_t_icon_like.active,
.sec08-card__like:hover,
.sec08-card__like.active,
.sf-card__like:hover,
.sf-card__like.active,
.pr-like:hover,
.pr-like.active { color: var(--primary-color, #0F5C59) !important; border-color: var(--primary-color, #0F5C59) !important; }
.temp_top_bg {position: absolute; top:0; left:0; right:0; bottom:0; width:100%; height:100%;}
.temp_top_bg .temp_top_over {position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7);}
.temp_top_bg .temp_top_pic {width:100%; height:100%;}
.temp_top_bg .temp_top_pic img {width:100%; height:100%;}
/* ---------------------------------------------------------------------------------------- */

/* ---------------------------------- template container ---------------------------------- */
.temp_container {width:1400px; margin:0 auto; padding:50px 0 100px;}
.temp_container .temp_box {
  background:var(--bg-color, #fff); box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.10); border-radius: 15px; padding:30px; margin:0 0 50px;
}
.temp_container .temp_box:last-child {margin:0;}
/* ----- template 미니홈페이지 타이틀 ----- */
.temp_container .temp_box .tb_title {padding:35px; background:var(--primary-color, #0F5C59); border-radius:15px; margin:0 0 10px;}
.temp_container .temp_box .tb_title h2 {text-align:center; color:#fff; font-size:26px; font-weight:700; margin:0 0 50px;}
.temp_container .temp_box .tb_title p {text-align: center; color:#fff; font-size:16px; font-weight:400;}
.temp_container .temp_box .tb_info {padding:30px; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.10); }
.temp_container .temp_box .tb_info h3 {text-align: center; color:var(--primary-color, #0F5C59); font-size:26px; font-weight:600;}
.temp_container .temp_box .tb_info ul {width:40%; margin:30px auto 0;}
.temp_container .temp_box .tb_info ul li {border-bottom:1px solid #eee; padding:0 20px; color:#333; font-size:16px; line-height:40px;}
.temp_container .temp_box .tb_info ul li:first-child {border-top:1px solid #eee;}
/* ----- template 미니홈페이지 제품 ----- */
.temp_container .temp_box .tb_list {padding:20px;}
.temp_container .temp_box .tb_list h4 {text-align:center; font-size:40px; margin:0 0 20px; color:#333;}
.temp_container .temp_box .tb_list h4 i {color:var(--accent-color, #6F9A8D); margin-left: 5px;}
.temp_container .temp_box .tb_list > p {text-align:center; font-size:16px; color:#333; margin:0 0 30px;}
.temp_container .temp_box .tb_list > a {display:block; width:160px; padding:10px 0; text-align: center; border:1px solid var(--primary-color, #0F5C59); color:var(--primary-color, #0F5C59); border-radius: 50px; margin:0 auto; font-weight: 500;}
.temp_container .temp_box .tb_list > a:hover {background:var(--primary-color, #0F5C59); color:#fff;}

.section-wide-banner { padding: 40px 0; }
.wide-banner-card { position: relative; display: block; min-height: 220px; border-radius: 18px; overflow: hidden; text-decoration: none; background: #F4F4F5; }
.wide-banner-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.wide-banner-card__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.64) 0%, rgba(0,0,0,.28) 46%, rgba(0,0,0,.06) 100%); }
.wide-banner-card__body { position: absolute; left: clamp(22px, 5vw, 64px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; max-width: min(520px, 70%); color: #fff; }
.wide-banner-card__label { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--primary-color, #0F5C59); }
.wide-banner-card__name { font-size: clamp(24px, 4vw, 42px); line-height: 1.12; font-weight: 800; color: #fff; }
.wide-banner-card__price { font-size: 18px; font-weight: 800; color: #fff; }
.wide-banner-empty { min-height: 180px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: #F4F4F5; color: #A1A1AA; }
@media (max-width: 640px) {
  .section-wide-banner { padding: 28px 0; }
  .wide-banner-card { min-height: 170px; border-radius: 12px; }
  .wide-banner-card img { min-height: 170px; }
  .wide-banner-card__body { left: 20px; max-width: 78%; }
  .wide-banner-card__name { font-size: 22px; }
  .wide-banner-card__price { font-size: 15px; }
}
.temp_container .temp_box .tb_list > a i {margin-left: 5px; font-size:12px;}
/* ----- template 미니홈페이지 제품리스트 ----- */
.temp_container .temp_box .tb_list .tb_itemlist {margin:30px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
/* ----- template 미니홈페이지 제품box ----- */
.temp_container .temp_box .tb_list .tb_itemlist .tb_card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.tb_card a {display:block;}
/* ----- 왼쪽상단 태그 ----- */
.tb_badge {
  position: absolute;
  z-index:50;
  top: 5px;
  left: 5px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  text-align: center;
  min-width: 30px;
  height: 30px;
  line-height: 30px;
  padding: 0 12px;
  font-weight: 500;
  font-size: 14px;
  color:#fff
}
.tb_badge_hot {background: #E53639;}
.tb_badge_new {background: #16A34A;}
.tb_badge_best {background: var(--primary-color, #0F5C59);}
.tb_badge_end {background: #E53639;}
/* ----- 이미지상자 ----- */
.tb_card_image {aspect-ratio: 1; overflow: hidden;}
.tb_card_image img {width: 100%; height: 100%; object-fit: cover;}
.tb_card:hover .tb_card_image img {transform: scale(1.05);}
/* ----- 설명상자 ----- */
.tb_card_info {padding:15px 20px;}
.tb_card_info .tbc_top {
	display:flex; 
	flex-wrap:nowrap; 
	flex-direction: row; 
	justify-content: space-between;
	align-items: stretch;
}
.tb_card_info .tbc_top p {font-size:15px; font-weight:500; color:#e53639;}
.tb_card_info .tbc_top .tbc_top_btn {display:flex; gap:5px;}
.tb_card_info .tbc_top .tbc_top_btn button {width:20px; height:20px; font-size:18px; color:#ddd;}
.tb_card_info .tbc_top .tbc_top_btn button.btn_wish:hover,
.tb_card_info .tbc_top .tbc_top_btn button.btn_wish.active {color:#E53639;}
.tb_card_info .tbc_top .tbc_top_btn button.btn_cart:hover,
.tb_card_info .tbc_top .tbc_top_btn button.btn_cart.active {color:var(--primary-color, #0F5C59);}
.tb_card_info h5 {font-size:18px; color:#333; font-weight:500; margin:10px 0;}
.tb_card_info .tbc_price {font-size:14px; color:#e53639;}
.tb_card_info .tbc_price strong {font-size:18px; font-weight:500; margin-right: 5px;}
.tb_card_info .tbc_price span {color: #999; text-decoration:line-through; margin-left: 10px;;}
.tb_card_info .tbc_rate {margin:15px 0; width:100%; height:5px; background:#f0f0f0; position:relative; border-radius:20px; overflow:hidden;}
.tb_card_info .tbc_rate span {position:absolute; top:0; left:0; display:block; height:100%; border-radius:20px; background: linear-gradient(90deg, var(--accent-color, #6F9A8D) 0%, var(--secondary-color, #0B4745) 100%); }
.tb_card_info .tbc_time {
	display:flex; 
	flex-wrap:nowrap; 
	flex-direction: row; 
	justify-content: space-between;
	align-items: stretch;
}
.tb_card_info .tbc_time p {color:#999; font-size:12px; font-weight:400;}

/* ---------------------------------------------------------------------------------------- */

/* -------------------------------------- breadcrumb ------------------------------------- */
.breadcrumb {margin-bottom:20px;}
.breadcrumb a {font-size:14px; color:#999;}
.breadcrumb span {padding:0 2px; font-size:14px; color:#999;}
/* --------------------------------------------------------------------------------------- */

/* ----------------------------- product detail 상품상세정보 ------------------------------ */
#cointainer.mini_container {background:#F5F5F7; padding:0;}
.mini_detail {width:1200px; margin:0 auto; background:var(--bg-color, #fff); padding:40px 50px 150px;}
/* 상품상단 */
.mini_product_top {
	display:flex; 
	flex-wrap:nowrap; 
	flex-direction: row; 
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
}
/* 상품상단 - 왼쪽 이미지 */
.mpt_img {width:500px;}
.mpt_img_main {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  /* box-shadow: 0 4px 16px rgba(0,0,0,0.1); */
}
.mpt_img_main img {width: 100%; height: 100%; object-fit: cover;}
/* 상품상단 - 오른쪽 정보 */
.mpt_info {width:calc(100% - 550px);}
/* 상품상단 - 오른쪽 정보 - 상단 */
.mpt_info_box1 {padding:0 0 20px; margin:0 0 30px; border-bottom: 1px solid #ddd;}
.mpt_info_shop {display:inline-block; height:40px; line-height:40px; padding:0 30px; font-size:16px; font-weight:400; color:var(--primary-color, #0F5C59); border:1px solid var(--primary-color, #0F5C59); border-radius: 60px;}
.mpt_info_shop:hover {background:var(--primary-color, #0F5C59); color:#fff;}
.mpt_info_title {font-size:32px; font-weight:600; color:333; line-height:160%; margin:20px 0 15px;}
.mpt_info_cate {display:flex; justify-content: space-between; align-items: center; align-content: center;}
.mpt_info_cate span {font-size:16px; font-weight:400; color:#999;}
.mpt_info_cate a {font-size:18px; color:#ddd;}
.mpt_info_cate a:hover, .mpt_info_cate a.active {color:#E53639;}
/* 상품상단 - 오른쪽 정보 - 가격 */
.mpt_info_box2 {margin:0 0 30px;}
.mpt_info_box2 dl {margin:0 0 15px; display: flex; justify-content: flex-start; align-items: baseline;}
.mpt_info_box2 dl:last-child {margin:0;}
.mpt_info_box2 dl dt {font-size:16px; font-weight:500; color:#555; margin:0 20px 0 0;}
.mpt_info_box2 dl dd {font-size:16px; font-weight:500; color:#555;}
.mpt_info_box2 dl dd strong {font-size:18px; font-weight:600; color:#111;}
.mpt_info_box2 .text_del {color:#ccc; text-decoration: line-through;}
.mpt_info_box2 .bagde_dis {font-size:10px; display:inline-block; background:#FF6A00; color:#fff; width:30px; height:15px; line-height:15px; vertical-align: middle; text-align: center; margin:0 0 0 10px; border-radius: 50px;}
.mpt_info_box2 .in_stock {color: #21A230;}
.mpt_info_box2 .out_of_stock {color: #E53639;}
/* 상품상단 - 오른쪽 정보 - 진행현황 */
.mpt_info_box3 {border:1px solid #eee; background:#F5F5F7; padding:20px;}
.mpt_info_box3 .box3_head {display: flex; justify-content: space-between; align-items: center; margin:0 0 20px;}
.mpt_info_box3 .box3_head h5 {font-size:16px; font-weight:600; color:#111;}
.mpt_info_box3 .box3_head ul {display: flex; justify-content: flex-end; align-items: center; gap:5px;}
.mpt_info_box3 .box3_head ul li {min-width:110px; display: flex; justify-content: space-between; align-items: center; gap:30px; background:#fff; font-size:12px; font-weight:500; color:#555; padding:8px 10px;}
.mpt_info_box3 .box3_head ul li span {color:#E53639;}
.mpt_info_box3 .box3_graph {width:100%; height:10px; border-radius:10px; position: relative; background:#fff;}
.mpt_info_box3 .box3_graph span {width:60%; height:10px; border-radius:10px; position:absolute; top:0; left:0; background: linear-gradient(90deg, var(--accent-color, #6F9A8D) 0%, var(--secondary-color, #0B4745) 100%);}
/* 상품상단 - 오른쪽 정보 - 버튼 */
.mpt_info_btn {
	display:flex; 
  justify-content: flex-end;
	align-items: stretch;
  gap:10px;
  margin:50px 0 0;
}
.mpt_info_btn button {display:block; height:60px; line-height:60px; padding:0 30px; font-size:16px; font-weight:500; text-align:center; }
.mpt_info_btn button i {margin-right:3px; transition: all 0.3s;}
.mpt_info_btn button:hover i {transform: translateY(-2px);}
.mpt_info_btn .btn_wish {color:var(--primary-color, #0F5C59); border:1px solid var(--primary-color, #0F5C59);}
.mpt_info_btn .btn_wish:hover {color:#E3497D; border:1px solid #E3497D; text-decoration:underline;}
.mpt_info_btn .btn_buy {color:#ffffff; background:var(--primary-color, #0F5C59);}
.mpt_info_btn .btn_buy:hover {background:#E3497D;}
/* 상품하단 */
.mini_product_bottom {margin:60px 0 0;}
/* 상품하단 - 탭 */
.mpb_tabs {}
.mpb_tabs a {display:inline-block; height:50px; line-height:50px; padding:0 50px; font-size:20px; font-weight:400; background:#eee; color:#999;}
.mpb_tabs a:hover, .mpb_tabs a.active {font-weight:600; background:var(--primary-color, #0F5C59); color:#fff;}
/* 상품하단 - 폼 */
.mpb_wrap {border-top:5px solid var(--primary-color, #0F5C59); padding:40px; border-bottom:10px solid #eee; }
/* 상품하단 - 상품리뷰 */
.mpb_review_all {background:#f5f5f7; border:1px solid #eee; padding:30px;
	display:flex; 
	flex-wrap:nowrap; 
	flex-direction: row; 
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
}
.mpb_review_all > div {width:30%; border-right:1px solid #ddd;}
.mpb_review_all > div:last-child {border-right:none;}
.mpb_review_all h6 {text-align:center; font-size:16px; font-weight:500; color:#111; margin:0 0 20px;}
.mpb_review_all p {font-size:30px; color:var(--primary-color, #0F5C59); font-weight:600; text-align: center;}
.mpb_review_all p span {color:#999; font-size:16px;}
.mpb_review_rating .mp_star {text-align:center; margin:0 0 10px;}
.mpb_review_rating .mp_star span {display:inline-block; color:#FFA500; margin:0 2px; font-size:22px;}
.mpb_review_count div {text-align:center; margin:0 0 10px; color:#999; font-size:25px;}
.mpb_review_percent table th {padding:2px 10px; font-weight:600;}
.mpb_review_percent table td {padding:2px 10px; color:#999;}
.mpb_review_percent table td p {height:10px; border-radius: 20px; position: relative; background:#ddd;}
.mpb_review_percent table td span {background:var(--primary-color, #0F5C59); border-radius: 20px; width:20%; height:100%; position:absolute; top:0; left:0;}
.mpb_review_list {margin:20px 0 0; border-top:1px solid #eee;}
.mpb_review_box {border-bottom:1px solid #eee; padding:20px;}
.mpb_review_box .mp_star {margin:0 0 10px;}
.mpb_review_box .mp_star span {display:inline-block; color:#FFA500; font-size:14px;}
.mpb_review_box .mpb_review_text {font-size:15px; font-weight:500; color:#111;}
.mpb_review_box .mpb_review_img {margin:15px 0 0; display:flex; gap:10px; flex-wrap:wrap;}
.mpb_review_box .mpb_review_img img {max-height:150px; object-fit: cover; border-radius:4px; cursor:pointer;}
.mpb_review_box .mpb_review_user {font-size:14px; color:#999; margin:30px 0 0;}
.mpb_review_box .mpb_review_user span {padding:0 2px;}
.mini_product_shopcard {margin:50px 0 0; display: flex; justify-content: flex-end;}
.mini_product_shopcard .mp_shopcard {width:50%; padding:40px; background:#f5f5f7; border:1px solid #eee; border-radius: 20px; position: relative;}
.mp_shopcard .mp_shopcard_profile {display: flex; justify-content: flex-start;}
.mp_shopcard_profile .mpsp_img {width:50px; height:50px; border-radius:5px; overflow:hidden; background:var(--primary-color, #0F5C59); display: flex; justify-content: center; align-items: center; margin:0 15px 0 0;}
.mp_shopcard_profile .mpsp_info > p {font-size:18px; font-weight:600; color:#111; margin:0 0 5px;}
.mp_shopcard_profile .mpsp_info .mp_star {letter-spacing:-0.8em;}
.mp_shopcard_profile .mpsp_info .mp_star span {color:#FFA500; font-size:12px; letter-spacing: -0.05em;}
.mp_shopcard_profile .mpsp_info .mp_star span.mp_star_num {margin:0 0 0 5px; font-size:14px; font-weight:600;}
.mp_shopcard .mp_shopcard_text {margin:20px 0 0;} 
.mp_shopcard .mp_shopcard_text p {font-size:14px; line-height:140%; color:#555; font-weight:500;}
.mp_shopcard .mp_shopcard_link {position:absolute; top:40px; right:30px; height:40px; line-height:40px; padding:0 30px; border:1px solid var(--primary-color, #0F5C59); color:var(--primary-color, #0F5C59); background: #fff; font-size:16px; border-radius:50px;}
.mp_shopcard .mp_shopcard_link:hover {background:var(--primary-color, #0F5C59); color:#fff;}
/* ---------------------------------------------------------------------------------------- */


/* ----------------------------- category 전체상품리스트 ------------------------------ */
.mini_category {width:1200px; margin:0 auto;  padding:40px 0;}

/* ----- 전체상품 상단 ----- */
.mini_cate_top {padding:35px; background:var(--primary-color, #0F5C59); border-radius:15px; margin:0 0 30px;}
.mini_cate_top h2 {text-align:center; color:#fff; font-size:26px; font-weight:700; margin:0 0 10px;}
.mini_cate_top p {text-align: center; color:#fff; font-size:16px; font-weight:400;}
.mini_cate_top div {text-align:center; color:#fff; font-size:14px; font-weight:400; margin:15px 0 0;}
/* ----- 전체상품 필터 ----- */
.mini_cate_filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.10);
  border:1px solid #f0f0f0;
  border-radius: 15px;
  padding:20px 30px;
  margin: 0 0 50px;
}
.mcf_left {display: flex; justify-content: flex-start; align-items: center;}
.mcf_left p {font-size:16px; font-weight:600; color:#111; margin:0 10px 0 0;}
.mcf_left select {width:200px; background:#fff; color:#555; border:1px solid #ddd;}
.mcf_right {display: flex; gap:5px; flex-wrap: wrap;}
.mcf_right .mcf_btn {height:40px; line-height:38px; padding:0 10px; border:1px solid #ddd; border-radius:5px; font-weight: 500; font-size:14px; color:#aaa;}
.mcf_right .mcf_btn i {font-size:12px;}
.mcf_right .mcf_btn:hover, .mcf_right .mcf_btn.active {background: var(--primary-color, #0F5C59); border-color: var(--primary-color, #0F5C59); color: #fff;}
/* ----- 등록상품없음 ----- */
.no_itembox {text-align: center; padding:50px 30px;}
.no_itembox h5 {font-size:22px; font-weight:600; color:#666; margin:0 0 20px;}
.no_itembox p {font-size:16px; color:#999;}
.no_itembox .btn_back {
  display: block;
  width: 160px;
  padding: 10px 0;
  text-align: center;
  border: 1px solid var(--primary-color, #0F5C59);
  color: var(--primary-color, #0F5C59);
  border-radius: 50px;
  margin: 50px auto 0;
  font-weight: 500;
}
.no_itembox .btn_back:hover {background:var(--primary-color, #0F5C59); color:#fff;}
/* ----- template 미니홈페이지 전체 상품 제품리스트 ----- */
.mini_cate_list .tb_itemlist {margin:30px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
/* ----- template 미니홈페이지 전체 상품 제품box ----- */
.mini_cate_list  .tb_itemlist .tb_card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
/* --------------------------------------------------------------------------------------- */

/* ========================= product detail (pd-*) 디자인 시안 ========================= */
.pd-container { background: var(--bg-color, #FFFFFF); }

/* breadcrumb */
.pd-breadcrumb { display: flex; align-items: center; gap: 8px; padding: 24px 360px; }
.pd-breadcrumb a { font-size: 12px; font-weight: 500; color: var(--text-muted, #A1A1AA); text-decoration: none; }
.pd-breadcrumb a:hover { color: var(--text-color, #71717A); }
.pd-bc-sep { font-size: 12px; color: var(--border-color, #D4D4D8); }
.pd-bc-current { font-size: 12px; font-weight: 600; color: var(--text-color, #18181B); }

/* product top */
.pd-top { display: flex; gap: 48px; padding: 40px 360px; }

/* image column */
.pd-img-col { display: flex; flex-direction: column; gap: 12px; width: 560px; flex-shrink: 0; }
.pd-main-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--surface-color, #F4F4F5); }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 썸네일 슬라이드: 가로 스크롤 + 좌/우 네비게이션 */
.pd-thumb-wrap { position: relative; display: flex; align-items: center; gap: 6px; }
.pd-thumb-row { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; flex: 1; min-width: 0; padding: 2px 0; scrollbar-width: thin; scrollbar-color: var(--border-color, #D4D4D8) transparent; }
.pd-thumb-row::-webkit-scrollbar { height: 4px; }
.pd-thumb-row::-webkit-scrollbar-track { background: transparent; }
.pd-thumb-row::-webkit-scrollbar-thumb { background: var(--border-color, #D4D4D8); border-radius: 2px; }
.pd-thumb { flex: 0 0 88px; width: 88px; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; background: var(--surface-color, #F4F4F5); scroll-snap-align: start; }
.pd-thumb:hover { border-color: var(--text-muted, #71717A); }
.pd-thumb.active { border-color: var(--primary-color, #0F5C59); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb-nav { width: 28px; height: 28px; border: 1px solid var(--border-color, #E4E4E7); background: var(--section-bg, #fff); border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--text-muted, #52525B); line-height: 1; padding: 0; flex-shrink: 0; transition: all 0.15s; display: flex; align-items: center; justify-content: center; }
.pd-thumb-nav:hover:not(:disabled) { background: var(--surface-color, #F4F4F5); border-color: var(--text-muted, #D4D4D8); }
.pd-thumb-nav:disabled { opacity: 0.3; cursor: default; }

/* info column */
.pd-info-col { display: flex; flex-direction: column; gap: 24px; flex: 1; min-width: 0; }

/* info head */
.pd-info-head { display: flex; flex-direction: column; gap: 8px; }
.pd-shop-row { display: flex; align-items: center; gap: 6px; }
.pd-shop-row i { font-size: 14px; color: #A1A1AA; }
.pd-shop-name { font-size: 13px; font-weight: 500; color: #A1A1AA; }
.pd-prod-name { font-size: 28px; font-weight: 700; color: var(--text-color, #18181B); letter-spacing: -0.5px; line-height: 1.3; }
.pd-cat-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-cat-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 500; font-family: 'Pretendard', sans-serif;
  background: var(--primary-color, #18181B); color: #fff;
}
.pd-cat-chip i { font-size: 10px; opacity: 0.7; }
.pd-cat-chip--seller {
  background: #fff; color: var(--text-color, #18181B);
  border: 1px solid #E4E4E7;
}
.pd-cat-chip--none {
  background: #F4F4F5; color: #A1A1AA; border: none;
}
.pd-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pd-tag {
  display: inline-block; padding: 4px 10px;
  font-size: 12px; font-weight: 500; color: var(--text-color, #333);
  background: var(--surface-color, #F4F4F5); border: 1px solid var(--border-color, #E5E7EB); border-radius: 4px;
  font-family: 'Pretendard', sans-serif; cursor: default;
}

/* dividers */
.pd-divider { width: 100%; height: 1px; background: var(--border-color, #F4F4F5); }

/* price box */
.pd-price-box { display: flex; flex-direction: column; gap: 12px; }
.pd-price-row { display: flex; align-items: center; gap: 12px; }
.pd-price-label { font-size: 13px; font-weight: 500; color: var(--text-muted, #A1A1AA); min-width: 40px; }
.pd-price-label-main { font-size: 13px; font-weight: 600; color: var(--text-color, #18181B); min-width: 40px; }
.pd-orig-price { font-size: 14px; color: var(--text-muted, #A1A1AA); text-decoration: line-through; }
.pd-disc-badge { display: inline-flex; align-items: center; padding: 2px 8px; background: #FEE2E2; border-radius: 4px; font-size: 12px; font-weight: 700; color: #EF4444; }
.pd-sale-price { font-size: 24px; font-weight: 800; color: var(--primary-color, #18181B); }
.pd-ship-val { font-size: 14px; font-weight: 500; color: var(--text-color, #18181B); }
.pd-stock-val { font-size: 14px; font-weight: 600; }
.pd-stock-in { color: #16A34A; }
.pd-stock-out { color: #EF4444; }
.pd-price-row--seller-margin { margin-top: 2px; }
.pd-seller-margin-label { color: var(--primary-color, #2563EB); font-weight: 600; }
.pd-seller-margin-value { font-size: 15px; font-weight: 700; color: var(--primary-color, #2563EB); }
.pd-period-value { font-size: 14px; color: var(--text-color, #333); }
.pd-period-remaining { color: #DC2626; font-weight: 600; margin-left: 8px; }
.pd-option-section { margin-top: 12px; }
.pd-option-list { display: flex; flex-direction: column; }
.pd-option-item { width: 100%; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--surface-color-soft, #F9FAFB); border: 1px solid var(--border-color, #F4F4F5); border-radius: 6px; margin-top: 6px; gap: 12px; text-align: left; }
.pd-option-choice { cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.pd-option-choice:hover { border-color: color-mix(in srgb, var(--primary-color, #111) 35%, var(--border-color, #F4F4F5)); background: var(--section-bg, #fff); }
.pd-option-choice.selected { border-color: var(--primary-color, #111); background: color-mix(in srgb, var(--primary-color, #111) 8%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary-color, #111) 18%, transparent); }
.pd-option-name { font-size: 13px; color: var(--text-color, #333); }
.pd-option-meta { text-align: right; }
.pd-option-price { font-size: 13px; font-weight: 600; color: var(--primary-color, #111); }
.pd-option-margin { font-size: 11px; color: var(--primary-color, #2563EB); font-weight: 600; margin-top: 2px; }
.pd-option-toggle { width: 100%; padding: 10px; margin-top: 8px; background: var(--section-bg, #fff); border: 1px solid var(--border-color, #E5E7EB); border-radius: 6px; font-size: 13px; color: var(--text-color, #555); cursor: pointer; }
.pd-purchase-control { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; background: var(--section-bg, #fff); border: 1px solid var(--border-color, #E5E7EB); border-radius: 8px; }
.pd-selected-option { min-width: 0; font-size: 12px; color: var(--text-muted, #71717A); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-selected-option.selected { color: var(--text-color, #18181B); font-weight: 600; }
.pd-qty-control { display: inline-flex; align-items: center; flex-shrink: 0; border: 1px solid var(--border-color, #E5E7EB); border-radius: 8px; overflow: hidden; background: var(--section-bg, #fff); }
.pd-qty-btn { width: 32px; height: 32px; border: 0; background: var(--surface-color-soft, #F9FAFB); color: var(--text-color, #333); font-size: 16px; line-height: 1; cursor: pointer; }
.pd-qty-btn:hover { background: color-mix(in srgb, var(--primary-color, #111) 8%, #fff); color: var(--primary-color, #111); }
.pd-qty-input { width: 42px; height: 32px; border: 0; border-left: 1px solid var(--border-color, #E5E7EB); border-right: 1px solid var(--border-color, #E5E7EB); text-align: center; font-size: 13px; font-weight: 600; color: var(--text-color, #18181B); background: #fff; }
.pd-qty-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--primary-color, #111); }
.pd-btn-buy--solo { width: 100%; }

/* group buy box */
.pd-gb-box { background: var(--surface-color-soft, #FAFAFA); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.pd-gb-title { font-size: 14px; font-weight: 700; color: var(--text-color, #18181B); }
.pd-gb-stats { display: flex; justify-content: space-between; }
.pd-gb-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pd-gb-stat-label { font-size: 12px; font-weight: 500; color: var(--text-muted, #A1A1AA); }
.pd-gb-stat-val { font-size: 20px; font-weight: 700; color: var(--text-color, #18181B); }
.pd-gb-stat-val.pd-danger { color: #EF4444; }
.pd-gb-bar-bg { width: 100%; height: 8px; background: var(--surface-color-strong, #E4E4E7); border-radius: 4px; overflow: hidden; }
.pd-gb-bar-fill { height: 100%; background: var(--primary-color, #18181B); border-radius: 4px; transition: width 0.3s; }
.pd-gb-bar-label { font-size: 12px; font-weight: 500; color: var(--text-muted, #71717A); }

/* buttons */
.pd-btn-row { display: flex; gap: 12px; }
.pd-btn-wish { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border: 1px solid var(--border-color, #E4E4E7); border-radius: 8px; background: transparent; font-size: 14px; font-weight: 500; color: var(--text-muted, #71717A); cursor: pointer; transition: all 0.2s; flex-shrink: 0; }
.pd-btn-wish:hover { border-color: var(--text-muted, #A1A1AA); color: var(--text-color, #18181B); }
.pd-btn-wish.active { border-color: #EF4444; color: #EF4444; }
.pd-btn-wish i { font-size: 18px; }
.pd-btn-buy { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; flex: 1; background: var(--primary-color, #18181B); border-radius: 8px; border: none; font-size: 15px; font-weight: 700; color: #FFFFFF; cursor: pointer; transition: background 0.2s; }
.pd-btn-buy:hover { background: var(--secondary-color, #27272A); }
.pd-btn-buy:disabled { opacity: 0.5; cursor: not-allowed; }
.pd-btn-buy i { font-size: 18px; }

/* tab section */
.pd-tab-section { padding: 0 360px; }
.pd-tab-nav { display: flex; border-bottom: 1px solid var(--border-color, #E4E4E7); }
.pd-tab-nav a { display: flex; align-items: center; justify-content: center; padding: 16px 32px; font-size: 14px; font-weight: 500; color: var(--text-muted, #A1A1AA); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.2s; }
.pd-tab-nav a:hover { color: var(--text-color, #71717A); }
.pd-tab-nav a.active { font-weight: 700; color: var(--text-color, #18181B); border-bottom-color: var(--text-color, #18181B); }
.pd-tab-content { padding: 40px 0 60px; }

/* description placeholder */
.pd-desc-area { min-height: 400px; }
.pd-desc-area img { max-width: 100%; height: auto; }
.pd-desc-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 600px; background: var(--surface-color-soft, #FAFAFA); border-radius: 8px; }
.pd-desc-placeholder i { font-size: 48px; color: var(--border-color, #D4D4D8); }
.pd-desc-placeholder p { font-size: 14px; font-weight: 500; color: var(--text-muted, #A1A1AA); }
.pd-desc-placeholder span { font-size: 13px; color: var(--border-color, #D4D4D8); }

/* review overview */
.pd-review-overview { display: flex; align-items: center; gap: 48px; padding: 32px 0; }
.pd-rating-left { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 200px; flex-shrink: 0; }
.pd-avg-score { font-size: 48px; font-weight: 700; color: var(--text-color, #18181B); font-family: 'Outfit', 'Pretendard', sans-serif; }
.pd-stars-row { display: flex; gap: 4px; }
.pd-stars-row i { font-size: 20px; }
.pd-stars-row .filled { color: #F59E0B; }
.pd-stars-row .empty { color: #E4E4E7; }
.pd-review-count-text { font-size: 13px; font-weight: 500; color: var(--text-muted, #71717A); }

/* rating distribution */
.pd-rating-dist { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pd-rating-row { display: flex; align-items: center; gap: 12px; }
.pd-rating-label { font-size: 13px; font-weight: 500; color: var(--text-muted, #71717A); min-width: 24px; text-align: right; }
.pd-rating-bar-bg { flex: 1; height: 8px; background: var(--surface-color, #F4F4F5); border-radius: 4px; overflow: hidden; }
.pd-rating-bar-fill { height: 100%; background: #F59E0B; border-radius: 4px; }
.pd-rating-num { font-size: 13px; font-weight: 500; color: var(--text-muted, #71717A); min-width: 16px; }
.pd-review-divider { width: 100%; height: 1px; background: var(--border-color, #E4E4E7); }

/* review list */
.pd-review-list { display: flex; flex-direction: column; }
.pd-review-item { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--border-color, #F4F4F5); }
.pd-review-head { display: flex; justify-content: space-between; align-items: center; }
.pd-review-left { display: flex; align-items: center; gap: 12px; }
.pd-review-avatar { width: 36px; height: 36px; border-radius: 18px; background: var(--surface-color-strong, #E4E4E7); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.pd-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pd-review-avatar i { font-size: 16px; color: #A1A1AA; }
.pd-review-info { display: flex; flex-direction: column; gap: 2px; }
.pd-review-name { font-size: 14px; font-weight: 600; color: var(--text-color, #18181B); }
.pd-review-date { font-size: 12px; color: #A1A1AA; }
.pd-review-stars { display: flex; gap: 2px; }
.pd-review-stars i { font-size: 16px; }
.pd-review-stars .filled { color: #F59E0B; }
.pd-review-stars .empty { color: #E4E4E7; }
.pd-review-body { font-size: 14px; color: #3F3F46; line-height: 1.7; }
.pd-review-imgs { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-review-imgs img { width: 100px; height: 100px; border-radius: 8px; object-fit: cover; cursor: pointer; }

/* review pagination */
.pd-review-pagination { display: flex; justify-content: center; gap: 4px; padding: 32px 0 0; }
.pd-rpg-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid #E4E4E7; background: transparent; font-size: 13px; color: #71717A; cursor: pointer; font-family: 'Outfit', 'Pretendard', sans-serif; }
.pd-rpg-btn:hover { background: #F4F4F5; }
.pd-rpg-btn.active { background: var(--primary-color, #18181B); color: #FFFFFF; border-color: var(--text-color, #18181B); }
.pd-rpg-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* no reviews */
.pd-no-reviews { text-align: center; padding: 60px 20px; color: #A1A1AA; font-size: 14px; }

/* seller section */
.pd-seller-section { padding: 0 360px 120px; }
.pd-seller-card { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid #E4E4E7; border-radius: 12px; }
.pd-seller-avatar { width: 64px; height: 64px; border-radius: 32px; background: #F4F4F5; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.pd-seller-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pd-seller-avatar i { font-size: 28px; color: #A1A1AA; }
.pd-seller-info { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pd-seller-name-row { display: flex; align-items: center; gap: 8px; }
.pd-seller-name { font-size: 16px; font-weight: 700; color: var(--text-color, #18181B); }
.pd-seller-stars { display: flex; gap: 2px; }
.pd-seller-stars i { font-size: 14px; }
.pd-seller-stars .filled { color: #FBBF24; }
.pd-seller-stars .empty { color: #E4E4E7; }
.pd-seller-rating-val { font-size: 13px; font-weight: 500; color: #71717A; }
.pd-seller-desc { font-size: 13px; color: #71717A; line-height: 1.5; }
.pd-seller-link { display: flex; align-items: center; gap: 6px; padding: 10px 20px; border: 1px solid #E4E4E7; border-radius: 8px; font-size: 13px; font-weight: 500; color: #71717A; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: all 0.2s; }
.pd-seller-link:hover { background: #F4F4F5; color: var(--text-color, #18181B); }
.pd-seller-link i { font-size: 14px; }

/* responsive */
@media (max-width: 1400px) {
  .pd-breadcrumb { padding: 24px 60px; }
  .pd-top { padding: 40px 60px; }
  .pd-tab-section { padding: 0 60px; }
  .pd-seller-section { padding: 0 60px 120px; }
  .pd-img-col { width: 480px; }
}
@media (max-width: 1024px) {
  .pd-breadcrumb { padding: 16px 24px; }
  .pd-top { padding: 24px; flex-direction: column; }
  .pd-img-col { width: 100%; }
  .pd-tab-section { padding: 0 24px; }
  .pd-seller-section { padding: 0 24px 80px; }
  .pd-review-overview { flex-direction: column; gap: 24px; }
  .pd-rating-left { width: 100%; }
}
@media (max-width: 768px) {
  /* 셀러 카드 - 모바일 세로 정렬 */
  .pd-seller-card { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .pd-seller-avatar { width: 56px; height: 56px; border-radius: 28px; align-self: flex-start; }
  .pd-seller-avatar i { font-size: 24px; }
  .pd-seller-info { width: 100%; gap: 8px; }
  .pd-seller-name-row { flex-wrap: wrap; gap: 6px 8px; }
  .pd-seller-name { font-size: 16px; }
  .pd-seller-desc { font-size: 13px; line-height: 1.6; }
  .pd-seller-link { align-self: flex-start; padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 480px) {
  .pd-thumb { flex: 0 0 64px; width: 64px; }
  .pd-thumb-nav { width: 24px; height: 24px; font-size: 16px; }
}
/* ===================================================================================== */

/* --------------------------------- minihomepage pagination --------------------------------- */
/* .pagination {display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 50px;}
.page_btn, .page_num {
  padding:10px 14px; border-radius:5px; font-size:13px;
  border:1px solid #ddd; color:#aaa;
}
.page_btn:hover, .page_num:hover, .page_num.active {
  border:1px solid var(--primary-color, #0F5C59);
  background: var(--primary-color, #0F5C59);
  color: #fff;
  font-weight: 600;
}
.page_dots {
  padding:10px 14px;
  color: #999;
} */
/* --------------------------------------------------------------------------------------- */

/* Feedback #49/#50: keep product cards and wide banners tightly cropped to their frames. */
.overlay-card,
.itb_p,
.product-image,
.tb_card_image,
.best-image {
  overflow: hidden;
  background: #F4F4F5;
}
.overlay-card > img,
.itb_p > img,
.product-image > img,
.tb_card_image > img,
.best-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.itb_p,
.product-image,
.tb_card_image {
  aspect-ratio: 1 / 1;
}
.wide-banner-card {
  aspect-ratio: 16 / 5;
  min-height: 0;
  max-height: 300px;
}
.wide-banner-card img {
  min-height: 0;
}
@media (max-width: 640px) {
  .wide-banner-card {
    aspect-ratio: 16 / 7;
    min-height: 0;
  }
  .wide-banner-card img {
    min-height: 0;
  }
}

/* iOS/WKWebView final override: prevent focus zoom on mobile minihome forms. */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea,
  [contenteditable="true"] {
    font-size: 16px !important;
  }
}
