@charset "utf-8";

/* 자사몰 포인트 컬러 */
:root {
  --color-primary: #74b600;           /* 메인 포인트 컬러 */
  --color-primary-dark: #5a8e00;      /* 호버/눌렸을 때 등 어두운 버전 */
  --color-primary-light: #a0d400;     /* 연한 버전 (배경 등에 활용) */
  --color-primary-bg: #f4fce3;        /* 아주 연한 배경색 (예: 뱃지 배경) */
}

:root{
  --notice-text:#111111;
  --notice-text2:#555555;
  --notice-text3:#8a8a8a;
  --notice-line:#ececec;
  --notice-line-strong:#ccd2d9;
  --notice-bg:#ffffff;
  --notice-chip:#f5f5f5;
  --notice-dark:#111111;
  --notice-point:#fff;
  --notice-point-soft:#111111;
  --notice-radius:28px;
  --notice-radius-sm:16px;
  --notice-shadow:0 10px 30px rgba(0,0,0,.06);
}

*{box-sizing:border-box;}

.notice-wrap{
  width:100%;
  height: unset;
}

.notice-head{
  margin-bottom:32px;
}

.notice-head-top{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.notice-cate ul{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}

.notice-cate li{
  margin:0;
  padding:0;
}

.notice-cate li a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  background:var(--notice-chip);
  color:#5f5f5f;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
  transition:.2s ease;
}

.notice-cate li a:hover{
  background:#ededed;
  color:#111;
}

.notice-cate li #bo_cate_on{
  background:#111;
  color:#fff;
}

.notice-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:24px;
}

.notice-toolbar-left,
.notice-toolbar-right,
.notice-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.notice-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:12px;
  border:1px solid #111;
  background:#fff;
  color:#111;
  font-size:15px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  transition:.2s ease;
}


.notice-btn-dark{
  background:#111;
  color:#fff;
}

.notice-btn-line{
  background:#fff;
  color:#111;
}

.notice-masterchk{
  width:18px;
  height:18px;
  accent-color:#111;
}

.notice-list-sec{
  width:100%;
}

.notice-total{
  margin:0 0 12px;
  color:#111;
  font-size:14px;
  font-weight:700;
}

.cart_table_card{
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
  overflow:hidden;
}

.notice-table-wrap table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}

.notice-table-wrap thead th{
  border-top:0;
  background:#fff;
}

.notice-table-wrap td{
  border-left:0;
}

.tr_top_border{
  border-bottom:1px solid #ccd2d9;
  border-top:3px solid #000;
}

.tr_border-bottom{
  border-bottom:1px solid #ccd2d9;
}

.notice-table-wrap th,
.notice-table-wrap td{
  padding:16px 12px;
  vertical-align:middle;
  color:#111;
  font-size:14px;
}

.notice-table-wrap th{
  text-align:center;
  font-weight: 600;
}

.text_center{
  text-align:center;
}

.notice-row{
  transition:background-color .18s ease;
}

.notice-row:hover{
  background:#fcfcfc;
}

.notice-row.is-notice{
  background:#fafafa;
}

.notice-td-check input{
  width:18px;
  height:18px;
  accent-color:#111;
}

.notice-td-subject{
  text-align:left;
}

.notice-subject-wrap{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  min-width:0;
}

.notice-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:#f5f5f5;
  color:#111;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  flex:0 0 auto;
}

.notice-subject{
  display:inline-block;
  min-width:0;
  max-width:100%;
  color:#111;
  text-decoration:none;
  font-size:15px;
  line-height:1.5;
  font-weight:700;
  word-break:break-word;
}

.notice-subject:hover{
  text-decoration:unset;
}

.notice-comment{
  color:#2563eb;
  font-size:13px;
  font-weight: 600;
  flex:0 0 auto;
}

.notice-icon{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}

.notice-label-notice{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  background:var(--color-primary);
  color:#fff;
  font-size:12px;
  font-weight: 600;
}

.notice-label-current{
  color:#6b7280;
  font-size:13px;
  font-weight:700;
}

.empty_table{
  padding:72px 20px !important;
  text-align:center;
  color:#777;
  font-size:15px;
  line-height:1.6;
}

.notice-bottom{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-top:28px;
}

.notice-search{
  flex:1;
  min-width:0;
}

.notice-search form{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-start;
  margin-bottom: 20px;
}

.notice-search select{
  width:160px;
  min-height:48px;
  padding:0 14px;
  border:1px solid var(--notice-line);
  border-radius:14px;
  font-size:15px;
  background:#fff;
}

.notice-search-input{
  position:relative;
  flex:1;
  max-width:420px;
}

.notice-search-input input{
  width:100%;
  height:48px;
  padding:0 110px 0 16px;
  border:1px solid var(--notice-line);
  border-radius:999px;
  font-size:15px;
}

