@charset "UTF-8";
body.body-main .item-display .list .space{width:auto!important}
.item-display .thumbnail a > img{max-width:100%;border:0}
.item-display-wrap > h2{display:none}
/**
 * custom css 입니다. 추가적인 css 는 여기에 작성을 해주세요.
 */
body .join-form .table1{width:auto}
#menu_box .banner{text-align:center}
#main_tab_box {padding:25px 0 0}
#main_tab_box .tab_box{margin:15px auto ;overflow:hidden;}
#main_tab_box .tab_content{padding:30px 20px;border:1px #c0c0c0 solid;margin:-1px 0 0}
#main_tab_box .tab_btn{margin: 0 -4px 0 0}
#main_tab_box .tab_btn li{width:20%;text-align:center;font-size:16px;font-weight:bold;color:#4d4d4d;height:50px;line-height:50px;border:1px #c0c0c0 solid;margin:0 -1px 0 0;cursor:pointer}
#main_tab_box .tab_btn li.on{background:#e6e6e6 ;cursor:default;}

#main_banner_box ul {margin:0 -5px}
#main_banner_box ul li{padding:0 5px}
#main_banner_box ul li:last-child{float:right}
#tbox{background:url(/data/tbg.gif) repeat-x left top; }
#tbox>ul{width:1300px;margin:auto}
#TOP_PROMOTION  img{max-width:100%}

 #TOP_BASIC{position:relative; margin:0px auto; padding:0px; height:32px; background-color:#f6f6f6; text-align:center; background-repeat:repeat-x; background-image:url(/data/skin/apple_tree/img/JB/TOP/TOP_BASEbg.gif) }
 
 #TOP_SEARCHBAR{position:relative; margin:0px auto; padding:0px; height:115px; text-align:center; }
 
 #TOP_MENUBAR{position:relative; margin:0px auto; padding:0px; height:60px; text-align:center;  background-repeat:repeat-x; background-image:url(/data/skin/apple_tree/img/JB/TOP/TOP_SECONDbg.gif) }
 
 #TOP_CATEMENU{position:relative; margin:0px auto; padding:0px; height:214px; text-align:center; }

 #NOMARGIN{line-height:0px; text-decoration:none; margin:0;}

  
 a.roll img.OVER { display: none;}
 a.roll:hOVER img { display: none;}
 a.roll:hOVER img.OVER { display: inline;}


.tweetdetails {
    background:repeat-y;
	background-image:url(/data/skin/apple_tree/img/JB/SIDEBAR/bg.gif);
    position: fixed;
    top: 0;
    right: -210px;
    width: 210px;
    padding: 0px;
    bottom: 0;
    z-index:1000;
    color: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: 0.5s right;
    -moz-transition: 0.5s right;
    transition: 0.5s right;

}

.tweetdetails.open {
    right: 0
}

.tweetdetails > .toggle {
        position: absolute;
        top: 140px;
        left: -30px;
        width: 30px;
        height: 78px;
        background:url(/data/skin/apple_tree/img/JB/SIDEBAR/TAB.png);
        text-indent: -9999px;

    }
    }




/*
	포인트 보더박스 색상 일괄적용 시작
*/
.pagination .active,
.recent-list div.list ul li:hover > a,
.recent-list div.list ul li div,
.board-paging .this,
.location .navi .this div,
.location .navi .this:hover,
.txt-field.error,
.tip-layer,
.type-tab-list li .btn button.wish,
#top.header .navi .container ul li.mypage div,
#top.header .navi .container ul li.mypage.hover > a {
    border: 1px solid #FE3652 !important;
}
.order-goods {
	border-bottom:2px solid #FE3652;
}
.option-layer .btn {
	border-top:2px solid #FE3652;
}
.goods-view .goods .image .more-thumbnail .slide .cycle a.on,
.goods-view .goods .image .more-thumbnail .slide .cycle a:hover,
#zoom-layer .wrap .view .list a.on,
#zoom-layer .wrap .view .list a:hover {
	border:3px solid #FE3652;
}
/*
	포인트 보더박스 색상 일괄적용 끝
*/
/*
	포인트 배경 색상 일괄적용 시작
*/
.order-step .num.active,
.location .navi .this div a:hover,
.cart-tab .btn-wrap .left a.on,
.cart-tab .btn-wrap .right .btn-option.on,
.cart-tab .btn-wrap .right .btn-carttab,
.cart-tab .btn-wrap .right .btn-carttab.on,
.type-tab-list li .btn button.preview,
#top.header .top-service .all-category,
#top.header .top-service .all-category > .all-category-layer h2,
#side .lnb  > .category.type-layer ul li:hover {
	background-color:#FE3652;
}
/*
	포인트 배경 색상 일괄적용 끝
*/
/*
	포인트 글자 색상 일괄적용 시작
*/
#footer .link ul li a.privacy,
.bottom .container > div.cs-center > strong,
#side .lnb  > .category.type-tree > li a:hover,
#top.header .top-service .notice ul li a,
#top.header .top-service .all-category .all-category-layer > div > ul > li > ul a:hover,
#top.header .top-service .all-category .all-category-layer > div > ul > li > strong a:hover,
#top.header .navi .container ul li.mypage.hover > a,
.type-tab-list li .btn button.wish,
.type-tab-vertical .list .tab a.on,
.cart-tab .cart-tab-option .check > .cost strong,
.cart-tab .estimate ul li.total strong,
.review-board td .comment-wrap .head .comment-count span strong,
.review-board td .comment-wrap .head .comment-count p strong,
.review-board td.txt-la a.this,
.review-board td.txt-la .cmt-count,
.review-board .preview td.complete,
.multiple-topics .tab a strong,
.goods-view .goods .info .end-price ul .total strong,
.goods-view .goods .info .end-price ul .discount strong,
.goods-view .goods .info .choice .list > strong em,
.goods-view .goods .info .item ul li.price > div strong,
.quick-search h2,
.coupon-down-layer .view .benefits .detail div strong b,
.coupon-down-layer .view .table1 .guide2 b,
.coupon-down-layer .view .table1 .guide2 strong,
.coupon-down-layer .view .table1 .guide strong,
.coupon-down-layer .view > p strong,
.cs-lnb .contect-us a,
.cs-lnb .contect-us strong,
.cs-lnb h2,
.mypage-lnb ul li a.on,
.mypage-lnb h2,
.mypage-info-change .terms-view p a,
.mypage-info-change .terms-view p label span,
.board-view-body .question > div > div .info > strong,
.board-view-body .a .item,
.comment-wrap .head .comment-count span strong,
.comment-wrap .head .comment-count p strong,
.table1 > table td.delivery-loc span,
.table1 > table tbody td .completed,
.capcha-body .text,
.search-page strong em,
.order-page .how-to-pay .buy .required-check label strong,
.order-page .how-to-pay .buy .final-settlement span,
.order-page .price-box > div > span,
.order-page .price-box > div p .total,
.order-page .price-box > div p .detail em,
.order-page .table1.type1 .gift-condition strong,
.join.wait .join-complete .child-guide a.link,
.join.wait .join-complete .child-guide p strong,
.join-complete .txt1 span,
.join .terms .msg span,
.join .terms .terms-view p a,
.join .terms .terms-view p label span,
.join .login-msg a,
.join .top > div span.this,
.member.dormancy .cite-input .caution,
.member.dormancy .date li strong.dormancy-start,
.member.dormancy .msg span,
.member .new-pw p,
.member .certify .form-element strong,
.member .box .find-pw .input-id > p a,
.member .box .find-pw .input-id > p strong,
.member .box .result-msg strong,
.view .goods-list .tc strong,
.tip-layer div strong,
.caution-msg1,
.step-top div span.this,
.location .navi .this:hover > a,
.board-paging .this,
.pagination .active,
.recent-list .paging span strong,
.toggle-faq .qatype,
.point-item .number,
.member-grade-text .l-text .strong,
.mypage-lnb h2,
.view .goods-list .align ul li label.on,
.item-display ul li .price .sale strong,
.c-red {
	color:#FE3652 !important;
}
/*
	포인트 색상 일괄적용 끝
*/

/*
	버튼
*/
.skinbtn {
	border-radius:100px;
}
.skinbtn.point1 {
	border:1px solid #fe3652;
	color:#fe3652;
}
.skinbtn.point1:hover {
	border:2px solid #e2314a;
	color:#e2314a;
}
.skinbtn.point1:hover em {
	position:relative;
	top:-1px;
}
.skinbtn.point2 {
	background:#fe3652;
	border: 1px solid #fe3652;
	color:#fff;
	font-weight:bold;
}
.skinbtn.point2:hover {
	background:#e2314a;
	border:1px solid #e2314a;
}
.skinbtn.base1 {
	background:#d7d7d7;
	border:1px solid #d7d7d7;
	color:#fff;
}
.skinbtn.base1:hover {
	background:#d7d7d7;
	border:1px solid #d7d7d7;
}
.skinbtn.base2 {
	background:#acacac;
	border:1px solid #acacac;
	color:#fff;
}
.skinbtn.base2:hover {
	background:#7d7d7d;
	border:1px solid #7d7d7d;
}
.skinbtn.base3 {
	background:#636363;
	border:1px solid #636363;
	color:#fff;
}
.skinbtn.base3:hover {
	background:#464646;
	border:1px solid #464646;
}
.skinbtn.default {
	border:1px solid #cfd3d7;
	color:#34383c;
}
.skinbtn.default:hover {
	border:2px solid #cfd3d7;
	color:#34383c;
}
.normal-btn {
	border:1px solid #cfd3d7;
	border-radius:100px;
	color:#777;
}
.normal-btn:hover {
	border:2px solid #ccc;
	color:#252525;
}
/*
	버튼 끝
*/

/*
	텍스트 필드 시작
*/
.txt-field.error {
	border:1px solid #fe3652;
}
/*
	텍스트 필드 끝
*/

/*
	레이아웃 시작
*/
#wrap {
	min-width:1400px;
}
.container {
	width:1400px;
}
#container {
	width:1400px;
}
#container > #content > .contents > .view {
	padding:0;
}
#side {
	width:208px;
}
.cs-page {
	padding-left:0;
}


/*
	레이아웃 끝
*/
/*
	헤더 시작
*/
#top.header .navi {
	background:#b7322b;
	border:none;
}
#top.header .navi .container ul li > a {
	color:#fff;
}
#top.header .head .container {
	height:100px;
}
#top.header .head h1 {
	min-width:auto;
    padding-right: 170px;
}
#top.header .head h1, #top.header .head .search, #top.header .head .ad {
	height:auto;
}
#top.header .head .gnb {
	display:table-cell;
	vertical-align:middle;
}
#top.header .head .gnb > ul {
    content:"";
    display:block;
    clear:both;
    position:relative;
}
#top.header .head .gnb > ul > li {
	float:left;
    height:30px;
    line-height:30px;
    padding:0 35px;
}
#top.header .head span[class*='Cate'] {
    display:block;
    float:left;
    height:100px;
    line-height:100px;
    visibility:hidden;
    cursor: pointer;
}
#top.header .head span.prevCate {
    padding:0 20px 0 0;
}
#top.header .head span.nextCate {
    padding:0 30px 0 20px;
}
#top.header .head .gnb > ul > li img {
    max-width: 150px;
    max-height: 28px;
}
#top.header .head .gnb > ul > li > a,
#top.header .head .gnb > ul > li.tit {
	color:#262626;
	font-size:15px;
    display: block;
    line-height: 30px;
}
#top.header .head .gnb > ul > li > a.point {
	color:#fe3652;
}
#top.header .head .gnb > ul > li > a:hover,
#top.header .head .gnb > ul > li > a.has-sub {
	border-bottom:2px solid #fe3652;
}
#top.header .head .gnb > ul > li > ul {
	top:40px;
	z-index:30;
	width:200px;
}
#top.header .head .gnb > ul > li > ul > li {
}
#top.header .head .gnb > ul > li > ul > li > ul {
	top:-1px;
	left:100%;
	z-index:20;
	width:100%;
}
#top.header .head .gnb > ul > li > ul > li > ul > li {
}
#top.header .head .gnb > ul > li > ul > li > ul > li > ul {
	top:-1px;
	left:100%;
	z-index:10;
	width:100%;
}
#top.header .head .gnb > ul li {
	position:relative;
}
#top.header .head .gnb > ul > li ul {
	display:none;
	position:absolute;
	background:#fff;
	border:1px solid #eaeaea;
	/*box-shadow:0 0 4px 0 rgba(20,20,20,.3);*/
	padding:20px 0;
}
#top.header .head .gnb > ul > li ul li {
	min-height:30px;
	border-left:2px solid #fff;
	padding-left:10px;
}
#top.header .head .gnb > ul > li ul li.tit {
	padding:5px 0 0 18px;
	font-size:14px;
	font-weight:bold;
}
#top.header .head .gnb > ul > li > ul > li:hover {
	background:#f8f8f6;
	border-left:2px solid #fe3652;
}
#top.header .head .gnb > ul > li ul li:hover {
	background:#f8f8f6;
}
#top.header .head .gnb > ul > li > ul > li a {
	display:block;
	min-height:25px;
	padding:5px 0 0 18px;
	font-size:14px;
}
#top.header .head .cart {
	display:table-cell;
	vertical-align:middle;
    width: 75px;
}
#top.header .head .cart > a {
	color:#262626;
	font-size:15px;
}
#top.header .head .cart span {
    display:inline-block;
    min-height:16px;
    margin:4px 0 0;
    padding:0 5px 0 0;
    background:url('../img/header/box-cart-right.png') no-repeat right top;
    vertical-align:top;
}
#top.header .head .cart span strong {
    display:inline-block;
    min-height:15px;
    padding:1px 0 0 5px;
    background:url('../img/header/box-cart-left.png') no-repeat left top;
    vertical-align:top;
    color:#fff;
    font-family:arial;
    font-size:11px;
}
#top.header .head .all-category {
	display:table-cell;
	vertical-align:middle;
	width:25px;
	padding:0 0 0 20px;
}

