/*
 * 러그마켓 반응형 덮어쓰기(P0 기반) — docs/MOBILE-PLAN.md
 * 원칙: 기존 CSS(/common/css/default_20240112.css, header.css)는 고치지 않는다. 이 파일은 그 뒤에 연결되며,
 *       PC(≥1200px) 화면을 바꾸지 않도록 새 클래스(.rug-*)의 숨김 규칙 외에는 모두 max-width 미디어 쿼리 안에만 쓴다.
 *       예외: 맨 끝 "푸터" 절(W-40 — 푸터 디자인 개선, 모든 폭).
 * 구간: 휴대폰 ≤767px. 태블릿(768~1199px)은 P0 에서는 레이아웃의 viewport 스크립트가 기존 PC 화면(1200px 축소)을 유지한다.
 * 관리자 화면은 이 파일을 쓰지 않는다.
 */

/* ── 모든 폭: 새로 추가한 휴대폰 전용 요소는 기본 숨김(PC 화면 불변) ── */
.rug-mbar, .rug-drawer, .rug-drawer-dim { display: none; }
.rug-crumb { color: inherit; }   /* 브레드크럼 링크(12절): PC 에서도 원래 글자색(.page_location #999) 그대로 */
.rug-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media screen and (max-width: 767px) {

  /* ── 공통 ── */
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { min-width: 0 !important; }
  body.rug-drawer-open { overflow: hidden; }
  input[type=text], input[type=password], input[type=email], input[type=tel], input[type=number], input[type=search], select, textarea { font-size: 16px; } /* iOS 입력 시 자동 확대 방지 */

  /* 본문: 아직 반응형으로 바꾸지 않은 화면(P1~P3)도 페이지 전체가 가로로 밀리지 않도록 본문 영역 안에서만 가로 스크롤 */
  #rug_wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #rug_wrap img { max-width: 100%; height: auto; }
  #sub_container { width: auto !important; margin: 0 0 40px !important; padding: 0 16px; }
  #container2 { float: none; min-height: 0; }
  .page_title { height: auto !important; padding: 20px 0 12px; margin-bottom: 16px !important; }
  .page_title h3 { font-size: 22px; line-height: 1.3; }
  .page_title .desc { font-size: 13px; }
  /* 브레드크럼(.page_location): 제목 위 한 줄. 홈·분류 링크는 rug-mobile.js 가 휴대폰에서만 건다(PC 는 원래 글자 그대로) */
  .page_title { display: flex; flex-direction: column; }
  .page_title .page_location { order: -1; display: block; height: auto !important; margin: 0 0 6px !important; text-align: left !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: #999; }
  .page_title .page_location a { color: #888; text-decoration: none; display: inline-block; padding: 6px 0; }
  .page_title .page_location .page { color: #555; }

  /* ── 상단: 띠 배너·PC 헤더 정리 ── */
  #closeTopBanner .bg { font-size: 12px; height: auto !important; line-height: 30px !important; padding: 0 8px; box-sizing: border-box; }
  #header24, #header .headerTop, #header .logo_nav, #header .headerGnb { display: none !important; }
  #header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #e5e5e5; }
  #header.fixed { position: sticky; }

  /* 휴대폰 헤더 한 줄: 메뉴 · 로고 · 검색 · 장바구니 (레거시 모바일 디자인 참고) */
  .rug-mbar { display: flex; align-items: center; height: 56px; padding: 0 4px; background: #fff; }
  .rug-mbar button, .rug-mbar a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #222; text-decoration: none; cursor: pointer; }
  .rug-mbar .rug-mbar-logo { flex: 1; }
  .rug-mbar .rug-mbar-logo img { height: 34px; width: auto; }
  .rug-ico-bars, .rug-ico-bars:before, .rug-ico-bars:after { display: block; width: 22px; height: 2px; background: #222; border-radius: 1px; position: relative; }
  .rug-ico-bars:before, .rug-ico-bars:after { content: ''; position: absolute; left: 0; }
  .rug-ico-bars:before { top: -7px; }
  .rug-ico-bars:after { top: 7px; }
  .rug-mbar-search img { width: 22px; height: 22px; }
  .rug-mbar-cart svg { width: 24px; height: 24px; }

  /* 검색: 검색 버튼으로 헤더 아래에 펼친다(기존 검색 폼을 그대로 쓴다) */
  #header .searchArea { display: none !important; position: static !important; width: auto !important; margin: 0 !important; padding: 8px 16px 12px; background: #fff; }
  #header.rug-search-open .searchArea { display: block !important; }
  #header .searchArea .search, #header .searchArea fieldset { width: 100% !important; }
  #header .searchArea .input_txt { width: calc(100% - 44px) !important; height: 40px; box-sizing: border-box; }

  /* 슬라이드 메뉴 */
  .rug-drawer-dim { position: fixed; inset: 0; top: 0; right: 0; bottom: 0; left: 0; z-index: 10000; background: rgba(0,0,0,.45); }
  .rug-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 10001; width: 84%; max-width: 340px; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: #fff; box-shadow: 2px 0 12px rgba(0,0,0,.2); transform: translateX(-105%); transition: transform .25s ease; display: block; visibility: hidden; }
  body.rug-drawer-open .rug-drawer { transform: none; visibility: visible; }
  body.rug-drawer-open .rug-drawer-dim { display: block; }
  body.rug-drawer-open .kakaoChat { display: none; }
  .rug-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 8px 0 16px; border-bottom: 1px solid #eee; }
  .rug-drawer-head img { height: 30px; width: auto; }
  .rug-drawer-close { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; color: #333; cursor: pointer; }
  .rug-drawer-member { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-bottom: 8px solid #f4f4f4; }
  .rug-drawer-member a { flex: 1 1 40%; display: block; padding: 10px 0; border: 1px solid #ddd; border-radius: 4px; text-align: center; font-size: 14px; color: #333; text-decoration: none; }
  .rug-drawer-nav, .rug-drawer-nav ul { list-style: none; margin: 0; padding: 0; }
  .rug-drawer-nav > li { border-bottom: 1px solid #eee; }
  .rug-drawer-nav .rug-dn-top { display: flex; align-items: stretch; }
  .rug-drawer-nav .rug-dn-top a { flex: 1; display: block; padding: 14px 16px; font-size: 15px; font-weight: bold; color: #222; text-decoration: none; }
  .rug-drawer-nav .rug-dn-toggle { width: 52px; border: 0; border-left: 1px solid #f0f0f0; background: none; font-size: 20px; color: #888; cursor: pointer; }
  .rug-drawer-nav .rug-dn-sub { display: none; padding: 4px 0 10px; background: #fafafa; }
  .rug-drawer-nav li.rug-open .rug-dn-sub { display: block; }
  .rug-drawer-nav .rug-dn-sub a { display: block; padding: 10px 28px; font-size: 14px; color: #555; text-decoration: none; }

  /* 카카오 상담 버튼: 화면을 가리지 않게 작게 */
  .kakaoChat { right: 12px !important; bottom: 12px !important; width: 120px !important; }
  .kakaoChat img { width: 120px; height: auto; }

}

/* ════════════════ P1 구매 동선 (휴대폰 ≤767px) ════════════════ */
.rug-mhero { display: none; }

@media screen and (max-width: 767px) {

  /* ── 공통: 표 → 카드(rug-mobile.js 가 thead 글자를 td 의 data-label 로 복사) ── */
  table.table_content.rug-cards, table.table_content.rug-cards tbody, table.table_content.rug-cards tr, table.table_content.rug-cards td { display: block; width: auto !important; }
  table.table_content.rug-cards colgroup, table.table_content.rug-cards thead, table.table_content.rug-cards caption { display: none; }
  table.table_content.rug-cards tr { padding: 12px 0; border-bottom: 1px solid #e5e5e5; }
  table.table_content.rug-cards td { display: block; overflow: hidden; padding: 5px 0 !important; border: 0 !important; text-align: right !important; font-size: 14px; line-height: 1.6; }
  table.table_content.rug-cards td[data-label]:before { content: attr(data-label); float: left; margin-right: 12px; color: #888; font-size: 13px; text-align: left; }
  table.table_content.rug-cards td.txt { display: block; height: auto !important; overflow: visible; text-align: left !important; font-size: 15px; }
  table.table_content.rug-cards td.txt:before { display: none; }
  table.table_content.rug-cards td[colspan] { display: block; text-align: center !important; padding: 24px 0 !important; }
  table.table_content.rug-cards td[colspan]:before { display: none; }
  table.table_content.rug-cards td img { max-width: 80px; height: auto; }

  /* 입력·정보 표(th|td 2열) → 세로 쌓기 */
  table.ordInfo3, table.ordInfo3 tbody, table.ordInfo3 tr, table.ordInfo3 th, table.ordInfo3 td { display: block; width: auto !important; }
  table.ordInfo3 colgroup { display: none; }
  table.ordInfo3 th { padding: 12px 0 4px !important; border: 0 !important; text-align: left !important; background: none !important; font-size: 13px; color: #666; }
  table.ordInfo3 td { padding: 0 0 12px !important; border-width: 0 0 1px !important; font-size: 14px; word-break: break-all; }
  table.ordInfo3 input.i_text.long, table.ordInfo3 input.i_text.middle2, table.ordInfo3 textarea { width: 100% !important; box-sizing: border-box; }
  table.ordInfo3 input.i_text.short { width: 64px !important; }
  table.ordInfo3 input.inputTypeText { width: 100% !important; max-width: 100%; box-sizing: border-box; height: 40px; margin: 4px 0 0; }   /* 주문 상세 배송지 주소(size=40 + 레거시 폭)가 휴대폰 폭을 넘던 것 */
  table.ordInfo3 input.i_text, table.ordInfo3 input.price { height: 40px; box-sizing: border-box; padding: 0 8px; }
  table.ordInfo3 input[type=radio] + label { display: inline-block; padding: 8px 12px 8px 4px; }
  .orderView { margin-bottom: 16px; }

  /* 합계 줄·버튼 */
  .cart { float: none !important; width: auto !important; padding: 12px !important; line-height: 1.8; font-size: 14px; text-align: right; word-break: keep-all; }
  .button_area { float: none !important; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 16px 0 !important; }
  .button_area .func_button, .button_area input.func_button, .button_area a { flex: 1 1 45%; min-height: 48px; box-sizing: border-box; display: inline-flex !important; align-items: center; justify-content: center; margin: 0 !important; padding: 0 8px !important; font-size: 15px; background: #fff !important; border: 1px solid #bbb; border-radius: 4px; color: #333; }
  .button_area a.func_button span { display: inline !important; height: auto !important; padding: 0 !important; background: none !important; line-height: 1.3 !important; font-size: 15px; }
  .button_area input.func_button[type=submit] { background: #b89e6c !important; border-color: #b89e6c; color: #fff; }
  .collection_list_a { width: auto !important; }
  /* #aside(마이페이지 메뉴)는 P2 에서 가로 탭 막대로 바꾼다 */

  /* ── 메인 ── */
  #main_box { display: none; }                      /* PC 큰 배너(1920px iframe) 대신 아래 휴대폰 배너 */
  .rug-mhero { display: block; position: relative; width: 100%; height: auto !important; }
  .rug-mhero .swiper-slide { background: #f6f6f6; }
  .rug-mhero .swiper-slide img { width: 100% !important; height: auto !important; padding: 0 !important; object-fit: contain; }
  .rug-mhero .swiper-pagination { bottom: 6px; }
  #main_container, #main_box1, #main_wrap1, #main_wrap3, #main_wrap4, #main_wrap5, #main_wrap6 { width: auto !important; min-width: 0 !important; float: none !important; height: auto !important; }
  #main_wrap1, #main_wrap3, #main_wrap5 { padding: 0 12px; }
  #main_container .goods_list_tit { width: auto !important; padding: 24px 4px 8px !important; }
  #main_container .goods_list_tit .btn_goods_more { position: static !important; margin-top: 6px; }
  /* W-42: 구역 제목을 PC 와 같은 톤(위쪽 금색 짧은 선, 설명은 아래 줄) */
  #main_container .goods_list_tit h3 { margin-left: 0 !important; padding-left: 0 !important; border-left: 0 !important; font-size: 22px; font-weight: 800; color: #1c1c1c; line-height: 1.25; }
  #main_container .goods_list_tit h3:before { content: ""; display: block; width: 24px; height: 3px; margin-bottom: 10px; background: #b99d6a; }
  #main_container .goods_list_tit h3 span { display: block; padding: 6px 0 0 !important; font-size: 13px; font-weight: 400; color: #999; }
  #main_container .goods_list_tit .btn_goods_view_more { display: inline-block; padding: 6px 12px; border: 1px solid #d6d6d6; font-size: 12px; color: #555; }
  #best_item_left { display: none; }
  #best_item { width: auto !important; float: none !important; height: auto !important; }
  #best_item div[style] { width: auto !important; float: none !important; }
  #best_item #big_image { width: 100% !important; height: auto !important; }
  #best_item ul { display: flex; gap: 6px; margin: 6px 0 0 !important; padding: 0 !important; }
  #best_item li { flex: 1; height: auto !important; margin: 0 !important; }
  #best_item li img { width: 100% !important; height: auto !important; padding: 0 !important; }
  #best_item table { width: 100% !important; }
  #best_item .proName1 a { font-size: 16px; }
  #best_item .proName2 { font-size: 13px; }
  #main_btn .swiper-slide { flex-wrap: wrap; align-items: flex-start; }
  #main_btn .swiper-slide > div { width: 50%; box-sizing: border-box; padding: 4px; }   /* 포트폴리오 4개 → 2열 */
  #main_btn .swiper-slide img { width: 100% !important; height: auto !important; aspect-ratio: 13 / 10; padding: 0 !important; }
  #main_btn .swiper-slide p { font-size: 12px !important; }
  .main_service .inner_container2 { width: auto !important; padding: 0 12px; }
  .main_service_list { display: flex; flex-wrap: wrap; }
  .main_service_list li { width: 50% !important; box-sizing: border-box; float: none !important; padding: 8px !important; margin: 0 !important; }

  /* ── 상품 카드 목록(메인 NEW/HIT·상품 목록 공용) ── */
  #getProList, #getProList .proItemList3, #getProList .proItemList3 .ListSet { width: auto !important; float: none !important; }
  #getProList .proItemList3 .ListSet { display: flex; flex-wrap: wrap; }
  #getProList .proItemList3 .ListSet .itemSell { width: 50% !important; height: auto !important; float: none !important; box-sizing: border-box; padding: 12px 6px !important; }
  #getProList .proItemList3 .itemSell .proImg, #getProList .proItemList3 .itemSell .proImg .itemImg { width: auto !important; float: none !important; }
  #getProList .proItemList3 .itemSell .proImg .itemImg img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; }
  #getProList .proItemList3 .itemSell .proName { padding: 8px 0 4px !important; }
  #getProList .proItemList3 .itemSell .proName a { font-size: 14px !important; line-height: 1.4; }
  #getProList .proItemList3 .itemSell .proPrice { height: auto !important; }
  #getProList .proItemList3 .itemSell .proPrice span { font-size: 13px; }

  /* ── 상품 목록: BEST 3 · 정렬 ── */
  #getProList .prodBest3 .prodBestList { width: auto !important; float: none !important; box-sizing: border-box; padding: 8px !important; }
  #getProList .prodBest3 .prodBestList .bestPro3 { width: auto !important; padding: 0 !important; float: none !important; }
  #getProList .prodBest3 .prodBestList .bestPro3 li { float: none !important; border-bottom: 1px solid #f0f0f0; }
  #getProList .prodBest3 .prodBestList .bestPro3 li:last-child { border-bottom: 0; }
  #getProList .prodBest3 .prodBestList .bestPro3 .proImg { width: auto !important; display: flex; align-items: center; gap: 12px; float: none !important; }
  #getProList .prodBest3 .prodBestList .bestPro3 .proImg .itemImg { width: 38% !important; padding: 6px !important; flex: none; }
  #getProList .prodBest3 .prodBestList .bestPro3 .proImg .itemImg img { width: 100% !important; height: auto !important; }
  #getProList .prodBest3 .prodBestList .bestPro3 .proImg .proPrice { width: auto !important; padding: 0 !important; flex: 1; }
  #getProList .prodBestList .bestPro3 .proImg .proPrice .proTag,
  #getProList .prodBestList .bestPro3 .proImg .proPrice .priceSec { position: static !important; margin-top: 4px; }
  #getProList .prodBestList .bestPro3 .proImg .proPrice .proName strong,
  #getProList .prodBestList .bestPro3 .proImg .proPrice .proName strong a { font-size: 15px; }
  #getProList .prodBestList .bestPro3 .proImg .proPrice .priceSec .salePrice,
  #getProList .prodBestList .bestPro3 .proImg .proPrice .priceSec .salePercent { font-size: 15px; }
  #getProList .listView { width: auto !important; height: auto !important; float: none !important; padding: 16px 0 8px !important; line-height: 2; }
  #getProList .listView .all { display: block; }
  #getProList .listView span[style] { display: block; margin-left: 0 !important; }

  /* ── 상품 상세 ── */
  #prdInfo_area, #imgArea2, #prdInfo2, #prdDetail2 { width: auto !important; float: none !important; height: auto !important; margin-left: 0 !important; padding-left: 0 !important; }
  #imgArea2 .BigImage { width: 100% !important; height: auto !important; }
  #prdInfo2 h3 { font-size: 20px; margin: 16px 0 8px; }
  #prdInfo2 table { width: 100% !important; }
  #prdInfo2 table th, #prdInfo2 table td { padding: 6px 0; font-size: 14px; }
  #prdInfo2 #opt { width: 100% !important; height: 44px; }
  #prdInfo2 input[name=qty] { width: 64px !important; height: 40px; }
  #prdInfo2 .btnArea { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; gap: 8px; margin: 0 !important; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,.12); width: auto !important; }
  #prdInfo2 .btnArea span { flex: 1; display: block; float: none !important; margin: 0 !important; width: auto !important; }
  #prdInfo2 .btnArea span a { display: flex !important; align-items: center; justify-content: center; height: 48px; width: auto !important; margin: 0 !important; font-size: 15px; }
  body.rug-has-buybar { padding-bottom: 72px; }
  body.rug-has-buybar .kakaoChat { bottom: 80px !important; }
  #prdDetail2 > div[style] { width: auto !important; padding-bottom: 24px !important; }
  #prdDetail2 img, #prdDetail2 iframe, #prdDetail2 video { max-width: 100% !important; height: auto !important; }
  #prdDetail2 table { max-width: 100% !important; width: auto !important; }
  #prdDetail2 [style*="width"] { max-width: 100% !important; box-sizing: border-box; }
  .tabset > label { display: inline-block; padding: 12px 8px !important; font-size: 14px; }
  .tab-panels { width: auto !important; }
  #npay_review, .tab-panels table.boardList { width: 100% !important; table-layout: auto !important; }
  #npay_review td img { width: 90px !important; padding: 4px !important; }
  .tab-panels table.boardList td.number, .tab-panels table.boardList td.date { display: none; }

  /* ── 회원: 로그인 ── */
  .login_box { padding: 20px 16px !important; display: flex; flex-direction: column-reverse; width: auto !important; }
  .login_box .member_sns_login, .login_box .log_form { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
  .login_box .member_sns_login { margin-top: 28px !important; padding-top: 20px !important; border-top: 1px solid #eee !important; align-self: stretch; }   /* .login_box 가 align-items:flex-start 라 SNS 칸이 글자 폭으로 줄던 것 */
  .login_box .member_sns_login > * { float: none !important; width: auto !important; margin-left: 0 !important; }
  .login_box .member_sns_login h3 { font-size: 18px !important; padding-top: 0 !important; margin-bottom: 12px !important; }
  .login_box .member_sns_login a { display: flex !important; align-items: center; margin-top: 8px !important; width: 100% !important; box-sizing: border-box; }
  .login_box .member_sns_login a .txtR { flex: 1; }
  .login_box .log_tt { font-size: 13px; margin-bottom: 16px; }
  .login_box .log_tt img { max-height: 28px; width: auto; }
  .login_box .log_in, .login_box .log_in .ip_id, .login_box .log_in .ip_pass { display: block !important; width: auto !important; }
  .login_box .log_in .iparea input { width: calc(100% - 50px) !important; box-sizing: border-box; }
  .login_box .button.btn_login, .login_box input.button { width: 100% !important; box-sizing: border-box; }
  .login_box input.button.gray { width: calc(50% - 4px) !important; margin: 8px 0 0 !important; }

  /* ── 회원: 가입·SNS 간편가입(폼 표) ── */
  .form_table table, .form_table tbody, .form_table tr, .form_table th, .form_table td { display: block; width: auto !important; }
  .form_table th { padding: 14px 0 4px !important; border: 0 !important; background: none !important; text-align: left !important; }
  .form_table td { padding: 0 0 12px !important; border-width: 0 0 1px !important; }
  .form_table .item { position: static !important; }
  .form_table input.i_text.middle2, .form_table input.i_text.long { width: 100% !important; box-sizing: border-box; }
  .form_table td input.i_text.long, .form_table td input.i_text.middle2, .form_table td textarea { max-width: 100% !important; box-sizing: border-box; }
  .form_table .item input.i_text { background-image: none !important; border: 1px solid #ccc !important; height: 42px; padding: 0 10px; box-sizing: border-box; }   /* PC 는 배경 이미지로 162px 테두리를 그린다 */
  .form_table .item input.i_text[name=email1], .form_table .item input.i_text[name=email2] { width: 44% !important; }
  .form_table .item input.i_text.short { width: 72px !important; }
  .form_table .select_link.select_email { display: block; position: relative !important; left: auto !important; top: auto !important; float: none !important; margin: 8px 0 4px; width: 130px; }   /* 레거시 float:left 로 칸 밖으로 넘치던 것, 폭은 배경 스프라이트(130px)와 같게 — 넓히면 스프라이트 옆 조각이 보인다 */
  .form_table .select_link.select_handphone { vertical-align: middle; }
  .form_table .i_dsc, .form_table .i_dsc9 { margin-left: 0 !important; font-size: 12px; }
  .form_table .item .i_dsc, .form_table .item .i_dsc9 { position: static !important; left: auto !important; bottom: auto !important; display: block; margin: 6px 0 0 !important; line-height: 1.5; }   /* 레거시는 .item 안 absolute(bottom:0) — .item 을 static 으로 바꿔 안내 문구가 폼 맨 아래(버튼 위)로 몰리던 것 */
  .form_table .select_link { display: inline-block; }
  /* 회원정보 수정: 사업자 정보 표(.orderView table.ordInfo)는 .form_table 밖이라 위 규칙이 닿지 않고, 인라인 폭(170+420px)과 fieldset 의 min-width:min-content 때문에 폼 전체가 600px 로 넓어졌다 */
  form#frm2 fieldset { min-width: 0; }
  form#frm2 .orderView table.ordInfo, form#frm2 .orderView table.ordInfo tbody, form#frm2 .orderView table.ordInfo tr, form#frm2 .orderView table.ordInfo th, form#frm2 .orderView table.ordInfo td { display: block; width: auto !important; }
  form#frm2 .orderView table.ordInfo th { padding: 14px 0 4px !important; border: 0 !important; background: none !important; text-align: left !important; }
  form#frm2 .orderView table.ordInfo td { padding: 0 0 12px !important; }
  form#frm2 .orderView input.i_text.middle2, form#frm2 .orderView input.i_text.long { width: 100% !important; max-width: 100%; box-sizing: border-box; }
  form#frm2 .orderView input.i_text { background-image: none !important; border: 1px solid #ccc !important; height: 42px; padding: 0 10px; box-sizing: border-box; }   /* PC 는 배경 이미지로 테두리를 그린다(위 .form_table 입력칸과 같게) */
  /* 세금계산서 발행(W-28): 제목 줄의 [사업자정보수정] 칸(td 705px 고정)·사업자 정보 4칸 표를 휴대폰 폭으로 */
  table.rug-tax-head, table.rug-tax-head tbody, table.rug-tax-head tr { display: block; width: auto !important; }
  table.rug-tax-head tr { display: flex; justify-content: space-between; align-items: center; }
  table.rug-tax-head td { width: auto !important; white-space: nowrap; }
  table.rug-tax-biz, table.rug-tax-biz tbody, table.rug-tax-biz tr, table.rug-tax-biz th, table.rug-tax-biz td { display: block; width: auto !important; }
  table.rug-tax-biz colgroup { display: none; }
  table.rug-tax-biz th { padding: 10px 12px 2px !important; border: 0 !important; text-align: left !important; color: #666; }
  table.rug-tax-biz td { padding: 0 12px 10px !important; word-break: break-all; }
  .agree_area p.check, p.check { font-size: 14px; line-height: 1.6; padding: 6px 0; }
  .step-box, .step-wrapper { width: auto !important; }
  .require_message { font-size: 12px; }
}

/* ════════════════ P2 마이페이지·게시판·문의 (휴대폰 ≤767px) ════════════════ */
@media screen and (max-width: 767px) {

  /* ── 마이페이지 메뉴(#aside): 왼쪽 메뉴 → 가로로 밀어 보는 탭 막대 ── */
  #aside { margin: 0 -16px 12px !important; overflow: visible !important; border-bottom: 1px solid #eee; }
  #aside .lnb-wrap { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 12px !important; border: 0 !important; background: #fff !important; }
  #aside .lnb-wrap .lnb-bx { float: none !important; width: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; overflow: visible !important; flex: none; }
  #aside .lnb-wrap .lnb-bx h2 { display: none; }
  #aside .lnb-wrap .lnb ul { display: flex; white-space: nowrap; }
  #aside .lnb-wrap .lnb ul li { float: none !important; padding: 0 !important; }
  #aside .lnb-wrap .lnb ul li a { display: block; padding: 12px 10px; font-size: 14px; color: #333; }

  /* ── 왼쪽 하위 메뉴(#lnb — 크리닝·시공 등): 본문 위 접는 메뉴(rug-mobile.js 가 제목을 버튼으로) ── */
  #sub_container #lnb { float: none !important; width: auto !important; margin: 0 0 12px !important; border: 1px solid #e5e5e5; border-radius: 4px; }
  #lnb h2 { display: flex; align-items: center; justify-content: space-between; margin: 0 !important; padding: 12px 14px !important; font-size: 16px; cursor: pointer; background: #fafafa; }
  #lnb h2 span.eng { display: inline !important; margin-left: 8px; }
  #lnb h2:after { content: '\25BE'; color: #888; margin-left: auto; padding-left: 12px; }
  #lnb.rug-open h2:after { content: '\25B4'; }
  #lnb > ul { display: none; padding: 4px 0 8px !important; }
  #lnb.rug-open > ul { display: block; }
  #lnb ul li a { height: auto !important; padding: 10px 14px !important; font-size: 14px !important; background-image: none !important; }
  #lnb ul.menu_sub_ul { display: block !important; padding-left: 14px !important; }
  #container { float: none !important; width: auto !important; margin: 0 !important; }

  /* ── 게시판 목록 카드: 번호·조회수 열은 휴대폰에서 숨김(rug-mobile.js 가 라벨을 단 표) ── */
  table.rug-cards td[data-label="번호"], table.rug-cards td[data-label="조회수"], table.rug-cards td[data-label="조회"] { display: none !important; }
  table.boardList.rug-cards, table.boardList.rug-cards tbody, table.boardList.rug-cards tr, table.boardList.rug-cards td { display: block; width: auto !important; }
  table.boardList.rug-cards colgroup, table.boardList.rug-cards thead, table.boardList.rug-cards caption { display: none; }
  table.boardList.rug-cards tr { padding: 12px 0; border-bottom: 1px solid #e5e5e5; }
  table.boardList.rug-cards td { overflow: hidden; padding: 3px 0 !important; border: 0 !important; text-align: right !important; font-size: 14px; }
  table.boardList.rug-cards td[data-label]:before { content: attr(data-label); float: left; margin-right: 12px; color: #888; font-size: 13px; }
  table.rug-cards td.subject, table.rug-cards td.title { text-align: left !important; font-size: 15px; }
  table.rug-cards td.subject:before, table.rug-cards td.title:before { display: none; }
  .board_button { float: none !important; text-align: center; padding: 12px 0; }
  .board_button a, .board_button input { min-height: 44px; }

  /* 페이지 번호 */
  .lst_pagenav22, .gc_pagination, .gc_pagination3, .paging, .pagination { width: auto !important; text-align: center; overflow-x: auto; }
  .gc_pagenav li a, .paging a { display: inline-block; min-width: 36px; min-height: 36px; line-height: 36px; }

  /* ── 게시글 보기 ── */
  .notice_view_area, .notice_view_area h4, .notice_view_area .day_num, .notice_view_area .txt_cnt, .notice_view_area .txt_cnt_p, .notice_view_area .before_next_list li { width: auto !important; height: auto !important; box-sizing: border-box; }
  .notice_view_area h4 { line-height: 1.4 !important; padding: 12px 8px !important; }
  .notice_view_area .day_num { padding: 10px 8px !important; overflow: hidden; font-size: 13px; }
  .notice_view_area .txt_cnt, .notice_view_area .txt_cnt_p { padding: 20px 8px !important; word-break: break-all; }
  .notice_view_area .txt_cnt img, .notice_view_area .txt_cnt iframe, .notice_view_area .txt_cnt video, .notice_view_area .txt_cnt_p img { max-width: 100% !important; height: auto !important; }
  .notice_view_area .txt_cnt table { max-width: 100% !important; width: auto !important; }
  .notice_view_area .txt_cnt [style*="width"] { max-width: 100% !important; box-sizing: border-box; }
  .notice_view_area .before_next_list li { padding: 10px 8px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* ── 상세 표(boardView·boardRmc — 크리닝 보기·글 삭제·후기): th|td 반복 → 세로 쌓기 ── */
  table.boardView, table.boardView tbody, table.boardView tr, table.boardView th, table.boardView td,
  table.boardRmc, table.boardRmc tbody, table.boardRmc tr, table.boardRmc th, table.boardRmc td { display: block; width: auto !important; }
  table.boardView colgroup, table.boardRmc colgroup { display: none; }
  table.boardView th, table.boardRmc th { padding: 10px 4px 2px !important; border: 0 !important; text-align: left !important; background: none !important; font-size: 13px; color: #666; }
  table.boardView td, table.boardRmc td { padding: 0 4px 10px !important; border-width: 0 0 1px !important; word-break: break-all; }
  .boardCont { width: auto !important; padding: 16px 4px !important; word-break: break-all; }
  .boardCont img { max-width: 100% !important; height: auto !important; }
  .boardBtBox { float: none !important; text-align: center !important; padding: 12px 0; }
  .boardBtBox a, .boardBtBox input, .boardBtBox img { display: inline-block; margin: 4px !important; }

  /* ── 견적문의 보기(비밀번호 확인 표 등): 고정 열 폭 해제 ── */
  .contents_area table col[style*="width"] { width: auto !important; }
  td.mytable_top, td.mytable_bottom { height: auto !important; }
  .contents_area input.w50 { width: 80px !important; height: 40px; }

  /* ── 회원정보 수정(form_table·option_list 는 P1 규칙을 같이 쓴다) ── */
  /* 선택 상자(select_link): 목록을 absolute 로 빼면 배경을 그리는 .option_area 가 5px 로 줄어 선택지가 배경 없이 아래 내용 위에 겹쳤다 — 목록은 상자 안에 두고, 열린 상자에 배경·테두리·위쪽 쌓임 순서 */
  .form_table .option_list { position: static; }
  .form_table .select_link.open { z-index: 30 !important; }
  .form_table .select_link.open .option_area { background: #fff !important; border: 1px solid #ccc; box-shadow: 0 4px 10px rgba(0,0,0,.12); padding-bottom: 0; }
}

/* ════════════════ P3 콘텐츠: 시리즈·포트폴리오·안내·약관 (휴대폰 ≤767px) ════════════════ */
@media screen and (max-width: 767px) {

  /* ── 공통: 본문 안의 PC 고정 폭(인라인 style·width 속성) 해제 ── */
  #rug_wrap [style*="width:1200px"], #rug_wrap [style*="width: 1200px"], #rug_wrap [style*="width:1180px"], #rug_wrap [style*="width:1160px"],
  #rug_wrap [style*="width:790px"], #rug_wrap [style*="width: 790px"], #rug_wrap [style*="width:810px"], #rug_wrap [style*="width:760px"], #rug_wrap [style*="width:700px"] { width: auto !important; max-width: 100%; }
  #rug_wrap table[width="1200"], #rug_wrap table[width="1180"], #rug_wrap table[width="790"], #rug_wrap table[width="810"], #rug_wrap table[width="760"] { width: 100% !important; }
  #rug_wrap td[width="1200"], #rug_wrap td[width="790"] { width: auto !important; }
  #rug_wrap iframe[src*="youtube"], #rug_wrap iframe[src*="vimeo"] { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
  #sub_container[style*="padding-top"] { padding-top: 0 !important; }

  /* ── 시리즈: 상단 하위 분류(df-submenu) → 가로로 밀어 보는 칩 ── */
  .df-submenu { display: flex !important; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 6px; margin: 0 0 12px !important; padding: 0 0 6px !important; }
  .df-submenu > li { float: none !important; flex: none; width: auto !important; margin: 0 !important; }
  .df-submenu > li > a { display: block; padding: 8px 12px; border: 1px solid #ddd; border-radius: 16px; font-size: 13px; white-space: nowrap; }
  .df-submenu .displaynone { display: none !important; }
  .ceo { width: auto !important; }

  /* 세부 타입 사진(라이트박스 썸네일) → 4열 */
  table.purchase, table.purchase tbody, table.purchase tr, table.purchase td { display: block; width: auto !important; }
  .imageRow, .imageRow .set { width: auto !important; overflow: hidden; }
  .imageRow .single { float: left !important; width: 25% !important; box-sizing: border-box; padding: 2px; margin: 0 !important; }
  .imageRow .single img { width: 100% !important; height: auto !important; }

  /* 제품 스펙 표 */
  table.spec { width: 100% !important; table-layout: auto; }
  table.spec th, table.spec td { padding: 8px 6px !important; font-size: 13px; word-break: keep-all; }

  /* 주문제작 계산(사이즈·색상 선택) */
  #prdInfo_area #tmpBigimg { display: none; }
  #prdInfo { float: none !important; width: auto !important; margin: 16px 0 0 !important; }
  #prdInfo h3 { font-size: 18px; }
  #prdInfo table { width: 100% !important; }
  #prdInfo th { width: 84px !important; font-size: 13px; vertical-align: top; }
  #prdInfo td input[type=text], #prdInfo td input:not([type]) { width: 72px !important; height: 36px !important; box-sizing: border-box; font-size: 16px; }
  #prdInfo td select { max-width: 100%; height: 40px; font-size: 16px; }
  #prdInfo .btnArea { width: auto !important; display: flex; gap: 8px; }
  #prdInfo .btnArea span { float: none !important; flex: 1; width: auto !important; padding: 12px 0 0 !important; }
  #prdInfo .btnArea span a { min-height: 48px; box-sizing: border-box; display: flex !important; align-items: center; justify-content: center; }
  #construct, #construct2 { top: 0 !important; }
  /* 시공 제품 카드(listType1, 250px 고정) → 2열 */
  .listType1 { display: flex; flex-wrap: wrap; gap: 12px; }
  .listType1 li { float: none !important; width: calc(50% - 6px) !important; height: auto !important; margin: 0 !important; }
  .listType1 a.img, .listType1 a.con { width: auto !important; height: auto !important; }
  .listType1 a.img img { width: 100% !important; height: auto !important; }
  .listType1 dl { height: auto !important; padding: 12px 10px !important; font-size: 13px; }
  .notice_news_area { padding: 0 !important; }
  #constructArea .title { font-size: 15px; }

  /* ── 포트폴리오: 연도 탭(절대 위치) → 위쪽 한 줄, 작품 목록 2열 ── */
  #lotte_coupon { display: flex; flex-wrap: wrap; }
  #lotte_coupon > .tab_list_btn { position: static !important; order: 0; flex: 1 1 30%; width: auto !important; min-width: 0; background-image: none !important; border-bottom: 2px solid #ddd; }
  #lotte_coupon > .tab_list_btn.on { border-bottom-color: #333; }
  #lotte_coupon > .tab_list_btn a { height: auto !important; padding: 12px 0 !important; }
  #lotte_coupon > .coupon_group { order: 1; width: 100%; }
  #lotte_coupon ul.coupon_list { background: none !important; display: flex; flex-wrap: wrap; }
  #lotte_coupon ul.coupon_list li, #lotte_coupon ul.coupon_list li.coupon_1 { float: none !important; width: 50% !important; box-sizing: border-box; padding: 8px 6px 20px !important; margin: 0 !important; }
  #lotte_coupon ul.coupon_list li img { width: 100% !important; height: auto !important; aspect-ratio: 23 / 17; object-fit: cover; }
  #lotte_coupon ul.coupon_list li .btn { width: auto !important; padding-left: 0 !important; }
  #lotte_coupon ul.coupon_list li .title { font-size: 14px; }
  #lotte_coupon ul.coupon_list li .desc { font-size: 12px; }

  /* ── 크리닝 안내(정적) ── */
  .cleaning_0108_title { font-size: 18px !important; line-height: 1.4; }
  .cleaning_0108_text { font-size: 14px !important; line-height: 1.7; word-break: keep-all; }
  .cleaning_0108_notice { font-size: 13px !important; }

}

/* 장바구니 이용 안내(복원) — 휴대폰 여백 */
@media screen and (max-width: 767px) {
  .collection_list_a .orderView[style*="padding"] { padding: 14px 12px !important; font-size: 13px; word-break: keep-all; }
}

/* ════════════════ 푸터 (모든 폭, W-40) ════════════════
 * 마크업: rug-layout.blade.html 의 #footer_wrap2 > footer#footer2.rf-footer. 레거시 #footer_wrap2 #footer2 규칙(패딩·배경)은 같은 선택자 + !important 로 덮는다.
 * 색: 바탕 #1c1c1c, 본문 #a8a8a8, 강조 흰색, 포인트 금색(로고·로그인 버튼과 같은 #b99d6a). */
#footer_wrap2 { background: #1c1c1c; }
#footer_wrap2 #footer2.rf-footer { padding: 56px 24px 48px !important; background: #1c1c1c; color: #a8a8a8; font-size: 14px; line-height: 1.7; letter-spacing: -0.01em; }
.rf-footer a { color: inherit; text-decoration: none; }
.rf-footer p, .rf-footer ul, .rf-footer dl, .rf-footer dd { margin: 0; padding: 0; }
.rf-footer .rf-inner { max-width: 1200px; margin: 0 auto; }
.rf-footer .rf-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.rf-footer .rf-logo img { display: block; height: 52px; width: auto; }
.rf-footer .rf-links { display: flex; flex-wrap: wrap; list-style: none; }
.rf-footer .rf-links li { position: relative; }
.rf-footer .rf-links li + li { margin-left: 22px; }
.rf-footer .rf-links li + li:before { content: ''; position: absolute; left: -11px; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: rgba(255,255,255,.2); }
.rf-footer .rf-links a { display: inline-block; padding: 6px 0; color: #e2e2e2; font-size: 15px; transition: color .15s; }
.rf-footer .rf-links a:hover, .rf-footer .rf-links a:focus { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.rf-footer .rf-links a.rf-strong { color: #d4b98a; font-weight: 700; }
.rf-footer .rf-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 32px 0 36px; }
.rf-footer .rf-name { margin-bottom: 10px; color: #fff; font-size: 16px; font-weight: 700; }
.rf-footer .rf-company .rf-kv dt { font-weight: 400; color: #8c8c8c; }   /* 회사 정보: 항목은 흐리게, 값은 본문색 */
.rf-footer .rf-company .rf-kv dd { color: #bdbdbd; }
.rf-footer .rf-kv dd a:hover { color: #fff; text-decoration: underline; }
.rf-footer .rf-card { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.1); }
.rf-footer .rf-label { color: #b99d6a; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.rf-footer .rf-big { margin: 4px 0 12px; color: #fff; font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: 0; white-space: nowrap; }
.rf-footer .rf-big a { color: #fff; }
.rf-footer .rf-kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: 13px; }
.rf-footer .rf-kv dt { color: #d8d8d8; font-weight: 700; }
.rf-footer .rf-kv dd { color: #a8a8a8; }
.rf-footer .rf-note { margin-top: 8px; color: #8c8c8c; font-size: 12px; }
.rf-footer .rf-copy { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #7a7a7a; font-size: 12px; }

@media screen and (max-width: 767px) {
  #footer_wrap2 #footer2.rf-footer { padding: 32px 18px 104px !important; }   /* 아래쪽은 카카오 상담 버튼(고정)에 가리지 않게 */
  .rf-footer .rf-top { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 20px; }
  .rf-footer .rf-logo img { height: 40px; }
  .rf-footer .rf-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 0 12px; }
  .rf-footer .rf-links li + li { margin-left: 0; }
  .rf-footer .rf-links li + li:before { display: none; }
  .rf-footer .rf-links a { display: block; padding: 10px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .rf-footer .rf-body { display: flex; flex-direction: column; gap: 0; padding: 4px 0 20px; }
  .rf-footer .rf-card { order: -1; padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.1); }   /* 고객센터·입금계좌를 먼저 */
  .rf-footer .rf-big { font-size: 24px; }
  .rf-footer .rf-company { padding-top: 20px; }
  .rf-footer .rf-copy { padding-top: 16px; }
}

/* ════════════════ 헤더 (W-41 — 푸터와 같은 톤) ════════════════
 * 마크업은 그대로(휴대폰 메뉴는 rug-mobile.js 가 .headerGnb 를 읽어 만든다). 레거시 header.css·default_20240112.css 를 같은 선택자로 덮는다.
 * 공지 띠는 모든 폭, 나머지는 PC(≥768px)만 — 휴대폰 헤더(.rug-mbar)는 그대로. */
#closeTopBanner .bg { height: 36px; line-height: 36px; background: #1c1c1c; color: #d4b98a; font-size: 13px; font-weight: 500; letter-spacing: .06em; }

@media screen and (min-width: 768px) {
  /* 상단 링크: 영문↔한글 바뀜 효과 대신 한글 고정, 가는 구분선, 금색 hover */
  #header24 .headerTnb .tnbRight { padding-top: 14px; padding-bottom: 6px; }
  #header24 .headerTnb .tnbRight li a { padding: 2px 0; font-family: inherit; font-size: 12px; color: #777; letter-spacing: 0; transition: color .15s; }
  #header24 .headerTnb .tnbRight li a span.eng { display: none !important; }
  #header24 .headerTnb .tnbRight li a span.kor,
  #header24 .headerTnb .tnbRight li a:hover span.kor { display: inline !important; position: static; width: auto; font-size: 12px; letter-spacing: -.01em; color: inherit; opacity: 1; }
  #header24 .headerTnb .tnbRight li a:hover, #header24 .headerTnb .tnbRight li a:focus { color: #b99d6a; }
  #header24 .headerTnb .tnbRight li:after { content: ''; display: inline-block; width: 1px; height: 10px; margin: 0 12px; padding: 0; background: #d8d8d8; vertical-align: -1px; font-size: 0; }
  #header24 .headerTnb .tnbRight li:nth-last-child(1):after { display: none; }

  /* 검색: 가는 밑줄, 누르면 금색 */
  .searchArea .search input { height: 34px; border: 0; border-bottom: 1px solid #cfcfcf; border-radius: 0; font-family: inherit; font-size: 13px; color: #333; text-indent: 2px; transition: border-color .15s; }
  .searchArea .search input::placeholder { color: #aaa; }
  .searchArea .search input:focus { outline: none; border-bottom-color: #b99d6a; }
  .searchArea .search a { top: 5px; }
  .searchArea .search a img { opacity: .75; }
  .searchArea .search a:hover img { opacity: 1; }

  /* 메뉴: 굵은 한글, 올리면 금색 글자 + 아래 금색 2px 막대 */
  #header .headerGnb { border-bottom: 1px solid #ececec; }
  #header .headerGnb .gnbInner > ul > li > a { padding: 0 34px; font-family: inherit; font-size: 16px; font-weight: 700; color: #222; letter-spacing: -.01em; }
  #header .headerGnb .gnbInner > ul > li > a span.eng { transition: color .15s; }
  #header .headerGnb .gnbInner > ul > li > a:hover span.eng,
  #header .headerGnb .gnbInner > ul > li:hover > a span.eng { opacity: 1; color: #b99d6a; }
  #header .headerGnb .gnbInner > ul > li > a:hover span.kor { display: none !important; }
  #header .headerGnb .gnbInner > ul > li > a:after { content: ''; position: absolute; left: 34px; right: 34px; bottom: 0; height: 2px; background: #b99d6a; transform: scaleX(0); transition: transform .2s; }
  #header .headerGnb .gnbInner > ul > li:hover > a:after, #header .headerGnb .gnbInner > ul > li > a:focus:after { transform: scaleX(1); }

  /* 펼침 메뉴: 그림자, 영문 대표 링크는 금색, 하위 분류는 hover 금색 */
  #header .sub-menu-wrap { border-top: 1px solid #ececec; border-bottom: 0; box-shadow: 0 14px 28px rgba(0,0,0,.07); }
  #header .sub-menu-wrap .left ul li a { color: #b99d6a; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
  #header .sub-menu-wrap h3, #header .sub-menu-wrap h3 a { font-family: inherit; font-size: 15px; color: #444; transition: color .15s; }
  #header .sub-menu-wrap h3 a:hover, #header .sub-menu-wrap h3 a:focus { color: #b99d6a; }
}

/* ════════════════ 메인 (W-42 — 헤더·푸터와 같은 톤, PC ≥768px) ════════════════
 * 마크업·고정 높이(레거시 #main_wrapN height)는 그대로 — 글자·선·색·hover 만 바꾼다. 휴대폰 메인은 위 P1 규칙 그대로. */
@media screen and (min-width: 768px) {
  /* 구역 제목: 왼쪽 굵은 막대 대신 위쪽 금색 짧은 선, 제목 크게, 설명 흐리게 */
  #main_container .goods_list_tit { padding: 24px 0 18px; }
  #main_container .goods_list_tit h3 { margin-left: 10px; padding-left: 0; border-left: 0; font-size: 26px; font-weight: 800; color: #1c1c1c; letter-spacing: .01em; line-height: 1.2; }
  #main_container .goods_list_tit h3:before { content: ''; display: block; width: 28px; height: 3px; margin-bottom: 12px; background: #b99d6a; }
  #main_container .goods_list_tit h3 span { padding-left: 14px; font-size: 14px; font-weight: 400; color: #999; letter-spacing: -.01em; }
  #main_container .btn_goods_more { bottom: 20px; right: 10px; }
  #main_container .btn_goods_more .btn_goods_view_more { display: inline-block; padding: 8px 16px; border: 1px solid #d6d6d6; font-size: 13px; color: #555; letter-spacing: -.01em; transition: color .15s, border-color .15s; }
  #main_container .btn_goods_more .btn_goods_view_more:hover, #main_container .btn_goods_more .btn_goods_view_more:focus { border-color: #b99d6a; color: #b99d6a; }
  #main_container #main_btn { border-top-color: #ececec !important; }
  #main_container #getProList .proItemList3 { border-top-color: #ececec; }

  /* 포트폴리오 슬라이드 설명 */
  #main_container .mySwiper .swiper-slide p { color: #555; font-size: 13px; }

  /* 상품 카드: 사진 살짝 확대 hover, 이름 hover 금색, 가격 줄 정리 */
  #main_container #getProList .proItemList3 .itemSell .proImg .itemImg a { display: block; width: 280px; height: 280px; overflow: hidden; background: #f4f4f4; }
  #main_container #getProList .proItemList3 .itemSell .proImg .itemImg img { display: block; transition: transform .45s ease; }
  #main_container #getProList .proItemList3 .itemSell:hover .proImg .itemImg img { transform: scale(1.04); }
  #main_container #getProList .proItemList3 .itemSell .proName { padding: 14px 0 8px; }
  #main_container #getProList .proItemList3 .itemSell .proName a { font-size: 16px; font-weight: 600; color: #1c1c1c; letter-spacing: -.01em; transition: color .15s; }
  #main_container #getProList .proItemList3 .itemSell .proName a:hover { color: #b99d6a; }
  #main_container #getProList .proItemList3 .itemSell .proPrice .prePrice { padding-top: 6px; font-size: 13px; color: #bdbdbd; }
  #main_container #getProList .proItemList3 .itemSell .proPrice .salePoint { color: #b99d6a; }

  /* BEST: 바탕을 따뜻한 회색으로 */
  #main_container #main_box1 { background-color: #f6f4f0; }

  /* 바로가기 6개: 제목 밑줄을 금색으로, 올리면 제목 금색 */
  #main_container .main_service { border-top: 1px solid #ececec; }
  #main_container .main_service_list li .text dl dt { font-weight: 700; color: #1c1c1c; transition: color .15s; }
  #main_container .main_service_list li .text dl dt strong:after { height: 2px; bottom: -4px; background: #b99d6a; }
  #main_container .main_service_list li:hover .text dl dt { color: #b99d6a; }
  #main_container .main_service_list li .text dl dd { color: #888; font-size: 13px; }
}