.notice-search-input button{
  position:absolute;
  top:50%;
  right:6px;
  transform:translateY(-50%);
  height:36px;
  padding:0 16px;
  border:none;
  border-radius:999px;
  background:var(--color-primary);
  color:#fff;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.notice-search select:focus,
.notice-search-input input:focus{
  outline:0;
  border-color:var(--color-primary);
  box-shadow:0 0 0 4px var(--color-primary-bg);
}

.notice-pagination{
  margin-top:28px;
}

.notice-pagination .pg_wrap{
  display:flex;
  justify-content:center;
}

.notice-pagination .pg{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.notice-pagination .pg a,
.notice-pagination .pg strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 12px;
  border-radius:999px;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
}

.notice-pagination .pg a{
  background:#f5f5f5;
  color:#555;
}

.notice-pagination .pg strong{
  background:#111;
  color:#fff;
}

.notice-noscript{
  margin-top:12px;
  color:#b91c1c;
  font-size:13px;
}

.notice-meta{
  display:none;
  margin-top:4px;
  font-size:12px;
  line-height:1.5;
  color:#8a8a8a;
}
@media (max-width:768px){
  .notice-btn{
    color: #fff !important;
    background: #000;
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }
  .notice-wrap{
    padding:10px;
  }

  /* 카테고리 */
  .notice-cate ul{
    gap:5px;
  }

  .notice-cate li a{
    min-height:30px;
    padding:0 10px;
    font-size:14px;
  }

  /* 검색 */
  .notice-search form{
    align-items:stretch;
    gap:8px;
    margin-bottom: 16px;
  }
  .notice-td-hit{
    text-align: center !important;
  }
  .notice-search select{
    width: 30%;
    min-height: 44px;
    font-size: 12px;
  }

  .notice-search-input{
    max-width:none;
  }

  .notice-search-input input{
    height:44px;
    padding:0 65px 0 14px;
    font-size:16px;
  }

  .notice-search-input button{
    height:32px;
    padding:0 14px;
    font-size:13px;
  }

  /* 툴바 */
  .notice-toolbar{
    align-items: anchor-center;
    gap: 10px;
    margin-bottom: 10px;
  }

  /* 테이블 */
  .notice-table-wrap table{
    width:100%;
    table-layout:fixed;
  }
  .notice-total {
      margin: 0;
  }
  /* 모바일용 col 폭 재정의 */
  .notice-col-check{
    width:44px !important;
  }

  .notice-col-num,
  .notice-col-name,
  .notice-col-date{
    display:none;
    width:0 !important;
  }

  .notice-col-hit{
    width:56px !important;
  }

  /* 숨길 헤더/셀 */
  .notice-th-num,
  .notice-th-name,
  .notice-th-date,
  .notice-td-num,
  .notice-td-name,
  .notice-td-date{
    display:none;
  }

  /* 셀 공통 */
  .notice-table-wrap th,
  .notice-table-wrap td{
    padding:12px 8px;
    font-size:13px;
    vertical-align:middle;
  }

  .notice-table-wrap thead th{
    font-size:12px;
    white-space:nowrap;
  }

  .notice-th-subject{
    text-align:left;
  }

  .notice-th-hit{
    text-align:right;
  }

  /* 체크박스 */
  .notice-td-check{
    width:44px;
    text-align:center;
  }

  .notice-td-check input{
    width:18px;
    height:18px;
  }

  /* 제목 */
  .notice-td-subject{
    text-align:left;
    vertical-align:middle;
    padding-right:8px;
  }

  .notice-subject-wrap{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    min-width:0;
  }

  .notice-chip{
    min-height:24px;
    padding:0 8px;
    font-size:11px;
  }

  .notice-subject{
    display:block;
    font-size:14px;
    line-height:1.45;
    font-weight:700;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }

  .notice-meta{
    display:block;
    margin-top:2px;
    font-size:12px;
    line-height:1.5;
    color:#8a8a8a;
  }

  /* 조회 */
  .notice-td-hit{
    width:56px;
    text-align:right;
    white-space:nowrap;
    vertical-align:middle;
    font-size:12px;
    color:#666;
    padding-left:4px;
    padding-right:8px;
  }

  /* 공지 뱃지 */
  .notice-label-notice{
    min-width:46px;
    height:26px;
    font-size:11px;
  }

  /* 빈 목록 */
  .empty_table{
    padding:48px 16px !important;
    font-size:14px;
  }

  /* 페이징 */
  .notice-pagination .pg{
    gap:6px;
  }

  .notice-pagination .pg a,
  .notice-pagination .pg strong{
    min-width:34px;
    height:34px;
    padding:0 10px;
    font-size:13px;
  }
}