#top.header .head .all-category > a {
	display:block;
	width:25px;
	height:14px;
    background:url('../img/header/ico-all-category.png') no-repeat left top;
	text-indent:-9999px;
}
#top.header .head .all-category-layer {
	display:none;
	position:absolute;
	top:70px;
	left:0;
	width:1200px;
	background:#fff;
	border:1px solid #e5e5e5;
	box-sizing:border-box;
	z-index:20;
}
#top.header .head .all-category-layer .box {
	position:relative;
}
#top.header .head .all-category-layer .box > button {
	display:block;
	position:absolute;
	top:-1px;
	right:-31px;
	width:30px;
	height:30px;
	background:url('../img/header/btn-acl-close.png') no-repeat left top;
}
#top.header .head .all-category-layer .box > button:hover {
	background:url('../img/header/btn-acl-close.png') no-repeat right top;
}
#top.header .head .all-category-layer .category-wrap {
	display:table-cell;
	width:100%;
	padding:0 0 34px;
	box-sizing:border-box;
	line-height:30px;
	vertical-align:top;
}
#top.header .head .all-category-layer .category-wrap > ul {
	padding:34px 0 0;
}
#top.header .head .all-category-layer .category-wrap > ul > li {
	display:table-cell;
	width:300px;
	padding:0 0 0 40px;
	border-left:1px solid #e5e5e5;
	box-sizing:border-box;
}
#top.header .head .all-category-layer .category-wrap > ul > li:first-child {
	border-left:none;
}
#top.header .head .all-category-layer .category-wrap > ul li strong a {
	color:#262626;
	font-size:14px;
}
#top.header .head .all-category-layer .category-wrap div ul li a {}
#top.header .head .all-category-layer .banner-wrap {
	display:table-cell;
	width:300px;
	vertical-align:top;
}
#top.header .navi .container ul li {
	position:relative;
	background:none;
}
#top.header .navi .container ul li .benefits {
	position:absolute;
	top:26px;
	left:0;
	width:100%;
	padding:5px 0 0;
    background:url('../img/header/ico-join-benefits.png') no-repeat center top;
	color:#fff;
	font-size:11px;
	text-align:center;
	opacity:1;
	-webkit-transition: all  ease;
	-moz-transition: all  ease;
	-o-transition: all  ease;
	-ms-transition: all  ease;
	transition: all  ease;
	-webkit-animation:benefits-ux 1s .5s infinite ease;
	-moz-animation:benefits-ux 1s .5s infinite ease;
	-ms-animation:benefits-ux 1s .5s infinite ease;
	-o-animation:benefits-ux 1s .5s infinite ease;
	animation:benefits-ux 1s .5s infinite ease;
}
@-moz-keyframes benefits-ux {
	0% { -moz-transform:translatey(0px); }
	50% { -moz-transform:translatey(5px); }
	100% { -moz-transform:translatey(0px); }
}
@-webkit-keyframes benefits-ux {
	0% { -webkit-transform:translatey(0px); }
	50% { -webkit-transform:translatey(5px); }
	100% { -webkit-transform:translatey(0px); }
}
@-ms-keyframes benefits-ux {
	0% { -ms-transform:translatey(0px); }
	50% { -ms-transform:translatey(5px); }
	100% { -ms-transform:translatey(0px); }
}

#top.header .navi .container ul li .benefits em {
	display:block;
	padding:5px 0;
	background:#acacac;
}
#top.header .top-service {
	height:40px;
	background:#282f48;
	border:none;
}
#top.header .top-service .container {
	display:table;
	height:100%;
}
#top.header .top-service .favorite {
	display:table-cell;
	position:relative;
	width:50%;
	height:100%;
	vertical-align:middle;
}
#top.header .top-service .favorite a {
	margin:0 0 0 26px;
	padding:0 0 0 9px;
    background:url('../img/header/bl-4x4-f8f8f6.png') no-repeat left 65%;
	color:#acacac;
}
#top.header .top-service .favorite a:first-child {
	margin:0;
}
#top.header .top-service .favorite .layer {
	position:absolute;
	top:33px;
	z-index:10;
	padding:7px 0 0;
    background:url('../img/header/ico-tip.png') no-repeat 13px top;
}
#top.header .top-service .favorite .layer div {
	padding:15px 20px;
	background:#f8f8f6;
}
#top.header .top-service .favorite .layer div strong {
	color:#333;
}
#top.header .top-service .favorite .layer div p {
	padding:10px 0 0;
	color:#999;
	font-size:11px;
	line-height:18px;
}
#top.header .top-service .favorite .layer.cs-center {
	left:0;
}
#top.header .top-service .favorite .layer.bank-info {
	left:100px;
}









#top.header .top-service .search {
	display:table-cell;
	width:50%;
	height:100%;
	text-align:right;
	vertical-align:middle;
}
#top.header .top-service .search div {
	float:right;
	width:260px;
	height:26px;
	background:#f7f7f7;
}
#top.header .top-service .search div input {
	float:left;
}
#top.header .top-service .search div input.text {
	width:204px;
	height:26px;
	line-height:26px;
	padding:0 10px;
	background:#f7f7f7;
	border:none;
}
/*
	헤더 끝
*/
/*
	메인 시작
*/
#container > #content > .contents > .view .goad-banner {
	padding:0;
}
.item-display h2 {
	margin:0;
	padding-bottom:25px;
	color:#d7d7d7;
	font-family:Malgun Gothic,"맑은 고딕",AppleGothic,Dotum,"돋움",serif;
	font-size:60px;
	border:none;
	text-align:center;
}
/*
	메인 끝
*/
/*
	스크롤 레이어 시작
*/
#scroll-right {
	margin:0 0 0 724px;
}
.recent-list div.list ul li div {
	border-right:none !important;
}
/*
	스크롤 레이어 끝
*/
/*
	상품 리스트 시작
*/
.item-display .list ul {
	text-align:center;
}
/*
	상품 리스트 끝
*/

/*
	퀵검색 시작
*/
.quick-search.location-side.left {
	border-right:2px solid #FE3652;
}
.quick-search.location-side.left:hover {
	border-right:2px solid #e2314a;
}
.quick-search.location-side.left .btn-layer:hover {
	background:url('../img/btn/quick-search-left.png') no-repeat right top;
	color:#fff;
}
.quick-search.location-side.right {
	border-left:2px solid #FE3652;
}
.quick-search.location-side.righ:hover {
	border-left:2px solid #e2314a;
}
.quick-search.location-side.right .btn-layer:hover {
	background:url('../img/btn/quick-search-right.png') no-repeat right top;
	color:#fff;
}
.quick-search.location-top {
	border-bottom:2px solid #FE3652;
}
.quick-search.location-top:hover {
	border-bottom:2px solid #e2314a;
}
.quick-search.location-top .btn-layer:hover {
	background:url('../img/btn/quick-search-top.png') no-repeat right top;
	color:#fff;
}
/*
	퀵검색 끝
*/

/*
	장바구니 시작
*/
.order-page .price-box {
	width:100%;
	box-sizing:border-box;
}
/*
	장바구니 끝
*/

/*
	상품상세 시작
*/
.goods-view .goods .image {
	width:auto;
}
.goods-view .goods .image .thumbnail {
	width:600px;
	height:600px;
}
.goods-view .goods .image .more-thumbnail .slide {
	width:486px;
}
.goods-view .goods .info .item ul li.qr .save {
	position:relative;
	bottom:16px;
}
/*
	상품상세 끝
*/
/*
	상품리스트 시작
*/
.view .goods-list {
	padding:0;
}
.type-tab-horizontal .tab {
	height:auto;
	background:none;
	text-align:center;
}
.type-tab-horizontal .tab a {
	display:inline-block;
	float:none;
	width:auto !important;
	height:auto;
	padding:0 20px;
	border:none;
	font-size:13px;
}
.type-tab-horizontal .tab a.on {
	border:none;
}
.type-tab-horizontal .tab a span {
	display:inline-block;
	height:auto;
	padding:0 2px 5px;
	border:none;
	font-weight:bold;
}
.type-tab-horizontal .tab a.on span {
	border:none;
	border-bottom:2px solid #51585e;
}
.item-display ul li .thumbnail a .hot {
	left:2px;
	top:2px;
}
.item-display ul li .thumbnail a .hot img {
	margin:0 5px 5px 0;
}
/*
	상품리스트 끝
*/
/*
	하단 컨텐츠 시작
*/
.bottom .container > div > p {
}
/*
	하단 컨텐츠 끝
*/
/*
	카트탭 시작
*/
.cart-tab .btn-wrap .right a,
.cart-tab .btn-wrap .left a {
	border-radius:100px;
}

/*
	카트탭 끝
*/
/*
	사이드 시작
*/
.recent-list em {
	background:#7c7c7c;
}
/*
	사이드 시작
*/
/*
	푸터 시작
*/
#footer {
	padding:0 0 40px;
}
.footer .middle {
	vertical-align:middle;
}
.footer,
.bottom {
	background:#f8f8f6;
}
#footer .container .logo {
	width:263px;
}
#footer .container .certify-mark span {float:left;}
/*
	푸터 끝
*/
/*
	etc 시작
*/
.caution-msg1 {
	background-position:left 3px;
}
/*
	etc 시작
*/
/*
	회원 시작
*/
.member .login .input-info {
	padding-left:1px;
}
/*
	회원 끝
*/
/*
	브랜드 페이지
*/
.brand-wrap .list > ul > li {
    width: 200px !important;
}
/*
	브랜드 페이지 끝
*/
/*
	사이드 카테고리 시작
*/
.lnb > .category.type-layer > li > ul img,
.all-category .all-category-layer > div ul li img {
    max-width: 150px;
    max-height: 17px;
}
/*
	사이드 카테고리 끝
*/
/* SEO H1 styling parity */
.goods-view .goods .info .top .tit h1 { color: #111; font-size: 22px; margin: 0; }

.home-h1{width:1200px;max-width:100%;margin:0 auto;padding:12px 0 4px;font-size:13px;font-weight:400;color:#909090;text-align:center;letter-spacing:-0.3px;}

.cg-main > h1{padding:22px 0 8px;color:#111;font-size:20px;margin:0;}
.cate-seo-desc{font-size:13px;color:#777;margin:0 0 14px;line-height:1.5;}

.etc-page h1{margin:0 0 27px;padding:0 0 27px;border-bottom:1px solid #717171;color:#000;font-size:24px;}

/* === tbuyt HTML/CSS Footer === */
#footer {
    background: #fff;
    border-top: 1px solid #d9d9d9;
    margin-top: 40px;
}
.tb-footer {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    color: #222;
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Nanum Gothic', sans-serif;
    box-sizing: border-box;
}
.tb-footer a {
    color: inherit;
    text-decoration: none;
}
.tb-footer a:hover {
    text-decoration: underline;
}
.tb-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px 45px 28px;
    border-bottom: 1px solid #e5e5e5;
    gap: 24px;
}
.tb-footer-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.02em;
}
.tb-footer-cs {
    min-width: 240px;
}
.tb-footer-tel {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.tb-footer-hours {
    margin: 3px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: #333;
    line-height: 1.55;
}
.tb-footer-guide {
    flex: 1;
    text-align: center;
}
.tb-guide-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}
.tb-guide-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #222;
    font-size: 13px;
    font-weight: 700;
}
.tb-guide-list li a:hover {
    color: #111;
}
.tb-footer-contact {
    min-width: 240px;
    text-align: left;
}
.tb-kakao-badge {
    display: inline-flex;
    align-items: stretch;
    border-radius: 2px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    border: 1px solid #2b231d;
}
.tb-kakao-badge:hover {
    text-decoration: none !important;
    opacity: 0.92;
}
.tb-kakao-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2b231d;
    color: #fff;
    padding: 6px 12px;
}
.tb-kakao-bubble {
    display: inline-block;
    background: #fae100;
    color: #2b231d;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 4px;
    border-radius: 50%;
    line-height: 1;
}
.tb-kakao-right {
    display: inline-flex;
    align-items: center;
    background: #fae100;
    color: #2b231d;
    padding: 6px 14px;
    font-size: 15px;
    font-weight: 800;
}
.tb-footer-contact-line {
    margin: 4px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: #333;
    line-height: 1.55;
}
.tb-footer-biz {
    padding: 24px 65px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: #333;
    line-height: 1.85;
}
.tb-footer-biz p {
    margin: 0;
}
.tb-footer-biz strong {
    font-weight: 700;
    color: #111;
}
.tb-ftc-link {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border: 1px solid #bbb;
    border-radius: 2px;
    font-size: 11.5px;
    font-weight: 600;
    color: #333 !important;
    background: #fafafa;
    line-height: 1.4;
}
.tb-footer-badges {
    padding: 8px 45px 28px;
    text-align: center;
}
.tb-footer-badges img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* ============================================================
   PC 상품 리스트 4열 카드형 (goods/list/list_01.html / .tb-card-grid)
   2026-12-04
   ============================================================ */
/* ul: flex 로 4열 고정 (inline-block + padding 으로 3열로 밀리는 문제 방지) */
.item-display.type-gallery.tb-card-grid .list ul {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0 -8px;
    font-size: 12px;
}
.item-display.type-gallery.tb-card-grid .list ul li {
    flex: 0 0 auto;
    box-sizing: border-box;
    padding: 0 8px 18px;
    text-align: left;
    vertical-align: top;
}
/* 상품명에 섞인 깨진 <font> 태그 때문에 ul 직계에 생긴 strong/font 래퍼 무력화 */
.item-display.type-gallery.tb-card-grid .list ul > strong,
.item-display.type-gallery.tb-card-grid .list ul > font,
.item-display.type-gallery.tb-card-grid .list ul > b,
.item-display.type-gallery.tb-card-grid .list ul > i,
.item-display.type-gallery.tb-card-grid .list ul > em {
    display: contents;
    color: inherit;
    font-weight: inherit;
}
/* 카드 본체 */
.item-display.type-gallery.tb-card-grid .list ul li .space {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid #eaedf2;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 12px;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.item-display.type-gallery.tb-card-grid .list ul li .space:hover,
.item-display.type-gallery.tb-card-grid .list ul li .space:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}
/* 썸네일 */
.item-display.type-gallery.tb-card-grid .list ul li .thumbnail {
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 12px;
    padding: 0;
    text-align: center;
    border: 0;
}
.item-display.type-gallery.tb-card-grid .list ul li .thumbnail a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.item-display.type-gallery.tb-card-grid .list ul li .thumbnail a > img {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
    transition: transform 0.28s ease;
}
.item-display.type-gallery.tb-card-grid .list ul li .space:hover .thumbnail a > img {
    transform: scale(1.04);
}
/* 텍스트 */
.item-display.type-gallery.tb-card-grid .list ul li .txt {
    text-align: left;
    flex: 1 1 auto;
    margin-bottom: 8px;
    padding: 0;
}
.item-display.type-gallery.tb-card-grid .list ul li .txt .brand {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.4;
}
.item-display.type-gallery.tb-card-grid .list ul li .txt a {
    display: block;
    margin: 0;
    text-decoration: none;
}
.item-display.type-gallery.tb-card-grid .list ul li .txt a:hover {
    text-decoration: none;
}
.item-display.type-gallery.tb-card-grid .list ul li .txt a > strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
}
.item-display.type-gallery.tb-card-grid .list ul li .space:hover .txt a > strong {
    color: #2563eb;
}
.item-display.type-gallery.tb-card-grid .list ul li .txt a em {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}
/* 대표색상 배지 ([29색상] -> 배지) */
.item-display .tb-color-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.5;
}
/* 가격 */
.item-display.type-gallery.tb-card-grid .list ul li .price.gd-default {
    text-align: left;
    padding: 8px 0 0;
    border-top: 1px solid #f1f5f9;
}
.item-display.type-gallery.tb-card-grid .list ul li .price.gd-default .cost strong {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}
.item-display.type-gallery.tb-card-grid .list ul li .price.gd-default del {
    font-size: 12px;
    color: #94a3b8;
}
.item-display.type-gallery.tb-card-grid .list ul li .price.gd-default .sale {
    font-size: 13px;
    color: #2563eb;
    font-weight: 700;
}
.item-display.type-gallery.tb-card-grid .list ul li .price.gd-default .mileage {
    font-size: 11px;
    color: #94a3b8;
}
/* 모델번호/상품코드 */
.item-display.type-gallery.tb-card-grid .list ul li .display-field {
    padding-top: 6px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.5;
}
.item-display.type-gallery.tb-card-grid .list ul li .display-field:empty {
    display: none;
}
.item-display.type-gallery.tb-card-grid .list ul li .display-field .txt {
    padding: 0;
    margin: 0;
    color: #94a3b8;
    font-size: 11px;
}

