﻿.justify-content-center {
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.pagination {
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.48rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #959595;
  text-decoration: none;
  background-color: #f3f3f3;
  border-color: #eee;
}

.page-link:focus {
  z-index: 3;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

#content_pagebar {
  display: flex;
}

#content_pagebar .page-link {
  margin: 0 2px;
}

/*--------------------------------------------------------------
# pagination, page-item
--------------------------------------------------------------*/
/* ===== 페이지네이션 전체를 1번째 이미지처럼 통일 ===== */
.pg_wrap .pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  list-style:none;
  padding:0;
  margin:0;
}

/* li 간격: 숫자/화살표 모두 동일 간격 */
.pg_wrap .pagination .page-item{
  margin: 0 0px;
}

/* 버튼(화살표/숫자) 공통 */
.pg_wrap .pagination .page-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:30px;
  height:30px;
  padding:0;            /* ✅ padding 때문에 크기 달라지는 것 방지 */
  line-height:30px;     /* ✅ 글자/아이콘 수직정렬 */
  margin:0;             /* ✅ 기존 margin 제거 (li에서만 간격) */

  border:none !important;
  border-radius:4px !important;
  background:#eee;
  color:#959595;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  box-shadow:none !important;
}

/* hover */
.pg_wrap .pagination .page-link:hover{
  background:#f3f3f3;
  color:#959595;
}

/* active(현재 페이지) */
.pg_wrap .pagination .page-item.active .page-link,
.pg_wrap .pagination .page-link.active{
  background:#3a8afd !important;
  color:#fff !important;
  font-weight:700;
}

/* disabled(비활성 화살표) */
.pg_wrap .pagination .page-item.disabled .page-link{
  opacity:.55;
  pointer-events:none;
}

/* (선택) 포커스 파란 테두리 제거 */
.pg_wrap .pagination .page-link:focus{
  outline:0;
  box-shadow:none !important;
}


/* 할인가맹점, 명예의 전당 페이지바 간격 */
.pg_page,
.pg_current {
  margin: 0 2px;   /* 좌우 간격 */
}

/* ===== 검색 박스 ===== */	
.select_box{width:109px ;}
@media (max-width: 768px) {
	.select_box{width:auto;}	
}

/* .pg_current {display:inline-block;background:#3a8afd;border:1px solid #3a8afd;color:#fff;font-weight:bold;height:30px;line-height:30px;padding:0 10px;min-width:30px;border-radius:3px} */


/* ===== 할인가맹점 ===== */	
/* 이미지 박스(고정 높이) */
/* .gall_img .imgplus{
  width: 100%;
  height: 239px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
} */

/* 로고/일반 이미지: 전체가 보이게 */
/* .gall_img .imgplus img{
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  object-position: center;
  display: block;
} */


/* ===== 갤러리 ===== */	

/* .gall_img .imgplus01{
  width: 100%;
  height: 236px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gall_img .imgplus01 img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
} */













