@import url('https://cdn.jsdelivr.net/gh/innks/NanumSquareRound@master/nanumsquareround.min.css');
/* ASAN PLAY LOCAL SHOP v12
   기존 CSS 전면 교체
   게시판 관리자 HEAD/TAIL 비움 기준
   PC 1100px = 좌측 220 + 선 1 + 간격 24 + 우측 855
*/
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:#fff;color:#24282f;font-family:"Pretendard","Noto Sans KR","Malgun Gothic",Arial,sans-serif;font-size:14px;line-height:1.5}
a{color:inherit;text-decoration:none}
img{max-width:100%}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

/* layout */
.shop-layout{width:1100px;margin:34px auto 80px;display:grid;grid-template-columns:220px 1px 855px;column-gap:12px;align-items:stretch}
.shop-layout:after{content:"";grid-column:2;grid-row:1;width:1px;min-height:100%;background:#e2e5e9}
.shop-sidebar{grid-column:1;grid-row:1;min-width:0}
.shop-content{grid-column:3;grid-row:1;width:855px;min-width:0}
.shop-home,.shop-sub{width:855px;min-width:0}

/* sidebar */
.shop-sidebar{padding:0 16px 18px;background:#f8f9fa;border:1px solid #e4e7eb;border-radius:10px;overflow:hidden}
.shop-side-title{display:flex;align-items:center;gap:10px;margin:0 -16px 12px;padding:18px 16px 16px;background:#f1f3f5;border-bottom:1px solid #e1e4e8}
.shop-bag{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:7px;background:#fff;border:1px solid #dfe3e7;color:#424952;font-size:13px}
.shop-side-title>div{min-width:0}
.shop-side-title a{display:block;color:#24282f;font-size:20px;font-weight:750;line-height:1.15;letter-spacing:-.5px}
.shop-side-title small{display:block;margin-top:4px;color:#8a919a;font-size:10px;font-weight:400}
.shop-side-quick{margin:0 0 12px}
.shop-side-quick a{display:flex;align-items:center;justify-content:space-between;min-height:39px;padding:0 9px;border-bottom:1px solid #e8ebee;color:#4d5560;font-size:12px}
.shop-side-quick a:hover{background:#eef1f3}
.shop-side-quick a.on{background:#e9ecef;color:#20252c;font-weight:700}
.shop-side-quick b{display:flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#4a525c;color:#fff;font-size:10px}
.shop-side-search{display:flex;width:100%;height:39px;margin:13px 0 11px}
.shop-side-search input{width:calc(100% - 40px);min-width:0;padding:0 10px;border:1px solid #d9dee3;border-right:0;border-radius:6px 0 0 6px;background:#fff;color:#333b44;outline:0}
.shop-side-search input:focus{border-color:#aab1b9}
.shop-side-search button{width:40px;border:0;border-radius:0 6px 6px 0;background:#414852;color:#fff;font-size:17px}
.shop-side-nav{padding:0 0 5px}
.shop-side-nav a{display:flex;align-items:center;min-height:41px;padding:0 9px;margin:1px 0;border-radius:6px;color:#555d67;font-size:12px}
.shop-side-nav a:hover{background:#eef0f2;color:#252a31}
.shop-side-nav a.on{background:#e8ebee;color:#24282f;font-weight:700}
.shop-side-links{margin-top:10px;padding-top:12px;border-top:1px solid #e4e7ea}
.shop-side-write{display:flex;align-items:center;justify-content:center;width:100%;min-height:39px;border:1px solid #d3d8de;border-radius:6px;background:#fff;color:#414852;font-size:11px;font-weight:650}
.shop-side-write:hover{background:#f0f2f4}

/* right title */
.shop-top,.shop-page-head{min-height:78px;margin:0;padding:3px 2px 18px;border-bottom:1px solid #e5e8eb}
.shop-top h2,.shop-page-head h2{margin:0 0 5px;color:#22272e;font-size:27px;line-height:1.2;font-weight:750;letter-spacing:-1px}
.shop-top p,.shop-page-head p{margin:0;color:#8a919a;font-size:11px}

/* product list */
.product-grid{width:855px;margin-top:22px;border-top:2px solid #3d444d;border-bottom:1px solid #dde1e5;background:#fff}
.product-head,.product-card{width:855px;display:grid;grid-template-columns:350px 90px 100px 90px 135px 90px}
.product-head{min-height:43px;align-items:center;background:#f6f7f8;border-bottom:1px solid #dfe3e6;color:#555d66;font-size:11px;font-weight:700;text-align:center}
.product-card{min-height:118px;align-items:center;border-bottom:1px solid #eceef0;background:#fff}
.product-card:last-child{border-bottom:0}
.product-card:hover{background:#fcfcfc}
.product-card>*{min-width:0}
.product-main{width:350px;display:flex;align-items:center;gap:14px;padding:14px 10px}
.product-img{position:relative;flex:0 0 112px;width:112px;height:84px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #dfe3e6;border-radius:7px;background:#f4f5f6;color:#aaa;font-size:10px}
.product-img img{display:block;width:100%;height:100%;object-fit:cover}
.product-img em{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(35,39,45,.65);color:#fff;font-style:normal;font-weight:700}
.product-copy{flex:1;min-width:0}
.product-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#24282f;font-size:15px;font-weight:750;letter-spacing:-.3px}
.product-copy p{margin:4px 0 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a919a;font-size:10px}
.product-copy i,.pv-cat{display:inline-block;padding:3px 7px;border-radius:10px;background:#eef0f2;color:#69717a;font-size:9px;font-style:normal}
.product-seller{width:90px;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;color:#69717a;font-size:10px}
.product-price{width:100px;padding:0 4px;white-space:nowrap;text-align:center;color:#22272e;font-size:16px;font-weight:800}
.product-stock{width:90px;text-align:center;color:#8b929a;font-size:9px;line-height:1.8}
.product-stock span{display:block;white-space:nowrap}
.quick-cart{width:135px;margin:0;padding:0 9px;display:flex;flex-direction:column;align-items:center;gap:7px}
.qty-box{width:116px;height:34px;display:grid;grid-template-columns:33px 50px 33px;overflow:hidden;border:1px solid #d9dee3;border-radius:6px;background:#fff}
.qty-box button,.qty-box input{width:100%;min-width:0;height:32px;margin:0;padding:0;border:0;background:#fff;color:#414852;text-align:center;font-size:10px}
.qty-box button{background:#f6f7f8}
.qty-box input{border-left:1px solid #e4e7ea;border-right:1px solid #e4e7ea;-moz-appearance:textfield}
.qty-box input::-webkit-inner-spin-button,.qty-box input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cart{width:116px;height:34px;border:1px solid #cfd5db;border-radius:6px;background:#fff;color:#414852;font-size:10px;font-weight:650}
.cart:hover{background:#f4f5f6}
.direct-buy{width:90px;margin:0;padding:0 8px 0 0;text-align:center}
.buy,.primary{height:40px;border:0;border-radius:6px;background:#353c45;color:#fff;font-size:10px;font-weight:700}
.buy{width:82px}
.buy:hover,.primary:hover{background:#242a31}
.cart:disabled,.buy:disabled{opacity:.4;cursor:default}

/* product view */
.product-view{width:100%}
.pv-top{display:grid;grid-template-columns:360px 1fr;gap:30px;padding:26px 0;border-bottom:1px solid #e5e8eb}
.pv-image{width:360px;min-height:270px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #e0e4e7;border-radius:8px;background:#f7f8f9}
.pv-image img{width:100%;height:auto;display:block}
.pv-buy{padding:8px 0}
.pv-buy h2{margin:8px 0 5px;font-size:25px;letter-spacing:-.8px}
.pv-desc{margin:0 0 18px;color:#808791;font-size:12px}
.pv-price{margin:18px 0;color:#20252c;font-size:25px;font-weight:800}
.pv-order{margin-top:18px;padding-top:18px;border-top:1px solid #e7eaed}
.pv-bottom{padding:28px 0}
.pv-content{font-size:14px;line-height:1.8;color:#3f4650}

/* common forms / write */
.shop-grid{display:grid;grid-template-columns:140px 1fr;border-top:2px solid #3d444d}
.shop-field{display:contents}
.shop-field>label{padding:15px 14px;border-bottom:1px solid #e8ebee;background:#f7f8f9;font-weight:650;color:#4a515a}
.shop-field>div,.shop-field>input,.shop-field>select,.shop-field>textarea{margin:8px 0 8px 14px}
.shop-content input[type=text],.shop-content input[type=search],.shop-content input[type=tel],.shop-content input[type=number],.shop-content select,.shop-content textarea{border:1px solid #d7dce1;border-radius:6px;background:#fff;outline:0}
.shop-content input[type=text],.shop-content input[type=tel],.shop-content input[type=number],.shop-content select{height:40px;padding:0 11px}
.shop-content textarea{padding:10px;min-height:110px}
.shop-content input:focus,.shop-content select:focus,.shop-content textarea:focus{border-color:#9fa7b0}
.shop-editor{margin-top:20px}
.shop-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}
.shop-actions a,.shop-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:86px;height:40px;padding:0 15px;border:1px solid #d4d9de;border-radius:6px;background:#fff;color:#444b54;font-size:11px}
.shop-actions .primary{border:0;background:#353c45;color:#fff}

/* cart */
.cart-list{width:100%;margin-top:22px;border-top:2px solid #3d444d}
.cart-row{display:grid;grid-template-columns:1fr 110px 120px 50px;align-items:center;gap:12px;min-height:104px;padding:12px 8px;border-bottom:1px solid #e7eaed}
.cart-main{display:flex;align-items:center;gap:14px;min-width:0}
.cart-main img{width:96px;height:72px;object-fit:cover;border:1px solid #e0e4e7;border-radius:6px}
.cart-total{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:22px 0;font-size:13px}
.cart-total strong{font-size:23px;color:#24282f}
.shop-del{color:#a15b54;font-size:10px}

/* checkout */
.checkout-form{margin-top:22px;padding:18px;border:1px solid #e0e4e7;border-top:2px solid #3d444d;border-radius:0 0 8px 8px}
.checkout-form .shop-field{display:grid;grid-template-columns:145px 1fr;align-items:center;border-bottom:1px solid #eceef0}
.checkout-form .shop-field label{padding:14px 6px;background:none;border:0}
.checkout-form .shop-field input{width:100%;margin:8px 0}
.pay-options{display:flex;gap:22px;padding:15px 0}
.bank-box{margin-top:12px;padding:15px;border:1px solid #e1e5e8;border-radius:7px;background:#f7f8f9;color:#555d66;font-size:11px}

/* orders */
.order-list{margin-top:22px;border-top:2px solid #3d444d}
.order-card{margin:0;padding:16px 8px;border-bottom:1px solid #e6e9ec;background:#fff}
.order-card.seller{background:#fbfbfc}
.order-card h3{margin:0 0 8px;font-size:15px}
.status{display:inline-block;padding:4px 8px;border-radius:12px;background:#eef0f2;color:#555d66;font-size:9px}
.order-done{color:#65715f}

/* comment compatibility */
.comment-box{margin-top:30px;border-top:1px solid #e3e6e9}
.comment-list{margin-top:15px}
.comment-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #eceef0}
.comment-reply{padding-left:35px}
.comment-profile{width:34px;height:34px;border-radius:50%;background:#f0f1f2}
.comment-content{flex:1;min-width:0}
.comment-top{display:flex;justify-content:space-between;gap:10px}
.comment-info{font-size:11px;font-weight:650}
.comment-date{font-size:9px;color:#999}
.comment-btns{font-size:10px}
.comment-empty{padding:25px;text-align:center;color:#999}
.simple-comment{margin-top:15px}
.simple-bottom{display:flex;justify-content:flex-end;margin-top:8px}
.secret-comment{font-size:10px;color:#777}

/* misc */
.shop-empty{padding:65px 20px;text-align:center;color:#9aa0a7;border-bottom:1px solid #e3e6e9}
.shop-paging{margin-top:25px;text-align:center}

/* mobile */
@media(max-width:1140px){
  .shop-layout{width:calc(100% - 24px);margin:16px 12px 45px;display:block}
  .shop-layout:after{display:none}
  .shop-sidebar{width:100%;margin-bottom:18px}
  .shop-content,.shop-home,.shop-sub{width:100%;min-width:0}
  .shop-content{overflow-x:auto}
  .product-grid,.product-head,.product-card{min-width:855px}
  .pv-top{grid-template-columns:1fr}
  .pv-image{width:100%}
}


/* =========================================================
   v13 - 상세보기 / 장바구니 전용 리디자인
   리스트 디자인은 v12 그대로 유지
   ========================================================= */

/* 상세 상단 */
.view-head{display:flex;align-items:flex-end;justify-content:space-between;min-height:78px;padding:3px 2px 18px;border-bottom:1px solid #e5e8eb}
.view-head h2{margin:0 0 5px;font-size:26px;line-height:1.2;font-weight:750;letter-spacing:-.8px;color:#22272e}
.view-head p{margin:0;color:#8a919a;font-size:11px}
.view-head>a{display:inline-flex;align-items:center;height:34px;padding:0 12px;border:1px solid #dce0e4;border-radius:6px;background:#fff;color:#59616b;font-size:10px}

/* 상세 상품 영역 - 이미지 축소 */
.product-view .pv-top{display:grid;grid-template-columns:310px 1fr;gap:38px;padding:26px 12px 30px;border-bottom:0}
.product-view .pv-image{width:310px;height:310px;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #e0e4e7;border-radius:10px;background:#f7f8f9}
.product-view .pv-image img{width:100%;height:100%;object-fit:contain;background:#fff}
.product-view .pv-buy{padding:8px 0 0}
.product-view .pv-cat{margin-bottom:9px;padding:4px 9px;background:#eef1f3;color:#626a73;font-size:9px}
.product-view .pv-buy h1{margin:0 0 5px;color:#20252c;font-size:24px;line-height:1.3;font-weight:800;letter-spacing:-.7px}
.product-view .pv-desc{margin:0;color:#858c95;font-size:11px}
.product-view .pv-price{margin:19px 0 20px;padding-bottom:19px;border-bottom:1px solid #eceef0;color:#20252c;font-size:27px;font-weight:800}
.product-view .pv-price small{margin-left:2px;font-size:13px;font-weight:600}
.pv-info{display:grid;gap:0;margin:0 0 18px}
.pv-info>div{display:grid;grid-template-columns:24px 82px 1fr;align-items:center;min-height:35px;border-bottom:1px solid #f0f1f2}
.pv-info>div:last-child{border-bottom:0}
.pv-ico{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:5px;background:#f1f3f4;color:#505862;font-size:9px}
.pv-info em{color:#777f89;font-size:10px;font-style:normal}
.pv-info strong{color:#333941;font-size:11px;font-weight:650}
.product-view .pv-order{margin-top:14px;padding:17px;background:#f7f8f9;border:1px solid #e4e7ea;border-radius:8px}
.pv-qty-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.pv-qty-row label{color:#505862;font-size:11px;font-weight:650}
.pv-qty-row input{width:82px!important;height:38px!important;text-align:center}
.pv-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pv-buttons button{width:100%;height:42px;border-radius:6px;font-size:11px;font-weight:700}
.pv-cart-btn{border:1px solid #cfd5db;background:#fff;color:#414852}
.pv-cart-btn:hover{background:#f1f3f4}
.pv-buy-btn{border:0;background:#353c45;color:#fff}
.pv-buttons span{margin-right:4px}

/* 상세설명 */
.product-view .pv-content{margin-top:4px;padding:0;border-top:1px solid #dfe3e6}
.section-title{display:flex;align-items:center;gap:11px;padding:20px 12px 17px;border-bottom:1px solid #eceef0}
.section-title>span{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:7px;background:#f0f2f4;color:#4b535d;font-size:13px}
.section-title h3{margin:0 0 2px;font-size:14px;color:#292f36}
.section-title p{margin:0;color:#969ca3;font-size:9px}
.pv-content-body{padding:24px 12px 30px;color:#414852;font-size:13px;line-height:1.8}
.pv-content-body img{display:block;max-width:680px!important;height:auto!important;margin:12px auto;border-radius:6px}
.product-view .pv-bottom{display:flex;justify-content:flex-end;gap:7px;padding:18px 12px;border-top:1px solid #e5e8eb}
.product-view .pv-bottom a{display:inline-flex;align-items:center;justify-content:center;height:37px;padding:0 14px;border:1px solid #d5dae0;border-radius:6px;background:#fff;color:#4d5560;font-size:10px}
.product-view .pv-bottom .list-btn{background:#353c45;border-color:#353c45;color:#fff}

/* 장바구니 헤더 */
.cart-page-head{display:flex;align-items:flex-end;justify-content:space-between}
.cart-page-head h2 span{font-size:20px;vertical-align:2px}
.cart-count{display:inline-flex;align-items:center;height:26px;padding:0 9px;border-radius:13px;background:#f0f2f4;color:#606872;font-size:9px}

/* 장바구니 */
.shop-sub .cart-list{width:100%;margin-top:22px;border-top:2px solid #3d444d;border-bottom:1px solid #e2e5e8}
.cart-head{display:grid;grid-template-columns:1fr 120px 130px 70px;align-items:center;height:42px;background:#f6f7f8;border-bottom:1px solid #dfe3e6;color:#59616b;font-size:10px;font-weight:700;text-align:center}
.shop-sub .cart-row{display:grid;grid-template-columns:1fr 120px 130px 70px;align-items:center;gap:0;min-height:112px;padding:12px 0;border-bottom:1px solid #eceef0}
.shop-sub .cart-row:last-child{border-bottom:0}
.cart-product{display:flex;align-items:center;gap:14px;min-width:0;padding-left:10px}
.cart-thumb{flex:0 0 108px;width:108px;height:81px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #e0e4e7;border-radius:6px;background:#f5f6f7;color:#aaa;font-size:9px}
.cart-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.cart-copy{min-width:0}
.cart-copy b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#282e35;font-size:14px;font-weight:750}
.cart-copy span{display:block;margin-top:5px;color:#8b929b;font-size:10px}
.cart-qty{text-align:center}
.cart-qty input{width:76px!important;height:38px!important;padding:0 6px!important;text-align:center}
.cart-sum{text-align:center;color:#242a31;font-size:15px;font-weight:800}
.cart-delete{display:block;text-align:center;color:#8d6460;font-size:9px}
.cart-summary{display:flex;align-items:center;justify-content:flex-end;gap:20px;padding:25px 4px 15px;color:#4d555e;font-size:12px}
.cart-summary strong{color:#242a31;font-size:25px;font-weight:800}
.cart-summary small{font-size:12px;margin-left:2px}
.cart-actions{padding-top:12px;border-top:1px solid #eef0f2}
.cart-actions a,.cart-actions button{min-width:96px}
.cart-actions .primary{min-width:108px;background:#353c45;border-color:#353c45;color:#fff}

/* v13 mobile */
@media(max-width:1140px){
 .product-view .pv-top{grid-template-columns:280px 1fr;gap:22px;min-width:760px}
 .product-view .pv-image{width:280px;height:280px}
 .view-head{min-width:760px}
 .product-view .pv-content,.product-view .pv-bottom{min-width:760px}
 .shop-sub .cart-list,.cart-page-head,.cart-summary,.cart-actions{min-width:760px}
}


/* =========================================================
   v14 - 리스트 판매자/주문삭제 + 재고/수량 가독성 개선
   ========================================================= */
.shop-home .product-head{
  grid-template-columns:minmax(390px,1fr) 130px 150px 190px !important;
}
.shop-home .product-card{
  grid-template-columns:minmax(390px,1fr) 130px 150px 190px !important;
}
.shop-home .product-head span:nth-child(2),
.shop-home .product-head span:nth-child(3),
.shop-home .product-head span:nth-child(4){
  text-align:center;
}
.shop-home .product-price{
  text-align:center;
  font-size:16px !important;
  color:#20252c !important;
}
.shop-home .product-stock{
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  color:#4e5660 !important;
  font-size:11px !important;
  font-weight:600 !important;
}
.shop-home .product-stock span{
  display:block !important;
  color:#4e5660 !important;
  opacity:1 !important;
  line-height:1.45 !important;
}
.shop-home .quick-cart{
  display:grid !important;
  grid-template-columns:116px 1fr !important;
  align-items:center !important;
  gap:8px !important;
}
.shop-home .qty-box{
  display:grid !important;
  grid-template-columns:34px 48px 34px !important;
  width:116px !important;
  height:38px !important;
  overflow:hidden;
  border:1px solid #cfd5db !important;
  border-radius:6px !important;
  background:#fff !important;
}
.shop-home .qty-box button{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:34px !important;
  height:36px !important;
  padding:0 !important;
  border:0 !important;
  background:#f2f4f5 !important;
  color:#29313a !important;
  font-size:17px !important;
  font-weight:700 !important;
  line-height:1 !important;
  cursor:pointer;
}
.shop-home .qty-box button:hover{
  background:#e4e8eb !important;
}
.shop-home .qty-box input{
  width:48px !important;
  height:36px !important;
  min-width:0 !important;
  padding:0 !important;
  border:0 !important;
  border-left:1px solid #d9dde1 !important;
  border-right:1px solid #d9dde1 !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#15191e !important;
  font-size:13px !important;
  font-weight:750 !important;
  text-align:center !important;
  opacity:1 !important;
  -webkit-text-fill-color:#15191e !important;
}
.shop-home .quick-cart .cart{
  height:38px !important;
  padding:0 13px !important;
  border:1px solid #343b44 !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#303740 !important;
  font-size:10px !important;
  font-weight:700 !important;
  white-space:nowrap !important;
}
.shop-home .quick-cart .cart:hover{
  background:#343b44 !important;
  color:#fff !important;
}
@media(max-width:1140px){
  .shop-home .product-head,
  .shop-home .product-card{
    grid-template-columns:minmax(360px,1fr) 120px 140px 180px !important;
    min-width:800px;
  }
}


/* =========================================================
   v15 - 리스트 폭 넘침 수정 + 재고/분류 색감 개선
   855px 우측 영역 안에 정확히 수납
   ========================================================= */

/* 핵심: 기존 390+130+150+190 = 860px + 내부 padding 영향으로 우측 넘침.
   고정합을 855px 이내로 재설정하고 min-width 강제를 제거한다. */
.shop-home .product-grid{
  width:100% !important;
  max-width:855px !important;
  overflow:hidden !important;
}
.shop-home .product-head,
.shop-home .product-card{
  width:100% !important;
  max-width:855px !important;
  min-width:0 !important;
  grid-template-columns:minmax(0, 1fr) 118px 138px 205px !important;
}
.shop-home .product-main{
  width:auto !important;
  min-width:0 !important;
  padding-left:10px !important;
  padding-right:8px !important;
}
.shop-home .product-price{
  width:auto !important;
  min-width:0 !important;
}
.shop-home .product-stock{
  width:auto !important;
  min-width:0 !important;
}
.shop-home .quick-cart{
  width:auto !important;
  min-width:0 !important;
  padding:0 7px !important;
  grid-template-columns:112px 78px !important;
  justify-content:center !important;
}
.shop-home .qty-box{
  width:112px !important;
  grid-template-columns:32px 48px 32px !important;
}
.shop-home .qty-box button{width:32px !important}
.shop-home .quick-cart .cart{
  width:78px !important;
  padding:0 7px !important;
}

/* 재고 / 최소주문 - 한눈에 구분 */
.shop-home .product-stock{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  font-size:10px !important;
}
.shop-home .product-stock span{
  min-width:88px;
  padding:4px 7px;
  border-radius:5px;
  text-align:center;
  line-height:1.25 !important;
  font-weight:700 !important;
}
.shop-home .product-stock .stock-now{
  background:#eef5f1 !important;
  color:#426553 !important;
}
.shop-home .product-stock .stock-min{
  background:#f7f2ea !important;
  color:#7b6544 !important;
}

/* 분류 뱃지 - 과하지 않은 색감 */
.shop-home .product-copy i{
  padding:4px 8px !important;
  border:1px solid transparent;
  font-size:9px !important;
  font-weight:650 !important;
}
.shop-home .product-copy i{
  background:#eef3ef !important;
  color:#55705f !important;
  border-color:#e1ebe3 !important;
}
.shop-home .product-card:nth-of-type(3n+1) .product-copy i{
  background:#eef3f7 !important;
  color:#526b7d !important;
  border-color:#e1e9ef !important;
}
.shop-home .product-card:nth-of-type(3n+2) .product-copy i{
  background:#f7f2ea !important;
  color:#786348 !important;
  border-color:#eee5d8 !important;
}

/* 상품명/설명 약간 정돈 */
.shop-home .product-name{font-size:14px !important}
.shop-home .product-copy p{color:#89919a !important}

/* 수량 컨트롤 더 또렷하게 */
.shop-home .qty-box{
  border-color:#c9d0d7 !important;
  box-shadow:0 1px 1px rgba(0,0,0,.02);
}
.shop-home .qty-box button{
  background:#edf0f2 !important;
  color:#26313b !important;
  font-size:16px !important;
}
.shop-home .qty-box input{
  color:#111820 !important;
  font-size:13px !important;
  font-weight:800 !important;
  -webkit-text-fill-color:#111820 !important;
}
.shop-home .quick-cart .cart{
  border-color:#9fa8b1 !important;
  color:#303841 !important;
  background:#fff !important;
}
.shop-home .quick-cart .cart:hover{
  border-color:#3f4750 !important;
  background:#3f4750 !important;
  color:#fff !important;
}

/* 모바일/좁은 화면에서도 855px 강제 때문에 잘리지 않도록 카드형으로 전환 */
@media(max-width:900px){
  .shop-content{overflow:visible !important}
  .shop-home .product-grid{max-width:none !important}
  .shop-home .product-head{display:none !important}
  .shop-home .product-card{
    display:grid !important;
    grid-template-columns:1fr 120px !important;
    gap:10px !important;
    padding:12px 0 !important;
  }
  .shop-home .product-main{grid-column:1 / -1 !important}
  .shop-home .product-price{grid-column:1 !important;text-align:left !important;padding-left:10px}
  .shop-home .product-stock{grid-column:2 !important}
  .shop-home .quick-cart{grid-column:1 / -1 !important;justify-content:start !important;padding-left:10px !important}
}


/* =========================================================
   v16 - 리스트 전체 밸런스 재정리
   가격 좌측 이동 / 글자 확대 / 가격 적색 / 장바구니 담기 강조
   ========================================================= */
.shop-home .product-grid{
  border-top:2px solid #343a40 !important;
  border-bottom:1px solid #dde2e6 !important;
}
.shop-home .product-head,
.shop-home .product-card{
  /* 상품정보를 조금 줄이고 가격을 상품 쪽으로 당김 */
  grid-template-columns:minmax(0,1fr) 125px 145px 225px !important;
}
.shop-home .product-head{
  min-height:46px !important;
  background:#f5f7f8 !important;
  color:#4a535d !important;
  font-size:12px !important;
  font-weight:750 !important;
}
.shop-home .product-card{
  min-height:126px !important;
}
.shop-home .product-main{
  gap:15px !important;
  padding:15px 8px 15px 10px !important;
}
.shop-home .product-img{
  flex-basis:118px !important;
  width:118px !important;
  height:88px !important;
  border-color:#dce2e6 !important;
}
.shop-home .product-name{
  font-size:16px !important;
  font-weight:800 !important;
  color:#20262d !important;
}
.shop-home .product-copy p{
  margin:5px 0 8px !important;
  font-size:11px !important;
  color:#7c858f !important;
}
.shop-home .product-copy i{
  padding:4px 9px !important;
  font-size:10px !important;
  font-weight:700 !important;
}

/* 가격 - 더 좌측 체감 + 적색 굵게 */
.shop-home .product-price{
  padding:0 8px 0 0 !important;
  text-align:left !important;
  color:#b43a32 !important;
  font-size:18px !important;
  font-weight:850 !important;
  letter-spacing:-.4px !important;
  white-space:nowrap !important;
}

/* 재고/최소주문 */
.shop-home .product-stock{
  gap:6px !important;
  font-size:11px !important;
}
.shop-home .product-stock span{
  min-width:100px !important;
  padding:5px 8px !important;
  border-radius:6px !important;
  font-size:11px !important;
  font-weight:750 !important;
}
.shop-home .product-stock .stock-now{
  background:#edf6f0 !important;
  border:1px solid #dbeadf !important;
  color:#3f684e !important;
}
.shop-home .product-stock .stock-min{
  background:#faf3e9 !important;
  border:1px solid #eee1cf !important;
  color:#795f3d !important;
}

/* 수량 + 장바구니 담기 */
.shop-home .quick-cart{
  grid-template-columns:112px 100px !important;
  gap:9px !important;
  padding:0 4px !important;
}
.shop-home .qty-box{
  width:112px !important;
  height:40px !important;
  border-color:#c9d0d6 !important;
}
.shop-home .qty-box button{
  height:38px !important;
  background:#eef1f3 !important;
  color:#202830 !important;
  font-size:18px !important;
  font-weight:800 !important;
}
.shop-home .qty-box button:hover{
  background:#dfe4e8 !important;
}
.shop-home .qty-box input{
  height:38px !important;
  color:#11171d !important;
  font-size:14px !important;
  font-weight:850 !important;
}
.shop-home .quick-cart .cart{
  width:100px !important;
  height:40px !important;
  padding:0 8px !important;
  border:1px solid #536c5d !important;
  border-radius:6px !important;
  background:#5e7868 !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:800 !important;
  box-shadow:0 1px 2px rgba(40,60,48,.10);
}
.shop-home .quick-cart .cart:hover{
  background:#496253 !important;
  border-color:#496253 !important;
}

/* 행 호버도 아주 약하게 */
.shop-home .product-card:hover{
  background:#fbfcfc !important;
}

/* 왼쪽 메뉴 글자도 너무 작지 않게 */
.shop-sidebar{
  font-size:13px !important;
}
.shop-side-title a{
  font-size:20px !important;
}
.shop-side-title small{
  font-size:11px !important;
}
.shop-side-quick a,
.shop-side-nav a{
  font-size:13px !important;
}
.shop-side-search input{
  font-size:13px !important;
}
.shop-side-write{
  font-size:12px !important;
}

/* 제목/설명 */
.shop-top h2{
  font-size:28px !important;
}
.shop-top p{
  font-size:12px !important;
}

/* 폭 안전장치 */
.shop-home .product-head,
.shop-home .product-card,
.shop-home .product-grid{
  width:100% !important;
  max-width:855px !important;
  min-width:0 !important;
}
.shop-home .product-card>*{
  min-width:0 !important;
}

@media(max-width:900px){
  .shop-home .product-card{
    grid-template-columns:1fr 130px !important;
  }
  .shop-home .product-price{
    padding-left:10px !important;
    font-size:17px !important;
  }
}


/* =========================================================
   v17 - 컴팩트 로컬마켓 리스트
   이미지 축소 / 정보 위계 강화 / 행 높이 축소 / 구매영역 정돈
   ========================================================= */
.shop-home .product-head,
.shop-home .product-card{
  grid-template-columns:minmax(0,1fr) 120px 145px 225px !important;
}
.shop-home .product-head{
  min-height:44px !important;
  background:#f7f8f9 !important;
  border-bottom:1px solid #dce1e5 !important;
  color:#555e67 !important;
  font-size:12px !important;
}
.shop-home .product-card{
  min-height:108px !important;
  transition:background .15s ease !important;
}
.shop-home .product-card:hover{
  background:#fafbfb !important;
}

/* 이미지 118x88 -> 92x72 */
.shop-home .product-main{
  gap:14px !important;
  padding:12px 10px !important;
}
.shop-home .product-img{
  flex:0 0 92px !important;
  width:92px !important;
  height:72px !important;
  border:1px solid #dde2e6 !important;
  border-radius:8px !important;
  background:#f5f6f7 !important;
}
.shop-home .product-img img{
  object-fit:cover !important;
}

/* 상품 텍스트 */
.shop-home .product-name{
  margin-bottom:2px !important;
  font-size:16px !important;
  line-height:1.3 !important;
  font-weight:800 !important;
  letter-spacing:-.35px !important;
}
.shop-home .product-copy p{
  margin:3px 0 7px !important;
  font-size:12px !important;
  line-height:1.35 !important;
  color:#7d8690 !important;
}
.shop-home .product-copy i{
  padding:3px 8px !important;
  border-radius:12px !important;
  font-size:10px !important;
}

/* 가격: 상품정보 바로 다음에 강하게 */
.shop-home .product-price{
  position:relative;
  padding:0 !important;
  text-align:left !important;
  color:#b7352d !important;
  font-size:19px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  letter-spacing:-.55px !important;
}
.shop-home .product-price:before{
  content:"판매가";
  display:block;
  margin-bottom:4px;
  color:#9aa0a6;
  font-size:9px;
  line-height:1;
  font-weight:500;
  letter-spacing:0;
}

/* 재고정보는 큰 색박스 대신 정돈된 2줄 */
.shop-home .product-stock{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:4px !important;
  padding-left:8px !important;
}
.shop-home .product-stock span{
  min-width:0 !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  font-size:11px !important;
  line-height:1.4 !important;
  font-weight:700 !important;
  text-align:left !important;
}
.shop-home .product-stock .stock-now{
  color:#4e705b !important;
}
.shop-home .product-stock .stock-now:before{
  content:"●";
  margin-right:6px;
  color:#75a383;
  font-size:7px;
  vertical-align:2px;
}
.shop-home .product-stock .stock-min{
  color:#725f49 !important;
}
.shop-home .product-stock .stock-min:before{
  content:"●";
  margin-right:6px;
  color:#c9a97c;
  font-size:7px;
  vertical-align:2px;
}

/* 구매영역: 수량컨트롤 + 담기버튼 한 묶음 */
.shop-home .quick-cart{
  display:grid !important;
  grid-template-columns:105px 105px !important;
  align-items:center !important;
  justify-content:end !important;
  gap:8px !important;
  padding:0 6px !important;
}
.shop-home .qty-box{
  width:105px !important;
  height:38px !important;
  grid-template-columns:30px 45px 30px !important;
  border:1px solid #ccd3d9 !important;
  border-radius:7px !important;
}
.shop-home .qty-box button{
  width:30px !important;
  height:36px !important;
  background:#f3f5f6 !important;
  color:#303942 !important;
  font-size:17px !important;
}
.shop-home .qty-box input{
  width:45px !important;
  height:36px !important;
  font-size:14px !important;
  font-weight:850 !important;
}
.shop-home .quick-cart .cart{
  width:105px !important;
  height:38px !important;
  border:0 !important;
  border-radius:7px !important;
  background:#496b58 !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:-.2px !important;
}
.shop-home .quick-cart .cart:hover{
  background:#385846 !important;
}

/* 열 제목도 구조에 맞춰 강조 */
.shop-home .product-head span:nth-child(2){
  text-align:left !important;
  padding-left:0 !important;
}
.shop-home .product-head span:nth-child(3){
  text-align:left !important;
  padding-left:8px !important;
}
.shop-home .product-head span:nth-child(4){
  text-align:center !important;
}

/* 좌측은 더 단정한 회색 + 선택 항목 포인트 */
.shop-sidebar{
  background:#f7f8f9 !important;
  border-color:#e1e5e8 !important;
}
.shop-side-title{
  background:#f0f2f3 !important;
}
.shop-side-quick a.on,
.shop-side-nav a.on{
  background:#e7ece9 !important;
  color:#35483d !important;
}
.shop-side-nav a:hover,
.shop-side-quick a:hover{
  background:#eceff1 !important;
}

/* 전체상품 선택은 녹색 포인트를 아주 약하게 */
.shop-side-nav a.on:before,
.shop-side-quick a.on:before{
  color:#557663 !important;
}

/* PC 폭 고정 안전 */
.shop-home .product-grid,
.shop-home .product-head,
.shop-home .product-card{
  width:100% !important;
  max-width:855px !important;
  min-width:0 !important;
  overflow:visible !important;
}


/* =========================================================
   v18 ASAN PLAY LOCAL MARKET - unified storefront UI
   ========================================================= */
:root{
 --mk-green:#0a8f45;--mk-green-dark:#08783a;--mk-green-soft:#eef8f2;
 --mk-red:#c8241d;--mk-orange:#f59b19;--mk-ink:#17202a;--mk-muted:#75808b;
 --mk-line:#e3e8ec;--mk-soft:#f7f9fa;--mk-card:#fff;
}
.shop-layout{max-width:1100px!important;margin:26px auto 70px!important;gap:26px!important;align-items:flex-start!important}
.shop-content{min-width:0!important;flex:1!important;border-left:1px solid var(--mk-line)!important;padding-left:26px!important}
.shop-sidebar{width:220px!important;flex:0 0 220px!important;background:#fff!important;border:1px solid #dfe5e8!important;border-radius:10px!important;overflow:hidden!important;box-shadow:0 3px 14px rgba(25,38,50,.035)!important}
.shop-side-title{padding:20px 18px!important;background:linear-gradient(180deg,#fbfcfc,#f5f8f6)!important;border-bottom:1px solid var(--mk-line)!important}
.shop-side-title a{font-size:21px!important;font-weight:850!important;color:var(--mk-ink)!important}
.shop-side-title small{font-size:11px!important;color:#78848d!important}
.shop-side-quick{padding:11px 14px 4px!important}
.shop-side-quick a{min-height:43px!important;display:flex!important;align-items:center!important;border-bottom:1px solid #edf0f2!important;font-size:13px!important}
.shop-side-search{margin:10px 14px!important}
.shop-side-search input{height:40px!important;border-radius:7px 0 0 7px!important;border-color:#d8dee3!important}
.shop-side-search button{width:42px!important;background:var(--mk-green)!important;border-radius:0 7px 7px 0!important}
.shop-side-nav{padding:0 14px 10px!important}
.shop-side-nav a{min-height:42px!important;display:flex!important;align-items:center!important;border-radius:7px!important;font-size:13px!important;margin:2px 0!important}
.shop-side-nav a.on{background:var(--mk-green-soft)!important;color:#14683b!important;font-weight:800!important}
.shop-side-write{margin:4px 14px 16px!important;height:42px!important;border:1px solid #bfc8ce!important;border-radius:7px!important;background:#fff!important;color:#28343d!important;font-size:12px!important;font-weight:800!important}

.shop-top{padding:2px 0 18px!important;border-bottom:1px solid var(--mk-line)!important;margin-bottom:20px!important}
.shop-top h2{font-size:29px!important;letter-spacing:-1px!important;color:var(--mk-ink)!important}
.shop-top p{font-size:13px!important;color:#76818c!important;margin-top:5px!important}

/* LIST */
.shop-home .product-grid{max-width:none!important;width:100%!important;border:0!important}
.shop-home .product-head{display:grid!important;grid-template-columns:minmax(0,1fr) 125px 155px 220px!important;width:100%!important;max-width:none!important;min-height:46px!important;background:#f7f9fa!important;border:1px solid var(--mk-line)!important;border-radius:8px!important;margin-bottom:12px!important;color:#3f4851!important;font-size:12px!important;font-weight:800!important}
.shop-home .product-card{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 125px 155px 220px!important;width:100%!important;max-width:none!important;min-height:128px!important;margin:0 0 12px!important;background:#fff!important;border:1px solid #e2e7ea!important;border-radius:10px!important;box-shadow:0 3px 12px rgba(28,40,50,.045)!important;overflow:hidden!important}
.shop-home .product-card:hover{background:#fff!important;border-color:#d3ddd7!important;box-shadow:0 5px 16px rgba(28,40,50,.07)!important}
.shop-home .product-main{padding:15px!important;gap:15px!important}
.shop-home .product-img{position:relative!important;flex:0 0 104px!important;width:104px!important;height:94px!important;border-radius:8px!important;overflow:visible!important;border:1px solid #e0e5e8!important}
.shop-home .product-img img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:8px!important}
.shop-home .product-name{font-size:16px!important;font-weight:850!important;color:#141b21!important}
.shop-home .product-copy p{font-size:12px!important;color:#7b858e!important}
.shop-home .product-copy i{font-size:10px!important;padding:4px 8px!important;background:#eef8f2!important;color:#25814d!important;border:1px solid #cfe9d9!important}
.shop-home .product-price{font-size:19px!important;font-weight:900!important;color:var(--mk-red)!important;text-align:left!important}
.shop-home .product-price:before{content:"판매가";display:block;margin-bottom:5px;color:#7f8992;font-size:10px;font-weight:600}
.shop-home .product-stock{align-items:flex-start!important;padding-left:4px!important;gap:7px!important}
.shop-home .product-stock span{min-width:112px!important;padding:7px 9px!important;border-radius:7px!important;font-size:11px!important;font-weight:800!important}
.shop-home .product-stock .stock-now{background:#edf8f1!important;border:1px solid #cfe8d7!important;color:#148044!important}
.shop-home .product-stock .stock-min{background:#fff7e8!important;border:1px solid #f1e0b8!important;color:#8a641c!important}
.shop-home .quick-cart{grid-template-columns:105px 105px!important;gap:9px!important}
.shop-home .qty-box{height:42px!important;border-radius:7px!important}
.shop-home .qty-box button,.shop-home .qty-box input{height:40px!important;font-size:15px!important}
.shop-home .quick-cart .cart{width:105px!important;height:42px!important;border-radius:7px!important;background:var(--mk-green)!important;font-size:11px!important;font-weight:850!important}
.shop-home .quick-cart .cart:hover{background:var(--mk-green-dark)!important}

/* badges */
.product-badges{position:absolute!important;z-index:4!important;left:-1px!important;top:-1px!important;display:flex!important;gap:4px!important;align-items:flex-start!important;pointer-events:none}
.product-badges b,.view-product-badges b{display:inline-flex;align-items:center;justify-content:center;height:23px;padding:0 8px;border-radius:4px;color:#fff;font-size:10px;font-style:normal;font-weight:850;white-space:nowrap}
.product-badges .badge-discount,.view-product-badges .badge-discount{background:#c91414}
.product-badges .badge-recommend,.view-product-badges .badge-recommend{background:#ff970f}
.product-badges .badge-hit,.view-product-badges .badge-hit{background:#3b3f43}
.product-badges .badge-popular,.view-product-badges .badge-popular{background:#078e77}
.product-badges .badge-discount{border-radius:7px 0 4px 0}

/* VIEW */
.view-product-badges{display:flex;gap:5px;margin:0 0 10px}
.shop-view,.product-view,.view-wrap{background:#fff!important}
.shop-view-main,.product-view-main{border:1px solid var(--mk-line)!important;border-radius:11px!important;padding:20px!important;box-shadow:0 3px 14px rgba(25,38,50,.04)!important}
.shop-view .product-img,.view-product-image{border-radius:10px!important;overflow:hidden!important}
.shop-view h1,.shop-view .product-title,.view-product-title{font-size:24px!important;font-weight:900!important;color:var(--mk-ink)!important}
.shop-view .product-price,.view-product-price{color:var(--mk-red)!important;font-size:25px!important;font-weight:900!important}
.shop-view button,.view-buy-area button{border-radius:7px!important;min-height:42px!important}
.shop-view .cart,.view-buy-area .cart{background:var(--mk-green)!important;color:#fff!important;border-color:var(--mk-green)!important}
.shop-view-detail,.product-detail{margin-top:22px!important;padding-top:22px!important;border-top:1px solid var(--mk-line)!important;font-size:14px!important;line-height:1.75!important}

/* CART / CHECKOUT / ORDERS */
.shop-cart h2,.shop-checkout h2,.shop-orders h2{font-size:27px!important;color:var(--mk-ink)!important}
.cart-list,.checkout-box,.order-list,.shop-cart-box,.shop-checkout-box{border:1px solid var(--mk-line)!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 3px 12px rgba(25,38,50,.035)!important}
.cart-item,.order-item{padding:15px!important;border-bottom:1px solid #edf0f2!important}
.cart-item img,.order-item img{width:82px!important;height:68px!important;object-fit:cover!important;border-radius:7px!important}
.cart-total,.checkout-total{font-size:22px!important;font-weight:900!important;color:var(--mk-red)!important}
.shop-cart button,.shop-checkout button,.shop-orders button,.shop-cart a.btn,.shop-checkout a.btn{border-radius:7px!important;min-height:40px!important}
.shop-cart .primary,.shop-checkout .primary,.shop-orders .primary{background:var(--mk-green)!important;color:#fff!important;border-color:var(--mk-green)!important}

/* WRITE */
.shop-write-section{margin:18px 0;padding:18px;border:1px solid var(--mk-line);border-radius:10px;background:#fafbfb}
.shop-write-section h3{margin:0 0 5px;font-size:16px;color:var(--mk-ink)}
.shop-write-help{margin:0 0 14px;color:#7b858e;font-size:11px}
.shop-badge-fields{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.badge-field,.badge-check{display:flex;align-items:center;height:40px;border:1px solid #d9e0e4;border-radius:7px;background:#fff;overflow:hidden}
.badge-field span{padding:0 10px;font-size:12px;font-weight:750}
.badge-field input{width:62px;height:38px;border:0!important;text-align:center;font-size:13px}
.badge-field em{padding-right:9px;font-size:12px;font-style:normal}
.badge-check{padding:0 12px;gap:7px;cursor:pointer}
.badge-check input{accent-color:var(--mk-green)}
.badge-check span{font-size:12px;font-weight:800}

/* paging */
.shop-paging{margin-top:24px!important;text-align:center!important}
.shop-paging a,.shop-paging strong{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:36px!important;height:36px!important;margin:0 2px!important;border:1px solid #dfe4e8!important;border-radius:6px!important;background:#fff!important;color:#39434c!important}
.shop-paging strong{background:var(--mk-green)!important;border-color:var(--mk-green)!important;color:#fff!important}

/* responsive */
@media(max-width:900px){
 .shop-layout{display:block!important;margin:12px!important}
 .shop-sidebar{width:100%!important;margin-bottom:15px!important}
 .shop-content{border-left:0!important;padding-left:0!important}
 .shop-home .product-head{display:none!important}
 .shop-home .product-card{display:grid!important;grid-template-columns:1fr 145px!important}
 .shop-home .product-main{grid-column:1/-1!important}
 .shop-home .product-price{padding-left:15px!important}
 .shop-home .product-stock{padding:8px 10px!important}
 .shop-home .quick-cart{grid-column:1/-1!important;justify-content:end!important;padding:10px 15px 15px!important}
}


/* =========================================================
   v19 - 상세보기 / 장바구니 / 주문하기
   리스트 카드와 동일한 clean local-market visual language
   ========================================================= */

/* common content headings */
.shop-content > h2,
.shop-content h2:first-child{
  margin:0 0 4px!important;
  color:#17202a!important;
  font-size:28px!important;
  line-height:1.25!important;
  font-weight:900!important;
  letter-spacing:-1px!important;
}
.shop-content > h2 + p{
  margin:0 0 20px!important;
  color:#7b858e!important;
  font-size:13px!important;
}

/* ---------- VIEW ---------- */
.shop-view-main,
.product-view-main,
.view-product-wrap,
.shop-view .view-main{
  display:grid!important;
  grid-template-columns:330px minmax(0,1fr)!important;
  gap:28px!important;
  padding:22px!important;
  border:1px solid #e2e7ea!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 4px 16px rgba(28,40,50,.05)!important;
}
.shop-view .product-img,
.view-product-image,
.shop-view-image{
  width:100%!important;
  max-width:330px!important;
  height:270px!important;
  padding:0!important;
  border:1px solid #e0e5e8!important;
  border-radius:10px!important;
  background:#f7f8f9!important;
  overflow:hidden!important;
}
.shop-view .product-img img,
.view-product-image img,
.shop-view-image img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.view-product-badges{
  margin:0 0 12px!important;
}
.shop-view h1,
.shop-view .product-title,
.view-product-title{
  margin:0 0 7px!important;
  font-size:25px!important;
  line-height:1.3!important;
  font-weight:900!important;
  letter-spacing:-.7px!important;
}
.shop-view .product-desc,
.view-product-desc{
  color:#7b858e!important;
  font-size:13px!important;
  line-height:1.55!important;
}
.shop-view .product-price,
.view-product-price{
  display:block!important;
  margin:20px 0 15px!important;
  color:#c8241d!important;
  font-size:28px!important;
  font-weight:900!important;
  letter-spacing:-.8px!important;
}
.shop-view .product-stock,
.view-stock-box{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin:12px 0 18px!important;
}
.shop-view .product-stock span,
.view-stock-box span{
  padding:8px 12px!important;
  border-radius:7px!important;
  font-size:12px!important;
  font-weight:800!important;
}
.shop-view .product-stock span:first-child,
.view-stock-box span:first-child{
  background:#edf8f1!important;
  border:1px solid #cfe8d7!important;
  color:#148044!important;
}
.shop-view .product-stock span:nth-child(2),
.view-stock-box span:nth-child(2){
  background:#fff7e8!important;
  border:1px solid #f1e0b8!important;
  color:#8a641c!important;
}
.shop-view .qty-box,
.view-buy-area .qty-box{
  height:44px!important;
  border:1px solid #ccd3d9!important;
  border-radius:7px!important;
  overflow:hidden!important;
}
.shop-view .qty-box button,
.shop-view .qty-box input,
.view-buy-area .qty-box button,
.view-buy-area .qty-box input{
  height:42px!important;
  font-size:15px!important;
  font-weight:800!important;
}
.shop-view .cart,
.view-buy-area .cart{
  min-width:130px!important;
  height:44px!important;
  border:0!important;
  border-radius:7px!important;
  background:#0a8f45!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:850!important;
}
.shop-view .cart:hover,
.view-buy-area .cart:hover{background:#08783a!important}
.shop-view-detail,
.product-detail{
  margin-top:22px!important;
  padding:22px!important;
  border:1px solid #e3e8ec!important;
  border-radius:10px!important;
  background:#fff!important;
}
.shop-view-detail h3,
.product-detail h3{
  margin:0 0 15px!important;
  padding-bottom:12px!important;
  border-bottom:1px solid #e8ecef!important;
  font-size:17px!important;
  font-weight:850!important;
}

/* ---------- CART ---------- */
.shop-cart,
.cart-wrap{
  width:100%!important;
}
.cart-list,
.shop-cart-box{
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.cart-item{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 130px 145px!important;
  gap:18px!important;
  align-items:center!important;
  min-height:112px!important;
  margin-bottom:12px!important;
  padding:15px!important;
  border:1px solid #e2e7ea!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 3px 12px rgba(28,40,50,.04)!important;
}
.cart-item img{
  width:100px!important;
  height:78px!important;
  object-fit:cover!important;
  border:1px solid #e0e5e8!important;
  border-radius:8px!important;
}
.cart-item .name,
.cart-item .product-name{
  color:#17202a!important;
  font-size:16px!important;
  font-weight:850!important;
}
.cart-item .price,
.cart-item strong{
  color:#c8241d!important;
  font-size:17px!important;
  font-weight:900!important;
}
.cart-item input[type=number]{
  height:40px!important;
  border:1px solid #ccd3d9!important;
  border-radius:7px!important;
  text-align:center!important;
  font-size:14px!important;
  font-weight:800!important;
}
.cart-item .delete,
.cart-item a.delete{
  color:#9a5550!important;
  font-size:11px!important;
}
.cart-total{
  margin-top:20px!important;
  padding:18px 0!important;
  border-top:2px solid #303841!important;
  color:#17202a!important;
  text-align:right!important;
  font-size:14px!important;
}
.cart-total strong{
  margin-left:12px!important;
  color:#c8241d!important;
  font-size:25px!important;
  font-weight:900!important;
}
.cart-actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin-top:14px!important;
}
.cart-actions a,
.cart-actions button{
  min-width:92px!important;
  height:42px!important;
  padding:0 15px!important;
  border:1px solid #d2d8dd!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#37414a!important;
  font-size:12px!important;
  font-weight:800!important;
}
.cart-actions .primary,
.cart-actions button:last-child{
  border-color:#0a8f45!important;
  background:#0a8f45!important;
  color:#fff!important;
}

/* ---------- CHECKOUT ---------- */
.shop-checkout,
.checkout-wrap{
  width:100%!important;
}
.checkout-box,
.shop-checkout-box{
  padding:20px!important;
  border:1px solid #e2e7ea!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 4px 15px rgba(28,40,50,.04)!important;
}
.checkout-box label,
.shop-checkout label{
  color:#29333c!important;
  font-size:12px!important;
  font-weight:800!important;
}
.checkout-box input[type=text],
.checkout-box input[type=tel],
.checkout-box textarea,
.shop-checkout input[type=text],
.shop-checkout input[type=tel],
.shop-checkout textarea{
  width:100%!important;
  min-height:43px!important;
  padding:10px 12px!important;
  border:1px solid #d6dde2!important;
  border-radius:7px!important;
  background:#fff!important;
  font-size:13px!important;
}
.checkout-box textarea,
.shop-checkout textarea{min-height:82px!important}
.checkout-box input:focus,
.checkout-box textarea:focus{
  outline:none!important;
  border-color:#69a982!important;
  box-shadow:0 0 0 3px rgba(10,143,69,.07)!important;
}
.checkout-box .account,
.account-box,
.shop-checkout .bank-box{
  margin:14px 0!important;
  padding:14px 16px!important;
  border:1px solid #dce8e0!important;
  border-radius:8px!important;
  background:#f2f8f4!important;
  color:#42564a!important;
  font-size:12px!important;
  line-height:1.6!important;
}
.checkout-total{
  margin:18px 0!important;
  padding-top:17px!important;
  border-top:1px solid #e3e8ec!important;
  text-align:right!important;
  color:#17202a!important;
  font-size:14px!important;
}
.checkout-total strong{
  margin-left:12px!important;
  color:#c8241d!important;
  font-size:25px!important;
  font-weight:900!important;
}
.checkout-actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:8px!important;
}
.checkout-actions a,
.checkout-actions button{
  min-width:100px!important;
  height:43px!important;
  padding:0 16px!important;
  border:1px solid #d2d8dd!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#37414a!important;
  font-size:12px!important;
  font-weight:800!important;
}
.checkout-actions .primary,
.checkout-actions button:last-child{
  border-color:#0a8f45!important;
  background:#0a8f45!important;
  color:#fff!important;
}

/* generic fallback for the existing v13 markup */
.shop-content form button[type=submit]{
  border-radius:7px;
}
.shop-content button.buy,
.shop-content .btn-buy,
.shop-content .order-btn{
  background:#0a8f45!important;
  border-color:#0a8f45!important;
  color:#fff!important;
}

/* mobile */
@media(max-width:900px){
 .shop-view-main,.product-view-main,.view-product-wrap,.shop-view .view-main{
   grid-template-columns:1fr!important;
 }
 .shop-view .product-img,.view-product-image,.shop-view-image{
   max-width:none!important;height:auto!important;aspect-ratio:4/3!important;
 }
 .cart-item{grid-template-columns:1fr!important}
 .cart-actions,.checkout-actions{justify-content:stretch!important}
 .cart-actions a,.cart-actions button,.checkout-actions a,.checkout-actions button{flex:1!important}
}


/* =========================================================
   v20 DETAIL PAGE - larger, cleaner, same visual language as list
   ========================================================= */
.product-view{width:100%!important}
.product-view .pv-top{
 display:grid!important;
 grid-template-columns:minmax(430px,52%) minmax(0,48%)!important;
 gap:34px!important;
 align-items:start!important;
 padding:0 0 30px!important;
 border-bottom:1px solid #e3e8ec!important;
}
.product-view .pv-image{
 width:100%!important;
 height:auto!important;
 aspect-ratio:4/3!important;
 border:1px solid #e0e5e8!important;
 border-radius:12px!important;
 background:#f7f8f8!important;
 overflow:hidden!important;
}
.product-view .pv-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.product-view .pv-buy{padding:4px 0 0!important}
.product-view .view-product-badges{display:flex!important;gap:6px!important;margin:0 0 14px!important;min-height:25px!important}
.product-view .view-product-badges b{height:26px!important;padding:0 10px!important;border-radius:5px!important;font-size:11px!important;font-weight:900!important}
.product-view .pv-cat{
 display:inline-flex!important;align-items:center!important;
 margin:0 0 10px!important;padding:5px 10px!important;
 border:1px solid #cfe9d9!important;border-radius:999px!important;
 background:#eef8f2!important;color:#25814d!important;
 font-size:12px!important;font-weight:850!important;
}
.product-view .pv-buy h1{margin:0 0 8px!important;color:#17202a!important;font-size:27px!important;line-height:1.3!important;font-weight:900!important;letter-spacing:-.8px!important}
.product-view .pv-desc{margin:0!important;color:#78838d!important;font-size:15px!important;line-height:1.6!important}
.product-view .pv-price{
 margin:23px 0 18px!important;padding:0 0 17px!important;
 border-bottom:1px solid #e6eaed!important;
 color:#c8241d!important;font-size:31px!important;line-height:1!important;font-weight:950!important;letter-spacing:-1px!important;
}
.product-view .pv-price:before{content:"판매가";display:inline-block;margin-right:15px;color:#68737d;font-size:14px;font-weight:800;vertical-align:4px}
.product-view .pv-price small{font-size:17px!important;font-weight:900!important;margin-left:2px!important}
.product-view .pv-info{display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin:0 0 20px!important;border-top:1px solid #edf0f2!important}
.product-view .pv-info>div{
 display:grid!important;grid-template-columns:28px 95px minmax(0,1fr)!important;align-items:center!important;
 min-height:48px!important;padding:7px 4px!important;border-bottom:1px solid #edf0f2!important;
}
.product-view .pv-ico{display:flex!important;align-items:center!important;justify-content:center!important;width:23px!important;height:23px!important;border-radius:6px!important;background:#f0f6f2!important;color:#178047!important;font-size:12px!important}
.product-view .pv-info em{font-style:normal!important;color:#59646e!important;font-size:14px!important;font-weight:800!important}
.product-view .pv-info strong{color:#202a32!important;font-size:15px!important;font-weight:900!important}
.product-view .pv-info>div:nth-child(1) strong{color:#148044!important}
.product-view .pv-info>div:nth-child(2) strong{color:#8a641c!important}
.product-view .pv-order{margin-top:18px!important;padding:16px!important;border:1px solid #e1e6e9!important;border-radius:10px!important;background:#f8faf9!important}
.product-view .pv-qty-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;margin-bottom:12px!important}
.product-view .pv-qty-row label{font-size:14px!important;font-weight:850!important;color:#313b44!important}
.product-view .pv-qty-row input{width:105px!important;height:43px!important;border:1px solid #cdd5da!important;border-radius:7px!important;background:#fff!important;text-align:center!important;font-size:16px!important;font-weight:900!important}
.product-view .pv-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}
.product-view .pv-buttons button{height:46px!important;border-radius:7px!important;font-size:14px!important;font-weight:900!important}
.product-view .pv-cart-btn{border:1px solid #0a8f45!important;background:#fff!important;color:#08783a!important}
.product-view .pv-buy-btn{border:1px solid #0a8f45!important;background:#0a8f45!important;color:#fff!important}
.product-view .pv-content{margin:24px 0 0!important;padding:0!important;border:0!important;background:#fff!important}
.product-view .pv-content-body{
 min-height:100px!important;padding:22px 4px!important;
 border-top:2px solid #303841!important;
 color:#333d45!important;font-size:15px!important;line-height:1.85!important;
}
.product-view .pv-content-body img{max-width:100%!important;height:auto!important}
.product-view .pv-bottom{
 display:flex!important;justify-content:flex-end!important;gap:8px!important;
 margin-top:24px!important;padding-top:18px!important;border-top:1px solid #e3e8ec!important;
}
.product-view .pv-bottom a{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-width:86px!important;height:42px!important;padding:0 15px!important;
 border:1px solid #cfd6db!important;border-radius:7px!important;background:#fff!important;
 color:#36414a!important;font-size:13px!important;font-weight:850!important;text-decoration:none!important;
}
.product-view .pv-bottom a:hover{border-color:#8f9aa3!important;background:#f7f8f9!important}
.delivery-write-section input{width:100%!important;max-width:520px!important;height:42px!important;padding:0 12px!important;border:1px solid #d7dee3!important;border-radius:7px!important;font-size:13px!important}

@media(max-width:900px){
 .product-view .pv-top{grid-template-columns:1fr!important;gap:20px!important}
 .product-view .pv-image{aspect-ratio:4/3!important}
 .product-view .pv-buy h1{font-size:23px!important}
 .product-view .pv-price{font-size:27px!important}
}


/* =========================================================
   v21 detail quantity + redesigned checkout
   ========================================================= */
.product-view .pv-qty-box{
 display:grid!important;grid-template-columns:42px 62px 42px!important;
 height:44px!important;border:1px solid #cdd5da!important;border-radius:8px!important;
 overflow:hidden!important;background:#fff!important;
}
.product-view .pv-qty-box button{
 width:42px!important;height:42px!important;border:0!important;background:#f3f6f7!important;
 color:#27323b!important;font-size:19px!important;font-weight:900!important;cursor:pointer!important;
}
.product-view .pv-qty-box button:first-child{border-right:1px solid #dbe1e5!important}
.product-view .pv-qty-box button:last-child{border-left:1px solid #dbe1e5!important}
.product-view .pv-qty-box button:hover{background:#e9f4ed!important;color:#08783a!important}
.product-view .pv-qty-box input{
 width:62px!important;height:42px!important;padding:0!important;border:0!important;border-radius:0!important;
 background:#fff!important;text-align:center!important;color:#17202a!important;font-size:16px!important;font-weight:900!important;
 -moz-appearance:textfield!important;
}
.product-view .pv-qty-box input::-webkit-outer-spin-button,
.product-view .pv-qty-box input::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}
.qty-label-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:23px!important;height:23px!important;margin-right:5px!important;border-radius:5px!important;background:#eaf5ee!important;color:#08783a!important;font-size:11px!important}

/* checkout */
.checkout-page{width:100%!important}
.checkout-head{display:flex!important;align-items:center!important;gap:13px!important;margin-bottom:18px!important;padding-bottom:18px!important;border-bottom:1px solid #e2e7ea!important}
.checkout-head-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:43px!important;height:43px!important;border-radius:11px!important;background:#0a8f45!important;color:#fff!important;font-size:20px!important;font-weight:900!important;box-shadow:0 4px 12px rgba(10,143,69,.15)!important}
.checkout-head h2{margin:0!important;color:#17202a!important;font-size:27px!important;font-weight:900!important;letter-spacing:-.8px!important}
.checkout-head p{margin:4px 0 0!important;color:#7a858e!important;font-size:13px!important}
.checkout-modern{border:0!important;background:transparent!important}
.checkout-section{margin-bottom:14px!important;padding:20px!important;border:1px solid #e1e6e9!important;border-radius:11px!important;background:#fff!important;box-shadow:0 3px 13px rgba(28,40,50,.035)!important}
.checkout-section-title{display:flex!important;align-items:center!important;gap:11px!important;margin-bottom:17px!important}
.checkout-section-title>span{display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;border-radius:9px!important;background:#f0f6f2!important;color:#08783a!important;font-size:16px!important;font-weight:900!important}
.checkout-section-title strong{display:block!important;color:#202a32!important;font-size:16px!important;font-weight:900!important}
.checkout-section-title small{display:block!important;margin-top:2px!important;color:#89939b!important;font-size:11px!important;font-weight:500!important}
.checkout-fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
.checkout-fields.one{grid-template-columns:1fr!important}
.checkout-field{display:block!important}
.checkout-field>span{display:block!important;margin:0 0 7px 2px!important;color:#4b5660!important;font-size:12px!important;font-weight:850!important}
.checkout-field>span i{color:#0a8f45!important;font-size:6px!important;font-style:normal!important;vertical-align:2px!important;margin-right:4px!important}
.checkout-field input{
 box-sizing:border-box!important;width:100%!important;height:47px!important;padding:0 14px!important;
 border:1px solid #d7dee3!important;border-radius:8px!important;background:#fafbfb!important;
 color:#202a32!important;font-size:14px!important;font-weight:600!important;transition:.15s!important;
}
.checkout-field input::placeholder{color:#a0a8af!important;font-weight:400!important}
.checkout-field input:focus{outline:0!important;border-color:#65a87f!important;background:#fff!important;box-shadow:0 0 0 3px rgba(10,143,69,.07)!important}
.checkout-pay-options{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.checkout-pay-options label{display:block!important;cursor:pointer!important}
.checkout-pay-options input{position:absolute!important;opacity:0!important;pointer-events:none!important}
.pay-card{display:grid!important;grid-template-columns:40px 1fr!important;grid-template-rows:auto auto!important;column-gap:10px!important;align-items:center!important;min-height:68px!important;padding:12px 14px!important;border:1px solid #d9e0e4!important;border-radius:9px!important;background:#fafbfb!important}
.pay-card>b{grid-row:1/3!important;display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;border-radius:9px!important;background:#eef2f3!important;color:#4d5962!important;font-size:16px!important}
.pay-card>strong{align-self:end!important;color:#27323b!important;font-size:13px!important;font-weight:900!important}
.pay-card>small{align-self:start!important;color:#89939b!important;font-size:10px!important}
.checkout-pay-options input:checked + .pay-card{border:1.5px solid #0a8f45!important;background:#f2f9f5!important;box-shadow:0 0 0 2px rgba(10,143,69,.055)!important}
.checkout-pay-options input:checked + .pay-card>b{background:#0a8f45!important;color:#fff!important}
.checkout-pay-options input:checked + .pay-card>strong{color:#08783a!important}
.checkout-bank{display:flex!important;gap:11px!important;margin-top:13px!important;padding:14px 15px!important;border:1px solid #dce8e0!important;border-radius:8px!important;background:#f3f8f5!important}
.bank-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:25px!important;height:25px!important;flex:0 0 25px!important;border-radius:50%!important;background:#dcefe3!important;color:#08783a!important;font-size:13px!important;font-weight:900!important}
.checkout-bank b{color:#2e4336!important;font-size:12px!important}
.checkout-bank p{margin:4px 0 0!important;color:#4e6055!important;font-size:12px!important;line-height:1.5!important}
.checkout-summary{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:20px!important;margin-top:19px!important;padding:19px 4px!important;border-top:2px solid #303841!important}
.checkout-summary>span{color:#4d5861!important;font-size:14px!important;font-weight:800!important}
.checkout-summary>strong{color:#c8241d!important;font-size:27px!important;font-weight:950!important;letter-spacing:-.7px!important}
.checkout-summary em{margin-left:2px!important;font-size:16px!important;font-style:normal!important}
.checkout-bottom-actions{display:flex!important;justify-content:flex-end!important;gap:9px!important}
.checkout-bottom-actions a,.checkout-submit{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:45px!important;padding:0 19px!important;border-radius:8px!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important}
.checkout-bottom-actions a{border:1px solid #ccd4d9!important;background:#fff!important;color:#4a555e!important}
.checkout-submit{min-width:130px!important;border:1px solid #0a8f45!important;background:#0a8f45!important;color:#fff!important;cursor:pointer!important}
.checkout-submit:hover{background:#08783a!important}
.checkout-submit span{margin-right:6px!important}

@media(max-width:700px){
 .checkout-fields,.checkout-pay-options{grid-template-columns:1fr!important}
 .checkout-section{padding:16px!important}
 .checkout-bottom-actions{display:grid!important;grid-template-columns:1fr 1fr!important}
 .checkout-bottom-actions a,.checkout-submit{width:100%!important;box-sizing:border-box!important}
}


/* =========================================================
   v22 checkout: 주문상품 상단 표시 + 배송정보 compact
   ========================================================= */
.checkout-products{
 margin:0 0 13px!important;
 border:1px solid #e1e6e9!important;
 border-radius:11px!important;
 background:#fff!important;
 overflow:hidden!important;
 box-shadow:0 3px 13px rgba(28,40,50,.035)!important;
}
.checkout-products-head{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 min-height:48px!important;padding:0 15px!important;
 background:#f7f9f8!important;border-bottom:1px solid #e4e8eb!important;
}
.checkout-products-head>div{display:flex!important;align-items:center!important;gap:8px!important}
.checkout-products-icon{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:26px!important;height:26px!important;border-radius:6px!important;
 background:#e8f4ec!important;color:#08783a!important;font-size:12px!important;font-weight:900!important;
}
.checkout-products-head strong{color:#222c34!important;font-size:14px!important;font-weight:900!important}
.checkout-products-head small{padding:4px 8px!important;border-radius:12px!important;background:#eef1f2!important;color:#69747d!important;font-size:10px!important}
.checkout-products-list{padding:0 14px!important}
.checkout-product-row{
 display:grid!important;grid-template-columns:minmax(0,1fr) 130px!important;
 align-items:center!important;gap:14px!important;
 min-height:88px!important;padding:10px 0!important;border-bottom:1px solid #edf0f2!important;
}
.checkout-product-row:last-child{border-bottom:0!important}
.checkout-product-main{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
.checkout-product-thumb{
 flex:0 0 82px!important;width:82px!important;height:64px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 overflow:hidden!important;border:1px solid #e0e5e8!important;border-radius:7px!important;
 background:#f5f7f8!important;color:#9ba3aa!important;font-size:9px!important;
}
.checkout-product-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.checkout-product-copy{min-width:0!important}
.checkout-product-copy em{
 display:inline-flex!important;margin-bottom:3px!important;padding:2px 6px!important;border-radius:10px!important;
 background:#eef8f2!important;color:#25814d!important;font-size:9px!important;font-style:normal!important;font-weight:800!important;
}
.checkout-product-copy b{
 display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
 color:#202930!important;font-size:14px!important;font-weight:900!important;
}
.checkout-product-copy small{display:block!important;margin-top:3px!important;color:#7d8790!important;font-size:11px!important}
.checkout-product-sum{text-align:right!important;color:#c8241d!important;font-size:16px!important;font-weight:950!important}
.checkout-product-sum span{margin-left:2px!important;font-size:11px!important}

/* 받는 사람 / 배달정보 공간 축소 */
.checkout-modern .checkout-section{
 margin-bottom:10px!important;
 padding:13px 15px!important;
 border-radius:9px!important;
}
.checkout-modern .checkout-section-title{
 gap:8px!important;margin-bottom:10px!important;
}
.checkout-modern .checkout-section-title>span{
 width:29px!important;height:29px!important;border-radius:7px!important;font-size:13px!important;
}
.checkout-modern .checkout-section-title strong{font-size:14px!important}
.checkout-modern .checkout-section-title small{display:none!important}
.checkout-modern .checkout-fields{gap:9px!important}
.checkout-modern .checkout-field>span{
 margin:0 0 4px 1px!important;font-size:11px!important;
}
.checkout-modern .checkout-field input{
 height:40px!important;padding:0 11px!important;border-radius:7px!important;font-size:13px!important;
}
.checkout-modern .checkout-pay-options{gap:8px!important}
.checkout-modern .pay-card{
 min-height:58px!important;padding:9px 11px!important;
 grid-template-columns:34px 1fr!important;column-gap:8px!important;
}
.checkout-modern .pay-card>b{width:32px!important;height:32px!important;border-radius:7px!important;font-size:14px!important}
.checkout-modern .pay-card>strong{font-size:12px!important}
.checkout-modern .pay-card>small{font-size:9px!important}
.checkout-modern .checkout-bank{margin-top:9px!important;padding:10px 12px!important}
.checkout-modern .checkout-summary{margin-top:13px!important;padding:15px 4px!important}

@media(max-width:700px){
 .checkout-product-row{grid-template-columns:1fr 95px!important}
 .checkout-product-thumb{flex-basis:70px!important;width:70px!important;height:55px!important}
 .checkout-modern .checkout-fields{grid-template-columns:1fr!important}
}


/* =========================================================
   v23 cart product links + detail cart-only flow
   ========================================================= */

/* 상세보기 최상단 */
.product-view .pv-page-title{
 display:flex!important;align-items:center!important;
 height:43px!important;margin:0 0 19px!important;
 border-top:2px solid #303841!important;border-bottom:1px solid #e4e8eb!important;
}
.product-view .pv-page-title span{
 color:#27313a!important;font-size:15px!important;font-weight:850!important;letter-spacing:-.3px!important;
}

/* 상세에서는 장바구니를 거쳐 주문 */
.product-view .pv-cart-guide{
 display:flex!important;align-items:flex-start!important;gap:8px!important;
 margin:11px 0 12px!important;padding:10px 12px!important;
 border:1px solid #dce8e0!important;border-radius:7px!important;background:#f3f8f5!important;
}
.product-view .pv-cart-guide>span{
 flex:0 0 auto!important;color:#178047!important;font-size:14px!important;font-weight:900!important;
}
.product-view .pv-cart-guide p{
 margin:0!important;color:#66736b!important;font-size:12px!important;line-height:1.5!important;
}
.product-view .pv-cart-guide strong{color:#385646!important;font-weight:850!important}
.product-view .pv-buttons-cartonly{display:block!important}
.product-view .pv-buttons-cartonly .pv-cart-btn{
 width:100%!important;height:47px!important;
 border:1px solid #0a8f45!important;background:#0a8f45!important;color:#fff!important;
 font-size:14px!important;font-weight:900!important;
}
.product-view .pv-buttons-cartonly .pv-cart-btn:hover{background:#08783a!important}

/* 장바구니 상품 -> 상세보기 링크 */
.cart-product-link{display:flex!important;text-decoration:none!important}
.cart-name-link{
 display:block!important;margin-bottom:4px!important;
 color:#17202a!important;font-size:15px!important;font-weight:900!important;
 text-decoration:none!important;line-height:1.35!important;
}
.cart-name-link:hover{color:#08783a!important;text-decoration:underline!important;text-underline-offset:3px!important}
.cart-thumb.cart-product-link{cursor:pointer!important;transition:.15s!important}
.cart-thumb.cart-product-link:hover{border-color:#8db79d!important;box-shadow:0 0 0 2px rgba(10,143,69,.06)!important}


/* =========================================================
   v24 상세보기 정보 재배치 + 좌측 상품등록 버튼 중앙정렬
   ========================================================= */

/* 상세: 좌측 사진 + 하단 재고/최소구매/배달지역 */
.product-view .pv-left{
  min-width:0!important;
}
.product-view .pv-info-under-image{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  margin:11px 0 0!important;
  padding:0!important;
  border:1px solid #e2e7ea!important;
  border-radius:9px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.product-view .pv-info-under-image>div{
  display:grid!important;
  grid-template-columns:30px 92px minmax(0,1fr)!important;
  align-items:center!important;
  min-height:45px!important;
  padding:6px 12px!important;
  border-bottom:1px solid #edf0f2!important;
}
.product-view .pv-info-under-image>div:last-child{
  border-bottom:0!important;
}
.product-view .pv-info-under-image .pv-ico{
  width:23px!important;
  height:23px!important;
}
.product-view .pv-info-under-image em{
  color:#59646e!important;
  font-size:13px!important;
  font-weight:800!important;
}
.product-view .pv-info-under-image strong{
  color:#202a32!important;
  font-size:14px!important;
  font-weight:900!important;
}
.product-view .pv-info-under-image>div:nth-child(1) strong{color:#148044!important}
.product-view .pv-info-under-image>div:nth-child(2) strong{color:#8a641c!important}
.product-view .pv-info-under-image>div:nth-child(3) strong{color:#37434c!important}

/* 분류 옆에 상품명, 그 아래 설명 */
.product-view .pv-title-row{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  margin:0 0 8px!important;
}
.product-view .pv-title-row .pv-cat{
  flex:0 0 auto!important;
  margin:0!important;
  white-space:nowrap!important;
}
.product-view .pv-title-row h1{
  min-width:0!important;
  margin:0!important;
  font-size:25px!important;
  line-height:1.3!important;
}
.product-view .pv-title-row + .pv-desc{
  margin:0 0 4px!important;
  font-size:15px!important;
  line-height:1.6!important;
}

/* 우측 가격 위 여백 재정리 */
.product-view .pv-price{
  margin-top:21px!important;
}

/* 좌측 상품등록하기 버튼 중앙 */
.shop-sidebar .shop-side-write{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:calc(100% - 28px)!important;
  margin:8px 14px 16px!important;
  padding:0 10px!important;
  text-align:center!important;
  float:none!important;
}

@media(max-width:900px){
  .product-view .pv-title-row{
    align-items:flex-start!important;
    flex-wrap:wrap!important;
  }
  .product-view .pv-title-row h1{
    font-size:23px!important;
  }
}


/* =========================================================
   v25 ORDER MANAGEMENT - unified clean market design
   ========================================================= */
.order-admin-page{width:100%!important}
.order-admin-head{
 display:flex!important;align-items:center!important;gap:12px!important;
 margin-bottom:16px!important;padding:0 0 17px!important;border-bottom:2px solid #303841!important;
}
.order-admin-head-icon{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:39px!important;height:39px!important;border-radius:9px!important;
 background:#0a8f45!important;color:#fff!important;font-size:16px!important;font-weight:900!important;
}
.order-admin-head h2{margin:0!important;color:#17202a!important;font-size:25px!important;font-weight:900!important;letter-spacing:-.7px!important}
.order-admin-head p{margin:3px 0 0!important;color:#7d8790!important;font-size:12px!important}

.order-done{
 display:flex!important;align-items:center!important;gap:10px!important;
 margin:0 0 14px!important;padding:12px 14px!important;border:1px solid #cfe8d7!important;border-radius:8px!important;background:#f0f8f3!important;
}
.order-done>span{display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;border-radius:50%!important;background:#0a8f45!important;color:#fff!important;font-weight:900!important}
.order-done b{display:block!important;color:#23633f!important;font-size:13px!important}
.order-done small{display:block!important;margin-top:2px!important;color:#728078!important;font-size:10px!important}

.order-admin-section{margin:0 0 22px!important}
.order-section-title{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 margin-bottom:9px!important;padding:0 2px!important;
}
.order-section-title>div{display:flex!important;align-items:center!important;gap:9px!important}
.section-ico{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:31px!important;height:31px!important;border-radius:7px!important;background:#eef6f1!important;font-size:14px!important;
}
.order-section-title h3{margin:0!important;color:#27313a!important;font-size:16px!important;font-weight:900!important}
.order-section-title p{margin:1px 0 0!important;color:#929aa1!important;font-size:10px!important}

.order-admin-page .order-list{border:0!important;background:transparent!important;box-shadow:none!important}
.order-admin-page .order-card{
 box-sizing:border-box!important;width:100%!important;margin:0 0 9px!important;padding:14px 15px!important;
 border:1px solid #e1e6e9!important;border-radius:9px!important;background:#fff!important;
 box-shadow:0 2px 9px rgba(28,40,50,.035)!important;
}
.order-buy-card{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;
 min-height:84px!important;
}
.order-card-main{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important}
.order-card-badge{
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:8px!important;
 background:#eef8f2!important;color:#168048!important;font-size:10px!important;font-weight:900!important;
}
.order-card-copy{min-width:0!important}
.order-card-copy>b{display:block!important;color:#17202a!important;font-size:14px!important;font-weight:900!important}
.order-no{display:block!important;margin:2px 0 5px!important;color:#9199a0!important;font-size:9px!important}
.order-meta{display:flex!important;gap:13px!important;flex-wrap:wrap!important;color:#69747d!important;font-size:10px!important}
.order-meta strong{color:#3d4851!important;font-size:11px!important}
.order-meta .order-price{color:#c8241d!important;font-weight:900!important}
.order-admin-page .status{
 flex:0 0 auto!important;min-width:70px!important;padding:7px 10px!important;border-radius:15px!important;
 background:#f1f4f5!important;color:#58636c!important;text-align:center!important;font-size:10px!important;font-style:normal!important;font-weight:900!important;
}
.order-admin-page .status-주문접수{background:#fff5e7!important;color:#9a6519!important}
.order-admin-page .status-주문확인{background:#eef5fb!important;color:#39709b!important}
.order-admin-page .status-배달준비{background:#f3f0fb!important;color:#675795!important}
.order-admin-page .status-배달출발{background:#eef8f2!important;color:#148044!important}
.order-admin-page .status-배달완료{background:#edf1f2!important;color:#4c5962!important}

/* seller order */
.order-seller-card{padding:0!important;overflow:hidden!important}
.seller-order-top{
 display:grid!important;grid-template-columns:40px minmax(0,1fr) 130px!important;gap:11px!important;align-items:center!important;
 min-height:65px!important;padding:11px 14px!important;background:#fafbfb!important;border-bottom:1px solid #e8ecef!important;
}
.seller-badge{background:#fff4e6!important;color:#9b6417!important}
.seller-product b{display:block!important;color:#17202a!important;font-size:14px!important;font-weight:900!important}
.seller-product span{display:block!important;margin-top:2px!important;color:#949ca3!important;font-size:9px!important}
.seller-total{text-align:right!important;color:#c8241d!important;font-size:17px!important;font-weight:950!important}
.seller-total small{font-size:10px!important;margin-left:2px!important}

.seller-order-info{
 display:grid!important;grid-template-columns:1fr 1fr!important;column-gap:18px!important;
 padding:10px 14px!important;
}
.seller-order-info>div{
 display:grid!important;grid-template-columns:24px 70px minmax(0,1fr)!important;align-items:center!important;
 min-height:35px!important;border-bottom:1px solid #f0f2f3!important;
}
.seller-order-info>div.wide{grid-column:1/-1!important}
.info-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;border-radius:5px!important;background:#f0f5f2!important;color:#32714c!important;font-size:10px!important}
.seller-order-info em{color:#7b858d!important;font-size:10px!important;font-style:normal!important;font-weight:700!important}
.seller-order-info strong{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#303a42!important;font-size:11px!important;font-weight:800!important}

.seller-status-form{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
 padding:10px 14px!important;background:#f7f9f8!important;border-top:1px solid #e5e9ec!important;
}
.current-status{display:flex!important;align-items:center!important;gap:7px!important}
.current-status span{color:#7b858d!important;font-size:10px!important}
.current-status b{padding:5px 9px!important;border-radius:12px!important;background:#fff!important;border:1px solid #dce2e5!important;color:#36414a!important;font-size:10px!important}
.status-control{display:flex!important;align-items:center!important;gap:6px!important}
.status-control select{
 height:36px!important;padding:0 30px 0 10px!important;border:1px solid #ccd4d9!important;border-radius:7px!important;background:#fff!important;color:#354049!important;font-size:11px!important;font-weight:700!important;
}
.status-control button{
 height:36px!important;padding:0 12px!important;border:1px solid #0a8f45!important;border-radius:7px!important;background:#0a8f45!important;color:#fff!important;font-size:11px!important;font-weight:900!important;cursor:pointer!important;
}
.status-control button:hover{background:#08783a!important}
.status-control button span{margin-right:3px!important}

.order-empty{
 padding:34px 15px!important;border:1px dashed #d7dde1!important;border-radius:9px!important;background:#fafbfb!important;text-align:center!important;
}
.order-empty>span{display:block!important;margin-bottom:7px!important;font-size:23px!important}
.order-empty b{display:block!important;color:#515c65!important;font-size:13px!important}
.order-empty p{margin:4px 0 0!important;color:#939ba2!important;font-size:10px!important}

@media(max-width:700px){
 .order-buy-card{align-items:flex-start!important}
 .seller-order-top{grid-template-columns:40px minmax(0,1fr)!important}
 .seller-total{grid-column:2!important;text-align:left!important}
 .seller-order-info{grid-template-columns:1fr!important}
 .seller-order-info>div.wide{grid-column:auto!important}
 .seller-status-form{align-items:stretch!important;flex-direction:column!important}
 .status-control{display:grid!important;grid-template-columns:1fr 90px!important}
 .status-control select,.status-control button{width:100%!important}
}

/* v26 장바구니 / 주문내역 / 판매내역 분리 */
.shop-side-quick{padding-top:10px!important;padding-bottom:7px!important}
.shop-side-quick a{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:42px!important;padding:0 9px!important;margin:2px 0!important;
  border:0!important;border-radius:7px!important;color:#46515a!important;
}
.shop-side-quick a:hover{background:#f0f3f2!important;color:#1f4932!important}
.shop-side-quick a.on{background:#eaf5ee!important;color:#08783a!important;font-weight:900!important}
.shop-side-quick a span{font-size:12px!important;font-weight:800!important}
.shop-side-quick a b{display:flex!important;align-items:center!important;justify-content:center!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:10px!important;background:#0a8f45!important;color:#fff!important;font-size:9px!important}

/* v27 주문내역/판매내역 가독성 */
.shop-side-quick a span{
    font-size:14px!important;
    font-weight:850!important;
    letter-spacing:-.25px!important;
}
.shop-side-quick a{
    min-height:45px!important;
}
.order-admin-head h2{
    font-size:28px!important;
    line-height:1.25!important;
}
.order-section-title h3{
    font-size:18px!important;
}
.order-section-title p,
.order-admin-head p{
    font-size:12px!important;
}

/* v28 주문/판매내역 상품사진, 링크, 날짜, 배송상태 */
.order-product-thumb{
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 92px!important;width:92px!important;height:70px!important;
 border:1px solid #dfe4e7!important;border-radius:7px!important;background:#f5f6f6!important;
 overflow:hidden!important;text-decoration:none!important;
}
.order-product-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.order-product-thumb>span{color:#a1a8ad!important;font-size:9px!important}
.order-product-thumb:hover{border-color:#86b79a!important;box-shadow:0 0 0 2px rgba(10,143,69,.06)!important}
.order-buy-card .order-card-main{flex:1 1 auto!important}
.order-buy-card .order-card-copy{flex:1 1 auto!important}
.order-type-line{display:flex!important;align-items:center!important;gap:8px!important;margin-bottom:4px!important}
.order-type-line .order-card-badge{flex:0 0 auto!important;width:auto!important;height:22px!important;padding:0 7px!important;border-radius:5px!important}
.order-type-line .order-no{margin:0!important}
.order-product-name{
 display:inline-block!important;color:#17202a!important;font-size:15px!important;font-weight:900!important;
 line-height:1.35!important;text-decoration:none!important;
}
.order-product-name:hover{color:#08783a!important;text-decoration:underline!important;text-underline-offset:3px!important}
.order-meta-detail{margin-top:7px!important}
.order-meta-detail span{font-size:11px!important}
.order-meta-detail strong{font-size:12px!important}
.order-status-box{
 display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important;
 flex:0 0 90px!important;
}
.order-status-box>span{color:#7e8991!important;font-size:10px!important;font-weight:800!important}
.order-status-box .status{min-width:76px!important}

.seller-order-top-photo{
 grid-template-columns:92px minmax(0,1fr) 135px!important;
 min-height:96px!important;padding:12px 14px!important;
}
.seller-thumb{width:92px!important;height:70px!important}
.seller-order-top-photo .seller-product .order-type-line{margin-bottom:4px!important}
.seller-order-top-photo .seller-product .order-type-line>span:last-child{color:#949ca3!important;font-size:9px!important}
.seller-order-date{display:block!important;margin-top:5px!important;color:#7f8991!important;font-size:10px!important;font-weight:700!important}
.seller-top-right{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:7px!important}
.seller-top-right .status{min-width:76px!important}

@media(max-width:700px){
 .order-buy-card{gap:9px!important}
 .order-product-thumb{flex-basis:78px!important;width:78px!important;height:62px!important}
 .order-status-box{flex-basis:76px!important}
 .seller-order-top-photo{grid-template-columns:78px minmax(0,1fr)!important}
 .seller-thumb{width:78px!important;height:62px!important}
 .seller-top-right{grid-column:2!important;align-items:flex-start!important}
}

/* v29 판매내역 - 주문 단위 그룹형 */
.sales-v29,.sales-v29 *{box-sizing:border-box}
.sales-v29 .order-admin-head h2{font-size:26px!important;letter-spacing:-1px!important}
.sales-v29 .order-admin-head p{font-size:14px!important}
.sales-v29 .order-section-title h3{font-size:20px!important}
.sales-v29 .order-section-title p{font-size:13px!important}
.sales-order-group{border:1px solid #d9dfe3;border-radius:10px;background:#fff;margin:0 0 18px;overflow:hidden}
.sales-group-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;background:#f5f7f8;border-bottom:1px solid #dde2e5}
.sales-order-main{display:flex;align-items:center;gap:12px;min-width:0}
.sales-order-main>strong{font-size:18px;color:#17202a;letter-spacing:-.4px}
.sales-date{font-size:13px;color:#68737c}
.sales-order-summary{display:flex;align-items:center;gap:14px;white-space:nowrap}
.sales-order-summary>b{font-size:14px;color:#4c5963}
.sales-order-summary>strong{font-size:19px;color:#c32222}
.sales-products{padding:0 18px}
.sales-product-row{display:grid;grid-template-columns:88px minmax(0,1fr) 250px;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid #e8ebed}
.sales-product-row:last-child{border-bottom:0}
.sales-thumb{width:88px;height:66px;border:1px solid #dde2e5;border-radius:6px;overflow:hidden;background:#f5f6f6;display:flex;align-items:center;justify-content:center;text-decoration:none}
.sales-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.sales-thumb span{font-size:10px;color:#999}
.sales-product-name{display:inline-block;font-size:16px;font-weight:800;color:#17202a;text-decoration:none;line-height:1.35}
.sales-product-name:hover{color:#08783a;text-decoration:underline;text-underline-offset:3px}
.sales-product-meta{display:flex;gap:18px;margin-top:8px;font-size:13px;color:#66717a}
.sales-product-meta b{font-size:14px;color:#222}
.sales-status-side{display:flex;align-items:center;justify-content:flex-end;gap:9px}
.sales-status-side .status{font-size:13px!important;font-weight:800!important;min-width:76px!important;text-align:center!important}
.compact-status-form{display:flex!important;align-items:center!important;gap:6px!important;padding:0!important;margin:0!important;border:0!important;background:none!important}
.compact-status-form select{height:38px!important;min-width:105px!important;padding:0 8px!important;font-size:13px!important;border:1px solid #ccd3d8!important;border-radius:5px!important;background:#fff!important}
.compact-status-form button{height:38px!important;padding:0 12px!important;font-size:13px!important;font-weight:800!important;border:0!important;border-radius:5px!important;background:#303840!important;color:#fff!important;white-space:nowrap!important}
.sales-more-btn{width:100%;height:44px;border:0;border-top:1px solid #e1e5e8;background:#fafbfb;color:#34414a;font-size:14px;font-weight:800;cursor:pointer}
.sales-more-btn:hover{background:#f2f4f5}
.sales-customer-detail{display:none;grid-template-columns:1fr 1fr;gap:0 28px;padding:15px 18px 17px;background:#fafbfb;border-top:1px solid #e1e5e8}
.sales-customer-detail.open{display:grid}
.sales-customer-detail>div{display:grid;grid-template-columns:90px 1fr;gap:8px;padding:8px 0;border-bottom:1px solid #eceff1;font-size:14px}
.sales-customer-detail>div.wide{grid-column:1/-1}
.sales-customer-detail span{color:#6b757d;font-weight:700}
.sales-customer-detail strong{color:#17202a;font-size:14px;word-break:break-all}
.order-number-detail{margin-top:3px}
.order-number-detail strong{font-family:Arial,sans-serif;letter-spacing:.3px;color:#5f6970!important;font-size:13px!important}
@media(max-width:800px){
 .sales-group-head{align-items:flex-start;padding:14px}
 .sales-order-main{display:block}.sales-date{display:block;margin-top:4px}
 .sales-order-summary{display:block;text-align:right}.sales-order-summary>*{display:block}
 .sales-product-row{grid-template-columns:72px minmax(0,1fr);gap:10px;padding:12px 0}
 .sales-thumb{width:72px;height:58px}
 .sales-status-side{grid-column:1/-1;justify-content:flex-start;padding-left:82px}
 .sales-customer-detail{grid-template-columns:1fr}
 .sales-customer-detail>div,.sales-customer-detail>div.wide{grid-column:1}
}

/* v30 판매내역 v29 스타일을 주문내역/장바구니/주문하기 전체 통일 */
.unified-v30 .order-admin-head{display:flex!important;align-items:center!important;gap:12px!important;padding:0 0 17px!important;margin:0 0 20px!important;border-bottom:1px solid #dfe4e7!important;background:#fff!important}
.unified-v30 .order-admin-head-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;border-radius:8px!important;background:#f1f4f3!important;color:#25332d!important;font-size:18px!important}
.unified-v30 .order-admin-head h2{font-size:27px!important;margin:0!important;color:#17202a!important}
.unified-v30 .order-admin-head p{font-size:14px!important;margin:4px 0 0!important;color:#6c7780!important}
.buyer-product-row{grid-template-columns:88px minmax(0,1fr) 125px!important}
.buyer-delivery-status{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important}
.buyer-delivery-status>span{font-size:13px!important;font-weight:800!important;color:#68737c!important}
.buyer-delivery-status .status{font-size:13px!important;font-weight:900!important;min-width:86px!important;text-align:center!important}
.unified-cart-list{border:1px solid #d9dfe3!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important}
.unified-cart-list .cart-head{background:#f5f7f8!important;border-bottom:1px solid #dde2e5!important;min-height:46px!important;font-size:14px!important;font-weight:800!important}
.unified-cart-list .cart-row{min-height:100px!important;padding:14px 16px!important;border-bottom:1px solid #e8ebed!important}
.unified-cart-list .cart-row:last-child{border-bottom:0!important}
.unified-cart-list .cart-thumb{width:88px!important;height:66px!important;border-radius:6px!important}
.unified-cart-list .cart-name-link{font-size:16px!important;font-weight:850!important;color:#17202a!important}
.unified-cart-list .cart-copy>span{font-size:14px!important;color:#68737c!important;margin-top:5px!important}
.unified-cart-list .cart-qty input{height:40px!important;font-size:15px!important;font-weight:800!important;border:1px solid #ccd3d8!important;border-radius:6px!important}
.unified-cart-list .cart-sum{font-size:17px!important;color:#c32222!important}
.unified-cart-list .cart-delete{font-size:13px!important;font-weight:800!important}
.unified-v30 .cart-summary{margin-top:16px!important;padding:17px 18px!important;border:1px solid #d9dfe3!important;border-radius:9px!important;background:#f7f9f9!important}
.unified-v30 .cart-summary span{font-size:15px!important;font-weight:800!important}
.unified-v30 .cart-summary strong{font-size:23px!important;color:#c32222!important}
.unified-v30 .shop-actions a,.unified-v30 .shop-actions button{min-height:43px!important;padding:0 17px!important;font-size:14px!important;font-weight:800!important;border-radius:6px!important}

.unified-v30 .checkout-products,.unified-v30 .checkout-section{border:1px solid #d9dfe3!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important;margin-bottom:16px!important}
.unified-v30 .checkout-products-head,.unified-v30 .checkout-section-title{background:#f5f7f8!important;border-bottom:1px solid #dde2e5!important;padding:13px 16px!important}
.unified-v30 .checkout-products-head strong,.unified-v30 .checkout-section-title strong{font-size:16px!important}
.unified-v30 .checkout-product-row{padding:13px 16px!important;border-bottom:1px solid #e8ebed!important}
.unified-v30 .checkout-product-thumb{width:88px!important;height:66px!important;border-radius:6px!important;overflow:hidden!important;border:1px solid #dde2e5!important;display:flex!important}
.unified-v30 .checkout-product-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
.checkout-product-name{font-size:16px!important;font-weight:850!important;color:#17202a!important;text-decoration:none!important}
.checkout-product-name:hover{color:#08783a!important;text-decoration:underline!important}
.unified-v30 .checkout-product-copy small{font-size:13px!important}
.unified-v30 .checkout-product-sum{font-size:17px!important;color:#c32222!important}
.unified-v30 .checkout-fields{padding:14px 16px!important;gap:12px!important}
.unified-v30 .checkout-field>span{font-size:13px!important;font-weight:800!important}
.unified-v30 .checkout-field input{height:43px!important;font-size:14px!important;border-radius:6px!important}
.unified-v30 .checkout-pay-options{padding:14px 16px!important}
.unified-v30 .pay-card strong{font-size:15px!important}
.unified-v30 .checkout-summary{border:1px solid #d9dfe3!important;border-radius:9px!important;background:#f7f9f9!important;padding:17px 18px!important}
.unified-v30 .checkout-summary span{font-size:15px!important;font-weight:800!important}
.unified-v30 .checkout-summary strong{font-size:24px!important;color:#c32222!important}
.unified-v30 .checkout-bottom-actions a,.unified-v30 .checkout-bottom-actions button{min-height:44px!important;font-size:14px!important;font-weight:800!important;border-radius:6px!important}
@media(max-width:800px){
 .buyer-product-row{grid-template-columns:72px minmax(0,1fr)!important}
 .buyer-delivery-status{grid-column:2!important;align-items:flex-start!important}
}

/* =========================================================
   v31 상품등록 + 좌측메뉴 전면개편
   ========================================================= */
/* SIDEBAR */
.shop-sidebar{background:#f5f7f6!important;border:1px solid #dce2df!important;border-radius:11px!important;overflow:hidden!important;padding:0 13px 16px!important}
.shop-side-title{margin:0 -13px 0!important;padding:18px 16px!important;background:#26342d!important;border:0!important;display:flex!important;align-items:center!important;gap:10px!important}
.shop-side-title .shop-bag{display:flex!important;align-items:center!important;justify-content:center!important;width:35px!important;height:35px!important;border-radius:8px!important;background:#fff!important;color:#26342d!important;font-size:17px!important;font-weight:950!important}
.shop-side-title a{color:#fff!important;font-size:18px!important;font-weight:900!important;text-decoration:none!important}
.shop-side-title small{display:block!important;margin-top:2px!important;color:#bfc9c3!important;font-size:11px!important}
.side-section-label{margin:16px 3px 7px!important;color:#8a9590!important;font-size:9px!important;font-weight:900!important;letter-spacing:1.1px!important}
.shop-side-quick{padding:0!important;border:0!important}
.shop-side-quick a{min-height:45px!important;margin:3px 0!important;padding:0 11px!important;border-radius:7px!important;background:transparent!important;color:#3e4a44!important}
.shop-side-quick a span{font-size:14px!important;font-weight:800!important}
.shop-side-quick a:hover{background:#e9eeeb!important}
.shop-side-quick a.on{background:#fff!important;color:#08783a!important;box-shadow:0 1px 4px rgba(25,45,35,.09)!important}
.shop-side-quick a b{background:#26342d!important}
.side-market-label{margin-top:18px!important}
.shop-side-search{display:grid!important;grid-template-columns:1fr 38px!important;height:42px!important;margin:0 0 12px!important;border:1px solid #d4dcd8!important;border-radius:7px!important;background:#fff!important;overflow:hidden!important}
.shop-side-search input{width:100%!important;border:0!important;padding:0 11px!important;background:#fff!important;font-size:13px!important}
.shop-side-search button{border:0!important;border-left:1px solid #e1e5e3!important;background:#fff!important;color:#35443c!important;font-size:18px!important}
.shop-side-nav{padding:0!important;border:0!important}
.side-nav-title{padding:4px 8px 7px!important;color:#68746e!important;font-size:12px!important;font-weight:850!important}
.shop-side-nav a{min-height:39px!important;padding:0 10px!important;margin:2px 0!important;border-radius:6px!important;color:#4b5751!important;font-size:13px!important}
.shop-side-nav a:hover{background:#e9eeeb!important}
.shop-side-nav a.on{background:#e4eee8!important;color:#08783a!important;font-weight:900!important}
.shop-side-links{padding:0!important;margin:17px 0 0!important;border:0!important}
.shop-side-links .shop-side-write{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:44px!important;margin:0!important;border:0!important;border-radius:7px!important;background:#087f42!important;color:#fff!important;font-size:14px!important;font-weight:900!important;box-shadow:0 3px 8px rgba(8,127,66,.13)!important}
.shop-side-links .shop-side-write:hover{background:#076d39!important}

/* WRITE */
.write-v31 .write-page-head{display:flex!important;align-items:center!important;gap:12px!important;padding:0 0 18px!important;margin-bottom:18px!important;border-bottom:1px solid #dfe4e7!important}
.write-v31 .write-page-head .order-admin-head-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;border-radius:8px!important;background:#f1f4f3!important;color:#26342d!important;font-size:18px!important}
.write-v31 .write-page-head h2{margin:0!important;font-size:27px!important;color:#17202a!important;font-weight:900!important}
.write-v31 .write-page-head p{margin:4px 0 0!important;font-size:14px!important;color:#6c7780!important}
.write-card{margin:0 0 15px!important;border:1px solid #d9dfe3!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important}
.write-card>header{display:flex!important;align-items:center!important;gap:11px!important;padding:13px 16px!important;background:#f5f7f8!important;border-bottom:1px solid #dde2e5!important}
.write-card>header>span{display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;border-radius:7px!important;background:#26342d!important;color:#fff!important;font-size:11px!important;font-weight:900!important}
.write-card>header h3{margin:0!important;font-size:17px!important;color:#1d272f!important;font-weight:900!important}
.write-card>header p{margin:2px 0 0!important;font-size:12px!important;color:#7d878f!important}
.write-card-body{padding:16px!important}
.write-basic-grid{display:grid!important;grid-template-columns:190px 1fr!important;gap:12px!important;margin-bottom:13px!important}
.write-sales-grid{display:grid!important;grid-template-columns:1.25fr 1fr 1fr!important;gap:12px!important}
.write-field label{display:block!important;margin:0 0 6px!important;font-size:13px!important;color:#445059!important;font-weight:850!important}
.write-field label b{margin-left:4px!important;color:#c43a32!important;font-size:10px!important}
.write-field label small{margin-left:4px!important;color:#8a949b!important;font-size:10px!important}
.write-field input,.write-field select{box-sizing:border-box!important;width:100%!important;height:44px!important;padding:0 12px!important;border:1px solid #ccd4d9!important;border-radius:6px!important;background:#fff!important;color:#202a32!important;font-size:14px!important}
.write-field input:focus,.write-field select:focus{outline:0!important;border-color:#709b82!important;box-shadow:0 0 0 3px rgba(8,127,66,.06)!important}
.write-field.full{margin-top:0!important}
.delivery-field{margin-top:22px!important}
.input-unit{display:grid!important;grid-template-columns:1fr 42px!important;border:1px solid #ccd4d9!important;border-radius:6px!important;overflow:hidden!important}
.input-unit input{border:0!important;border-radius:0!important}
.input-unit span{display:flex!important;align-items:center!important;justify-content:center!important;background:#f5f7f8!important;border-left:1px solid #e0e4e7!important;color:#606b73!important;font-size:13px!important;font-weight:800!important}
.price-unit input{color:#c32222!important;font-size:16px!important;font-weight:900!important}
.badge-body{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.v31-discount{display:flex!important;align-items:center!important;gap:9px!important;height:45px!important;padding:0 11px!important;border:1px solid #d9dfe3!important;border-radius:7px!important;background:#fafbfb!important}
.v31-discount>span{font-size:13px!important;font-weight:850!important;color:#4a555d!important}
.v31-discount>div{display:flex!important;align-items:center!important}
.v31-discount input{width:58px!important;height:32px!important;border:1px solid #d4dade!important;border-radius:5px!important;text-align:center!important;font-size:14px!important;font-weight:900!important}
.v31-discount b{margin-left:4px!important;color:#c32222!important}
.v31-badge{cursor:pointer!important}
.v31-badge input{position:absolute!important;opacity:0!important}
.v31-badge span{display:flex!important;align-items:center!important;justify-content:center!important;height:45px!important;min-width:72px!important;padding:0 13px!important;border:1px solid #d9dfe3!important;border-radius:7px!important;background:#fff!important;color:#66717a!important;font-size:13px!important;font-weight:850!important}
.v31-badge input:checked+span{border-color:#26342d!important;background:#26342d!important;color:#fff!important}
.write-editor{font-size:14px!important}
.photo-fields{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:10px!important}
.photo-field>label:first-child{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:105px!important;border:1px dashed #bdc7c1!important;border-radius:8px!important;background:#fafbfb!important;cursor:pointer!important}
.photo-field>label:first-child>span{font-size:22px!important;color:#668074!important}
.photo-field>label:first-child strong{margin-top:4px!important;font-size:13px!important;color:#3f4b45!important}
.photo-field>label:first-child small{margin-top:2px!important;font-size:10px!important;color:#8b9590!important}
.photo-field input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}
.photo-delete{display:block!important;margin-top:5px!important;font-size:11px!important;color:#8b5555!important}
.write-bottom-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin-top:18px!important;padding-top:17px!important;border-top:1px solid #e0e4e7!important}
.write-bottom-actions a,.write-bottom-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:44px!important;padding:0 20px!important;border-radius:6px!important;font-size:14px!important;font-weight:900!important;text-decoration:none!important}
.write-bottom-actions a{border:1px solid #ccd4d9!important;background:#fff!important;color:#4a555d!important}
.write-bottom-actions button{min-width:145px!important;border:0!important;background:#087f42!important;color:#fff!important}
@media(max-width:800px){
 .write-basic-grid,.write-sales-grid{grid-template-columns:1fr!important}
 .photo-fields{grid-template-columns:1fr 1fr!important}
}

/* v32 최상단 홈바 + 좌측 타이틀 변경 */
.shop-layout{
  position:relative!important;
  padding-top:54px!important;
}
.shop-global-top{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  height:42px!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  border-top:2px solid #303a35!important;
  padding-top:8px!important;
  box-sizing:border-box!important;
}
.shop-home-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  height:31px!important;
  padding:0 12px!important;
  border:1px solid #d4dad7!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#3d4943!important;
  font-size:12px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.shop-home-btn span{
  font-size:15px!important;
  line-height:1!important;
}
.shop-home-btn:hover{
  border-color:#aebbb4!important;
  background:#f5f7f6!important;
  color:#08783a!important;
}
.shop-side-title{
  min-height:70px!important;
  padding:16px!important;
}
.shop-side-title>div{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}
.shop-side-title a{
  font-size:18px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}
.shop-side-title small{display:none!important}

@media(max-width:800px){
  .shop-layout{padding-top:50px!important}
  .shop-global-top{height:39px!important}
  .shop-home-btn{height:29px!important;font-size:12px!important}
}

/* =========================================================
   v33 쇼핑몰 타이포그래피 + 상단 홈바 + 좌측타이틀 정리
   ========================================================= */

/* 쇼핑 영역에만 적용되는 깔끔한 한글 폰트 */
.shop-layout,
.shop-layout input,
.shop-layout select,
.shop-layout textarea,
.shop-layout button{
  font-family:"Pretendard","SUIT","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif!important;
  letter-spacing:-0.25px;
}

/* 최상단: 버튼이 위, 라인은 아래 / 전체 1100 폭과 정확히 동일 */
.shop-layout{
  position:relative!important;
  padding-top:55px!important;
}
.shop-global-top{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  height:43px!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  padding:4px 0 9px!important;
  border-top:0!important;
  border-bottom:1px solid #cfd6d2!important;
  box-sizing:border-box!important;
}
.shop-home-btn{
  height:30px!important;
  padding:0 12px!important;
  border:1px solid #d7ddda!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#48534d!important;
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:-.2px!important;
}
.shop-home-btn span{font-size:14px!important;font-weight:500!important}

/* 좌측 상단: A 박스 완전 제거, 텍스트만 */
.shop-side-title{
  min-height:67px!important;
  margin:0 -13px!important;
  padding:0 17px!important;
  display:flex!important;
  align-items:center!important;
  background:#26342d!important;
  border:0!important;
}
.shop-side-title .shop-bag{display:none!important}
.shop-side-title>a{
  display:block!important;
  color:#fff!important;
  font-size:19px!important;
  line-height:1.3!important;
  font-weight:500!important;
  letter-spacing:-.55px!important;
  text-decoration:none!important;
}
.shop-side-title>a:hover{color:#fff!important}

/* 기존 과도한 굵기를 전체적으로 한 단계 정리 */
.shop-layout .shop-side-quick a span,
.shop-layout .shop-side-nav a,
.shop-layout .side-nav-title{
  letter-spacing:-.25px!important;
}
.shop-layout .shop-side-quick a span{font-weight:650!important}
.shop-layout .shop-side-nav a{font-weight:500!important}
.shop-layout .shop-side-nav a.on{font-weight:700!important}
.shop-layout .side-nav-title{font-weight:650!important}
.shop-layout .shop-side-links .shop-side-write{font-weight:700!important}

.shop-layout h1,
.shop-layout h2,
.shop-layout h3,
.shop-layout .product-name,
.shop-layout .sales-product-name,
.shop-layout .order-product-name,
.shop-layout .checkout-product-name{
  letter-spacing:-.55px!important;
}

/* 본문 기본 가독성 */
.shop-layout .product-name,
.shop-layout .sales-product-name,
.shop-layout .order-product-name,
.shop-layout .checkout-product-name{
  font-weight:700!important;
}
.shop-layout .order-admin-head h2,
.shop-layout .write-page-head h2{
  font-weight:750!important;
}
.shop-layout .order-section-title h3,
.shop-layout .write-card>header h3{
  font-weight:700!important;
}

@media(max-width:800px){
  .shop-layout{padding-top:51px!important}
  .shop-global-top{
    height:40px!important;
    padding:3px 0 8px!important;
  }
  .shop-side-title>a{font-size:18px!important}
}

/* v34 - 상단 정렬 + 1100px 끝선 + 둥근 타이포 */
.shop-layout,
.shop-layout *,
.shop-layout input,
.shop-layout select,
.shop-layout textarea,
.shop-layout button{
  font-family:"NanumSquareRound","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif!important;
}

.shop-layout{
  width:1100px!important;
  max-width:1100px!important;
  margin:12px auto 70px!important;
  padding-top:45px!important;
  display:grid!important;
  grid-template-columns:220px 1px 827px!important;
  column-gap:26px!important;
  position:relative!important;
  align-items:start!important;
  box-sizing:border-box!important;
}
.shop-layout:after{
  content:""!important;
  display:block!important;
  grid-column:2!important;
  grid-row:1!important;
  width:1px!important;
  min-height:100%!important;
  background:#e1e6e3!important;
}
.shop-sidebar{
  grid-column:1!important;
  grid-row:1!important;
  width:220px!important;
  min-width:220px!important;
  box-sizing:border-box!important;
}
.shop-content{
  grid-column:3!important;
  grid-row:1!important;
  width:827px!important;
  max-width:827px!important;
  min-width:0!important;
  padding-left:0!important;
  border-left:0!important;
  box-sizing:border-box!important;
}

.shop-global-top{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:1100px!important;
  height:35px!important;
  padding:0 0 5px!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  border:0!important;
  border-bottom:1px solid #cfd6d2!important;
  box-sizing:border-box!important;
}
.shop-home-btn{
  height:28px!important;
  padding:0 11px!important;
  border-radius:7px!important;
  font-size:12px!important;
  font-weight:500!important;
}
.shop-side-title>a{
  font-size:18px!important;
  font-weight:400!important;
  letter-spacing:-.45px!important;
}
.shop-layout h1,.shop-layout h2,.shop-layout h3{
  font-weight:650!important;
  letter-spacing:-.6px!important;
}
.shop-layout .product-name,
.shop-layout .order-product-name,
.shop-layout .sales-product-name,
.shop-layout .checkout-product-name{
  font-weight:650!important;
  letter-spacing:-.35px!important;
}
.shop-layout .shop-side-nav a,
.shop-layout .shop-side-quick a,
.shop-layout .side-nav-title{
  font-weight:500!important;
}
.shop-layout .shop-side-nav a.on{font-weight:650!important}

@media(max-width:800px){
  .shop-layout{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    margin:10px 12px 45px!important;
    padding-top:42px!important;
    display:block!important;
  }
  .shop-layout:after{display:none!important}
  .shop-global-top{width:100%!important;height:33px!important}
  .shop-sidebar{width:100%!important;min-width:0!important;margin-bottom:16px!important}
  .shop-content{width:100%!important;max-width:none!important}
}

/* =========================================================
   v35 - 쇼핑스킨 전체 나눔스퀘어라운드 통일
   ========================================================= */
.shop-layout,
.shop-layout *,
.shop-layout input,
.shop-layout select,
.shop-layout textarea,
.shop-layout button,
.shop-layout option,
.shop-layout table,
.shop-layout th,
.shop-layout td,
.shop-layout a,
.shop-layout span,
.shop-layout strong,
.shop-layout em,
.shop-layout label{
  font-family:'NanumSquareRound','Noto Sans KR','Malgun Gothic',sans-serif!important;
}

/* 전체는 Regular 위주, 필요한 정보만 Bold */
.shop-layout{
  font-weight:400!important;
}
.shop-side-title>a{
  font-family:'NanumSquareRound',sans-serif!important;
  font-weight:400!important;
}
.shop-layout h1,
.shop-layout h2,
.shop-layout h3{
  font-family:'NanumSquareRound',sans-serif!important;
  font-weight:700!important;
}
.shop-layout .product-name,
.shop-layout .order-product-name,
.shop-layout .sales-product-name,
.shop-layout .checkout-product-name{
  font-family:'NanumSquareRound',sans-serif!important;
  font-weight:700!important;
}
.shop-layout button,
.shop-layout .shop-side-nav a.on,
.shop-layout .shop-side-links .shop-side-write{
  font-family:'NanumSquareRound',sans-serif!important;
  font-weight:700!important;
}

/* v36 - 좌측 쇼핑몰명 중앙정렬 / 상단 홈버튼·라인 제거 */
.shop-side-title{
  justify-content:center!important;
  text-align:center!important;
}
.shop-side-title>a{
  width:100%!important;
  text-align:center!important;
}

/* 기존 상단 공간은 그대로 유지하되 홈버튼과 라인만 제거 */
.shop-global-top{
  height:35px!important;
  border:0!important;
  border-bottom:0!important;
  background:transparent!important;
  pointer-events:none!important;
}
.shop-global-top .shop-home-btn{
  display:none!important;
}

/* 상단 여백은 v35와 동일하게 유지 */
.shop-layout{
  padding-top:45px!important;
}


/* ==========================================================
   v40 MOBILE REBUILD
   PC 스타일과 분리하여 쇼핑 스킨 전체를 모바일 1열 구조로 재배치
   ========================================================== */
.shop-mobile-bar,.shop-mobile-dim{display:none}

@media screen and (max-width: 820px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body *{box-sizing:border-box}
  #wrapper,#container,#container_wr,.shop-wrap,.shop-layout{
    width:100%!important;max-width:100%!important;min-width:0!important;
  }
  .shop-layout{
    display:block!important;
    margin:0!important;
    padding:66px 12px 40px!important;
  }
  .shop-content{
    display:block!important;width:100%!important;max-width:none!important;
    min-width:0!important;margin:0!important;padding:0!important;border:0!important;
  }
  .shop-content > *{width:100%!important;max-width:100%!important;min-width:0!important}

  /* 모바일 헤더 */
  .shop-mobile-bar{
    display:flex!important;position:fixed!important;z-index:99990!important;
    top:0!important;left:0!important;right:0!important;height:54px!important;
    padding:0 14px!important;align-items:center!important;justify-content:space-between!important;
    background:#fff!important;border-bottom:1px solid #dfe5e1!important;
    box-shadow:0 2px 10px rgba(25,40,32,.06)!important;
  }
  .shop-mobile-brand{font-size:17px!important;font-weight:700!important;color:#203129!important;text-decoration:none!important}
  .shop-mobile-menu-btn{
    display:flex!important;width:40px!important;height:40px!important;border:0!important;border-radius:9px!important;
    background:#f0f4f2!important;align-items:center!important;justify-content:center!important;
    flex-direction:column!important;gap:4px!important;padding:0!important
  }
  .shop-mobile-menu-btn span{display:block!important;width:20px!important;height:2px!important;background:#26372f!important;border-radius:2px!important}
  .shop-mobile-dim{position:fixed!important;z-index:99991!important;inset:0!important;background:rgba(10,20,15,.38)!important}
  .mobile-menu-open .shop-mobile-dim{display:block!important}

  /* PC 좌측 사이드바 -> 우측 드로어 */
  .shop-sidebar{
    display:block!important;position:fixed!important;z-index:99992!important;
    top:0!important;right:0!important;left:auto!important;
    width:min(84vw,320px)!important;max-width:320px!important;height:100dvh!important;
    min-height:100vh!important;margin:0!important;padding:0 14px 30px!important;
    overflow-y:auto!important;background:#f5f7f6!important;border:0!important;border-radius:0!important;
    box-shadow:-10px 0 35px rgba(20,35,28,.18)!important;
    transform:translateX(105%)!important;transition:transform .22s ease!important
  }
  .mobile-menu-open .shop-sidebar{transform:translateX(0)!important}
  .shop-side-title{margin:0 -14px 10px!important;padding:0 18px!important;height:64px!important;min-height:64px!important;border-radius:0!important;display:flex!important;align-items:center!important}
  .shop-side-title a{font-size:18px!important}
  .shop-side-quick a,.shop-side-nav a{font-size:15px!important;min-height:44px!important}
  .shop-side-search{height:44px!important}

  /* 공통 페이지 타이틀 */
  .shop-top,.order-admin-head,.write-page-head,.cart-page-head,.checkout-head,.view-page-head{
    width:100%!important;margin:0 0 14px!important;padding:0 0 13px!important;
  }
  .shop-top h2,.order-admin-head h2,.write-page-head h2,.cart-page-head h2,.checkout-head h2,.view-page-head h2{
    font-size:23px!important;line-height:1.3!important;margin:0 0 4px!important
  }
  .shop-top p,.order-admin-head p,.write-page-head p,.cart-page-head p,.checkout-head p{
    font-size:14px!important;line-height:1.5!important
  }

  /* ================= 상품 리스트 ================= */
  .product-grid{display:block!important;width:100%!important;border-top:2px solid #303b35!important}
  .product-head{display:none!important}
  .product-card{
    display:grid!important;width:100%!important;min-width:0!important;
    grid-template-columns:96px minmax(0,1fr)!important;
    grid-template-areas:
      "main main"
      ". price"
      ". stock"
      "cart cart"!important;
    column-gap:12px!important;row-gap:0!important;
    padding:15px 0!important;margin:0!important;border-bottom:1px solid #e1e5e3!important
  }
  .product-main{
    grid-area:main!important;display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;
    gap:12px!important;width:100%!important;min-width:0!important
  }
  .product-img{display:block!important;width:96px!important;height:78px!important;min-width:96px!important;margin:0!important;border-radius:8px!important;overflow:hidden!important}
  .product-img img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
  .product-copy{width:auto!important;min-width:0!important;padding:1px 0 0!important}
  .product-name{display:block!important;font-size:17px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .product-copy p{font-size:13px!important;line-height:1.4!important;margin:4px 0 6px!important}
  .product-copy i{font-size:12px!important}
  .product-seller{display:none!important}
  .product-price{grid-area:price!important;display:block!important;margin:9px 0 4px!important;text-align:left!important;font-size:19px!important;line-height:1.3!important}
  .product-stock{grid-area:stock!important;display:flex!important;flex-wrap:wrap!important;gap:5px 12px!important;margin:0 0 9px!important;font-size:13px!important;line-height:1.4!important}
  .quick-cart{
    grid-area:cart!important;display:flex!important;width:100%!important;min-width:0!important;
    align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin-top:3px!important
  }
  .qty-box{display:flex!important;flex:0 0 122px!important;width:122px!important;height:40px!important}
  .qty-box button{display:block!important;flex:0 0 36px!important;width:36px!important;height:40px!important;font-size:18px!important}
  .qty-box input{display:block!important;flex:1!important;width:50px!important;min-width:0!important;height:40px!important;font-size:15px!important;text-align:center!important}
  .quick-cart .cart{flex:0 0 118px!important;width:118px!important;height:40px!important;font-size:14px!important;padding:0 8px!important}

  /* ================= 상세보기 ================= */
  .view-top,.shop-view-main,.view-product-main,.product-view-top,.shop-view-wrap{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important
  }
  .view-hero,.view-product-box,.product-detail-top{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important
  }
  .view-photo,.shop-view-image,.view-image,.product-view-image{
    display:block!important;width:100%!important;max-width:100%!important;height:auto!important;
    margin:0 0 16px!important;padding:0!important
  }
  .view-photo img,.shop-view-image img,.view-image img,.product-view-image img{
    display:block!important;width:100%!important;max-width:100%!important;height:auto!important;
    max-height:330px!important;object-fit:contain!important;margin:0 auto!important
  }
  .view-info,.shop-view-info,.view-product-info,.product-view-info{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important
  }
  .view-title{font-size:22px!important;line-height:1.35!important}
  .view-price{font-size:24px!important}
  .view-meta,.view-stock,.view-delivery{font-size:14px!important;line-height:1.65!important}
  .view-buy-row,.view-cart-row{display:flex!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important}
  .view-description,.view-content,.product-description{width:100%!important;max-width:100%!important;overflow:hidden!important}
  .view-description img,.view-content img,.product-description img{max-width:100%!important;height:auto!important}

  /* ================= 장바구니 ================= */
  .cart-list,.cart-wrap,.cart-page{width:100%!important;max-width:100%!important}
  .cart-item{
    display:grid!important;width:100%!important;min-width:0!important;
    grid-template-columns:82px minmax(0,1fr)!important;gap:10px 12px!important;
    padding:14px 0!important;margin:0!important
  }
  .cart-item img,.cart-thumb img{width:82px!important;height:68px!important;object-fit:cover!important;border-radius:7px!important}
  .cart-item-info,.cart-product-info{min-width:0!important;width:auto!important}
  .cart-item-name,.cart-product-name{font-size:16px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .cart-qty,.cart-price,.cart-item-price{font-size:14px!important}
  .cart-total,.checkout-total{width:100%!important;margin-top:16px!important;text-align:right!important}
  .cart-actions,.checkout-actions{display:flex!important;width:100%!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:8px!important}

  /* ================= 주문하기 ================= */
  .checkout-wrap,.checkout-page,.checkout-card{width:100%!important;max-width:100%!important;min-width:0!important}
  .checkout-products,.checkout-product-list{width:100%!important}
  .checkout-product{
    display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;
    gap:10px!important;width:100%!important;min-width:0!important;padding:12px!important
  }
  .checkout-product img{width:72px!important;height:62px!important;object-fit:cover!important}
  .checkout-form-grid,.checkout-info-grid,.delivery-grid{
    display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:10px!important
  }
  .checkout-card{padding:13px!important}
  .checkout-card input,.checkout-card textarea,.checkout-card select{width:100%!important;max-width:100%!important;font-size:15px!important}
  .checkout-card input,.checkout-card select{height:44px!important}

  /* ================= 주문내역 / 판매내역 ================= */
  .orders-wrap,.sales-wrap,.order-admin,.order-list,.sales-list{
    width:100%!important;max-width:100%!important;min-width:0!important
  }
  .order-group,.sales-order-card,.order-card,.sales-card{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0 0 14px!important;border-radius:10px!important;overflow:hidden!important
  }
  .order-group-head,.sales-order-head,.order-card-head,.sales-card-head{
    display:flex!important;flex-wrap:wrap!important;align-items:center!important;
    gap:5px 10px!important;width:100%!important;padding:12px!important
  }
  .order-product,.sales-product,.order-item,.sales-item{
    display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;
    gap:10px 12px!important;width:100%!important;min-width:0!important;padding:12px!important
  }
  .order-product img,.sales-product img,.order-item img,.sales-item img{
    width:72px!important;height:62px!important;object-fit:cover!important;border-radius:7px!important
  }
  .order-product-info,.sales-product-info,.order-item-info,.sales-item-info{min-width:0!important;width:auto!important}
  .order-product-name,.sales-product-name{font-size:16px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .order-status,.sales-status{font-size:13px!important}
  .order-detail,.sales-detail,.order-more-content,.sales-more-content{width:100%!important;max-width:100%!important;overflow:hidden!important}
  .order-actions,.sales-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;width:100%!important}

  /* ================= 상품등록 ================= */
  .write-page,.write-wrap,.write-card,.write-card-body{width:100%!important;max-width:100%!important;min-width:0!important}
  .write-basic-grid,.write-sales-grid,.write-grid{
    display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important
  }
  .write-card{margin-bottom:13px!important}
  .write-card>header{padding:12px!important}
  .write-card-body{padding:13px!important}
  .write-field{width:100%!important;min-width:0!important}
  .write-field input,.write-field select,.write-field textarea{width:100%!important;max-width:100%!important;font-size:15px!important}
  .write-field input,.write-field select{height:44px!important}
  .photo-fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  .write-bottom-actions{position:static!important;width:100%!important;display:flex!important;gap:8px!important}
  .write-bottom-actions>*{flex:1!important;min-height:44px!important}

  /* 표가 남아 있는 경우 강제 스크롤 대신 모바일 블록화 */
  .shop-content table{width:100%!important;max-width:100%!important;table-layout:fixed!important}
  .shop-content td,.shop-content th{overflow-wrap:anywhere!important}

  /* 긴 텍스트/폼 공통 */
  .shop-content img{max-width:100%;height:auto}
  .shop-content input,.shop-content select,.shop-content textarea,.shop-content button{max-width:100%}
}

@media screen and (max-width:480px){
  .shop-layout{padding-left:10px!important;padding-right:10px!important}
  .product-card{grid-template-columns:84px minmax(0,1fr)!important}
  .product-main{grid-template-columns:84px minmax(0,1fr)!important}
  .product-img{width:84px!important;min-width:84px!important;height:70px!important}
  .quick-cart{justify-content:stretch!important}
  .qty-box{flex:0 0 116px!important;width:116px!important}
  .quick-cart .cart{flex:1!important;width:auto!important;min-width:0!important}
  .photo-fields{grid-template-columns:1fr!important}
  .order-product,.sales-product,.order-item,.sales-item{grid-template-columns:64px minmax(0,1fr)!important}
  .order-product img,.sales-product img,.order-item img,.sales-item img{width:64px!important;height:56px!important}
}

/* ==========================================================
   v41 MOBILE FIX - 실제 list.skin.php / view.skin.php 구조 기준
   ========================================================== */
@media screen and (max-width:820px){
  /* 공통: 과거 PC/태블릿 min-width 완전 해제 */
  .shop-home,.product-grid,.shop-home .product-grid,.product-view,
  .product-view .pv-top,.product-view .pv-left,.product-view .pv-buy,
  .product-view .pv-content,.product-view .pv-bottom{
    width:100%!important;max-width:100%!important;min-width:0!important;
  }

  /* 리스트: 모바일 쇼핑앱형 압축 카드 */
  .shop-home .product-grid{border-top:1px solid #e2e7e4!important;padding-top:10px!important}
  .shop-home .product-head{display:none!important}
  .shop-home .product-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 112px!important;
    grid-template-areas:
      "main main"
      "price stock"
      "price cart"!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    min-height:0!important;height:auto!important;
    margin:0 0 12px!important;padding:13px!important;
    gap:8px 12px!important;
    border:1px solid #dfe6e2!important;border-radius:12px!important;
    background:#fff!important;overflow:hidden!important;
    box-shadow:0 2px 8px rgba(24,43,34,.035)!important;
  }
  .shop-home .product-main{
    grid-area:main!important;display:grid!important;
    grid-template-columns:88px minmax(0,1fr)!important;
    gap:12px!important;width:100%!important;min-width:0!important;
    align-items:start!important;
  }
  .shop-home .product-img{
    width:88px!important;height:74px!important;min-width:88px!important;
    border-radius:8px!important;margin:0!important;
  }
  .shop-home .product-img img{width:100%!important;height:100%!important;object-fit:cover!important}
  .shop-home .product-badges{left:4px!important;top:4px!important;gap:3px!important}
  .shop-home .product-badges b{height:20px!important;padding:0 6px!important;font-size:10px!important}
  .shop-home .product-copy{padding:0!important;min-width:0!important}
  .shop-home .product-name{font-size:17px!important;line-height:1.3!important;margin:1px 0 3px!important}
  .shop-home .product-copy p{font-size:13px!important;line-height:1.35!important;margin:0 0 5px!important;color:#7c858d!important}
  .shop-home .product-copy i{font-size:11px!important;padding:4px 8px!important}
  .shop-home .product-price{
    grid-area:price!important;align-self:center!important;margin:0!important;
    font-size:20px!important;line-height:1.2!important;color:#c72c22!important;font-weight:900!important;text-align:left!important;
  }
  .shop-home .product-stock{
    grid-area:stock!important;display:flex!important;flex-direction:column!important;
    align-items:flex-start!important;justify-content:center!important;gap:2px!important;
    margin:0!important;padding:0!important;font-size:12px!important;line-height:1.35!important;
  }
  .shop-home .product-stock .stock-now{color:#26824c!important;font-weight:700!important}
  .shop-home .product-stock .stock-min{color:#946c22!important;font-weight:700!important}
  .shop-home .quick-cart{
    grid-area:cart!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;
    width:100%!important;min-width:0!important;gap:6px!important;margin:0!important;
  }
  .shop-home .qty-box{flex:0 0 108px!important;width:108px!important;height:36px!important}
  .shop-home .qty-box button{flex:0 0 32px!important;width:32px!important;height:36px!important;font-size:17px!important}
  .shop-home .qty-box input{height:36px!important;width:44px!important;font-size:14px!important}
  .shop-home .quick-cart .cart{
    flex:0 0 104px!important;width:104px!important;height:36px!important;padding:0 6px!important;
    background:#21864a!important;border-color:#21864a!important;color:#fff!important;font-size:13px!important;font-weight:700!important;
  }

  /* 상세: 사진 -> 정보 -> 상품명/가격/장바구니, 완전 1열 */
  .product-view .pv-page-title{margin:0 0 12px!important;padding:0 0 10px!important;border-bottom:2px solid #2e3933!important}
  .product-view .pv-page-title span{font-size:18px!important;font-weight:700!important}
  .product-view .pv-top{
    display:block!important;grid-template-columns:none!important;
    gap:0!important;padding:0!important;border:0!important;
  }
  .product-view .pv-left{display:block!important;margin:0 0 16px!important}
  .product-view .pv-image{
    display:flex!important;width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;aspect-ratio:4/3!important;margin:0!important;
    align-items:center!important;justify-content:center!important;
    border-radius:11px!important;background:#f7f8f7!important;overflow:hidden!important;
  }
  .product-view .pv-image img{
    display:block!important;width:100%!important;height:100%!important;max-width:100%!important;
    object-fit:contain!important;margin:0 auto!important;background:#fff!important;
  }
  .product-view .pv-info-under-image{margin:10px 0 0!important;border-radius:10px!important}
  .product-view .pv-info-under-image>div{
    grid-template-columns:28px 86px minmax(0,1fr)!important;
    min-height:44px!important;padding:6px 10px!important;
  }
  .product-view .pv-info-under-image em{font-size:14px!important}
  .product-view .pv-info-under-image strong{font-size:15px!important;overflow-wrap:anywhere!important}
  .product-view .pv-buy{display:block!important;width:100%!important;padding:0!important;margin:0!important}
  .product-view .view-product-badges{margin:0 0 10px!important;flex-wrap:wrap!important}
  .product-view .pv-title-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin:0 0 6px!important}
  .product-view .pv-title-row h1{font-size:23px!important;line-height:1.3!important}
  .product-view .pv-desc{font-size:15px!important;line-height:1.5!important}
  .product-view .pv-price{margin:17px 0 14px!important;padding:0 0 14px!important;font-size:28px!important}
  .product-view .pv-price:before{font-size:13px!important;margin-right:10px!important}
  .product-view .pv-order{margin:0!important;padding:13px!important}
  .product-view .pv-qty-row{margin:0 0 10px!important}
  .product-view .pv-qty-row label{font-size:14px!important}
  .product-view .pv-qty-box{grid-template-columns:40px 56px 40px!important;height:42px!important}
  .product-view .pv-qty-box button{width:40px!important;height:40px!important}
  .product-view .pv-qty-box input{width:56px!important;height:40px!important;font-size:15px!important}
  .product-view .pv-cart-guide{font-size:13px!important;line-height:1.45!important}
  .product-view .pv-buttons-cartonly{display:block!important;width:100%!important}
  .product-view .pv-cart-btn{width:100%!important;height:44px!important;background:#21864a!important;color:#fff!important;border-color:#21864a!important}
  .product-view .pv-content{margin-top:18px!important}
  .product-view .pv-content-body{padding:16px 2px!important;font-size:15px!important;overflow:hidden!important}
  .product-view .pv-content-body img{display:block!important;max-width:100%!important;height:auto!important;margin-left:auto!important;margin-right:auto!important}
  .product-view .pv-bottom{margin-top:16px!important;padding-top:14px!important}
  .product-view .pv-bottom a{height:40px!important;font-size:14px!important}
}

@media screen and (max-width:480px){
  .shop-home .product-card{grid-template-columns:minmax(0,1fr) 102px!important;padding:11px!important;gap:7px 9px!important}
  .shop-home .product-main{grid-template-columns:78px minmax(0,1fr)!important;gap:10px!important}
  .shop-home .product-img{width:78px!important;min-width:78px!important;height:66px!important}
  .shop-home .product-price{font-size:18px!important}
  .shop-home .qty-box{flex-basis:96px!important;width:96px!important}
  .shop-home .qty-box button{flex-basis:29px!important;width:29px!important}
  .shop-home .quick-cart .cart{flex-basis:96px!important;width:96px!important;font-size:12px!important}
}

/* ===== AP SHOP v52 : green market design for all shop sub pages ===== */
.shop-layout{max-width:1280px!important;margin:0 auto!important;padding:28px 22px 70px!important;display:grid!important;grid-template-columns:225px minmax(0,1fr)!important;gap:24px!important;background:#f5f7f6!important;font-family:Pretendard,"Noto Sans KR",Arial,sans-serif!important;box-sizing:border-box!important}
.shop-layout *{box-sizing:border-box!important}
.shop-global-top{grid-column:1/-1!important;margin:0 0 -8px!important}
.shop-home-btn{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:8px 12px!important;border:1px solid #dce6e0!important;border-radius:10px!important;background:#fff!important;color:#617168!important;font-size:12px!important;text-decoration:none!important}
.shop-sidebar{width:auto!important;float:none!important;position:sticky!important;top:18px!important;align-self:start!important;background:#fff!important;border:1px solid #e1e8e4!important;border-radius:20px!important;padding:20px!important;box-shadow:0 7px 28px rgba(25,54,43,.04)!important;overflow:hidden!important}
.shop-side-title{padding:0 2px 18px!important;margin:0 0 17px!important;border-bottom:1px solid #edf1ef!important;font-size:20px!important;line-height:1.25!important;letter-spacing:-.045em!important}
.shop-side-title a{color:#17372b!important;font-weight:500!important;text-decoration:none!important}
.side-section-label,.side-nav-title{font-size:10px!important;color:#96a09a!important;font-weight:800!important;letter-spacing:.14em!important;margin:4px 4px 10px!important}
.shop-side-quick{display:grid!important;gap:5px!important;margin:0 0 23px!important}.shop-side-quick a,.shop-side-nav a{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:10px 11px!important;border-radius:9px!important;color:#526159!important;font-size:13px!important;text-decoration:none!important;border:0!important;background:transparent!important}.shop-side-quick a.on,.shop-side-quick a:hover,.shop-side-nav a.on,.shop-side-nav a:hover{background:#e8f4ed!important;color:#087442!important;font-weight:700!important}.shop-side-quick b{display:inline-flex!important;min-width:19px!important;height:19px!important;align-items:center!important;justify-content:center!important;border-radius:20px!important;background:#116b47!important;color:#fff!important;font-size:10px!important}.shop-side-search{display:flex!important;height:39px!important;border:1px solid #d9e2dd!important;border-radius:11px!important;overflow:hidden!important;margin:0 0 14px!important;background:#fff!important}.shop-side-search input{min-width:0!important;flex:1!important;border:0!important;outline:0!important;padding:0 10px!important;background:#fff!important;font-size:12px!important}.shop-side-search button{width:38px!important;border:0!important;background:#fff!important;color:#116b47!important}.shop-side-nav{display:grid!important;gap:4px!important}.shop-side-links{margin-top:16px!important}.shop-side-write{display:block!important;text-align:center!important;padding:10px!important;border-radius:10px!important;background:#116b47!important;color:#fff!important;font-size:12px!important;text-decoration:none!important}
.shop-content{min-width:0!important;width:auto!important;float:none!important;margin:0!important;padding:0!important}.shop-sub{background:#fff!important;border:1px solid #e1e8e4!important;border-radius:20px!important;padding:22px!important;box-shadow:0 7px 28px rgba(25,54,43,.04)!important;overflow:hidden!important}.order-admin-head{display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 20px!important;padding:0 0 18px!important;border-bottom:1px solid #e7ece9!important}.order-admin-head-icon{display:flex!important;width:42px!important;height:42px!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;background:#edf6f1!important;font-size:20px!important}.order-admin-head h2{margin:0 0 4px!important;color:#17372b!important;font-size:25px!important;font-weight:600!important;letter-spacing:-.045em!important}.order-admin-head p{margin:0!important;color:#849087!important;font-size:12px!important}.cart-count{margin-left:auto!important;padding:6px 9px!important;border-radius:20px!important;background:#edf6f1!important;color:#116b47!important;font-size:11px!important;font-weight:700!important}
.shop-layout button,.shop-layout input,.shop-layout select,.shop-layout textarea{font-family:inherit!important}.shop-actions a.primary,.shop-actions button.primary,.checkout-submit,.order-submit{background:#0b8a52!important;color:#fff!important;border-color:#0b8a52!important;border-radius:10px!important}.shop-empty,.order-empty{border:1px dashed #dce5e0!important;border-radius:14px!important;background:#fafcfb!important;color:#7c8981!important}
.shop-mobile-bar,.shop-mobile-dim{display:none!important}
@media(max-width:980px){.shop-layout{display:block!important;padding:12px 10px 78px!important}.shop-global-top{display:none!important}.shop-mobile-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 0 10px!important;padding:15px 16px!important;border-radius:16px!important;background:linear-gradient(125deg,#153b2d,#116b47 65%,#15945a)!important;box-shadow:0 12px 28px rgba(23,55,43,.12)!important}.shop-mobile-brand{color:#fff!important;text-decoration:none!important;font-size:20px!important;font-weight:500!important;letter-spacing:-.04em!important}.shop-mobile-menu-btn{display:flex!important;width:34px!important;height:34px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:9px!important;background:rgba(255,255,255,.12)!important}.shop-mobile-menu-btn span{display:block!important;width:15px!important;height:1.5px!important;background:#fff!important}.shop-sidebar{display:none!important;position:fixed!important;z-index:10002!important;left:12px!important;right:12px!important;top:70px!important;max-height:calc(100dvh - 90px)!important;overflow:auto!important}.shop-layout.mobile-menu-open .shop-sidebar{display:block!important}.shop-mobile-dim{position:fixed!important;z-index:10001!important;inset:0!important;background:rgba(10,25,18,.32)!important}.shop-layout.mobile-menu-open .shop-mobile-dim{display:block!important}.shop-sub{padding:14px!important;border-radius:15px!important}.order-admin-head{margin-bottom:14px!important;padding-bottom:13px!important}.order-admin-head h2{font-size:20px!important}}
@media(max-width:520px){.shop-layout{padding-left:7px!important;padding-right:7px!important}.shop-mobile-bar{padding:13px 14px!important}.shop-mobile-brand{font-size:19px!important}.shop-sub{padding:10px!important}.order-admin-head-icon{width:36px!important;height:36px!important;font-size:17px!important}.order-admin-head h2{font-size:19px!important}.order-admin-head p{font-size:10.5px!important}}

/* ===== v61 ORDER / SALES LIST REBUILD ===== */
.ap-history-list{display:grid;gap:12px;width:100%}
.ap-history-card{background:#fff;border:1px solid #e1e8e4;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px rgba(23,55,43,.035)}
.ap-history-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:#f8faf9;border-bottom:1px solid #e7ece9}
.ap-history-title{min-width:0}.ap-history-title strong{display:block;font-size:15px;line-height:1.35;color:#21372e}.ap-history-title span{display:block;margin-top:3px;font-size:11px;color:#87928c}
.ap-history-total{flex:0 0 auto;text-align:right}.ap-history-total span{display:block;font-size:10px;color:#8a958f}.ap-history-total strong{display:block;margin-top:2px;font-size:17px;color:#e6322c}
.ap-history-items{display:grid}.ap-history-item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #edf1ef}.ap-history-item:last-child{border-bottom:0}
.ap-history-thumb{display:block;width:72px;height:60px;border-radius:9px;overflow:hidden;background:#eef2f0}.ap-history-thumb img{width:100%;height:100%;object-fit:cover}.ap-history-thumb span{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:8px;color:#9aa39e}
.ap-history-copy{min-width:0}.ap-history-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;color:#263c32}.ap-history-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px;font-size:11px;color:#7e8983}.ap-history-meta b{color:#394b43}
.ap-history-state{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:100px}.ap-history-state-label{font-size:10px;color:#89948e}.ap-history-state .status{white-space:nowrap}
.ap-history-status-form{display:flex;align-items:center;gap:5px}.ap-history-status-form select{height:30px;min-width:92px;border:1px solid #dbe3df;border-radius:7px;background:#fff;padding:0 5px;font-size:10px}.ap-history-status-form button{height:30px;border:0;border-radius:7px;background:#116b47;color:#fff;padding:0 9px;font-size:10px;font-weight:700}
.ap-history-more{display:block;width:100%;height:36px;border:0;border-top:1px solid #edf1ef;background:#fbfcfb;color:#647169;font-size:11px;cursor:pointer}.ap-history-detail{display:none;padding:12px 16px;background:#f8faf9;border-top:1px solid #edf1ef;grid-template-columns:1fr 1fr;gap:8px 16px}.ap-history-detail.open{display:grid}.ap-history-detail div{min-width:0}.ap-history-detail span{display:block;font-size:9px;color:#929c96;margin-bottom:2px}.ap-history-detail strong{display:block;font-size:11px;color:#394b43;overflow-wrap:anywhere}.ap-history-detail .wide{grid-column:1/-1}
@media(max-width:980px){
 .ap-history-list{gap:9px}.ap-history-card{border-radius:13px}.ap-history-head{padding:10px 11px;gap:8px}.ap-history-title strong{font-size:13px}.ap-history-title span{font-size:9.5px}.ap-history-total span{font-size:9px}.ap-history-total strong{font-size:15px}
 .ap-history-item{grid-template-columns:64px minmax(0,1fr);gap:9px;padding:10px 11px}.ap-history-thumb{width:64px;height:54px}.ap-history-name{font-size:13px}.ap-history-meta{font-size:10px;margin-top:4px;gap:3px 9px}
 .ap-history-state{grid-column:1/-1;justify-content:space-between;min-width:0;padding-top:7px;border-top:1px dashed #e6ebe8}.ap-history-state-label{font-size:9px}.ap-history-state .status{font-size:10px!important}
 .ap-history-status-form{width:100%;justify-content:flex-end}.ap-history-status-form select{height:29px;min-width:100px;flex:0 1 130px}.ap-history-status-form button{height:29px}
 .ap-history-more{height:33px;font-size:10px}.ap-history-detail{padding:10px 11px;gap:7px 12px}.ap-history-detail span{font-size:8.5px}.ap-history-detail strong{font-size:10.5px}
}
@media(max-width:420px){.ap-history-head{align-items:flex-start}.ap-history-total strong{font-size:14px}.ap-history-item{grid-template-columns:58px minmax(0,1fr);gap:8px}.ap-history-thumb{width:58px;height:50px}.ap-history-detail{grid-template-columns:1fr}.ap-history-detail .wide{grid-column:auto}}

/* v62 square top menu/header */
.shop-mobile-bar{border-radius:0!important}

/* ===== v63 sidebar brand + cart final polish ===== */
@media (min-width:981px){
  .shop-sidebar .shop-side-title{height:66px!important;min-height:66px!important;margin:-20px -20px 18px!important;padding:0 18px!important;background:#116b47!important;border:0!important;border-radius:0!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
  .shop-sidebar .shop-side-title>a{display:block!important;width:100%!important;color:#fff!important;font-size:18px!important;line-height:1.25!important;font-weight:400!important;letter-spacing:-.04em!important;text-align:center!important;text-decoration:none!important}
  .shop-sidebar .shop-side-title>a:hover{color:#fff!important}
  .unified-cart-list .cart-head{display:grid!important;grid-template-columns:minmax(280px,1fr) 100px 130px 80px!important;gap:14px!important;align-items:center!important;padding:10px 14px!important;background:#f7faf8!important;border:1px solid #e3ebe6!important;border-radius:10px 10px 0 0!important;color:#75827a!important;font-size:11px!important;text-align:center!important}
  .unified-cart-list .cart-head span:first-child{text-align:left!important}
  .unified-cart-list .cart-row{display:grid!important;grid-template-columns:minmax(280px,1fr) 100px 130px 80px!important;gap:14px!important;align-items:center!important;padding:14px!important;border:1px solid #e3ebe6!important;border-top:0!important;background:#fff!important}
  .unified-cart-list .cart-row:last-child{border-radius:0 0 10px 10px!important}
  .unified-cart-list .cart-product{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important}
  .unified-cart-list .cart-thumb{width:86px!important;height:68px!important;min-width:86px!important;border-radius:9px!important;overflow:hidden!important;background:#eef3f0!important}
  .unified-cart-list .cart-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
  .unified-cart-list .cart-copy{min-width:0!important}.unified-cart-list .cart-name-link{display:block!important;font-size:14px!important;font-weight:700!important;color:#24382f!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .unified-cart-list .cart-copy>span{display:block!important;margin-top:5px!important;font-size:11px!important;color:#87928c!important}
  .unified-cart-list .cart-qty{text-align:center!important}.unified-cart-list .cart-qty input{width:64px!important;height:34px!important;border:1px solid #d8e2dc!important;border-radius:8px!important;text-align:center!important;background:#fff!important}
  .unified-cart-list .cart-sum{text-align:right!important;font-size:15px!important;color:#d63a31!important;white-space:nowrap!important}
  .unified-cart-list .cart-delete{justify-self:end!important;padding:6px 8px!important;border:1px solid #e4e9e6!important;border-radius:7px!important;color:#7b8580!important;font-size:11px!important;text-decoration:none!important;background:#fff!important}
  .cart-summary{margin-top:14px!important;padding:16px 18px!important;border-radius:12px!important;background:#f4f9f6!important;border:1px solid #dcebe2!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
  .cart-summary>span{font-size:13px!important;color:#65736b!important}.cart-summary>strong{font-size:24px!important;color:#d63a31!important}.cart-summary small{font-size:13px!important;margin-left:2px!important}
}
@media (max-width:980px){
  .unified-cart-list{display:grid!important;gap:9px!important;overflow:visible!important}
  .unified-cart-list .cart-head{display:none!important}
  .unified-cart-list .cart-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:'product product' 'qty sum' 'delete delete'!important;gap:8px 10px!important;padding:11px!important;border:1px solid #e1e8e4!important;border-radius:12px!important;background:#fff!important}
  .unified-cart-list .cart-product{grid-area:product!important;display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;padding-bottom:9px!important;border-bottom:1px solid #edf1ef!important}
  .unified-cart-list .cart-thumb{width:68px!important;height:58px!important;min-width:68px!important;border-radius:9px!important;overflow:hidden!important;background:#eef3f0!important}
  .unified-cart-list .cart-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
  .unified-cart-list .cart-copy{min-width:0!important}.unified-cart-list .cart-name-link{display:block!important;font-size:14px!important;line-height:1.3!important;font-weight:700!important;color:#24382f!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.unified-cart-list .cart-copy>span{display:block!important;margin-top:4px!important;font-size:11px!important;color:#849087!important}
  .unified-cart-list .cart-qty{grid-area:qty!important;align-self:center!important}.unified-cart-list .cart-qty input{width:64px!important;height:32px!important;border:1px solid #d8e2dc!important;border-radius:8px!important;text-align:center!important;background:#fff!important}
  .unified-cart-list .cart-sum{grid-area:sum!important;align-self:center!important;justify-self:end!important;font-size:15px!important;color:#d63a31!important;white-space:nowrap!important}
  .unified-cart-list .cart-delete{grid-area:delete!important;justify-self:end!important;color:#7b8580!important;font-size:10.5px!important;text-decoration:none!important;padding:3px 0!important}
  .cart-summary{margin-top:10px!important;padding:13px 14px!important;border:1px solid #dcebe2!important;border-radius:11px!important;background:#f4f9f6!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.cart-summary>span{font-size:12px!important;color:#65736b!important}.cart-summary>strong{font-size:20px!important;color:#d63a31!important}.cart-summary small{font-size:11px!important}
  .cart-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:9px!important}.cart-actions>*{width:100%!important;min-width:0!important;height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:9px!important;font-size:11.5px!important}.cart-actions .primary{grid-column:1/-1!important}
}
@media (max-width:420px){.unified-cart-list .cart-thumb{width:60px!important;height:52px!important;min-width:60px!important}.cart-actions{grid-template-columns:1fr!important}.cart-actions .primary{grid-column:auto!important}}

/* v71 주문내역: 장바구니 크기의 요약목록 + 펼침 상세 */
.ap-order-summary-card{background:#fff;border:1px solid #e1e8e4;border-radius:14px;overflow:hidden;box-shadow:0 3px 14px rgba(23,55,43,.035);margin:0 0 9px}
.ap-order-summary-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;min-width:0}
.ap-order-summary-thumb{display:block;width:72px;height:60px;border-radius:9px;overflow:hidden;background:#eef2f0}.ap-order-summary-thumb img{width:100%;height:100%;object-fit:cover}.ap-order-summary-thumb span{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:8px;color:#9aa39e}
.ap-order-summary-copy{min-width:0}.ap-order-summary-top{display:flex;align-items:center;gap:8px;margin-bottom:3px;font-size:9.5px;color:#87928c}.ap-order-summary-top b{color:#16804d;font-size:9.5px;font-weight:700}
.ap-order-summary-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:750;color:#263c32}.ap-order-summary-etc{margin-top:2px;font-size:10px;color:#849087}.ap-order-summary-meta{display:flex;align-items:baseline;gap:8px;margin-top:5px;font-size:10px;color:#78857e}.ap-order-summary-meta strong{font-size:14px;color:#e6322c}
.ap-order-summary-more{align-self:stretch;min-width:76px;border:0;border-left:1px solid #edf1ef;background:#fbfcfb;color:#176b49;font-size:11px;font-weight:750;padding:0 10px;cursor:pointer}
.ap-order-summary-detail{display:none;border-top:1px solid #e5ebe8;background:#fff}.ap-order-summary-detail.open{display:block}.ap-order-summary-detail .ap-history-head{border-radius:0}.ap-order-info-grid{display:grid!important}
@media(max-width:980px){.ap-order-summary-row{grid-template-columns:64px minmax(0,1fr) 64px;gap:9px;padding:9px 10px}.ap-order-summary-thumb{width:64px;height:54px}.ap-order-summary-name{font-size:13px}.ap-order-summary-more{min-width:64px;padding:0 5px;font-size:10px}.ap-order-summary-meta{margin-top:4px}.ap-order-summary-meta strong{font-size:13px}}
@media(max-width:420px){.ap-order-summary-row{grid-template-columns:58px minmax(0,1fr) 58px;gap:8px;padding:9px}.ap-order-summary-thumb{width:58px;height:50px}.ap-order-summary-more{min-width:58px}.ap-order-summary-top{gap:5px}.ap-order-summary-name{font-size:12.5px}}


/* v78 gallery 4 columns + editor normalization */
@media (min-width:981px){
  /* list.skin gallery is isolated in shadow DOM; kept here for non-shadow fallback */
  .products.gallery{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
.write-v31 .write-editor{width:100%!important;min-width:0!important;overflow:visible!important;font-size:14px!important;}
.write-v31 .write-editor #wr_content,
.write-v31 .write-editor textarea[name="wr_content"]{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:320px!important;}
.write-v31 .write-editor .cke,
.write-v31 .write-editor .cke_chrome,
.write-v31 .write-editor .se2_inputarea,
.write-v31 .write-editor .se2_tit,
.write-v31 .write-editor .se2_text_tool,
.write-v31 .write-editor .smarteditor2{box-sizing:border-box!important;width:100%!important;max-width:100%!important;}
.write-v31 .write-editor iframe{box-sizing:border-box!important;max-width:100%!important;}
@media(max-width:800px){
  .write-v31 .write-card-body{padding:12px!important;}
  .write-v31 .write-editor #wr_content,
  .write-v31 .write-editor textarea[name="wr_content"]{min-height:260px!important;}
}


/* v80: detail delete button + write editor normal DOM */
.product-view .pv-bottom .delete-btn{border-color:#ead8d8!important;color:#9b4a4a!important;background:#fff!important;}
.product-view .pv-bottom .delete-btn:hover{background:#fff6f6!important;}
.write-v31 .delivery-field{margin-top:28px!important;}


/* v88 채팅 */
.pv-chat-btn{display:flex;width:100%;height:46px;margin-top:9px;align-items:center;justify-content:center;border:1px solid #b8d8c7;border-radius:11px;background:#f2faf6;color:#087442;font-size:13px;font-weight:800;text-decoration:none}.pv-chat-btn:hover{background:#e8f4ed;color:#075d36}.shop-chat-badge{display:inline-flex;min-width:18px;height:18px;padding:0 5px;margin-left:5px;align-items:center;justify-content:center;border-radius:10px;background:#e6322c;color:#fff!important;font-size:10px!important;font-style:normal}
.ap-chat-wrap{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:600px;border:1px solid #e1e8e4;border-radius:18px;overflow:hidden;background:#fff}.ap-chat-list{border-right:1px solid #e6ebe8;background:#fafcfb}.ap-chat-list h2{margin:0;padding:20px 16px;font-size:18px}.ap-chat-list h2 small{font-size:10px;color:#999;font-weight:500}.ap-chat-list>a{position:relative;display:block;padding:13px 38px 13px 15px;border-top:1px solid #edf0ee;text-decoration:none;color:#26322c}.ap-chat-list>a.on{background:#edf7f2}.ap-chat-list b,.ap-chat-list span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-chat-list b{font-size:13px}.ap-chat-list span{margin-top:5px;color:#8b9690;font-size:11px}.ap-chat-list em{position:absolute;right:12px;top:50%;transform:translateY(-50%);min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#e6322c;color:#fff;font-size:10px;font-style:normal;text-align:center;line-height:20px}.ap-chat-room{display:flex;flex-direction:column;min-width:0}.ap-chat-head{height:65px;padding:14px 18px;border-bottom:1px solid #e7ebe9}.ap-chat-head strong,.ap-chat-head span{display:block}.ap-chat-head strong{font-size:15px}.ap-chat-head span{margin-top:4px;color:#999;font-size:10px}.ap-chat-msgs{flex:1;height:480px;overflow-y:auto;padding:18px;background:#f7f9f8}.ap-msg{display:flex;flex-direction:column;margin:9px 0}.ap-msg p{max-width:72%;margin:0;padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.45}.ap-msg small{margin-top:3px;color:#aaa;font-size:9px}.ap-msg.mine{align-items:flex-end}.ap-msg.mine p{background:#116b47;color:#fff}.ap-msg.other{align-items:flex-start}.ap-msg.other p{background:#fff;border:1px solid #e1e6e3}.ap-msg.system{align-items:center;margin:15px 0;text-align:center}.ap-msg.system p{max-width:88%;padding:8px 12px;background:#edf1ef;color:#68736d;font-size:11px}.ap-msg.system a{margin-top:5px;color:#087442;font-size:10px;font-weight:700}.ap-chat-form{display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:7px;padding:12px;border-top:1px solid #e4e9e6}.ap-chat-form input{height:42px;border:1px solid #d8e0dc;border-radius:10px;padding:0 12px;outline:0}.ap-chat-form button{border:0;border-radius:10px;background:#116b47;color:#fff;font-weight:800}.ap-chat-empty{margin:auto;color:#9aa39e;font-size:13px}
@media(max-width:768px){.ap-chat-wrap{display:block;min-height:0}.ap-chat-list{border-right:0;border-bottom:1px solid #e6ebe8}.ap-chat-list>a{padding-top:10px;padding-bottom:10px}.ap-chat-room{min-height:500px}.ap-chat-msgs{height:390px}.ap-chat-list h2{padding:14px}.ap-msg p{max-width:84%}}


/* v89: 판매자 본인 상품에서도 채팅 버튼 위치 확인 가능 */
.pv-chat-btn-own{
  background:#f3f4f6 !important;
  border-color:#e0e3e7 !important;
  color:#9298a0 !important;
  cursor:default !important;
  box-shadow:none !important;
  pointer-events:none !important;
}


/* v90 상품상세 가격/채팅 최종 보정 */
.product-view .pv-price:before{content:none!important;display:none!important;}
.product-view .pv-price{display:flex!important;align-items:baseline!important;gap:0!important;}
.product-view .pv-price .pv-price-label{display:inline-block!important;margin-right:14px!important;color:#68737d!important;font-size:14px!important;font-weight:800!important;line-height:1!important;}
.product-view .pv-price strong{color:#d2231f!important;font-size:30px!important;font-weight:900!important;line-height:1!important;}
.product-view .pv-price small{color:#d2231f!important;font-size:17px!important;font-weight:900!important;margin-left:2px!important;}
.product-view .pv-chat-btn{display:flex!important;visibility:visible!important;opacity:1!important;width:100%!important;height:46px!important;margin:10px 0 0!important;padding:0 14px!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;border:1px solid #17233d!important;border-radius:7px!important;background:#17233d!important;color:#fff!important;font-family:'Pretendard','Noto Sans KR',sans-serif!important;font-size:14px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;}
.product-view .pv-chat-btn:hover{background:#243352!important;border-color:#243352!important;color:#fff!important;}
.product-view .pv-chat-btn-own{background:#17233d!important;border-color:#17233d!important;color:#fff!important;cursor:pointer!important;pointer-events:auto!important;}
@media(max-width:768px){
 .product-view .pv-chat-btn{display:flex!important;width:100%!important;height:44px!important;margin-top:9px!important;font-size:13px!important;}
 .product-view .pv-price .pv-price-label{font-size:13px!important;margin-right:10px!important;}
 .product-view .pv-price strong{font-size:28px!important;}
}


/* ===== v91 상품상세 채팅 버튼 위치 최종 ===== */
.pv-chat-mobile{display:none;}
.pv-chat-desktop{display:flex;justify-content:flex-end;margin-top:10px;}
.product-view .pv-chat-desktop .pv-chat-btn{width:auto!important;min-width:150px!important;height:38px!important;margin:0!important;padding:0 16px!important;font-size:12px!important;border-radius:6px!important;}
@media(max-width:768px){
  .pv-chat-desktop{display:none!important;}
  .pv-chat-mobile{display:flex!important;justify-content:flex-end!important;width:100%!important;margin:8px 0 2px!important;}
  .product-view .pv-chat-mobile .pv-chat-btn{width:auto!important;min-width:142px!important;height:36px!important;margin:0!important;padding:0 13px!important;font-size:12px!important;border-radius:6px!important;}
}


/* ===== v92 상품상세 채팅문의 / 모바일 여백 ===== */
@media(max-width:768px){
  .pv-chat-mobile{margin:10px 0 18px!important;}
  .product-view .pv-chat-mobile .pv-chat-btn{margin-bottom:0!important;}
  body:has(.ap-chat-room) .ap-chat-wrap.direct-room .ap-chat-list{display:none!important;}
}


/* ===== v93 상품상세 직행 채팅 : 목록을 거치지 않고 1:1 방만 표시 ===== */
.ap-chat-wrap.direct-room{display:block!important;grid-template-columns:none!important;}
.ap-chat-wrap.direct-room .ap-chat-list{display:none!important;}
.ap-chat-wrap.direct-room .ap-chat-room{width:100%!important;min-height:600px!important;}
@media(max-width:768px){
  .ap-chat-wrap.direct-room .ap-chat-room{min-height:500px!important;}
  .pv-chat-mobile{margin-bottom:24px!important;}
}

/* v96: 상품 상세에서 진입한 1:1 채팅은 목록 없이 채팅방만 표시 */
.ap-chat-wrap.direct-room{grid-template-columns:minmax(0,1fr)!important;}
.ap-chat-wrap.direct-room .ap-chat-list{display:none!important;}
.ap-chat-wrap.direct-room .ap-chat-room{width:100%!important;min-width:0!important;}


/* ===== v98 채팅 상품카드 / 앱 모바일 채팅메뉴 ===== */
.ap-msg.product-system{display:block!important;margin:14px 0!important;align-items:stretch!important;text-align:left!important}
.ap-chat-product-card{display:flex!important;align-items:center!important;gap:11px!important;width:min(430px,92%)!important;margin:0 auto!important;padding:10px!important;border:1px solid #dfe6e2!important;border-radius:13px!important;background:#fff!important;color:#243029!important;text-decoration:none!important;box-shadow:0 2px 8px rgba(25,55,40,.04)!important}
.ap-product-thumb{display:block!important;width:76px!important;height:58px!important;flex:0 0 76px!important;overflow:hidden!important;border-radius:8px!important;background:#f1f3f2!important}
.ap-product-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.ap-product-thumb.noimg{display:flex!important;align-items:center!important;justify-content:center!important;color:#a5ada9!important;font-size:9px!important}
.ap-product-copy{display:block!important;min-width:0!important;flex:1!important}
.ap-product-copy b,.ap-product-copy em,.ap-product-copy strong{display:block!important;font-style:normal!important}
.ap-product-copy b{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#202923!important;font-size:13px!important;font-weight:800!important}
.ap-product-copy em{margin-top:4px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#7c8781!important;font-size:10.5px!important;font-weight:500!important}
.ap-product-copy strong{margin-top:6px!important;color:#087442!important;font-size:13px!important;font-weight:800!important}
.mobile-menu-panel .shop-mobile-chat-link{background:#f0f8f4!important;color:#087442!important;font-weight:800!important}
@media(max-width:768px){
 .ap-chat-product-card{width:96%!important;padding:9px!important;gap:9px!important}
 .ap-product-thumb{width:68px!important;height:52px!important;flex-basis:68px!important}
 .ap-product-copy b{font-size:12px!important}.ap-product-copy em{font-size:10px!important}.ap-product-copy strong{font-size:12px!important}
}


/* ===== v101 채팅 UI 보정 =====
   PC: 직행 채팅방 폭 축소 / 높이 고정 / 내부 스크롤
   모바일: 기존 전체폭 유지
*/
@media(min-width:769px){
  .ap-chat-wrap.direct-room{
    width:50% !important;
    max-width:620px !important;
    min-width:430px !important;
    min-height:0 !important;
    margin:20px auto 36px !important;
    overflow:hidden !important;
  }
  .ap-chat-wrap.direct-room .ap-chat-room{
    width:100% !important;
    height:600px !important;
    min-height:0 !important;
    max-height:600px !important;
    overflow:hidden !important;
  }
  .ap-chat-wrap.direct-room .ap-chat-msgs{
    flex:1 1 auto !important;
    height:auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;
  }
  .ap-chat-wrap.direct-room .ap-chat-head,
  .ap-chat-wrap.direct-room .ap-chat-form{
    flex:0 0 auto !important;
  }
}
@media(max-width:768px){
  .ap-chat-wrap.direct-room{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
  }
  .ap-chat-wrap.direct-room .ap-chat-room{
    height:560px !important;
    min-height:0 !important;
    max-height:560px !important;
    overflow:hidden !important;
  }
  .ap-chat-wrap.direct-room .ap-chat-msgs{
    flex:1 1 auto !important;
    height:auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
  }
}

/* ===== v102 채팅 높이/내부스크롤 최종 고정 ===== */
.ap-chat-wrap,
.ap-chat-wrap.direct-room{
  min-height:0 !important;
  overflow:hidden !important;
}
.ap-chat-room,
.ap-chat-wrap.direct-room .ap-chat-room{
  display:flex !important;
  flex-direction:column !important;
  height:600px !important;
  min-height:600px !important;
  max-height:600px !important;
  overflow:hidden !important;
}
.ap-chat-msgs,
.ap-chat-wrap.direct-room .ap-chat-msgs{
  flex:1 1 0 !important;
  height:0 !important;
  min-height:0 !important;
  max-height:none !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.ap-chat-head,.ap-chat-form{flex:0 0 auto !important;}
@media(min-width:769px){
 .ap-chat-wrap.direct-room{width:50% !important;max-width:620px !important;min-width:430px !important;margin:20px auto 36px !important;}
}
@media(max-width:768px){
 .ap-chat-room,.ap-chat-wrap.direct-room .ap-chat-room{height:560px !important;min-height:560px !important;max-height:560px !important;}
}

/* ===== v103 PC 채팅창 크기/중앙정렬/내부스크롤 최종 ===== */
@media(min-width:769px){
  .ap-chat-wrap.direct-room{
    width:64% !important;
    max-width:760px !important;
    min-width:520px !important;
    margin:20px auto 36px !important;
    min-height:0 !important;
    overflow:hidden !important;
  }
  .ap-chat-wrap.direct-room .ap-chat-room{
    width:100% !important;
    height:430px !important;
    min-height:430px !important;
    max-height:430px !important;
    overflow:hidden !important;
  }
  .ap-chat-wrap.direct-room .ap-chat-msgs{
    flex:1 1 0 !important;
    height:0 !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
  }
  .ap-chat-wrap.direct-room .ap-chat-head,
  .ap-chat-wrap.direct-room .ap-chat-form{
    flex:0 0 auto !important;
  }
}

/* ===== v104 채팅 UI / 모바일 상품문의 최종 보정 ===== */
@media (min-width:981px){
  .ap-chat-wrap.direct-room{
    width:68% !important;
    max-width:800px !important;
    min-width:560px !important;
    margin:22px auto 38px !important;
  }
  .ap-chat-wrap.direct-room .ap-chat-room{
    height:480px !important;
    min-height:480px !important;
    max-height:480px !important;
  }
  .ap-chat-wrap.direct-room .ap-chat-msgs{
    flex:1 1 0 !important;
    height:0 !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
  }
  .pv-chat-mobile{display:none !important;}
  .pv-chat-desktop{display:flex !important;}
}
@media (max-width:980px){
  .pv-chat-desktop{display:none !important;}
  .pv-chat-mobile{display:flex !important;justify-content:flex-end !important;width:100% !important;margin:10px 0 22px !important;}
  .product-view .pv-chat-mobile .pv-chat-btn{display:flex !important;visibility:visible !important;opacity:1 !important;width:auto !important;min-width:142px !important;height:36px !important;margin:0 !important;padding:0 13px !important;}
  .ap-chat-wrap.direct-room .ap-chat-room{height:560px !important;min-height:560px !important;max-height:560px !important;overflow:hidden !important;}
  .ap-chat-wrap.direct-room .ap-chat-msgs{flex:1 1 0 !important;height:0 !important;min-height:0 !important;overflow-y:auto !important;overflow-x:hidden !important;}
}


/* ===== v107 모바일 상품 채팅버튼 강제 표시 ===== */
.shop-layout.ap-mobile .pv-chat-desktop{display:none!important;}
.shop-layout.ap-mobile .pv-chat-mobile{display:flex!important;visibility:visible!important;opacity:1!important;justify-content:flex-end!important;width:100%!important;margin:10px 0 22px!important;}
.shop-layout.ap-mobile .pv-chat-mobile .pv-chat-btn{display:flex!important;visibility:visible!important;opacity:1!important;width:auto!important;min-width:142px!important;height:36px!important;margin:0!important;padding:0 13px!important;align-items:center!important;justify-content:center!important;}


/* ===== v108 모바일 채팅방 닫기 ===== */
.ap-chat-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;box-sizing:border-box!important}
.ap-chat-head-copy{min-width:0!important}
.ap-chat-mobile-close{display:none;border:1px solid #d9e2dd;background:#fff;color:#47554e;border-radius:8px;height:32px;padding:0 10px;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
@media(max-width:980px){
  .ap-chat-mobile-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important}
}


/* ===== v109 읽음표시 / 푸시직행 / 메인좌측채팅 ===== */
.ap-read-state{font-style:normal!important;margin-left:5px!important;color:#7b8a83!important;font-size:10px!important;font-weight:600!important}
.ap-msg.mine .ap-read-state{color:#61736a!important}
.ap-chat-push-cover{position:fixed!important;inset:0!important;z-index:2147483000!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#6b7771!important;font-size:13px!important}
.side .menu .shop-chat-badge,.side .menu .shop-chat-badge{display:inline-flex!important;min-width:17px!important;height:17px!important;padding:0 5px!important;margin-left:5px!important;align-items:center!important;justify-content:center!important;border-radius:9px!important;background:#d94b4b!important;color:#fff!important;font-size:10px!important;font-style:normal!important;box-sizing:border-box!important}

/* ===== v112 PC 메인 좌측 채팅 안읽음 배지 통일 ===== */
@media (min-width:981px){
  .shop-layout .side nav.menu a .shop-chat-badge,
  .shop-layout .side .menu a .shop-chat-badge,
  aside.side nav.menu a .shop-chat-badge{
    display:inline-flex !important;
    flex:0 0 auto !important;
    min-width:18px !important;
    height:18px !important;
    padding:0 5px !important;
    margin-left:6px !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:999px !important;
    background:#d94b4b !important;
    color:#fff !important;
    font-size:10px !important;
    line-height:18px !important;
    font-weight:700 !important;
    font-style:normal !important;
    text-align:center !important;
    box-sizing:border-box !important;
    vertical-align:middle !important;
  }
}

/* ===== v113 PC 메인 좌측 채팅 배지 직접 고정 ===== */
.ap-main-chat-link .ap-main-chat-badge{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:18px!important;height:18px!important;padding:0 5px!important;margin-left:6px!important;
  border-radius:999px!important;background:#e6322c!important;color:#fff!important;
  font-size:10px!important;line-height:18px!important;font-weight:700!important;font-style:normal!important;
  vertical-align:middle!important;box-sizing:border-box!important;
}


/* v118 주문하기 - 받는 사람 정보 통합 + 요청사항 단독 박스 */
.checkout-modern .checkout-recipient-section{padding-bottom:15px!important}
.checkout-modern .checkout-recipient-fields{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
.checkout-modern .checkout-request-box{margin:0 0 10px!important;padding:0!important;border:0!important;background:transparent!important}
.checkout-modern .checkout-request-box textarea{display:block!important;width:100%!important;min-height:76px!important;padding:12px 13px!important;border:1px solid #dfe4e7!important;border-radius:9px!important;background:#fff!important;color:#273038!important;font-family:inherit!important;font-size:13px!important;line-height:1.5!important;resize:vertical!important;box-sizing:border-box!important;outline:none!important}
.checkout-modern .checkout-request-box textarea:focus{border-color:#aeb8bf!important;box-shadow:0 0 0 2px rgba(80,100,115,.06)!important}
.checkout-modern .checkout-request-box textarea::placeholder{color:#9aa2a8!important}


/* v119 주문하기 - 받는 사람 2열 + 주소 1열 / 요청사항 라벨 */
.checkout-modern .checkout-recipient-fields{display:block!important}
.checkout-modern .checkout-recipient-top{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;margin-bottom:11px!important}
.checkout-modern .checkout-recipient-fields .checkout-field{margin:0!important}
.checkout-modern .checkout-recipient-fields .checkout-field>span{display:block!important;margin:0 0 6px!important;color:#59636b!important;font-size:11px!important;font-weight:700!important}
.checkout-modern .checkout-recipient-fields .checkout-field input{width:100%!important;box-sizing:border-box!important}
.checkout-modern .checkout-recipient-address{display:block!important;width:100%!important}
.checkout-modern .checkout-request-box{margin-top:2px!important;margin-bottom:14px!important}
.checkout-modern .checkout-request-label{display:block!important;margin:0 0 8px!important;color:#252b30!important;font-size:14px!important;line-height:1.3!important;font-weight:800!important;letter-spacing:-.3px!important}
.checkout-modern .checkout-request-box textarea{min-height:82px!important}
@media(max-width:520px){
 .checkout-modern .checkout-recipient-top{grid-template-columns:1fr 1fr!important;gap:8px!important}
 .checkout-modern .checkout-recipient-fields .checkout-field>span{font-size:10.5px!important}
 .checkout-modern .checkout-recipient-fields .checkout-field input{padding-left:10px!important;padding-right:10px!important;font-size:12px!important}
}


/* v120 결제방법 3분리 */
@media(min-width:521px){.checkout-modern .checkout-pay-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}}


/* v123 판매자정보 / 사업자정보 */
.sales-head-v123{display:flex!important;align-items:center!important}.sales-head-v123 .sales-head-copy{flex:1}.sales-title-icon{font-size:17px;margin-right:5px}.sales-seller-info{margin-left:auto;text-align:right}.sales-seller-info a{display:inline-flex;padding:9px 14px;border:1px solid #273847;border-radius:7px;color:#273847;font-size:12px;font-weight:700;text-decoration:none;background:#fff}.sales-seller-info small{display:block;margin-top:6px;color:#8b9298;font-size:10px}.seller-info-page{max-width:900px}.seller-info-form{padding:24px;border:1px solid #e3e7ea;border-radius:12px;background:#fff}.seller-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.seller-info-grid label{display:block}.seller-info-grid label.wide{grid-column:1/-1}.seller-info-grid span{display:block;margin-bottom:7px;font-size:12px;font-weight:700;color:#414950}.seller-info-grid input{width:100%;height:44px;padding:0 12px;border:1px solid #dce1e4;border-radius:8px;font:inherit;box-sizing:border-box}.seller-info-actions{text-align:right;margin-top:20px}.seller-info-actions button{height:43px;padding:0 20px;border:0;border-radius:8px;background:#273847;color:#fff;font-weight:700}.pv-seller-info-btn{margin:2px 0 12px;padding:6px 9px;border:1px solid #d8dde1;border-radius:6px;background:#fff;color:#59636b;font-size:10px;font-weight:700;cursor:pointer}.pv-seller-layer{display:none;position:fixed;z-index:99999;inset:0;background:rgba(0,0,0,.38);align-items:center;justify-content:center;padding:20px}.pv-seller-layer.open{display:flex}.pv-seller-modal{position:relative;width:min(420px,100%);padding:25px;border-radius:13px;background:#fff;box-shadow:0 15px 45px rgba(0,0,0,.18)}.pv-seller-modal h3{margin:0 0 18px;font-size:18px}.pv-seller-modal dl{margin:0}.pv-seller-modal dt{margin-top:12px;color:#8a9298;font-size:10px}.pv-seller-modal dd{margin:4px 0 0;color:#262d32;font-size:13px;font-weight:700}.pv-seller-modal p{margin:18px 0 0;padding-top:14px;border-top:1px solid #eee;color:#7c848a;font-size:11px}.pv-seller-close{position:absolute;right:13px;top:10px;border:0;background:none;font-size:25px;color:#888;cursor:pointer}
@media(max-width:768px){.sales-head-v123{align-items:flex-start!important;flex-wrap:wrap!important}.sales-seller-info{width:100%;margin:13px 0 0 48px;text-align:left}.seller-info-grid{grid-template-columns:1fr}.seller-info-grid label.wide{grid-column:auto}.seller-info-form{padding:16px}}


/* v124 판매자정보 버튼/안내문 강조 + 판매내역 타이틀 아이콘 정리 */
.sales-head-v123 .sales-title-icon{display:none!important}
.sales-head-v123 .sales-seller-info a{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:40px!important;padding:0 18px!important;border:1px solid #0b8a52!important;
 border-radius:9px!important;background:#0b8a52!important;color:#fff!important;
 font-size:13px!important;font-weight:800!important;text-decoration:none!important;
 box-shadow:0 4px 12px rgba(11,138,82,.16)!important;
}
.sales-head-v123 .sales-seller-info a:hover{background:#087845!important;border-color:#087845!important;color:#fff!important}
.sales-head-v123 .sales-seller-info small{display:block!important;margin-top:7px!important;color:#59655e!important;font-size:12px!important;font-weight:700!important;line-height:1.4!important}
@media(max-width:768px){
 .sales-head-v123 .sales-seller-info{margin-left:0!important}
 .sales-head-v123 .sales-seller-info small{font-size:11.5px!important}
}

/* v125 판매자정보는 판매내역 우측에서만 노출 */
.sales-head-v123 .sales-seller-info a{
 background:#e85d3f!important;border-color:#e85d3f!important;color:#fff!important;
 min-height:43px!important;padding:0 20px!important;font-size:13px!important;font-weight:800!important;
 box-shadow:0 4px 12px rgba(232,93,63,.20)!important;
}
.sales-head-v123 .sales-seller-info a:hover{background:#cf4d32!important;border-color:#cf4d32!important}
.sales-head-v123 .sales-seller-info small{font-size:14px!important;font-weight:800!important;color:#3f4943!important;line-height:1.45!important;margin-top:8px!important}
@media(max-width:768px){.sales-head-v123 .sales-seller-info small{font-size:13px!important}}


/* v126 사업자정보 확인 / 판매자정보 버튼 최종 */
.product-view .pv-price-line{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:0 0 14px!important;padding:0 0 14px!important;border-bottom:1px solid #e6e9e7!important}
.product-view .pv-price-line .pv-price{flex:1 1 auto!important;margin:0!important;padding:0!important;border:0!important;min-width:0!important}
.product-view .pv-price-line .pv-seller-info-btn{flex:0 0 auto!important;margin:0!important;padding:7px 11px!important;border:1px solid #cfd7d3!important;border-radius:7px!important;background:#fff!important;color:#45524b!important;font-size:12px!important;line-height:1!important;font-weight:800!important;white-space:nowrap!important;cursor:pointer!important;transition:transform .15s ease,background .15s ease,border-color .15s ease!important}
.product-view .pv-price-line .pv-seller-info-btn:hover{background:#f4f8f6!important;border-color:#aebcb5!important;transform:translateY(-1px)!important}
.sales-head-v123 .sales-seller-info a{background:#e85d3f!important;border:1px solid #e85d3f!important;color:#fff!important;transition:transform .15s ease,box-shadow .15s ease,background .15s ease!important}
.sales-head-v123 .sales-seller-info a:hover{background:#cf4d32!important;border-color:#cf4d32!important;color:#fff!important;transform:translateY(-2px)!important;box-shadow:0 7px 16px rgba(232,93,63,.26)!important}
@media(max-width:768px){
 .product-view .pv-price-line{gap:8px!important}
 .product-view .pv-price-line .pv-seller-info-btn{font-size:11px!important;padding:7px 9px!important}
}

/* v127 : 제품상세보기 타이틀 / 사업자정보 버튼 위치 */
.product-view .pv-page-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
.product-view .pv-page-title .pv-seller-info-btn{flex:0 0 auto!important;margin:0!important;padding:7px 11px!important;border:1px solid #cfd7d3!important;border-radius:7px!important;background:#fff!important;color:#45524b!important;font-size:12px!important;line-height:1!important;font-weight:800!important;white-space:nowrap!important;cursor:pointer!important;transition:transform .15s ease,background .15s ease,border-color .15s ease!important;}
.product-view .pv-page-title .pv-seller-info-btn:hover{background:#f4f8f6!important;border-color:#aebcb5!important;transform:translateY(-1px)!important;}
@media(max-width:768px){
 .product-view .pv-page-title{margin-top:10px!important;}
 .product-view .pv-page-title .pv-seller-info-btn{font-size:11px!important;padding:7px 9px!important;}
}

/* v128 : 모바일 제품상세보기 상단/판매가 여백 조정 */
@media(max-width:768px){
  .product-view .pv-page-title{
    margin-top:22px!important;
  }
  .product-view .pv-price-line{
    margin-top:16px!important;
    margin-bottom:18px!important;
    padding-top:4px!important;
    padding-bottom:18px!important;
  }
}

/* ===== v129 모바일 상세 간격 / 판매자-구매자 채팅 구분 최종 ===== */
@media(max-width:768px){
  .product-view{padding-top:18px!important;}
  .product-view .pv-page-title{
    margin-top:0!important;
    padding-top:18px!important;
    margin-bottom:20px!important;
  }
  .product-view .pv-top{margin-top:0!important;}
  .product-view .pv-buy{padding-top:10px!important;}
  .product-view .pv-price-line{
    margin-top:24px!important;
    margin-bottom:22px!important;
    padding-top:10px!important;
    padding-bottom:20px!important;
  }
}

/* =========================================================
   v130 PRODUCT DETAIL REDESIGN
   기존 주문/채팅/사업자정보 기능 유지, 상세 UI 전면 정리
   ========================================================= */
.product-view{max-width:980px!important;margin:0 auto!important;padding:0 12px 28px!important}
.product-view .pv-page-title{height:auto!important;min-height:58px!important;margin:0 0 22px!important;padding:0 18px!important;border:1px solid #e1e6e3!important;border-top:3px solid #178047!important;border-radius:12px!important;background:#fbfcfb!important;box-shadow:0 4px 14px rgba(25,45,34,.035)!important}
.product-view .pv-page-title span{font-size:18px!important;font-weight:900!important;color:#1f2c25!important;letter-spacing:-.5px!important}
.product-view .pv-page-title .pv-seller-info-btn{margin:0!important;padding:8px 12px!important;border:1px solid #d3ddd7!important;border-radius:8px!important;background:#fff!important;color:#506058!important;font-size:12px!important;font-weight:800!important}
.product-view .pv-page-title .pv-seller-info-btn:hover{background:#f0f7f3!important;border-color:#9fbcaa!important;color:#177645!important;transform:translateY(-1px)!important}

.product-view .pv-top{display:grid!important;grid-template-columns:minmax(300px,390px) minmax(0,1fr)!important;gap:38px!important;margin:0!important;padding:0 0 34px!important;border-bottom:0!important;align-items:start!important}
.product-view .pv-left{min-width:0!important}
.product-view .pv-image{width:100%!important;height:auto!important;aspect-ratio:1/1!important;border:1px solid #e0e5e2!important;border-radius:16px!important;background:#f7f9f8!important;box-shadow:0 7px 24px rgba(26,43,34,.06)!important}
.product-view .pv-image img{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important}
.product-view .pv-info-under-image{margin-top:14px!important;border:1px solid #e3e8e5!important;border-radius:12px!important;background:#fbfcfb!important;box-shadow:none!important}
.product-view .pv-info-under-image>div{min-height:44px!important;padding:6px 13px!important;grid-template-columns:30px 86px minmax(0,1fr)!important}

.product-view .pv-buy{padding:5px 0 0!important}
.product-view .view-product-badges{margin:0 0 13px!important}
.product-view .pv-title-row{display:block!important;margin:0 0 10px!important}
.product-view .pv-title-row .pv-cat{display:inline-flex!important;margin:0 0 9px!important;padding:5px 9px!important;border-radius:6px!important;background:#edf6f0!important;color:#177645!important;font-size:10px!important;font-weight:800!important}
.product-view .pv-title-row h1{display:block!important;margin:0!important;font-size:29px!important;line-height:1.32!important;font-weight:900!important;color:#17221c!important;letter-spacing:-.9px!important}
.product-view .pv-desc{margin:0!important;color:#7a8580!important;font-size:14px!important;line-height:1.65!important}
.product-view .pv-price-line{margin:22px 0 18px!important;padding:19px 0!important;border-top:1px solid #e7ebe8!important;border-bottom:1px solid #e7ebe8!important}
.product-view .pv-price-line .pv-price{display:flex!important;align-items:baseline!important;gap:3px!important;font-size:31px!important;color:#17221c!important}
.product-view .pv-price-line .pv-price:before{display:none!important}
.product-view .pv-price-label{display:inline-block!important;margin-right:12px!important;color:#68746d!important;font-size:13px!important;font-weight:800!important}
.product-view .pv-price strong{font-size:31px!important;font-weight:950!important;letter-spacing:-1px!important}
.product-view .pv-price small{font-size:15px!important;color:#303a35!important}

.product-view .pv-order{margin:0!important;padding:18px!important;border:1px solid #dfe7e2!important;border-radius:13px!important;background:#f7faf8!important;box-shadow:0 4px 15px rgba(30,55,40,.035)!important}
.product-view .pv-qty-row{margin-bottom:13px!important}
.product-view .pv-cart-guide{margin:12px 0 13px!important;background:#fff!important}
.product-view .pv-buttons-cartonly .pv-cart-btn{height:50px!important;border-radius:9px!important;font-size:15px!important;box-shadow:0 5px 13px rgba(10,143,69,.13)!important}
.product-view .pv-chat-desktop{margin-top:11px!important}
.product-view .pv-chat-desktop .pv-chat-btn{height:40px!important;border-radius:8px!important}

.product-view .pv-content{margin:34px 0 0!important;padding:0!important;border:1px solid #e1e6e3!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important}
.product-view .pv-content:before{display:none!important;content:none!important}
.product-view .pv-content-head{display:block!important;padding:16px 18px!important;border-bottom:1px solid #e6eae7!important;background:#fafbfa!important;color:#25322b!important;font-size:16px!important;font-weight:900!important;letter-spacing:-.4px!important}
.product-view .pv-content-body{padding:28px 22px 34px!important}
.product-view .pv-bottom{margin-top:18px!important;padding:16px 0 0!important;border-top:1px solid #e5e9e6!important}

@media(max-width:768px){
 .product-view{width:100%!important;max-width:none!important;padding:18px 14px 26px!important}
 .product-view .pv-page-title{min-height:54px!important;margin:0 0 18px!important;padding:0 13px!important;border-top-width:3px!important;border-radius:10px!important}
 .product-view .pv-page-title span{font-size:16px!important}
 .product-view .pv-page-title .pv-seller-info-btn{padding:7px 9px!important;font-size:11px!important}
 .product-view .pv-top{display:flex!important;flex-direction:column!important;gap:0!important;padding:0 0 26px!important;min-width:0!important}
 .product-view .pv-left,.product-view .pv-buy{width:100%!important;min-width:0!important}
 .product-view .pv-image{width:100%!important;height:auto!important;aspect-ratio:4/3!important;border-radius:13px!important}
 .product-view .pv-chat-mobile{margin:13px 0 15px!important}
 .product-view .pv-info-under-image{margin:0 0 22px!important;border-radius:10px!important}
 .product-view .pv-info-under-image>div{min-height:42px!important;padding:5px 11px!important;grid-template-columns:28px 80px minmax(0,1fr)!important}
 .product-view .pv-buy{padding:0!important}
 .product-view .view-product-badges{margin-bottom:10px!important}
 .product-view .pv-title-row{margin-bottom:8px!important}
 .product-view .pv-title-row .pv-cat{margin-bottom:8px!important}
 .product-view .pv-title-row h1{font-size:23px!important;line-height:1.38!important}
 .product-view .pv-desc{font-size:13px!important;line-height:1.6!important}
 .product-view .pv-price-line{margin:20px 0 18px!important;padding:18px 0!important}
 .product-view .pv-price-line .pv-price{font-size:27px!important}
 .product-view .pv-price strong{font-size:28px!important}
 .product-view .pv-price-label{margin-right:9px!important;font-size:12px!important}
 .product-view .pv-order{padding:15px!important;border-radius:11px!important}
 .product-view .pv-content{min-width:0!important;margin-top:28px!important;border-radius:11px!important}
 .product-view .pv-content-head{padding:14px 16px!important;font-size:15px!important}
 .product-view .pv-content-body{padding:22px 18px 28px!important;box-sizing:border-box!important}
 .product-view .pv-content-body>*{max-width:100%!important;box-sizing:border-box!important}
 .product-view .pv-content-body img{max-width:100%!important;height:auto!important}
 .product-view .pv-bottom{min-width:0!important;padding-top:14px!important}
}


/* ===== v132 상품 상세보기 / 모바일 본문 패딩 / 품절 안내 ===== */
.product-view .pv-content-body{
  padding-left:30px!important;
  padding-right:30px!important;
}
.product-view .pv-content-body > *{
  margin-left:0!important;
  margin-right:0!important;
}
.product-view .pv-cart-soldout{
  opacity:.72!important;
  cursor:pointer!important;
}
@media(max-width:768px){
  .product-view .pv-content-body{
    padding:26px 28px 32px!important;
  }
  .product-view .pv-content-body > p,
  .product-view .pv-content-body > div,
  .product-view .pv-content-body > span,
  .product-view .pv-content-body > table,
  .product-view .pv-content-body > ul,
  .product-view .pv-content-body > ol{
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}


/* ===== v133 detail header / real mobile content inset / sold-out list ===== */
.product-view .pv-content-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.product-view .pv-content-head > span{min-width:0;font:inherit;color:inherit;}
.product-view .pv-content-head .pv-seller-info-btn{
  flex:0 0 auto!important;
  padding:7px 11px!important;
  border:1px solid #d3ddd7!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#506058!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  cursor:pointer!important;
}
.product-view .pv-content-head .pv-seller-info-btn:hover{
  background:#f0f7f3!important;border-color:#9fbcaa!important;color:#177645!important;
}
@media(max-width:768px){
  /* Put the inset on a nested wrapper so editor-generated margins cannot cancel it. */
  .product-view .pv-content-body{
    display:block!important;
    width:auto!important;
    margin:0!important;
    padding:28px 32px 34px!important;
    box-sizing:border-box!important;
    overflow-wrap:anywhere!important;
  }
  .product-view .pv-content-body > *{
    margin-left:0!important;
    margin-right:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .product-view .pv-content-body p,
  .product-view .pv-content-body div,
  .product-view .pv-content-body span{
    text-indent:0!important;
  }
  .product-view .pv-content-head{padding:15px 18px!important;}
  .product-view .pv-content-head .pv-seller-info-btn{font-size:11px!important;padding:7px 9px!important;}
}
.products .buy .cart.cart-soldout{opacity:.72;cursor:pointer;}


/* ===== v136 신규상품 알림받기 : 메인/서브 공통 ===== */
.shop-new-alert-card{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;margin:0 0 14px!important;padding:13px 12px!important;border:1px solid #b9e5cc!important;border-radius:10px!important;background:#eefaf3!important;color:#17683d!important;text-decoration:none!important;box-shadow:0 3px 9px rgba(24,125,72,.08)!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;box-sizing:border-box!important}
.shop-new-alert-card:hover{transform:translateY(-2px)!important;box-shadow:0 7px 16px rgba(24,125,72,.14)!important;background:#e5f7ed!important}
.shop-new-alert-card.on{background:#16824b!important;border-color:#16824b!important;color:#fff!important}
.shop-new-alert-bell{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:50%!important;background:#fff!important;font-size:16px!important}
.shop-new-alert-card>span:last-child{min-width:0!important;display:block!important}
.shop-new-alert-card strong{display:block!important;font-size:13.5px!important;font-weight:800!important;line-height:1.3!important;color:inherit!important}
.shop-new-alert-card small{display:block!important;margin-top:4px!important;font-size:11px!important;line-height:1.45!important;font-weight:600!important;color:inherit!important;opacity:.82!important}
.shop-new-alert-mobile{background:#eefaf3!important;color:#17683d!important;font-weight:800!important;border:1px solid #b9e5cc!important;border-radius:8px!important;margin:6px 8px 9px!important;min-height:44px!important;font-size:12px!important}
.shop-new-alert-mobile.on{background:#16824b!important;color:#fff!important;border-color:#16824b!important}