/* =====================================================================
   메인 4열 용도별 퀵 카드 (.tb-quick-cards) — 시인성 강화 v2 | 2026-12-04
   카드별 컬러 틴트 + 상단 4px 포인트 바 + 솔리드 컬러 아이콘 원형 배지
   ===================================================================== */
.tb-quick-cards {
    width: 1400px;
    max-width: 1400px;
    margin: 28px auto 36px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    box-sizing: border-box;
    list-style: none;
    text-align: left;
}
.tb-quick-cards .tb-quick-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    height: 100%;
    margin: 0;
    padding: 26px 22px 22px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
/* 상단 4px 컬러 포인트 바 */
.tb-quick-cards .tb-quick-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #1d4ed8;
}
.tb-quick-cards .tb-quick-card:hover,
.tb-quick-cards .tb-quick-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
    text-decoration: none;
}
.tb-quick-cards .tb-quick-card:focus-visible {
    outline: 2px solid #1e3a8a;
    outline-offset: 3px;
}
/* 솔리드 컬러 아이콘 원형 배지 */
.tb-quick-cards .tb-quick-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 0 16px;
    border-radius: 50%;
    background: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.28);
}
.tb-quick-cards .tb-quick-card-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
}
/* 작은 영문 용도 태그 */
.tb-quick-cards .tb-quick-card-tag {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.4;
    text-transform: uppercase;
}
/* 제목 */
.tb-quick-cards .tb-quick-card-title {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.3;
}
/* 설명 */
.tb-quick-cards .tb-quick-card-desc {
    display: block;
    margin: 0 0 16px;
    padding: 0;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.01em;
}
/* 하단 바로가기 — 알약형 버튼 */
.tb-quick-cards .tb-quick-card-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: auto 0 0;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    color: #1e3a8a;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.tb-quick-cards .tb-quick-card-more em {
    display: inline-block;
    margin-left: 1px;
    font-style: normal;
    transition: transform 0.2s ease;
}
.tb-quick-cards .tb-quick-card:hover .tb-quick-card-more {
    border-color: rgba(15, 23, 42, 0.28);
}
.tb-quick-cards .tb-quick-card:hover .tb-quick-card-more em {
    transform: translateX(3px);
}

/* 1번 — 가게티셔츠 : 블루 틴트 */
.tb-quick-cards .tb-quick-card:nth-child(1) {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.tb-quick-cards .tb-quick-card:nth-child(1)::before {
    background: #1d4ed8;
}
.tb-quick-cards .tb-quick-card:nth-child(1) .tb-quick-card-icon {
    background: #1d4ed8;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.28);
}
.tb-quick-cards .tb-quick-card:nth-child(1) .tb-quick-card-tag {
    color: #1d4ed8;
}
.tb-quick-cards .tb-quick-card:nth-child(1):hover,
.tb-quick-cards .tb-quick-card:nth-child(1):focus-visible {
    border-color: #3b82f6;
    box-shadow: 0 16px 32px rgba(29, 78, 216, 0.20);
}
.tb-quick-cards .tb-quick-card:nth-child(1):hover .tb-quick-card-title,
.tb-quick-cards .tb-quick-card:nth-child(1):focus-visible .tb-quick-card-title {
    color: #1d4ed8;
}

/* 2번 — 가족티셔츠 : 로즈/코랄 틴트 */
.tb-quick-cards .tb-quick-card:nth-child(2) {
    background: #fff1f2;
    border-color: #fecdd3;
}
.tb-quick-cards .tb-quick-card:nth-child(2)::before {
    background: #e11d48;
}
.tb-quick-cards .tb-quick-card:nth-child(2) .tb-quick-card-icon {
    background: #e11d48;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.26);
}
.tb-quick-cards .tb-quick-card:nth-child(2) .tb-quick-card-tag {
    color: #e11d48;
}
.tb-quick-cards .tb-quick-card:nth-child(2):hover,
.tb-quick-cards .tb-quick-card:nth-child(2):focus-visible {
    border-color: #fb7185;
    box-shadow: 0 16px 32px rgba(225, 29, 72, 0.18);
}
.tb-quick-cards .tb-quick-card:nth-child(2):hover .tb-quick-card-title,
.tb-quick-cards .tb-quick-card:nth-child(2):focus-visible .tb-quick-card-title {
    color: #be123c;
}

/* 3번 — 소량티셔츠 : 에메랄드 틴트 */
.tb-quick-cards .tb-quick-card:nth-child(3) {
    background: #ecfdf5;
    border-color: #a7f3d0;
}
.tb-quick-cards .tb-quick-card:nth-child(3)::before {
    background: #059669;
}
.tb-quick-cards .tb-quick-card:nth-child(3) .tb-quick-card-icon {
    background: #059669;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.26);
}
.tb-quick-cards .tb-quick-card:nth-child(3) .tb-quick-card-tag {
    color: #047857;
}
.tb-quick-cards .tb-quick-card:nth-child(3):hover,
.tb-quick-cards .tb-quick-card:nth-child(3):focus-visible {
    border-color: #34d399;
    box-shadow: 0 16px 32px rgba(5, 150, 105, 0.18);
}
.tb-quick-cards .tb-quick-card:nth-child(3):hover .tb-quick-card-title,
.tb-quick-cards .tb-quick-card:nth-child(3):focus-visible .tb-quick-card-title {
    color: #047857;
}

/* 4번 — 무료 시안·견적 : 네이비 강조 카드 */
.tb-quick-cards .tb-quick-card:nth-child(4) {
    background: #1e3a8a;
    border-color: #1e3a8a;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.22);
}
.tb-quick-cards .tb-quick-card:nth-child(4)::before {
    background: #93c5fd;
}
.tb-quick-cards .tb-quick-card:nth-child(4) .tb-quick-card-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: none;
}
.tb-quick-cards .tb-quick-card:nth-child(4) .tb-quick-card-tag {
    color: #93c5fd;
}
.tb-quick-cards .tb-quick-card:nth-child(4) .tb-quick-card-title {
    color: #ffffff;
}
.tb-quick-cards .tb-quick-card:nth-child(4) .tb-quick-card-desc {
    color: #e2e8f0;
}
.tb-quick-cards .tb-quick-card:nth-child(4) .tb-quick-card-more {
    background: #ffffff;
    border-color: #ffffff;
    color: #1e3a8a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}
.tb-quick-cards .tb-quick-card:nth-child(4):hover,
.tb-quick-cards .tb-quick-card:nth-child(4):focus-visible {
    border-color: #93c5fd;
    box-shadow: 0 18px 36px rgba(30, 58, 138, 0.40);
}
.tb-quick-cards .tb-quick-card:nth-child(4):hover .tb-quick-card-more {
    background: #eff6ff;
    border-color: #eff6ff;
}
.tb-quick-cards .tb-quick-card:nth-child(4):focus-visible {
    outline-color: #93c5fd;
}

/* =====================================================================
   메인 BEST 5 — 5개 카테고리 탭 + 실제 상품 5열 카드 (.tb-best-section)
   2026-12-04 2단계 리뉴얼
   ===================================================================== */
.tb-best-section {width:1400px;max-width:1400px;margin:0 auto 46px;padding:0;box-sizing:border-box;text-align:left;}
.tb-best-section * {box-sizing:border-box;}

/* 섹션 헤더 */
.tb-best-head {display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 16px;padding:0 2px;}
.tb-best-head-txt {min-width:0;}
.tb-best-title {margin:0;padding:0;color:#0f172a;font-size:26px;font-weight:900;letter-spacing:-.035em;line-height:1.2;}
.tb-best-title em {font-style:normal;color:#1e3a8a;}
.tb-best-sub {margin:7px 0 0;padding:0;color:#64748b;font-size:13.5px;font-weight:400;letter-spacing:-.01em;line-height:1.4;}
.tb-best-all {flex:0 0 auto;padding-bottom:4px;color:#475569;font-size:13px;font-weight:700;letter-spacing:-.01em;text-decoration:none;white-space:nowrap;transition:color .2s ease;}
.tb-best-all span {display:inline-block;margin-left:2px;transition:transform .2s ease;}
.tb-best-all:hover {color:#1e3a8a;text-decoration:none;}
.tb-best-all:hover span {transform:translateX(3px);}

/* 탭 바 — 텍스트 탭 + 이동하는 밑줄 */
.tb-best-tabs {position:relative;display:flex;justify-content:center;flex-wrap:nowrap;gap:6px;margin:0 0 26px;border-bottom:1px solid #e8ecf4;}
.tb-best-tab {position:relative;margin:0;padding:15px 20px 16px;border:0;border-radius:0;background:none;color:#64748b;font-family:inherit;font-size:15.5px;font-weight:600;letter-spacing:-.02em;line-height:1.2;white-space:nowrap;cursor:pointer;transition:color .2s ease;}
.tb-best-tab:hover {color:#0f172a;}
.tb-best-tab.is-active {color:#1e3a8a;font-weight:800;}
.tb-best-tab:focus-visible {outline:2px solid #1e3a8a;outline-offset:-4px;border-radius:4px;}
.tb-best-tab-ind {position:absolute;bottom:-1px;left:0;width:0;height:2.5px;background:#1e3a8a;border-radius:2px 2px 0 0;transition:left .3s cubic-bezier(.4,0,.2,1),width .3s cubic-bezier(.4,0,.2,1);pointer-events:none;}

/* 패널 */
.tb-best-panel {display:none;}
.tb-best-panel.is-active {display:block;}
.tb-best-grid {display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin:0;padding:0;list-style:none;}

/* 상품 카드 */
.tb-best-card {display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #e8ecf4;border-radius:12px;overflow:hidden;color:#0f172a;text-decoration:none;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;}
.tb-best-card:hover,.tb-best-card:focus-visible {transform:translateY(-4px);box-shadow:0 12px 26px rgba(15,23,42,.10);border-color:#c7d2fe;text-decoration:none;}
.tb-best-thumb {position:relative;display:block;width:100%;padding-top:100%;overflow:hidden;background:#f8fafc;}
.tb-best-thumb img {position:absolute;top:0;left:0;display:block;width:100%;height:100%;object-fit:cover;border:0;transition:transform .4s ease;}
.tb-best-card:hover .tb-best-thumb img {transform:scale(1.06);}
.tb-best-badge {position:absolute;top:10px;left:10px;z-index:2;padding:5px 8px 4px;border-radius:6px;background:rgba(15,23,42,.72);color:#fff;font-size:10.5px;font-weight:800;letter-spacing:.04em;line-height:1;}
.tb-best-badge.is-first {background:#1e3a8a;color:#fcd34d;box-shadow:0 2px 8px rgba(30,58,138,.35);}
.tb-color-badge {position:absolute;right:8px;bottom:8px;z-index:2;padding:4px 7px 3px;border:1px solid #e2e8f0;border-radius:999px;background:rgba(255,255,255,.94);color:#475569;font-size:10.5px;font-weight:700;line-height:1;}
.tb-best-info {display:flex;flex-direction:column;gap:7px;padding:13px 13px 15px;}
.tb-best-name {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.9em;color:#0f172a;font-size:13.5px;font-weight:500;letter-spacing:-.02em;line-height:1.45;}
.tb-best-price {color:#0f172a;font-size:16px;font-weight:900;letter-spacing:-.02em;line-height:17.6px;}
.tb-best-price em {font-style:normal;margin-left:1px;font-size:12px;font-weight:700;}
.tb-best-price.is-inquiry {color:#1e3a8a;font-size:14px;letter-spacing:-.01em;}

/* 하단 더 보기 버튼 */
.tb-best-more-wrap {display:flex;justify-content:center;margin:28px 0 0;}
.tb-best-more-btn {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:220px;margin:0;padding:13px 34px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;font-family:inherit;font-size:13.5px;font-weight:700;letter-spacing:-.015em;line-height:1.2;text-decoration:none;transition:border-color .2s ease,color .2s ease,background .2s ease,box-shadow .2s ease;}
.tb-best-more-btn:hover {border-color:#1e3a8a;color:#1e3a8a;background:#f8fafc;box-shadow:0 4px 14px rgba(30,58,138,.08);text-decoration:none;}
.tb-best-more-btn .tb-best-more-plus {font-size:15px;font-weight:800;line-height:1;}

/* 탭 전환 애니메이션 — 페이드인 + 아래에서 살짝 올라오기 */
@keyframes tbBestFadeUp {from {opacity:0;transform:translateY(10px);} to {opacity:1;transform:translateY(0);}}
.tb-best-panel.is-anim {animation:tbBestFadeUp .28s ease-out backwards;}
.tb-best-panel.is-anim .tb-best-card {animation:tbBestFadeUp .28s ease-out backwards;}
.tb-best-panel.is-anim .tb-best-card:nth-child(1) {animation-delay:.03s;}
.tb-best-panel.is-anim .tb-best-card:nth-child(2) {animation-delay:.07s;}
.tb-best-panel.is-anim .tb-best-card:nth-child(3) {animation-delay:.11s;}
.tb-best-panel.is-anim .tb-best-card:nth-child(4) {animation-delay:.15s;}
.tb-best-panel.is-anim .tb-best-card:nth-child(5) {animation-delay:.19s;}
@media (prefers-reduced-motion: reduce) {
  .tb-best-panel.is-anim,.tb-best-panel.is-anim .tb-best-card {animation:none;}
  .tb-best-tab-ind,.tb-best-card,.tb-best-thumb img {transition:none;}
}

/* =====================================================================
   메인 카테고리 상품 섹션 — 카테고리 헤더 + 4열 실제 상품 카드 (.tb-cate-sec)
   2026-12-04 3단계 리뉴얼
   ===================================================================== */
.tb-cate-sec {width:1400px;max-width:1400px;margin:0 auto 34px;padding:0;box-sizing:border-box;text-align:left;}
.tb-cate-sec * {box-sizing:border-box;}

/* 섹션 헤더 */
.tb-cate-head {display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px;padding:0 2px;}
.tb-cate-head-txt {min-width:0;}
.tb-cate-title {display:flex;align-items:center;gap:9px;margin:0;padding:0;color:#0f172a;font-size:22px;font-weight:900;letter-spacing:-.035em;line-height:1.2;}
.tb-cate-title::before {content:"";display:block;flex:0 0 auto;width:4px;height:20px;border-radius:2px;background:#1e3a8a;}
.tb-cate-sub {margin:7px 0 0 13px;padding:0;color:#64748b;font-size:13px;font-weight:400;letter-spacing:-.01em;line-height:1.4;}
.tb-cate-all {flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;margin:0 0 1px;padding:8px 16px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;font-size:12.5px;font-weight:700;letter-spacing:-.01em;line-height:1.2;text-decoration:none;white-space:nowrap;transition:border-color .2s ease,color .2s ease,background .2s ease,box-shadow .2s ease;}
.tb-cate-all em {display:inline-block;font-style:normal;transition:transform .2s ease;}
.tb-cate-all:hover,.tb-cate-all:focus-visible {border-color:#1e3a8a;background:#f8fafc;color:#1e3a8a;box-shadow:0 4px 12px rgba(30,58,138,.08);text-decoration:none;}
.tb-cate-all:hover em {transform:translateX(3px);}
.tb-cate-all:focus-visible {outline:2px solid #1e3a8a;outline-offset:2px;}

/* 제작 프로세스 배너 아래 섹션은 위쪽 여백을 더 준다 */
.tb-process-banner + .tb-cate-sec {margin-top:36px;}
/* 상품 4열 그리드 */
.tb-cate-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:0;padding:0;list-style:none;}
.tb-cate-grid > li {margin:0;padding:0;list-style:none;}

/* 상품 카드 */
.tb-cate-card {display:flex;flex-direction:column;height:100%;margin:0;background:#fff;border:1px solid #e8ecf4;border-radius:12px;overflow:hidden;color:#0f172a;text-decoration:none;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;}
.tb-cate-card:hover,.tb-cate-card:focus-visible {transform:translateY(-4px);box-shadow:0 12px 26px rgba(15,23,42,.10);border-color:#c7d2fe;text-decoration:none;}
.tb-cate-card:focus-visible {outline:2px solid #1e3a8a;outline-offset:2px;}
.tb-cate-thumb {position:relative;display:block;width:100%;padding-top:100%;overflow:hidden;background:#f8fafc;}
.tb-cate-thumb img {position:absolute;top:0;left:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;transition:transform .4s ease;}
.tb-cate-card:hover .tb-cate-thumb img,.tb-cate-card:focus-visible .tb-cate-thumb img {transform:scale(1.06);}
.tb-cate-color {position:absolute;right:9px;bottom:9px;z-index:2;padding:4px 8px 3px;border:1px solid #e2e8f0;border-radius:999px;background:rgba(255,255,255,.94);color:#475569;font-size:10.5px;font-weight:700;letter-spacing:-.01em;line-height:1;}
.tb-cate-color.is-custom {border-color:#c7d2fe;background:rgba(239,246,255,.96);color:#1e3a8a;}
.tb-cate-info {display:flex;flex-direction:column;flex:1 1 auto;gap:8px;padding:14px 15px 16px;}
.tb-cate-name {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.9em;color:#0f172a;font-size:14px;font-weight:500;letter-spacing:-.02em;line-height:1.45;}
.tb-cate-card:hover .tb-cate-name {color:#1e3a8a;}
.tb-cate-price {margin-top:auto;min-height:19.6px;color:#0f172a;font-size:16.5px;font-weight:900;letter-spacing:-.02em;line-height:17.6px;}
.tb-cate-price em {font-style:normal;margin-left:1px;font-size:12px;font-weight:700;}
.tb-cate-price.is-inquiry {color:#1e3a8a;font-size:14px;letter-spacing:-.01em;line-height:17.6px;}

/* =====================================================================
   메인 4단계 리뉴얼 — 신뢰 포인트 · 미디어(슬라이더+유튜브) · 하단 배너 정리
   2026-12-04
   ===================================================================== */

/* ---- 4대 신뢰 포인트 카드 (.tb-trust-sec) — 기존 main_09 통이미지 대체 ---- */
.tb-trust-sec {width:1400px;max-width:1400px;margin:56px auto 40px;padding:0;box-sizing:border-box;text-align:left;}
.tb-trust-sec * {box-sizing:border-box;}
.tb-trust-head {display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px;padding:0 2px;}
.tb-trust-title {display:flex;align-items:center;gap:9px;margin:0;padding:0;color:#0f172a;font-size:22px;font-weight:900;letter-spacing:-.035em;line-height:1.2;}
.tb-trust-title::before {content:"";display:block;flex:0 0 auto;width:4px;height:20px;border-radius:2px;background:#1e3a8a;}
.tb-trust-sub {margin:7px 0 0 13px;padding:0;color:#64748b;font-size:13px;font-weight:400;letter-spacing:-.01em;line-height:1.4;}
.tb-trust-list {display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:0;padding:0;list-style:none;}
.tb-trust-list > li {margin:0;padding:0;list-style:none;}
.tb-trust-card {position:relative;display:flex;flex-direction:column;align-items:flex-start;height:100%;margin:0;padding:26px 24px 22px;overflow:hidden;background:#ffffff;border:1px solid #e8ecf4;border-radius:14px;color:#0f172a;text-decoration:none;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;}
.tb-trust-card::before {content:"";position:absolute;top:0;left:0;right:0;height:4px;background:#1e3a8a;}
.tb-trust-card:hover,.tb-trust-card:focus-visible {transform:translateY(-4px);box-shadow:0 14px 30px rgba(15,23,42,.10);border-color:#c7d2fe;text-decoration:none;}
.tb-trust-card:focus-visible {outline:2px solid #1e3a8a;outline-offset:3px;}
.tb-trust-num {display:block;margin:0;color:#1d4ed8;font-size:12px;font-weight:900;letter-spacing:.14em;line-height:1;}
.tb-trust-tit {display:block;margin:12px 0 0;color:#0f172a;font-size:19px;font-weight:900;letter-spacing:-.03em;line-height:1.3;}
.tb-trust-card:hover .tb-trust-tit,.tb-trust-card:focus-visible .tb-trust-tit {color:#1e3a8a;}
.tb-trust-desc {display:block;margin:9px 0 0;color:#475569;font-size:13.5px;font-weight:500;letter-spacing:-.01em;line-height:1.55;}
.tb-trust-more {display:inline-flex;align-items:center;gap:4px;margin:auto 0 0;padding:18px 0 0;color:#1e3a8a;font-size:12.5px;font-weight:800;letter-spacing:-.01em;line-height:1.4;}
.tb-trust-more em {display:inline-block;margin-left:1px;font-style:normal;transition:transform .2s ease;}
.tb-trust-card:hover .tb-trust-more em,.tb-trust-card:focus-visible .tb-trust-more em {transform:translateX(3px);}

/* ---- 좌측 슬라이더 + 우측 유튜브 (.tb-media-sec) — float 대신 flex ---- */
.tb-media-sec {display:flex;align-items:stretch;gap:16px;width:1400px;max-width:1400px;margin:56px auto 0;padding:0;box-sizing:border-box;}
.tb-media-sec * {box-sizing:border-box;}
.tb-media-panel {position:relative;overflow:hidden;border:1px solid #e8ecf4;border-radius:14px;background:#0f172a;box-shadow:0 2px 10px rgba(15,23,42,.08);}
.tb-media-slider {flex:0 0 537px;width:537px;height:445px;}
.tb-media-slider .slider-wrap,.tb-media-slider .slider-banner-1798333193 {width:537px;height:445px;margin:0;}
.tb-media-video {flex:1 1 auto;min-width:0;height:445px;background:#000000;}
.tb-media-video iframe {display:block;width:100%;height:445px;max-width:none;border:0;}

/* ---- 협찬배너 · 하단 배너 · 공장안내 1400px 중앙 정렬 ---- */
.tb-bottom-sec {width:1400px;max-width:1400px;margin:34px auto 60px;padding:0;box-sizing:border-box;}
.tb-bottom-sec * {box-sizing:border-box;}
.tb-bottom-line {display:block;width:100%;height:auto;margin:0 0 26px;border:0;}
.tb-factory {display:block;overflow:hidden;border:1px solid #e8ecf4;border-radius:14px;line-height:0;box-shadow:0 2px 10px rgba(15,23,42,.08);}
.tb-factory img {display:block;width:100%;height:auto;border:0;}

/* =====================================================================
   단체복 제작 프로세스 배너 (.tb-process-banner) — 기존 main_06 협찬배너 대체
   2026-12-04
   ===================================================================== */
.tb-process-banner {width:1400px;max-width:1400px;margin:56px auto 0;padding:0;box-sizing:border-box;text-align:left;}
.tb-process-banner * {box-sizing:border-box;}
.tb-process-inner {position:relative;display:flex;align-items:center;gap:44px;overflow:hidden;padding:38px 42px;border-radius:16px;background:#12306b;background:linear-gradient(120deg,#0b1c3d 0%,#12306b 52%,#1e3a8a 100%);box-shadow:0 12px 30px rgba(15,42,94,.18);}
.tb-process-inner::before {content:"";position:absolute;right:-110px;top:-150px;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(96,165,250,.20) 0%,rgba(96,165,250,0) 70%);pointer-events:none;}
.tb-process-main {position:relative;z-index:1;flex:1 1 auto;min-width:0;}
.tb-process-eyebrow {margin:0;padding:0;color:#93c5fd;font-size:11px;font-weight:800;letter-spacing:.2em;line-height:1;}
.tb-process-title {margin:11px 0 0;padding:0;color:#ffffff;font-size:23px;font-weight:900;letter-spacing:-.035em;line-height:1.25;}
.tb-process-sub {margin:8px 0 0;padding:0;color:#b9c6dd;font-size:13px;font-weight:400;letter-spacing:-.01em;line-height:1.4;}
.tb-process-steps {display:flex;align-items:flex-start;margin:22px 0 0;padding:0;list-style:none;}
.tb-process-step {position:relative;flex:1 1 0;min-width:0;margin:0;padding:0 26px 0 0;list-style:none;}
.tb-process-step::after {content:"";position:absolute;top:14px;right:11px;width:7px;height:7px;border-top:1.5px solid rgba(147,197,253,.55);border-right:1.5px solid rgba(147,197,253,.55);transform:rotate(45deg);}
.tb-process-step:last-child {padding-right:0;}
.tb-process-step:last-child::after {display:none;}
.tb-process-num {display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border:1px solid rgba(147,197,253,.45);border-radius:50%;background:rgba(147,197,253,.10);color:#bfdbfe;font-size:11px;font-weight:900;letter-spacing:.04em;line-height:1;}
.tb-process-step-tit {display:block;margin:11px 0 0;color:#ffffff;font-size:15px;font-weight:800;letter-spacing:-.025em;line-height:1.3;}
.tb-process-step-desc {display:block;margin:5px 0 0;color:#94a3b8;font-size:12px;font-weight:400;letter-spacing:-.01em;line-height:1.45;}
.tb-process-cta {position:relative;z-index:1;flex:0 0 246px;display:flex;flex-direction:column;justify-content:center;gap:9px;align-self:stretch;padding-left:38px;border-left:1px solid rgba(148,163,184,.22);}
.tb-process-cta-note {margin:0 0 3px;padding:0;color:#b9c6dd;font-size:12px;font-weight:500;letter-spacing:-.01em;line-height:1.4;}
.tb-process-btn {display:flex;align-items:center;justify-content:center;gap:5px;height:44px;padding:0 14px;border-radius:10px;font-family:inherit;font-size:13.5px;font-weight:800;letter-spacing:-.02em;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease;}
.tb-process-btn em {font-style:normal;}
.tb-process-btn.is-primary {background:#ffffff;color:#12306b;box-shadow:0 4px 12px rgba(2,6,23,.18);}
.tb-process-btn.is-primary:hover,.tb-process-btn.is-primary:focus-visible {background:#eff6ff;color:#0b1c3d;text-decoration:none;box-shadow:0 6px 16px rgba(2,6,23,.22);}
.tb-process-btn.is-kakao {border:1px solid rgba(191,219,254,.45);background:rgba(255,255,255,.06);color:#ffffff;}
.tb-process-btn.is-kakao:hover,.tb-process-btn.is-kakao:focus-visible {border-color:#bfdbfe;background:rgba(255,255,255,.14);text-decoration:none;}
.tb-process-btn:focus-visible {outline:2px solid #bfdbfe;outline-offset:2px;}

/* ---- 상품 썸네일 세로형 사진 얼굴 잘림 방지 (BEST 5 · 카테고리 카드) ---- */
.tb-best-thumb img,.tb-cate-thumb img {object-position:50% 0%;}

/* =====================================================================
   게시판 진행상태 배지 · 말머리 정리 · 문의 작성 버튼
   2026-12-04
   ===================================================================== */
.board-list .tb-cat-cell {white-space:nowrap;}
.tb-badge {display:inline-flex;align-items:center;justify-content:center;min-width:56px;height:23px;padding:0 9px;border:1px solid transparent;border-radius:4px;color:#fff;font-family:inherit;font-size:11.5px;font-weight:700;letter-spacing:-.02em;line-height:1;white-space:nowrap;vertical-align:middle;box-sizing:border-box;}
.tb-badge.is-pill {border-radius:999px;}
/* 주문하기 진행상태 */
.tb-badge.is-order {background:#2563eb;border-color:#2563eb;}
.tb-badge.is-draft {background:#9ca3af;border-color:#9ca3af;}
.tb-badge.is-paywait {background:#4b5563;border-color:#4b5563;}
.tb-badge.is-making {background:#be185d;border-color:#be185d;}
.tb-badge.is-paid {background:#059669;border-color:#059669;}
.tb-badge.is-shipped {background:#ffffff;border-color:#be185d;color:#be185d;}
.tb-badge.is-hold {background:#f8fafc;border-color:#64748b;color:#64748b;}
/* 견적문의 · 시안확인 */
.tb-badge.is-qwait,.tb-badge.is-checkwait {background:#fff7ed;border-color:#ea580c;color:#ea580c;}
.tb-badge.is-qdone,.tb-badge.is-checkdone {background:#f0fdf4;border-color:#15803d;color:#15803d;}
/* 게시판 상단 글쓰기 버튼 */
.skinbtn.tb-qa-write,.skinbtn.tb-board-write {display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 20px;border-radius:6px;font-size:13px;line-height:1;}
.skinbtn.tb-qa-write em,.skinbtn.tb-board-write em {font-style:normal;font-weight:800;letter-spacing:-.02em;}
.section-header .option .skinbtn.tb-qa-write + .skinbtn,.section-header .option .skinbtn.tb-board-write {margin-left:0;}

/* =====================================================================
   로그인 화면 2단 카드형 (.tb-login-page) — 2026-12-04
   ===================================================================== */
.member.tb-login-page {width:1180px;max-width:1180px;margin:0 auto;padding:56px 0 76px;box-sizing:border-box;}
.member.tb-login-page > h2 {margin:0 0 24px;color:#111;font-size:28px;font-weight:900;letter-spacing:-.04em;line-height:1.2;}
.tb-login-grid {display:flex;align-items:stretch;justify-content:flex-start;gap:24px;}
.member.tb-login-page .tb-login-card {flex:1 1 0;min-width:0;max-width:578px;display:flex;flex-direction:column;margin:0;padding:40px 42px 42px;border:1px solid #e8ecf4;border-radius:14px;background:#fff;box-sizing:border-box;box-shadow:0 2px 12px rgba(15,23,42,.04);}
.member.tb-login-page .tb-login-card h3 {margin:0 0 20px;padding:0;color:#111;font-size:20px;font-weight:900;letter-spacing:-.03em;line-height:1.3;}

/* 회원 로그인 카드 */
.member.tb-login-page .tb-login-card .login {display:flex;align-items:stretch;gap:10px;overflow:visible;}
.member.tb-login-page .tb-login-card .login .input-info {float:none;flex:1 1 auto;min-width:0;}
.member.tb-login-page .tb-login-card .login .input-info div {position:relative;margin:0 0 10px;}
.member.tb-login-page .tb-login-card .login .input-info div:last-child {margin-bottom:0;}
.member.tb-login-page .tb-login-card .login .input-info div .text {width:100%;height:46px;padding:0 14px;border:1px solid #d5dbe6;border-radius:8px;background:#fff;color:#111;font-size:14px;line-height:44px;box-sizing:border-box;}
.member.tb-login-page .tb-login-card .login .input-info div .text:focus {border-color:#1e3a8a;outline:none;box-shadow:0 0 0 3px rgba(30,58,138,.08);}
.member.tb-login-page .tb-login-card .login .input-info div .text::placeholder {color:#9aa4b2;}
.member.tb-login-page .tb-login-card .login button.l-login {float:none;flex:0 0 132px;display:flex;align-items:center;justify-content:center;height:auto;min-height:102px;margin:0;padding:0;border-radius:10px;line-height:1;}
.member.tb-login-page .tb-login-card .login button.l-login em {font-size:15px;font-weight:800;font-style:normal;letter-spacing:-.02em;}
.member.tb-login-page .tb-login-card .save {position:relative;min-height:20px;margin:15px 0 0;}
.member.tb-login-page .tb-login-card .save label {color:#555;font-size:13px;font-weight:500;}
.member.tb-login-page .tb-login-card .caution-msg1 {margin:10px 0 0;color:#e2314a;font-size:12.5px;line-height:1.5;}
.member.tb-login-page .tb-login-card .m2 {display:none;}
.member.tb-login-page .tb-login-card .btn {display:flex;gap:8px;margin:20px 0 0;padding:16px 0 0;border-top:1px solid #eef1f6;font-size:0;text-align:left;}
.member.tb-login-page .tb-login-card .btn .skinbtn {flex:1 1 0;height:42px;margin:0;border-radius:8px;font-size:13px;}
.member.tb-login-page .tb-login-card .btn .skinbtn em {font-style:normal;font-weight:700;letter-spacing:-.02em;}
.member.tb-login-page .tb-login-card .btn .skinbtn.l-join {flex:1.25 1 0;background:#111827;border-color:#111827;color:#fff;font-weight:800;}

/* 비회원 주문하기 카드 */
.member.tb-login-page .tb-login-guest {justify-content:flex-start;background:#fafbff;border-color:#e3e8f3;}
.member.tb-login-page .tb-login-guest .tb-guest-desc {margin:0 0 18px;color:#475569;font-size:13.5px;font-weight:400;line-height:1.65;letter-spacing:-.01em;}
.member.tb-login-page .tb-login-guest fieldset {margin:0;padding:0;border:0;}
.member.tb-login-page .tb-login-guest legend {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.member.tb-login-page .tb-login-guest .tit-nonmember {display:none;}
.member.tb-login-page .tb-login-guest .skinbtn.l-nonmembersbuy {display:flex;align-items:center;justify-content:center;width:100%;height:58px;border-radius:10px;font-size:16px;}
.member.tb-login-page .tb-login-guest .skinbtn.l-nonmembersbuy em {font-style:normal;font-weight:800;letter-spacing:-.02em;}
.member.tb-login-page .tb-login-guest .tb-guest-note {margin:26px 0 18px;padding:0;color:#64748b;font-size:13px;font-weight:400;line-height:1.7;letter-spacing:-.01em;}
.member.tb-login-page .tb-login-guest .tb-guest-note strong {display:block;margin:0 0 4px;color:#334155;font-size:13.5px;font-weight:800;}
.member.tb-login-page .tb-login-guest .tb-guest-join {display:flex;align-items:center;justify-content:center;height:46px;margin:auto 0 0;border-radius:10px;background:#111827;color:#fff;font-size:14px;font-weight:800;letter-spacing:-.02em;text-decoration:none;}
.member.tb-login-page .tb-login-guest .tb-guest-join:hover {background:#1f2937;color:#fff;text-decoration:none;}

/* 비회원 주문조회 */
.member.tb-login-page .tb-login-lookup {margin:24px 0 0;padding:28px 34px 26px;border:1px solid #e8ecf4;border-radius:14px;background:#fff;box-sizing:border-box;box-shadow:0 2px 12px rgba(15,23,42,.04);}
.member.tb-login-page .tb-login-lookup h3 {margin:0 0 16px;padding:0;color:#111;font-size:17px;font-weight:900;letter-spacing:-.03em;}
.member.tb-login-page .tb-login-lookup fieldset {margin:0;padding:0;border:0;}
.member.tb-login-page .tb-login-lookup legend {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.member.tb-login-page .tb-login-lookup .login {display:flex;align-items:center;gap:10px;overflow:visible;}
.member.tb-login-page .tb-login-lookup .login .input-info {display:flex;flex:1 1 auto;gap:10px;min-width:0;float:none;}
.member.tb-login-page .tb-login-lookup .login .input-info div {flex:1 1 0;min-width:0;margin:0;}
.member.tb-login-page .tb-login-lookup .login .input-info div .text {width:100%;height:46px;padding:0 14px;border:1px solid #d5dbe6;border-radius:8px;color:#111;font-size:14px;line-height:44px;box-sizing:border-box;}
.member.tb-login-page .tb-login-lookup .login .input-info div .text:focus {border-color:#1e3a8a;outline:none;box-shadow:0 0 0 3px rgba(30,58,138,.08);}
.member.tb-login-page .tb-login-lookup .login .skinbtn.l-confirm {display:flex;align-items:center;justify-content:center;float:none;flex:0 0 132px;height:46px;margin:0;border-radius:8px;font-size:14px;line-height:1;}
.member.tb-login-page .tb-login-lookup .login .skinbtn.l-confirm em {font-style:normal;font-weight:800;}
.member.tb-login-page .tb-login-page .caution-msg2,.member.tb-login-page > .caution-msg2 {margin:14px 0 0;color:#94a3b8;font-size:12px;line-height:1.6;}

/* 버튼 안 글자 줄높이 보정(기존 .l-login/.l-confirm 의 85px 상속 방지) */
.member.tb-login-page .tb-login-card .login button.l-login em,
.member.tb-login-page .tb-login-lookup .login .skinbtn.l-confirm em,
.member.tb-login-page .tb-login-guest .skinbtn.l-nonmembersbuy em,
.member.tb-login-page .tb-login-card .btn .skinbtn em,
.skinbtn.tb-qa-write em,
.skinbtn.tb-board-write em {line-height:1;vertical-align:middle;}

/* ============================================================================
   [2026-12-04] 고객 확인 페이지 디자인 통일 · 견적문의 비공개 모드
   - 기준: 로그인 화면(.tb-login-page) 흰 카드 톤
   - 카드: #fff / 1px solid #e5e7eb / radius 12px / 그림자 약하게
   - 포인트: #ff2e55 (주요 버튼) · #0f172a (제목/보조 버튼)
   - 폼 action·hidden·script·기존 기능은 건드리지 않고 스타일만 적용
   ============================================================================ */

/* ---------- 공통: 페이지 제목 · 카드 · 입력 · 버튼 ---------- */
body.body-member #content .member:not(.tb-login-page) > h2,
body.body-join-agreement #content .join > .top > h2,
body.body-order #content .order-page .step-top > h2,
body.body-board #content .section > .section-header > .h2,
body.body-board #content .section > h2.h2 {
    margin: 0 0 22px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.2;
}

body.body-member #content .member:not(.tb-login-page),
body.body-join-agreement #content .join,
body.body-order #content .order-page,
body.body-board #content .contents-inner.cs-page {
    width: 1180px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 0 76px;
    box-sizing: border-box;
}

/* 둥근 입력창 (회원·주문·게시판 공통) */
body.body-member #content .text,
body.body-join-agreement #content .text,
body.body-order #content .text,
body.body-board #content .text {
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d5dbe6;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    line-height: 44px;
    box-sizing: border-box;
}
body.body-member #content .text:focus,
body.body-join-agreement #content .text:focus,
body.body-order #content .text:focus,
body.body-board #content .text:focus {
    border-color: #0f172a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15,23,42,.07);
}
body.body-member #content .text::placeholder,
body.body-board #content .text::placeholder { color: #9aa4b2; }

body.body-board #content textarea {
    padding: 12px 14px;
    border: 1px solid #d5dbe6;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
}
body.body-board #content textarea:focus {
    border-color: #0f172a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15,23,42,.07);
}

/* 기본 버튼(둥근) */
body.body-member #content .skinbtn,
body.body-join-agreement #content .skinbtn,
body.body-board #content .skinbtn {
    border-radius: 8px;
}
body.body-member #content .skinbtn em,
body.body-join-agreement #content .skinbtn em,
body.body-board #content .skinbtn em { font-style: normal; letter-spacing: -.02em; }

body.body-join-agreement #content .join .btn,
body.body-member #content .member:not(.tb-login-page) .btn {
    margin: 26px 0 0;
    padding: 0;
    border: 0;
    background: none;
    text-align: center;
    font-size: 0;
}
body.body-join-agreement #content .join .btn .skinbtn,
body.body-member #content .member:not(.tb-login-page) .btn .skinbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    height: 50px;
    margin: 0 4px;
    padding: 0 22px;
    font-size: 14px;
}
body.body-join-agreement #content .join .btn .skinbtn em,
body.body-member #content .member:not(.tb-login-page) .btn .skinbtn em {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
body.body-join-agreement #content .join .btn .skinbtn.point2,
body.body-member #content .member:not(.tb-login-page) .btn .skinbtn.point2,
body.body-member #content .member:not(.tb-login-page) .btn .skinbtn.base3 {
    background: #ff2e55;
    border-color: #ff2e55;
    color: #fff;
}
body.body-member #content .member:not(.tb-login-page) .btn .skinbtn.default {
    background: #fff;
    border: 1px solid #d5dbe6;
    color: #0f172a;
}

/* ---------- 회원가입 (약관동의 · 정보입력) ---------- */
body.body-join-agreement #content .join > .top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    background: none;
}
body.body-join-agreement #content .join > .top > h2 { margin: 0; }
body.body-join-agreement #content .join > .top > div {
    display: flex;
    gap: 8px;
    padding: 0 0 4px;
}
body.body-join-agreement #content .join > .top > div span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -.02em;
}
body.body-join-agreement #content .join > .top > div span strong {
    color: #cbd5e1;
    font-size: 11.5px;
    font-weight: 800;
}
body.body-join-agreement #content .join > .top > div span.this {
    border-color: #ffd3dc;
    background: #fff5f7;
    color: #ff2e55;
}
body.body-join-agreement #content .join > .top > div span.this strong { color: #ff2e55; }

body.body-join-agreement #content .join .terms {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 34px 40px 36px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15,23,42,.04);
    box-sizing: border-box;
}
body.body-join-agreement #content .join .terms h3 {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #eef1f6;
    color: #0f172a;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -.03em;
}
body.body-join-agreement #content .join .terms .all-agree {
    margin: 0 0 16px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafbfc;
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
}
body.body-join-agreement #content .join .terms .all-agree label { color: #475569; font-size: 13px; }
body.body-join-agreement #content .join .terms .all-agree label span strong { color: #0f172a; font-weight: 800; }
body.body-join-agreement #content .join .terms .terms-view {
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}
body.body-join-agreement #content .join .terms .terms-view > p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 13px 16px;
    border-bottom: 1px solid #eef1f6;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}
body.body-join-agreement #content .join .terms .terms-view > p label { color: #334155; font-size: 13px; font-weight: 700; }
body.body-join-agreement #content .join .terms .terms-view > p a {
    margin-left: auto;
    color: #64748b;
    font-size: 12px;
    text-decoration: underline;
}
body.body-join-agreement #content .join .terms .terms-view > div {
    height: auto;
    max-height: 220px;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px 18px;
    border: 0;
    border-top: 1px solid #eef1f6;
    background: #fcfcfd;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.75;
    box-sizing: border-box;
}

/* ---------- 아이디 / 비밀번호 찾기 ---------- */
body.body-member #content .member:not(.tb-login-page) {
    max-width: 640px;
}
body.body-member #content .member:not(.tb-login-page) .box {
    padding: 34px 36px 32px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15,23,42,.04);
    box-sizing: border-box;
}
body.body-member #content .member:not(.tb-login-page) .box > h3,
body.body-member #content .member:not(.tb-login-page) .box h3 {
    margin: 0 0 16px;
    padding: 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.03em;
}
body.body-member #content .member:not(.tb-login-page) .box .guide {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}
body.body-member #content .member:not(.tb-login-page) .login { display: block; overflow: visible; }
body.body-member #content .member:not(.tb-login-page) .login .input-info { float: none; width: 100%; }
body.body-member #content .member:not(.tb-login-page) .login .input-info div { width: 100%; }
body.body-member #content .member:not(.tb-login-page) .login .input-info div { margin: 0 0 10px; }
body.body-member #content .member:not(.tb-login-page) .login .input-info div:last-child { margin-bottom: 0; }
body.body-member #content .member:not(.tb-login-page) .login .input-info div .text { width: 100%; }
body.body-member #content .member:not(.tb-login-page) .login .skinbtn,
body.body-member #content .member:not(.tb-login-page) .find-pw .skinbtn {
    display: flex;
    float: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    margin: 18px 0 0;
    font-size: 15px;
}
body.body-member #content .member:not(.tb-login-page) .find-pw .input-id .txt-field { margin: 0 0 10px; }
body.body-member #content .member:not(.tb-login-page) .find-pw .input-id .txt-field .text { width: 100%; }
body.body-member #content .member:not(.tb-login-page) .find-pw .input-id > p {
    margin: 0;
    color: #64748b;
    font-size: 12.5px;
}
body.body-member #content .member:not(.tb-login-page) .find-pw .input-id > p a {
    margin-left: 6px;
    color: #ff2e55;
    font-weight: 700;
    text-decoration: underline;
}

/* ---------- 장바구니 (주문 단계 공통 헤더) ---------- */
body.body-order #content .order-page .step-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 20px;
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid #eef1f6;
    background: none;
}
body.body-order #content .order-page .step-top > h2 { margin: 0; }
body.body-order #content .order-page .step-top > div { display: flex; gap: 8px; padding: 0 0 2px; }
body.body-order #content .order-page .step-top > div span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -.02em;
}
body.body-order #content .order-page .step-top > div span strong { color: #cbd5e1; font-size: 11.5px; font-weight: 800; }
body.body-order #content .order-page .step-top > div span.this { border-color: #ffd3dc; background: #fff5f7; color: #ff2e55; }
body.body-order #content .order-page .step-top > div span.this strong { color: #ff2e55; }

body.body-order #content .order-page .table1 {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}
body.body-order #content .order-page .table1 table { width: 100%; border-collapse: collapse; }
body.body-order #content .order-page .table1 table th {
    padding: 13px 12px;
    border-bottom: 1px solid #eef1f6;
    background: #fafbfc;
    color: #475569;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: -.01em;
}
body.body-order #content .order-page .table1 table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 13px;
}
body.body-order #content .order-page .table1 table td.no-data {
    padding: 64px 12px;
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
}
body.body-order #content .order-page .btn-move-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 176px;
    height: 46px;
    margin: 20px 0 0;
    padding: 0 20px;
    border: 1px solid #d5dbe6;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-decoration: none;
    box-sizing: border-box;
}
body.body-order #content .order-page .btn-move-home:hover { border-color: #0f172a; color: #0f172a; text-decoration: none; }
body.body-order #content .order-page .price-box {
    margin: 22px 0 0;
    padding: 26px 30px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafbff;
    box-sizing: border-box;
}
body.body-order #content .order-page .price-box > div p { margin: 0; color: #475569; font-size: 13.5px; }
body.body-order #content .order-page .price-box > div p .total { color: #0f172a; font-size: 18px; font-weight: 900; }
body.body-order #content .order-page .price-box > div p .total strong { color: #ff2e55; }

/* ---------- 게시판(견적서·주문서) 작성 / 상세 ---------- */
body.body-board #content .contents-inner.cs-page > .admin-wrap:empty { display: none; }
body.body-board #content .section > .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: none;
}
body.body-board #content .section > .section-header > .h2 { margin: 0; }
body.body-board #content .section > .section-header .option { margin: 0; }
body.body-board #content .section > .section-header .option .skinbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 13px;
}
body.body-board #content .section > .section-header .option .skinbtn em { font-weight: 800; line-height: 1; }

body.body-board #content .join-form > .frmWrite,
body.body-board #content .join-form > form { margin: 0; }
body.body-board #content .table1.board-write {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}
body.body-board #content .table1.board-write table { width: 100%; border-collapse: collapse; }
body.body-board #content .table1.board-write table th {
    padding: 16px 16px;
    vertical-align: top;
    border-bottom: 1px solid #eef1f6;
    background: #f7f8fa;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.02em;
    vertical-align: middle;
}
body.body-board #content .table1.board-write table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 13px;
    vertical-align: middle;
}
body.body-board #content .table1.board-write table tr:last-child th,
body.body-board #content .table1.board-write table tr:last-child td { border-bottom: 0; }
body.body-board #content .table1.board-write .txt-field,
body.body-board #content .table1.board-write .txt-field.hs {
    display: block;
    position: static;
    width: auto;
    max-width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-sizing: border-box;
}
body.body-board #content .table1.board-write .txt-field .text { width: 100%; }
body.body-board #content .boarddwrite-save,
body.body-board #content .board-ctrl-btn .skinbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 50px;
    margin: 0 4px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 14px;
}
body.body-board #content .boarddwrite-save em,
body.body-board #content .board-ctrl-btn .skinbtn em { font-weight: 800; line-height: 1; }
body.body-board #content .boarddwrite-save { background: #ff2e55; border-color: #ff2e55; color: #fff; }

/* 상세보기 카드 */
body.body-board #content .board-view {
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15,23,42,.04);
    box-sizing: border-box;
}
body.body-board #content .board-view-head {
    padding: 26px 30px 20px;
    border-bottom: 1px solid #eef1f6;
    background: #fcfcfd;
}
body.body-board #content .board-view-title h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.4;
}
body.body-board #content .board-view-title {
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}
body.body-board #content .board-view-title h3 {
    float: none;
    margin: 0 0 10px;
}
body.body-board #content .board-view-title strong {
    float: none;
    color: #ff2e55;
    font-size: 13px;
    font-weight: 800;
}
body.body-board #content .board-view-info {
    padding: 0;
    border: 0;
    margin: 0 0 6px;
}
body.body-board #content .board-view-info { color: #64748b; font-size: 12.5px; }
body.body-board #content .board-view-info .author strong { color: #0f172a; font-weight: 800; }
body.body-board #content .board-view-info .divide-bar { color: #cbd5e1; }
body.body-board #content .board-view-body { padding: 28px 30px 32px; color: #334155; font-size: 14px; line-height: 1.75; }
body.body-board #content .board-view-body .question .q,
body.body-board #content .board-view-body .question .a {
    display: flex;
    gap: 12px;
    padding: 18px 0;
}
body.body-board #content .board-view-body .question .q { border-bottom: 1px solid #f1f5f9; }
body.body-board #content .board-view-body .question .item {
    flex: 0 0 26px;
    color: #ff2e55;
    font-size: 15px;
    font-weight: 900;
}
body.body-board #content .board-view-body .question .a .item { color: #0f172a; }
body.body-board #content .board-view-body .question .a > div {
    flex: 1 1 auto;
    padding: 16px 18px;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    background: #fafbff;
}
body.body-board #content .board-view-body .question .a .info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 10px;
    color: #64748b;
    font-size: 12.5px;
}
body.body-board #content .board-view-body .question .a .info > strong { color: #0f172a; font-weight: 800; }
body.body-board #content .board-ctrl-btn { margin: 20px 0 0; }

/* ---------- 마이페이지 ---------- */
body .contents-inner.mypage {
    width: 1180px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 0 76px;
    box-sizing: border-box;
}
body .contents-inner.mypage > .section,
body .contents-inner.mypage .section {
    margin: 0 0 18px;
    padding: 28px 30px 30px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15,23,42,.04);
    box-sizing: border-box;
}
body .contents-inner.mypage .section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: none;
}
body .contents-inner.mypage .section-header .h2 {
    margin: 0;
    color: #0f172a;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -.03em;
}
body .contents-inner.mypage .section-header .sub-text {
    margin: 0;
    color: #94a3b8;
    font-size: 12.5px;
}
body .contents-inner.mypage .section-header .option { margin: 0 0 0 auto; }
body .contents-inner.mypage .section-header .option a { color: #64748b; font-size: 12.5px; font-weight: 700; }
body .contents-inner.mypage .order-step ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body .contents-inner.mypage .order-step ol li {
    flex: 1 1 0;
    min-width: 96px;
    padding: 16px 12px;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    background: #fafbfc;
    text-align: center;
    box-sizing: border-box;
}
body .contents-inner.mypage .order-step ol li p.text { margin: 0 0 6px; color: #64748b; font-size: 12px; }
body .contents-inner.mypage .order-step ol li .num { color: #0f172a; font-size: 20px; font-weight: 900; }
body .contents-inner.mypage .order-step ol li .num.active { color: #ff2e55; }
body .contents-inner.mypage .order-step ol li .icon { display: none; }
body .contents-inner.mypage .order-total-status {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 0;
    padding: 14px 16px;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    background: #fff;
}
body .contents-inner.mypage .order-total-status .item { color: #64748b; font-size: 12.5px; }
body .contents-inner.mypage .order-total-status .item .title { margin-right: 6px; color: #334155; font-weight: 800; }
body .contents-inner.mypage .table1 table { width: 100%; border-collapse: collapse; }
body .contents-inner.mypage .table1 table th {
    padding: 12px;
    border-bottom: 1px solid #eef1f6;
    background: #fafbfc;
    color: #475569;
    font-size: 12.5px;
    font-weight: 800;
}
body .contents-inner.mypage .table1 table td {
    padding: 13px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 13px;
}

/* ============================================================================
   견적문의 비공개 모드 (.tb-qa-private)
   - 기본(조회 전): 내 견적 목록 + 내 견적 조회 카드
   - 조회 후(.tb-qa-result): 조회 결과 카드
   - 원복: .tb-qa-private 클래스를 지우면 카드가 사라지고 원래 전체 목록이 보입니다.
   ============================================================================ */
.tb-qa-hero,
.tb-qa-results { display: none; }
.tb-qa-private.tb-qa-js .tb-qa-hero { display: block; }
.tb-qa-private.tb-qa-js.tb-qa-result .tb-qa-hero { display: none; }
.tb-qa-private.tb-qa-js.tb-qa-result .tb-qa-results { display: block; }
.tb-qa-private.tb-qa-js .tb-qa-original { display: none; }

.tb-qa-private {
    padding: 8px 0 76px;
    box-sizing: border-box;
}
/* 게시판 상단 내용(bdHeader)이 비어 있을 때 생기는 빈 여백 제거 */
body.body-list #content .contents-inner.cs-page > .admin-wrap:has(> p > br) { display: none; }
body.body-list #content .contents-inner.cs-page > .admin-wrap { margin: 0; }
.tb-qa-hero-head,
.tb-qa-results-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 22px;
}
.tb-qa-eyebrow {
    margin: 0 0 6px;
    color: #ff2e55;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .04em;
}
.tb-qa-title {
    margin: 0;
    color: #0f172a;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.2;
}
.tb-qa-sub {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.6;
}

.tb-qa-btn-write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 44px;
    padding: 0 20px;
    border: 1px solid #ff2e55;
    border-radius: 10px;
    background: #ff2e55;
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
}
.tb-qa-btn-write:hover { background: #e6254b; border-color: #e6254b; color: #fff; text-decoration: none; }

.tb-qa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.tb-qa-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px 32px 32px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15,23,42,.04);
    box-sizing: border-box;
}
.tb-qa-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
}
.tb-qa-card-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -.03em;
}
.tb-qa-card-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fafbfc;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
}
.tb-qa-card-sub {
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: 12.5px;
    line-height: 1.6;
}

/* 내 견적 목록 */
.tb-qa-saved {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 268px;
    overflow: auto;
}
.tb-qa-saved-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border-bottom: 1px solid #f1f5f9;
}
.tb-qa-saved-item:last-child { border-bottom: 0; }
.tb-qa-saved-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 12px 4px;
    text-decoration: none;
}
.tb-qa-saved-title {
    display: block;
    overflow: hidden;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tb-qa-saved-link:hover .tb-qa-saved-title { color: #ff2e55; text-decoration: underline; }
.tb-qa-saved-meta { color: #94a3b8; font-size: 11.5px; }
.tb-qa-saved-del {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
.tb-qa-saved-del:hover { border-color: #ff2e55; color: #ff2e55; }
.tb-qa-empty { margin: auto 0; padding: 8px 0 4px; text-align: center; }
.tb-qa-empty-text {
    margin: 0 0 16px;
    padding: 26px 0 0;
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.6;
}
.tb-qa-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border: 1px solid #ff2e55;
    border-radius: 10px;
    background: #ff2e55;
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}
.tb-qa-btn-primary:hover { background: #e6254b; border-color: #e6254b; color: #fff; text-decoration: none; }
.tb-qa-btn-block { display: block; }

/* 내 견적 조회 폼 */
.tb-qa-form { margin: 0; }
.tb-qa-field { margin: 0 0 12px; }
.tb-qa-field label {
    display: block;
    margin: 0 0 6px;
    color: #475569;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: -.01em;
}
.tb-qa-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d5dbe6;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    line-height: 44px;
    box-sizing: border-box;
}
.tb-qa-input:focus {
    border-color: #0f172a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15,23,42,.07);
}
.tb-qa-input::placeholder { color: #9aa4b2; }
.tb-qa-form .tb-qa-btn-primary { margin: 18px 0 0; }
.tb-qa-note {
    margin: 14px 0 0;
    color: #94a3b8;
    font-size: 11.5px;
    line-height: 1.6;
}

/* 조회 결과 */
.tb-qa-result-card {
    padding: 26px 30px 30px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15,23,42,.04);
    box-sizing: border-box;
}
.tb-qa-result-sum {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}
.tb-qa-loading {
    margin: 0;
    padding: 40px 0;
    color: #94a3b8;
    font-size: 13.5px;
    text-align: center;
}
.tb-qa-result-empty {
    padding: 40px 0;
    color: #94a3b8;
    font-size: 13.5px;
    text-align: center;
}
.tb-qa-result-empty p { margin: 0 0 16px; }
.tb-qa-result-empty .tb-qa-btn-primary { width: auto; min-width: 200px; margin: 0 auto; }
.tb-qa-table {
    width: 100%;
    margin: 6px 0 0;
    border-collapse: collapse;
    table-layout: fixed;
}
.tb-qa-table th {
    padding: 12px 10px;
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
    background: #fafbfc;
    color: #475569;
    font-size: 12.5px;
    font-weight: 800;
    text-align: center;
}
.tb-qa-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 13px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tb-qa-table td.tb-qa-col-tit { text-align: left; }
.tb-qa-table td.tb-qa-col-tit a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}
.tb-qa-table td.tb-qa-col-tit a:hover { color: #ff2e55; text-decoration: underline; }
.tb-qa-table .tb-badge { display: inline-flex; }
.tb-qa-results-foot { margin: 18px 0 0; text-align: center; }
.tb-qa-btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 44px;
    padding: 0 20px;
    border: 1px solid #d5dbe6;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: -.02em;
    cursor: pointer;
    box-sizing: border-box;
}
.tb-qa-btn-line:hover { border-color: #0f172a; }

@media (max-width: 1200px) {
    .tb-qa-grid { grid-template-columns: 1fr; }
    .tb-qa-hero-head, .tb-qa-results-head { flex-wrap: wrap; align-items: flex-start; }
}

/* ============================================================================
   [2026-12-04] 견적문의(qa) 글쓰기 4단계 구조화 폼 (.tb-qf)
   - 기준: 로그인/견적문의 흰 카드 톤
     카드 #fff / 1px solid #e5e7eb / radius 12px / 그림자 약하게
     포인트 #ff2e55 · 제목/보조 #0f172a
   - 고도몰 원본 폼(frmWrite·subject·writerNm·writerPw·contents·upfiles[]·
     자동등록방지·비회원 개인정보 동의)은 그대로 두고 스타일/레이아웃만 담당
   ============================================================================ */

.tb-qf { padding: 4px 0 0; box-sizing: border-box; }
.tb-qf * { box-sizing: border-box; }

/* ---------- 상단 헤더 · 단계 칩 ---------- */
.tb-qf-head { margin: 0 0 26px; }
.tb-qf-eyebrow {
    margin: 0 0 8px;
    color: #ff2e55;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .04em;
}
.tb-qf-h1 {
    margin: 0;
    color: #0f172a;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.2;
}
.tb-qf-lead {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: -.01em;
}
.tb-qf-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.tb-qf-steps li { margin: 0; padding: 0; }
.tb-qf-step {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 15px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -.02em;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .15s, background-color .15s, color .15s;
}
.tb-qf-step em {
    color: #cbd5e1;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0;
}
.tb-qf-step:hover,
.tb-qf-step.is-on {
    border-color: #ffd3dc;
    background: #fff5f7;
    color: #ff2e55;
    text-decoration: none;
}
.tb-qf-step:hover em,
.tb-qf-step.is-on em { color: #ff2e55; }

/* ---------- 레이아웃 ---------- */
.tb-qf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 24px;
    align-items: start;
    width: 100%;
}
.tb-qf-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

/* ---------- 카드(단계) ---------- */
.tb-qf-card {
    min-width: 0;
    padding: 26px 30px 28px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15,23,42,.04);
}
.tb-qf-card:target { scroll-margin-top: 90px; }
.tb-qf-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 20px;
    padding: 0 0 18px;
    border-bottom: 1px solid #f1f5f9;
}
.tb-qf-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: -.01em;
}
.tb-qf-card-tit { min-width: 0; }
.tb-qf-card-tit h3 {
    margin: 2px 0 0;
    color: #0f172a;
    font-size: 18.5px;
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.3;
}
.tb-qf-card-tit p {
    margin: 5px 0 0;
    color: #94a3b8;
    font-size: 12.5px;
    line-height: 1.55;
    letter-spacing: -.01em;
}
.tb-qf-card-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ---------- 필드 ---------- */
.tb-qf-field { display: block; margin: 0; min-width: 0; }
.tb-qf-row2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
.tb-qf-row2-tight { align-items: end; }
.tb-qf-label {
    display: block;
    margin: 0 0 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.3;
}
.tb-qf-label-sm { font-size: 12.5px; }
.tb-qf-req { color: #ff2e55; font-style: normal; font-weight: 900; }
.tb-qf-opt {
    display: inline-block;
    height: 19px;
    margin: 0 0 0 4px;
    padding: 0 7px;
    border: 1px solid #eef1f6;
    border-radius: 999px;
    background: #fafbfc;
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: 0;
    vertical-align: 1px;
}
.tb-qf-input {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #d5dbe6;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    line-height: 44px;
    letter-spacing: -.01em;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.tb-qf-input::placeholder { color: #b3bcc9; }
.tb-qf-input:focus,
.tb-qf-textarea:focus {
    border-color: #0f172a !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15,23,42,.07);
}
.tb-qf-textarea {
    display: block;
    width: 100%;
    min-height: 120px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #d5dbe6;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: -.01em;
    resize: vertical;
    box-sizing: border-box;
}
.tb-qf-static {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 14px;
    border: 1px dashed #e2e8f0;
    border-radius: 8px;
    background: #fafbfc;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
}
.tb-qf-help {
    margin: 7px 0 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: -.01em;
}
.tb-qf-err {
    display: none;
    margin: 6px 0 0;
    color: #ff2e55;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}
.tb-qf-field.is-invalid > .tb-qf-input,
.tb-qf-field.is-invalid > .tb-qf-textarea,
.tb-qf-field.is-invalid .tb-qf-input { border-color: #ff2e55 !important; }
.tb-qf-field.is-invalid > .tb-qf-err { display: block; }

/* ---------- 칩(빠른 선택 · 체크) ---------- */
.tb-qf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
.tb-qf-chips-fill { margin-top: 10px; }
.tb-qf-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    cursor: pointer;
    transition: border-color .15s, background-color .15s, color .15s;
}
.tb-qf-chip:hover,
.tb-qf-chip.is-on {
    border-color: #ff2e55;
    background: #fff5f7;
    color: #ff2e55;
}
.tb-qf-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s, background-color .15s, color .15s;
}
.tb-qf-check input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}
.tb-qf-check span { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.tb-qf-check span::before {
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    transition: border-color .15s, background-color .15s;
}
.tb-qf-check input[type="checkbox"]:checked + span::before {
    border-color: #ff2e55;
    background: #ff2e55 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.5 2.5 5-5.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center center;
    background-size: 11px 11px;
}
.tb-qf-check.is-on,
.tb-qf-check:hover {
    border-color: #ffd3dc;
    background: #fff5f7;
    color: #0f172a;
}
.tb-qf-check input[type="checkbox"]:checked + span { color: #ff2e55; font-weight: 800; }

/* ---------- 안내 문구 ---------- */
.tb-qf-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 13px 16px;
    border: 1px solid #ffe1e7;
    border-radius: 10px;
    background: #fff7f9;
}
.tb-qf-notice-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin: 1px 0 0;
    border-radius: 50%;
    background: #ff2e55;
    color: #fff;
    font-size: 11.5px;
    font-weight: 900;
    font-style: normal;
    line-height: 1;
}
.tb-qf-notice p {
    margin: 0;
    color: #475569;
    font-size: 12.8px;
    line-height: 1.6;
    letter-spacing: -.01em;
}
.tb-qf-notice p strong { color: #0f172a; font-weight: 800; }

/* ---------- 인쇄 위치 ---------- */
.tb-qf-pos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.tb-qf-pos-group {
    min-width: 0;
    padding: 13px 13px 14px;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    background: #fafbfc;
}
.tb-qf-pos-tit {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1;
}
.tb-qf-pos-badge {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 6px;
    background: #0f172a;
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.tb-qf-pos-group .tb-qf-chips { gap: 6px; }
.tb-qf-pos-group .tb-qf-check {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
    background: #fff;
}
.tb-qf-pos-group .tb-qf-check span { gap: 6px; }
.tb-qf-pos-group .tb-qf-check span::before { width: 14px; height: 14px; border-radius: 4px; }

/* ---------- 사이즈 수량 ---------- */
.tb-qf-sizes {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}
.tb-qf-size { display: block; min-width: 0; margin: 0; }
.tb-qf-size span {
    display: block;
    margin: 0 0 6px;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
}
.tb-qf-size .tb-qf-input {
    height: 42px;
    padding: 0 6px;
    font-size: 13.5px;
    line-height: 40px;
    text-align: center;
}
.tb-qf-total {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 46px;
    padding: 0 14px;
    border: 1px dashed #e2e8f0;
    border-radius: 8px;
    background: #fafbfc;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}
.tb-qf-total strong {
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.02em;
}
.tb-qf-total[data-zero="1"] strong { color: #cbd5e1; }
.tb-qf-date { max-width: 260px; }

/* ---------- 첨부 · 동의 · 보안문자 ---------- */
.tb-qf-upload { width: 100%; }
.tb-qf-upload div.file-upload {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    overflow: visible;
}
.tb-qf-upload div.file-upload label {
    flex: 1 1 240px;
    float: none;
    min-width: 0;
    margin: 0;
}
.tb-qf-upload div.file-upload label input.text {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d5dbe6;
    border-radius: 8px;
    background: #fafbfc;
    color: #64748b;
    font-size: 12.5px;
    line-height: 40px;
}
.tb-qf-upload div.upload-btn {
    position: relative;
    float: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}
.tb-qf-upload div.upload-btn .img-upload,
.tb-qf-upload div.upload-btn .normal-btn {
    height: 42px;
    margin: 0;
    border-radius: 8px;
    font-size: 12.5px;
}
.tb-qf-upload div.upload-btn .boarddwrite-addupload { position: relative; z-index: 3; }
.tb-qf-upload div.upload-btn input.file {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    cursor: pointer;
}
.tb-qf-upload div.file-upload > input[type="checkbox"] { margin: 0 4px 0 0; }

.tb-qf-secret-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid #eef1f6;
    border-radius: 9px;
    background: #fafbfc;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.5;
}
.tb-qf-secret-note strong { color: #0f172a; font-weight: 800; }
.tb-qf-secret-note .form-element { display: inline-flex; align-items: center; gap: 6px; }
.tb-qf-secret-note .check-s { color: #0f172a; font-weight: 800; }

.tb-qf-privacy {
    width: 100%;
    margin: 0;
    padding: 16px 18px 14px;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    background: #fafbfc;
}
.tb-qf-consent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px;
}
.tb-qf-consent-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}
.tb-qf-consent-label input.checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #ff2e55;
    vertical-align: middle;
}
.tb-qf-consent-label span strong { font-weight: 800; }
.tb-qf-privacy-more {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tb-qf-privacy-more:hover { color: #ff2e55; }
.tb-qf-privacy-box {
    max-height: 132px;
    overflow: auto;
    border: 1px solid #eef1f6;
    border-radius: 8px;
    background: #fff;
}
.tb-qf-privacy-box textarea {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin: 0;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 11.5px;
    line-height: 1.6;
    resize: none;
    box-sizing: border-box;
}

.tb-qf-field-captcha .tb-qf-capcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    background: #fafbfc;
}
.tb-qf-capcha .capcha-img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 200px;
    max-width: 100%;
    height: 72px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.tb-qf-capcha .capcha-img img { max-width: 100%; height: auto; }
.tb-qf-capcha .capcha-body {
    display: block;
    flex: 1 1 260px;
    min-width: 0;
    padding: 0;
}
.tb-qf-capcha .capcha-text .pre {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}
.tb-qf-capcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
}
.tb-qf-capcha-row .tb-qf-input {
    flex: 0 1 180px;
    width: 180px;
    height: 42px;
    color: #ff2e55;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 40px;
    text-transform: uppercase;
}
.tb-qf-capcha-row .normal-btn {
    flex: 0 0 auto;
    height: 42px;
    margin: 0;
    border-radius: 8px;
    font-size: 12px;
}

/* ---------- 하단 버튼 ---------- */
.tb-qf-btns {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin: 2px 0 0;
    padding: 0;
    text-align: right;
}
.tb-qf-btns .skinbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin: 0;
    padding: 0 26px;
    border-radius: 10px;
    font-size: 0;
}
.tb-qf-btns .skinbtn em {
    font-size: 14.5px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
}
.tb-qf-btns .skinbtn.point1 {
    border: 1px solid #d5dbe6;
    background: #fff;
    color: #0f172a;
}
.tb-qf-btns .skinbtn.point2 {
    min-width: 210px;
    border: 1px solid #ff2e55;
    background: #ff2e55;
    color: #fff;
}
.tb-qf-btns .skinbtn.point2:hover { border-color: #e6254b; background: #e6254b; }

/* ---------- 오른쪽 견적 요약 ---------- */
.tb-qf-side {
    min-width: 0;
    position: sticky;
    top: 88px;
}
.tb-qf-sum {
    padding: 22px 22px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15,23,42,.04);
}
.tb-qf-sum-head { padding: 0 0 14px; border-bottom: 1px solid #f1f5f9; }
.tb-qf-sum-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.03em;
}
.tb-qf-sum-head p {
    margin: 5px 0 0;
    color: #94a3b8;
    font-size: 11.5px;
    line-height: 1.5;
}
.tb-qf-sum-body { padding: 16px 0 0; }
.tb-qf-sum-list {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px 10px;
    margin: 0;
    padding: 0;
}
.tb-qf-sum-list dt {
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.5;
}
.tb-qf-sum-list dd {
    margin: 0;
    white-space: pre-line;
    color: #0f172a;
    font-size: 12.8px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.01em;
    overflow-wrap: anywhere;
}
.tb-qf-sum-list[data-ready="0"] { opacity: .55; }
.tb-qf-sum-empty {
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-top: 1px dashed #eef1f6;
    color: #b3bcc9;
    font-size: 11.5px;
    line-height: 1.5;
    text-align: center;
}
.tb-qf-sum-foot {
    margin: 16px 0 0;
    padding: 13px 14px;
    border: 1px dashed #ffe1e7;
    border-radius: 10px;
    background: #fff7f9;
}
.tb-qf-sum-foot p {
    margin: 0;
    color: #0f172a;
    font-size: 12.5px;
    line-height: 1.5;
}
.tb-qf-sum-foot p strong { color: #ff2e55; font-weight: 800; }
.tb-qf-sum-foot span {
    display: block;
    margin: 3px 0 0;
    color: #94a3b8;
    font-size: 11px;
}
.tb-qf-side-help {
    margin: 12px 2px 0;
    color: #94a3b8;
    font-size: 11.5px;
    line-height: 1.6;
}
.tb-qf-side-help strong { color: #0f172a; font-weight: 800; }

/* ---------- 숨김 필드 영역(원본 전송용) ---------- */
.tb-qf-hidden { display: none !important; }

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) {
    .tb-qf-grid { grid-template-columns: minmax(0, 1fr); }
    .tb-qf-side { position: static; }
    .tb-qf-sum-list { grid-template-columns: 88px minmax(0, 1fr); }
}
@media (max-width: 860px) {
    .tb-qf-h1 { font-size: 26px; }
    .tb-qf-card { padding: 22px 20px 24px; }
    .tb-qf-row2 { grid-template-columns: minmax(0, 1fr); }
    .tb-qf-pos { grid-template-columns: minmax(0, 1fr); }
    .tb-qf-sizes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .tb-qf-btns .skinbtn.point2 { min-width: 0; flex: 1 1 auto; }
    .tb-qf-btns .skinbtn.point1 { flex: 0 0 auto; }
}
@media (max-width: 560px) {
    .tb-qf-step { height: 34px; padding: 0 11px; font-size: 11.5px; }
    .tb-qf-step span { display: none; }
    .tb-qf-step em { font-size: 12px; }
    .tb-qf-card-tit h3 { font-size: 17px; }
    .tb-qf-capcha .capcha-img { width: 100%; }
    .tb-qf-capcha-row .tb-qf-input { flex: 1 1 120px; width: auto; }
}

/* ---------- 2단계: 등록 상품 불러오기 ---------- */
.tb-qf-picker {
    margin: 0;
    padding: 18px;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    background: #fafbfc;
}
.tb-qf-picker-head { margin: 0 0 12px; }
.tb-qf-picker-head strong {
    display: block;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: -.02em;
}
.tb-qf-picker-head p {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}
.tb-qf-searchbar { display: flex; align-items: center; gap: 8px; }
.tb-qf-searchbar .tb-qf-input { flex: 1 1 auto; min-width: 0; height: 44px; background: #fff; }
.tb-qf-searchbtn {
    flex: 0 0 auto;
    height: 44px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #0f172a;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
    cursor: pointer;
}
.tb-qf-searchbtn:hover { border-color: #1e293b; background: #1e293b; }
.tb-qf-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.tb-qf-cat {
    height: 32px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    cursor: pointer;
    transition: border-color .15s, background-color .15s, color .15s;
}
.tb-qf-cat:hover,
.tb-qf-cat.is-on {
    border-color: #ff2e55;
    background: #fff5f7;
    color: #ff2e55;
}
.tb-qf-goods-wrap {
    margin: 12px 0 0;
    padding: 12px 0 0;
    border-top: 1px dashed #e5e7eb;
}
.tb-qf-goods-status {
    margin: 0 0 10px;
    color: #94a3b8;
    font-size: 11.5px;
    line-height: 1.5;
}
.tb-qf-goods-status.is-err { color: #ff2e55; font-weight: 700; }
.tb-qf-goods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tb-qf-goods li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.tb-qf-good {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.tb-qf-good:hover {
    border-color: #ff2e55;
    box-shadow: 0 4px 12px rgba(255,46,85,.10);
}
.tb-qf-good-thumb {
    display: block;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 7px;
    overflow: hidden;
    background: #f1f5f9;
}
.tb-qf-good-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 테마 기본값 `button span { position:relative; z-index:-1 }` 때문에 카드 내용이
   버튼 배경 뒤로 숨는 문제 방지 */
.tb-qf-good span { position: static; z-index: auto; }
.tb-qf-good-info { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.tb-qf-good-name {
    display: -webkit-box;
    overflow: hidden;
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: keep-all;
}
.tb-qf-good-price { color: #ff2e55; font-size: 11.5px; font-weight: 800; }
.tb-qf-good-add {
    flex: 0 0 auto;
    margin: 0;
    padding: 4px 9px;
    border: 1px solid #ffe1e7;
    border-radius: 6px;
    background: #fff5f7;
    color: #ff2e55;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0;
}
.tb-qf-good:hover .tb-qf-good-add { border-color: #ff2e55; background: #ff2e55; color: #fff; }

.tb-qf-picked {
    margin: 12px 0 0;
    padding: 12px;
    border: 1px solid #ffe1e7;
    border-radius: 10px;
    background: #fff7f9;
}
.tb-qf-picked-tit {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
}
.tb-qf-picked-tit span { margin-left: 4px; color: #b3bcc9; font-size: 10.5px; font-weight: 600; }
.tb-qf-picked-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tb-qf-picked-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 7px 9px;
    border: 1px solid #ffe1e7;
    border-radius: 8px;
    background: #fff;
}
.tb-qf-picked-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tb-qf-picked-price { flex: 0 0 auto; color: #ff2e55; font-size: 11.5px; font-weight: 800; }
.tb-qf-picked-del {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}
.tb-qf-picked-del:hover { border-color: #ff2e55; color: #ff2e55; }

@media (max-width: 860px) {
    .tb-qf-goods { grid-template-columns: minmax(0, 1fr); }
    .tb-qf-searchbar { flex-wrap: wrap; }
    .tb-qf-searchbtn { flex: 1 1 auto; }
}

/* ---------- 내 견적 조회: 작성자명 + 연락처 뒤 4자리 ---------- */
.tb-qa-lookup-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.tb-qa-lookup-row .tb-qa-field { flex: 1 1 auto; min-width: 0; }
.tb-qa-field-digits { flex: 0 0 138px; }
.tb-qa-field-digits .tb-qa-input {
    text-align: center;
    font-weight: 800;
    letter-spacing: .08em;
}
@media (max-width: 560px) {
    .tb-qa-lookup-row { display: block; }
    .tb-qa-field-digits { width: auto; }
}

/* ============================================================================
   2026-12-05  모모티 스타일 주문하기·상품상세 개편
   1) 주문하기 상단 히어로 + 4단계 안내 (.tb-order-hero / .tb-order-steps)
   2) 상품 상세 색상·사이즈 수량 매트릭스 (.tb-mx)
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. 주문하기 상단 (board/skin/order_design/list.html, bdId=order)
   --------------------------------------------------------------------------- */
.tb-order-hero {
    position: relative;
    margin: 4px 0 18px;
    padding: 44px 50px;
    border-radius: 16px;
    background: linear-gradient(120deg, #0f172a 0%, #1c2b41 55%, #26374d 100%);
    color: #fff;
    overflow: hidden;
    box-sizing: border-box;
}
.tb-order-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -110px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 68%);
    pointer-events: none;
}
.tb-order-hero::before {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,46,85,.18) 0%, rgba(255,46,85,0) 70%);
    pointer-events: none;
}
.tb-order-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.tb-order-hero-copy { min-width: 0; }
.tb-order-eyebrow {
    margin: 0 0 10px;
    color: #ff8095;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}
.tb-order-title {
    margin: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.25;
}
.tb-order-sub {
    margin: 12px 0 0;
    max-width: 720px;
    color: #c5d2e0;
    font-size: 13.5px;
    line-height: 1.75;
    letter-spacing: -.01em;
}
.tb-order-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 0 0 auto;
    width: 182px;
}
.tb-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -.03em;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tb-order-btn--primary {
    border: 1px solid #fff;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(8,15,30,.22);
}
.tb-order-btn--primary:hover {
    background: #eef2f7;
    border-color: #eef2f7;
    color: #0f172a;
    text-decoration: none;
}
.tb-order-btn--ghost {
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.05);
    color: #fff;
}
.tb-order-btn--ghost:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.7);
    color: #fff;
    text-decoration: none;
}

.tb-order-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
    border: 1px solid #e3e9f0;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15,23,42,.03);
}
.tb-order-step {
    position: relative;
    padding: 26px 24px 24px;
    box-sizing: border-box;
}
.tb-order-step + .tb-order-step { border-left: 1px solid #edf1f6; }
.tb-order-step-ico { display: block; margin: 0 0 14px; color: #475569; }
.tb-order-step-ico svg { display: block; width: 32px; height: 32px; }
.tb-order-step-no {
    margin: 0 0 4px;
    color: #334155;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
}
.tb-order-step-tit {
    display: block;
    margin: 0 0 7px;
    color: #0f172a;
    font-size: 15.5px;
    font-weight: 900;
    letter-spacing: -.03em;
}
.tb-order-step-desc {
    margin: 0;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.7;
    letter-spacing: -.01em;
}

@media all and (max-width: 1000px) {
    .tb-order-hero { padding: 32px 28px; }
    .tb-order-hero-inner { flex-wrap: wrap; align-items: flex-start; gap: 20px; }
    .tb-order-hero-actions { flex-direction: row; width: auto; }
    .tb-order-btn { height: 46px; padding: 0 18px; font-size: 13.5px; }
    .tb-order-title { font-size: 25px; }
    .tb-order-steps { grid-template-columns: 1fr 1fr; }
    .tb-order-step { padding: 20px 18px; }
    .tb-order-step:nth-child(3) { border-left: 0; }
    .tb-order-step:nth-child(n+3) { border-top: 1px solid #edf1f6; }
}

/* ---------------------------------------------------------------------------
   2. 상품 상세 색상·사이즈 수량 매트릭스 (.tb-mx)
      - 2단 옵션(색상 → 사이즈) 상품에서만 스크립트가 생성합니다.
      - 1단 옵션 / 옵션 없는 상품은 기존 셀렉트 UI 그대로 사용.
   --------------------------------------------------------------------------- */
.tb-mx {
    margin: 4px 0 22px;
    padding: 20px 20px 16px;
    border: 1px solid #e3e9f0;
    border-radius: 12px;
    background: #fbfcfe;
    box-sizing: border-box;
}
.tb-mx * { box-sizing: border-box; }
.tb-mx-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
}
.tb-mx-title {
    color: #0f172a;
    font-size: 14.5px;
    font-weight: 900;
    letter-spacing: -.02em;
}
.tb-mx-hint {
    color: #94a3b8;
    font-size: 11.5px;
    line-height: 1.5;
    text-align: right;
}
.tb-mx-block { padding: 14px 0 2px; border-top: 1px dashed #e2e8f0; }
.tb-mx-block:first-child { padding-top: 0; border-top: 0; }
.tb-mx-block-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
}
.tb-mx-color {
    width: 240px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #cfd9e4;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 700;
}
.tb-mx-remove {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.tb-mx-remove:hover { border-color: #cbd5e1; color: #0f172a; }
.tb-mx-grid { display: flex; flex-direction: column; gap: 8px; }
.tb-mx-loading {
    margin: 0;
    padding: 14px 4px;
    color: #94a3b8;
    font-size: 12.5px;
}
.tb-mx-cells {
    display: grid;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.tb-mx-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    padding: 9px 6px 10px;
    border-left: 1px solid #eef2f7;
    transition: background .12s ease, box-shadow .12s ease;
}
.tb-mx-cell:first-child { border-left: 0; }
.tb-mx-size {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.01em;
    white-space: nowrap;
}
.tb-mx-size em {
    display: block;
    margin: 2px 0 0;
    color: #b6c2d1;
    font-size: 10.5px;
    font-style: normal;
    font-weight: 700;
}
.tb-mx-qty {
    width: 100%;
    max-width: 78px;
    height: 32px;
    min-width: 0;
    padding: 0 4px;
    border: 1px solid #d7dfe9;
    border-radius: 6px;
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
.tb-mx-qty:focus { border-color: #0f172a; outline: none; }
.tb-mx-cell.is-on { background: #fff5f7; }
.tb-mx-cell.is-on .tb-mx-size { color: #ff2e55; }
.tb-mx-cell.is-on .tb-mx-qty { border-color: #ff2e55; }
.tb-mx-cell.is-soldout { background: #f8fafc; }
.tb-mx-sold { color: #b6c2d1; font-size: 11.5px; font-style: normal; font-weight: 700; }
.tb-mx-add {
    margin: 14px 0 0;
    height: 36px;
    padding: 0 16px;
    border: 1px solid #cfd9e4;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}
.tb-mx-add:hover { border-color: #0f172a; color: #0f172a; }
.tb-mx-foot {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    margin: 16px 0 0;
    padding: 14px 2px 2px;
    border-top: 1px solid #e6ecf3;
    color: #334155;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.tb-mx-foot strong { color: #0f172a; font-size: 15px; font-weight: 900; }
.tb-mx-foot .tb-mx-amt { color: #ff2e55; font-size: 19px; font-weight: 900; letter-spacing: -.03em; }
.tb-mx-foot .tb-mx-amt small { color: #94a3b8; font-size: 11.5px; font-weight: 700; margin-right: 4px; }

/* 매트릭스 사용 시 기본 옵션 합계 박스 중복 노출 방지 */
.tb-mx-on .option_total_display_area .end-price { display: none !important; }
.tb-mx-on .option_total_display_area .option_display_area { display: none !important; }

@media all and (max-width: 1000px) {
    .tb-mx { padding: 16px 12px 12px; }
    .tb-mx-head { flex-direction: column; align-items: flex-start; gap: 4px; }
    .tb-mx-hint { text-align: left; }
    .tb-mx-color { width: 100%; }
    .tb-mx-size { font-size: 11px; }
    .tb-mx-qty { max-width: none; }
}

/* 상품 상세 버튼 3종(장바구니·견적문의·주문서작성) — 기존 찜하기 자리 크기와 동일하게 */
.skinbtn.point1.btn-qa-ask {
    width: 152px;
    height: 61px;
    line-height: 59px;
    font-size: 16px;
    font-weight: bold;
}
