@charset "utf-8";


/* 모달 열렸을 때 뒷페이지 스크롤 방지  */
/* .body-modal-open {
  overflow: hidden;
  height: 100%;
  touch-action: none;
} */


.form-control:focus { box-shadow: unset !important;border-color: #fc5050; }

.main-text { font-size: 24px; }
.sub-text { font-size: 14px; }

.map-list { bottom: 20px !important; }


.body .bg-brand { background: #fc5050 !important; }
.icon-arrow-up:before { content: unset !important; }

.map-content-box {
  width: 100%;
  /* padding: 0 1.5rem; */
}

.mobile-margin-top6 {
  margin-top: 4rem;
}


/* --------------------------------
   버튼
-------------------------------- */
.map_contents_detail {
  text-decoration: none;
  background: #fc5050 !important;
  border-color: #fc5050 !important;
  border-width: 1px;
  color: #fff !important;
  border-radius: 30px;
}

.change-map { background-color: #fc5050 !important; }

/* 기본 버튼 */
/* .btn-sido {
  background: #F5F5F5;
  border-radius: 2rem;
  font-weight: bold;
  font-size: 1.6rem;
  border: 1px solid #ccc;
  padding: 0.3rem 2rem;
} */

.notice-box {
  display: flex;
  gap: 0.8rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  /* padding-bottom: 0.5rem; */
  -webkit-overflow-scrolling: touch;
  margin: 0 1rem;

  /* 스크롤바 숨김 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.notice-box::-webkit-scrollbar {
  width: 0;
  height: 0;
}


/* 시도 선택 레이어 */

.btn-sido:hover, .btn-sido:active, .btn-sido.active{
  font-weight: 500;
  transform: translateY(-1px);
  background: #fce9e3;
  color: #f04b1d;
  border-color: transparent;
}

.btn-sido {
  background-color: unset;
  border: none;
  color:#8d8d8d;
  font-weight: 500;
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  margin-bottom: 1rem;
  border-radius: 20px;
}

.sido-select-wrap {
  position: relative;
  display: inline-block;
}

#sidoTrigger {
  background: #fce9e3;
  color: #f04b1d;
}

.sido-layer {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
  padding: 8px;
  z-index: 999;
}

.sido-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 260px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sido-list li {
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
}

.sido-list li + li {
  margin-top: 4px;
}

.sido-list li:hover {
  background: #fce9e3;
  color: #f04b1d;
  transform: translateY(-1px);
}

.current-user-position-box,
.notice-box,
.sido-select-wrap {
  overflow: visible !important;
  position: relative;
}

.sido-layer {
  z-index: 9999 !important;
}

/* ============================
 * 공통(PC + 모바일) 기본 스타일
 * ============================ */

/* 지역선택 + 토글 + 버튼 한 줄 정렬용 */
.filter-top-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* 지도 토글 박스 */
.map-toggle-wrap {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 20px;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

/* 토글 버튼 */
.map-toggle-btn {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
}

.map-toggle-btn.active {
  background-color: #f04b1d;
  color: #fff;
}

/* 단골약국 / 내 위치 버튼 */
.current-location-btn {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  height: 40px;
  border: 1px solid #4b5563;
  background-color: #fff;
  color: #4b5563 !important;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  gap: 0.4rem;
  transition: background 0.2s;
  margin-right: 1rem;
  white-space: nowrap;
}

.current-location-btn .loc-icon {
  width: 30px;
}


/* 예약하기  버튼 */
.modal-reserv-btn {
  display: inline-flex;
  align-items: center;
  padding: 0 1.2rem;
  height: 40px;
  border: 1px solid #fff;
  background-color: #fc5050;
  color: #fff !important;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  gap: 0.4rem;
  transition: background 0.2s;
  margin-right: 1rem;
  white-space: nowrap;
}

.modal-reserv-btn .loc-icon {
  width: 30px;
}

/* 단골약국저장버튼 */
.modal-mystore-btn {
  display: inline-flex;
  align-items: center;
  padding: 0 1.2rem;
  height: 40px;
  border: 1px solid #4b5563;
  background-color: #fff;
  color: #4b5563 !important;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  gap: 0.4rem;
  transition: background 0.2s;
  margin-right: 1rem;
  white-space: nowrap;
}

.modal-mystore-btn .loc-icon {
  width: 30px;
}

/* pc */
@media (min-width: 769px) {
  .map-toggle-wrap {
    margin-left: 1rem;
  }

  .current-location-btn {
    margin-left: auto;
  }

}


/* 모바일 */
@media (max-width: 768px) {

  .modal-mystore-btn,
  .modal-reserv-btn {
    padding: 0 1.2rem;
  }

  .filter-top-row {
    gap: 6px;
  }

  .map-toggle-wrap {
    margin-bottom: 0;
    margin-right: 1rem;
    background-color: #5a5a5a;
  }

  .map-toggle-btn {
    font-size: 12px;
    padding:1px 10px;
    color: #fff;
  }

  .current-location-btn {
    height: auto;
    padding: 1px 10px;
    font-size: 12px;
    margin-right: 0;
    display: inline;
  }

  .current-location-btn .loc-icon {
    width: 24px;
  }

}

/* 예약하기 버튼 */
.btn-reservation-product{
  min-width: 150px;
  background-color: #fc5050;
  border-radius: 35px;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  bottom: 2rem;
  /* position: relative; */
  padding: 1rem;
}
.btn-reservation-product:hover,
.btn-reservation-product:focus,
.btn-reservation-product:active:focus,
.btn-reservation-product.active:focus,
.btn-reservation-product.focus,
.btn-reservation-product:active.focus,
.btn-reservation-product.active.focus{
  background-color: #fc5050;
  border-radius: 35px;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  bottom: 2rem;
  /* position: relative; */
  padding: 1rem;
}

/* 장바구니 버튼 클릭 시 움직임 */
.add-to-cart { transition: transform 0.15s }
.add-to-cart:hover { transform: translateY(-2px) scale(1.05); }



/* 251120 - 상품 선택 모달 클래스 추가 */
.animal-select-btns{
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 1rem 0 0.5rem 0;
}

.animal-btn {
  background: unset;
  border: 0;
  color: #000;
  font-size: 20px;
}
/* 강아지, 고양이 선택된 버튼 강조 */
.animal-btn:hover, .animal-btn:active, .animal-btn.active {
    color: #ef4415;
    font-weight: 600;
    border-bottom: 2px solid #ef4415;
}
.p-img-cat-dog {
  width: 24px;
  margin-bottom: 4px;
  margin-left: 5px;
}
.text-modal-type{
  font-weight: 500;
  font-size: 1.3rem;
  color: #888888;
}
.text-modal-type-promotion{
  font-weight: 500;
  font-size: 1.5rem;
  color: #7c66ff;
}

.tag-description-text {
    color: #888888;
    font-size: 1.3rem;
}
.btn-cart-add {
   width: 25px;
}
/* --------------------------------
   태그
-------------------------------- */
.tag-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 5px;
  white-space: nowrap;
  padding: 3px 0;
  scrollbar-width: none;
  max-width: 100%;
  min-width: 0;
  width: 100%;

  }
.tag-container::-webkit-scrollbar { display: none; }
.tag-container > .tag { flex-shrink: 0; }

.tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 12px;
  /* font-weight: 600; */
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  background: #f4f4f5;
  color: #333;
  border: none;
  margin-bottom: 2px;
  /* transition: transform 0.15s, background 0.2s; */
  cursor: pointer;
  user-select: none;
}
/* .tag:hover {
  transform: translateY(-2px) scale(1.05);
  background-color: #f0f0f0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  cursor: default;
} */
.tag.yellow {
  background-color: #ffe8b3;
  color: #6a4e00;
  border: 1px solid #ffda7a;
}
.tag.blue {
  background-color: #cceeff;
  color: #005e8c;
  border: 1px solid #a7dbf5;
}
.tag.gray {
  background-color: #888888;
  color: #fff;
  border: 1px solid #888888;
}
/* --------------------------------
   Product selection
-------------------------------- */
.product-template-box {
  width: 98%;
  padding-top:5px;
  margin:0px;
  display: block;
  border: 1px solid #adadad;
  border-radius: 1.3rem;
  margin: 0.5rem;
  padding: 0.5rem;
}


.product-img-container {
  display: flex;
  /* border: 1px solid #adadad;
  border-radius: 1.3rem;
  margin: 0 0.5rem;
  padding: 0.5rem;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative; */
  justify-content: space-around;
}

.product-init{
  /* margin-top:25%; */
  text-align: center;
  position: relative;
  top:45%;
}

/* 캐릭터 이미지 */
.animal-character-img {
  position: absolute;
  bottom: 1%;
  right: -36px;
  height: 13rem;
  max-height: 350px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
}
@media (max-width: 600px) {
  .animal-character-img {
    height: 13rem;
    max-height: 120px;

    position: fixed;
    bottom: 2%;
    right: -4.5rem;

  }
}

.btn-select-product{
  background-color: #fc5050;
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(255, 179, 71, 0.2);
  padding: 0.8rem 2.5rem;
  position: relative;
  width: 41%;
  border: unset;
}
.btn-select-product:hover,
.btn-select-product:focus,
.btn-select-product:active:focus,
.btn-select-product.active:focus,
.btn-select-product.focus,
.btn-select-product:active.focus,
.btn-select-product.active.focus{
  background-color: #fc5050 !important;
  color: #fff !important;
  border: unset !important;
}

.btn-select-product-info{
  font-size: 16px;
  margin: 1.0rem;
  font-weight:500
}

/* 상품이 없는 경우 */
.no-product-animal-img {
  padding: 0 2.5rem;
  position: relative;
  width: 50%;
}
.no-product-font {
  font-size: 1.8rem;
  background-color: #ef4023;
  border-radius: 1rem;
  width: 70%;
  padding: 2rem;
  display: inline-block;
  color: #fff;
  font-weight: bold;
}

/* 재고 없는 상품 표시 */
.product-thumbnail-img.soldout { filter: brightness(0.5); }

.img-overlay-text {
  position: relative;
  top: -60%;
  left: 50%;
  height:0;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.notify-link {
  font-weight: normal;
  font-size: 1rem;
  text-decoration: underline;
}

/* 상품 선택 확인 버튼 */
.btn-animal {
  background: #fc5050;
  border-radius: 2rem;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  padding: 0.8rem 2.5rem;
  position: relative;
}

.btn-animal:hover,
.btn-animal:focus,
.btn-animal:active:focus,
.btn-animal.active:focus,
.btn-animal.focus,
.btn-animal:active.focus,
.btn-animal.active.focus{
  border-color: #fc5050 ;
  background: #fc5050 ;
  color: #fff ;
}

.modal-select-product { width: 100% ; }
.product-text-box { width: calc(83% - 72px) !important; }

/* --------------------------------
   카테고리 버튼
-------------------------------- */
.category-select-btns {
  /* display: flex; */
  gap: 0.1rem !important;
  justify-content: center;
  margin-top: 1rem;
  position: relative;
}
.category-bar {
  text-align: center;
}

.category-bar::-webkit-scrollbar { display: none; }

.category-btn {
  background-color: unset;
  border: none;
  color: #8d8d8d;
  font-weight: 500;
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 20px;
}

.category-btn.active {
  font-weight: 500;
  transform: translateY(-1px);
  background: #fce9e3;
  color: #f04b1d;
  border-color: transparent;
}


/* .category-btn:hover {
  font-weight: 500;
  transform: translateY(-1px);
  background: unset;
  color: #f04b1d;
  border-color: transparent;
} */

.underline {
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 0;
  background-color: #ef4023;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* --------------------------------
   수량
-------------------------------- */
.quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.2rem !important;
  float: inline-end;
  margin-right: 5px;
}
.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #f9f9f9;
}
.quantity-btn {
  background: #ffffff;
  border: none;
  width: 24px;
  height: 24px;
  font-size: 1.5rem;
  line-height: 1;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}
.quantity-btn:hover { background: #eee; }
.quantity-input {
  width: 30px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 1.2rem !important;
  pointer-events: none;
}

/* --------------------------------
   Mobile select box
-------------------------------- */
.mobile-select-box { height: 57vh !important; }


/* --------------------------------
   Form readonly
-------------------------------- */
.form-readonly { cursor: pointer; }
.form-readonly:focus {
  background-color: #e9ecef !important;
  border-color: #ccc !important;
}

/* --------------------------------
   Media queries: widths
-------------------------------- */
@media all and (max-width: 1800px) {
  .modal-select-product{ width: 25% !important; }
}
@media all and (max-width: 1550px) {
  .modal-select-product{ width: 32% !important; }
}
@media all and (max-width: 1300px) {
  .modal-select-product{ width: 38% !important; }
}

/* <= 991px */
@media all and (max-width: 991px) {
  #toast { width: 70% !important; }
  #toast_msg { width: 70% !important; padding:5px 10px ; text-align:left }
  .modal-select-product{ width: 100% !important; }
}

/* <= 767px */
@media all and (max-width: 767px) {
  #toast { width: 80% !important; }
  #toast_msg { width: 80% !important; padding:5px 10px ; text-align:left }
  .btn-sido { font-size: 12px;padding:1px 10px; }

  .file-preview-thumbnails {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .animal-character-img { right: -3.5rem !important; }
  .btn-select-product { padding:10px !important;width: 30% !important; font-size: 1.3rem !important; }
  .btn-select-product-info {
    margin: 0;
    margin-left: 5px;
    display: flex;
    align-items: center;
  }
  /* .product-price-box { display: block !important; }
  .product-price-box1 { width: 100% !important; }
  .product-price-box2 { width: 100% !important; } */

  .p-form-control { font-size: 16px !important; }


}

/* --------------------------------
   Phone auth buttons
-------------------------------- */
.btn-auth {
  width: 26%;
  background-color: #504d4d;
  border-radius: 5px;
  color: #fff;
  padding: 0rem;
  margin-left: 0.5rem;
  font-size: 14px;
}
.btn-auth:disabled,
.btn-auth:hover,
.btn-auth:focus,
.btn-auth:active:focus,
.btn-auth.active:focus,
.btn-auth.focus,
.btn-auth:active.focus,
.btn-auth.active.focus{
  background-color: #504d4d !important;
  color: #fff !important;
}
.btn-timeout {
  width: 19%;
  color: blue;
  padding: 0rem;
  margin-left: 0.5rem;
  font-size: 14px;
  border: 1px solid;
  background: #fff;
}
.btn-timeout:hover,
.btn-timeout:focus,
.btn-timeout:active:focus,
.btn-timeout.active:focus,
.btn-timeout.focus,
.btn-timeout:active.focus,
.btn-timeout.active.focus{
  background: #fff !important;
  color: blue !important;
  border-color: blue !important;
}

.btn-retransmit {
  width: 18%;
  background-color: #504d4d;
  border-radius: 5px;
  color: #fff;
  padding: 0rem;
  margin-left: 0.5rem;
  font-size: 14px;
}
.btn-retransmit:disabled,
.btn-retransmit:hover,
.btn-retransmit:focus,
.btn-retransmit:active:focus,
.btn-retransmit.active:focus,
.btn-retransmit.focus,
.btn-retransmit:active.focus,
.btn-retransmit.active.focus{
  background-color: #504d4d !important;
  color: #fff !important;
}

/* --------------------------------
   Toast
-------------------------------- */
#toast {
  display: none;
  position: fixed;
  bottom: 58%;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(47, 49, 255);
  color: white;
  padding: 7px;
  width: 20%;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
  opacity: 0.8;
  z-index: 9999;
  white-space: normal;
}
#toast_msg {
  display: none;
  position: fixed;
  bottom: 58%;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(47, 49, 255);
  color: white;
  padding: 10px 10px;
  width: 20%;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
  opacity: 0.8;
  z-index: 9999;
  white-space: normal;
}

/* --------------------------------
   Mobile form box
-------------------------------- */
.mobile-form-box{
  /* height: 91vh; */
  /* height: 46vh; */
  /* max-height: 100vh; */
}


/* --------------------------------
   (custom_cm.css 일부)
-------------------------------- */

.map-view-area { position: relative; }

.map-list {
  width: 320px;
  position: absolute;
  top: 20px;
  left: 20px;
  bottom: 20px;
  background: #fff;
  color: #212121;
  border-radius: 10px;
  z-index: 1;
}

.map-toolbar .map-inner { height: 47px; }
.toolbar_top.map-inner, .toolbar_bottom.map-inner { padding: 7px 15px; }
.map-list .map-inner { border-bottom: 1px solid #e5e5e5; }
.toolbar_top, .toolbar_bottom { border-bottom: 1px solid #e5e5e5; }

.map-list .head_wrap .tit {
  line-height: 32px;
  display: inline-block;
  margin: 0;
  font-size: 14px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}



i { display: inline-block; }
.text-brand{ color: #FC5558 !important; }

.map-toolbar .map-inner .map-toolbar-top.divide-2 { grid-template-columns: 50% 50%; }
.map-toolbar .map-inner .map-toolbar-top { display: grid; grid-column-gap: 10px; }
.map-toolbar .map-inner .map-toolbar-top .l-left-bar,
.map-toolbar .map-inner .map-toolbar-top .lr-left-bar,
.map-toolbar .map-inner .map-toolbar-top .lr-left-bar~div { border-right: 1px solid rgba(229, 229, 229, 1); }

.auto-width { width: auto; }
.map-toolbar .map-inner .map-toolbar-top select,
.map-toolbar .map-inner .map-toolbar-top a { padding: 0; }

select.form-control {
  -moz-appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 9;
}
select.form-control option { color: #000 !important; background: #fff; }

.map-list .map-list-detail {
  overflow-y: auto;
  position: absolute;
  top: 95px;
  bottom: 0;
  width: 100%;
}

.map-inner { padding: 15px; }
.map-inner > a.map_link, .map_contents { display: table-cell; vertical-align: top; }

.gmap_wrap .map_contents .tit {
  font-size: 14px;
  margin: 0 0 5px 0;
  margin-right: 12px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.inline-blocked { display: inline-block; }
.blocked { display: block; }

.map_link > div { display: table-cell; vertical-align: top; }
em { font-style: normal; }

.map_contents p { font-size: 12px; margin-bottom: 0; }
.map_contents .adress { color: #757575; }

.map-view-area .map_contents_close {
  position: absolute;
  padding: 5px;
  right: -5px;
  top: 0;
  z-index: 100001;
}

.map-list .map-inner.paging-block { border: 0; }
.paging-block { text-align: center; }
.map-inner .pagination { margin: 0; }

ul.pagination li:first-child, ul.pagination li:last-child { margin: 0; }
ul.pagination li { margin: 0 3px; }
.map-inner .pagination .disabled { visibility: hidden; }
ul.pagination li a.disabled { cursor: not-allowed; }

ul.pagination li a {
  display: inline-block;
  height: 24px;
  width: 24px;
  border: none;
  border-radius: 50%;
  padding: 0;
  line-height: 24px;
  font-size: 14px;
}
ul.pagination li, ul.pagination li a {
  float: none;
  display: inline-block;
  box-sizing: border-box;
  border-radius: 50% !important;
  line-height: 24px;
  text-align: Center;
  border-radius: 50%;
}

.pagination > li > a, .pagination > li > span { margin-left: 0; }
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination>li:first-child>a, .pagination>li:first-child>span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination>li>a, .pagination>li>span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #FC5558;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #FC5558;
  border-color: #FC5558;
}

.fx-product-name { font-size: 18px !important; }
.fx-product-name-left {font-weight:700;text-align:left;}
.map-view-area .detail_view { height: 700px; height: 80vh; }

.icon-required {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #f25656;
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: 2px;
}

.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}

.btn-current-user-pharm-a {
	text-decoration-line: none;
  padding: 10px;
  margin-bottom: 1rem;
  height: 50%;
  background-color: #5a5a5a;
  border-radius: 30px;
  align-content: center;
}

.btn-current-user-position {
	display: block;
	/* margin: 1rem; */
	display: flex;
}

.btn-current-user-position-a {
	text-decoration-line: none;
  padding: 0 1.5rem;
  height: 40px;
  background-color: #5a5a5a;
  border-radius: 30px;
  align-content: center;
}

.btn-current-user-position-span {
	color: #fff !important;
	font-size: 1.6rem;
	/* margin:0.5rem; */
	display: flex;
}

.btn-current-user-position-img2 {
	width: 20px;
  height: 20px;
  align-self: center;
}

.btn-current-user-position-img {
	width: 20px;
  margin-right: 0.8rem;
  height: 20px;
  align-self: center;
}

.btn-icon-click-a {
	text-decoration-line: none;
  padding: 0 1.5rem 0 1rem;
  margin-left: 1rem;
  height: 40px;
  background-color: #f2f2f2;
  border-radius: 30px;
  align-content: center;
}

.btn-icon-click-span {
	color: #fc5050 !important;
	font-size: 14px;
  display: flex;
  align-items: center;
}


.btn-icon-click-btn {
	width: 35px;
  height: 35px;
}

@media (max-width:768px){
  .btn-icon-click-a{
    height: 30px;
    padding: 0px 12px 0 5px;
    position: absolute;
    right: 15px;
    bottom: 0px;
  }
  .btn-icon-click-span {
    font-size: 10px;
    font-weight: 700;
  }
  .btn-icon-click-btn {
  	width: 25px;
    height: 25px;
  }

  #toast_msg { width: 80% !important; padding:5px 10px ; text-align:left;bottom: 50%; }

}


/* 지도 검색 아이콘 */
.icon-magnifier {
  background-image: url(../img/map/ico-search.png);
  background-size: 19px;
  background-position: 20px 50%;
  background-repeat: no-repeat;
  /* color: #fff !important; */
  font-size: 14px;
  width: 30px;
  height: 30px;
}

/* 지도 검색 닫기 아이콘 */
.icon-map-close {
  background-image: url(../img/map/sidebar-close.png);
  background-size: 16px;
  background-position: 15px 50%;
  background-repeat: no-repeat;
  color: #fff !important;
  font-size: 14px;
  width: 30px;
  height: 30px;
}

.map-toolbar select.form-control {
  color: #363636;
  color: rgba(54, 54, 54, 1) !important;
  font-size: 13px;
  background: transparent !important;
}
.form-select-wrap select.form-control { padding-right: 5px !important; }

.form-control,
.board-head .input-group .form-control:not(:first-child):not(:last-child),
.body .order_wrap input.form-control[readonly],
.form-widget .phonenumber_wrap .chosen-container-single .chosen-single {
  color: #212121;
  background: #ffffff;
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 0;
}

/* 지도 셀렉트 박스 아이콘 */
.form-select-wrap { position: relative; }
.form-select-wrap:before {
  content: '\f2f2';
  display: block;
  position: absolute;
  text-rendering: auto;
  z-index: 11;
  vertical-align: middle;
  right: 14px;
  line-height: 9px;
  margin-top: -4.5px;
  pointer-events: none;
  background-image: url(../img/map/detail-link2.png);
  background-size: 16px;
  background-position: 15px 50%;
  background-repeat: no-repeat;
  color: #fff !important;
  font-size: 14px;
  width: 30px;
  height: 30px;
  top: 0.5rem;
}

/* 지도 상세보기 버튼 */
.map_contents_detail {
  border-color: #00d255;
  border-width: 1px;
  color: #fff !important;
  border-radius: 30px;
  width: 100px;
  display: inline-table;
}

/* 지도 정보창 닫기 버튼 */
.map_contents_close {
  background-image: url(../img/map/sidebar-close.png);
  background-size: 16px;
  background-position: 5px 50%;
  background-repeat: no-repeat;
  color: #fff !important;
  font-size:14px;
  width: 30px;
  height: 30px;
}

/* 지도 - 약국 커스텀 마커 */
.map-drugstore-marker-active {
  background-image: url(../img/map/drugstore-marker-active.png);
  margin: 0px;
  padding: 0px;
  border: 0px solid transparent;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  box-sizing: content-box !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0px !important;
  min-height: 0px !important;
  position: absolute;
  cursor: inherit;
  width: 50px;
  height: 50px;
  background-size: contain;
  left: -5px;
  top: 0;
}
/*  판매처 마커 */
.map-drugstore-marker-store {
  /* background-image: url(../img/map/drugstore-marker-active.png); */
  /* background-image: url(../img/map/marker-b.png); */
  background-image: url(../img/map/marker-b2.png);
  margin: 0px;
  padding: 0px;
  border: 0px solid transparent;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  box-sizing: content-box !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0px !important;
  min-height: 0px !important;
  position: absolute;
  cursor: inherit;
  width: 30px;
  height: 39px;
  background-size: contain;
  left: 4px;
  top: 0;
}


.map-drugstore-marker {
  background-image: url(../img/map/drugstore-marker.png);
  margin: 0px;
  padding: 0px;
  border: 0px solid transparent;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  box-sizing: content-box !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0px !important;
  min-height: 0px !important;
  position: absolute;
  cursor: inherit;
  width: 30px;
  height: 39px;
  left: 4px;
  top: 0px;
}

/* 지도 - 내 위치 마커 */
.map-my-location {
  background-image: url(../img/map/hugeicons_location-user-03.png);
  width: 18px;
  height: 30px;
  background-size: contain;
}

/* 지도 - 내 위치 확인 상단 아이콘 */
.ico-my-location-button {
  background-color: #00d255;
  background-image: url(../img/map/ico-my-location-button.png);
  width: 28px;
  height: 28px;
  background-size: contain;
  padding: 1rem;
}

/* 모바일 - 지도, 목록 전환 버튼 */
@media (max-width: 767px) {
  .map-list .map-list-detail {
    overflow-y: visible;
    background: #fff;
    position: static;
  }

  .fixed-menu-on.new_fixed_header_disable .scroll_position { top: 0 !important; }
  .fx-padding-1 { padding: 1rem !important; }

  .map-list {
    position: static;
    width: 100%;
    z-index: 999;
  }

  .map-view-area.fold .gmap_wrap { left: 0; top: 0; position: relative; }

  .map-view-area .gmap_wrap {
    position: absolute;
    left: -999px;
    top: -9999px;
    /* height: 400px; */
    width: 100%;
  }
  .map-view-area .gmap_wrap .detail_view { height: 62vh; }

  .fx-control-label { width: 27% !important; font-size: 1.3rem; }
  .fx-control-label-select { width: 27% !important; font-size: 1.3rem; }

  .btn-auth { font-size: 12px !important; }


  .map-toolbar .map-inner { height: 41px; }
  .toolbar_top.map-inner, .toolbar_bottom.map-inner { padding: 2px 15px; }
  .map-inner { padding: 8px 15px; }

}

@media (max-width: 768px) {
  .m-padding-2{
    padding: 0.5rem 1.5rem;
  }
  .inside .m-margin-on { margin-left: -15px; margin-right: -15px; }

  /* 모바일 - 시도 레이어  */
  .m-sido-layer {
      display: flex;
      gap: 6px;
      justify-content: space-between;
      align-items: center;
  }

  .sido-select-wrap {
    position: relative;
    display: inline-block;
  }
  .btn-sido{
    margin-bottom: 0;
    margin-left:1rem;
  }


  .sido-layer {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    padding: 8px;
    z-index: 9999;
  }

  .sido-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 220px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sido-list li {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
    white-space: nowrap;
  }

  .sido-list li + li {
    margin-top: 4px;
  }

  .sido-list li:hover {
    background: #fce9e3;
    color: #f04b1d;
    transform: translateY(-1px);
  }


}

@media (max-width: 991px) {
  .map_contents_detail{ width: 80px; font-size: 12px; }

  .mobile-margin-top6 {
      margin-top: 6rem !important;
  }

  .mobile_paging_location {
    bottom: -50px !important;
    position: unset !important;
  }

  .mobile_list_overflow {
    height: 57vh;
    width: 100%;
    overflow: auto;
  }
  .map-list-detail { overflow: visible !important; }

  input.form-control, textarea.form-control { -webkit-appearance: none !important; }
  .change-map { display: block !important; }

  .modal-content-detail {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }


  .map-list,
  .grid_ignore.bg_on .author > div {
    color: #363636;
    color: rgba(54, 54, 54, 1);
  }

  .map-list {
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 1) !important;
  }
}

.button-conversion { margin-bottom: 0rem; text-align: -webkit-center !important; }

.change-map {
  border-color: #00d255;
  border-width: 1px;
  width: fit-content;
  height: fit-content;
  padding: 7px 25px;
}
.change-list {
  background: #fff!important;
  color: rgba(54, 54, 54, 1) !important;
  border: 0;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.15);
  width: fit-content;
  height: fit-content;
  padding: 7px 25px;
  text-decoration-line: none;
  cursor: pointer;
}
.icon-change-list {
  background-image: url(../img/map/ico-next.png);
  background-size: 14px;
  background-position: 1px;
  background-repeat: no-repeat;
  color: #fff !important;
  font-size: 14px;
}
.icon-change-map {
  background-image: url(../img/map/ico-map.png);
  background-size: 20px;
  background-position: -2px;
  background-repeat: no-repeat;
  color: #fff !important;
  font-size: 14px;
}
.change-map:hover{ border: 0 !important; }

.map-view-area.fold .map-list { height: 47px; }
.map-view-area.fold .map-list,
.map-view-area.fold .map-list .toolbar_top,
.map-view-area.fold .map-list .toolbar_bottom,
.map-view-area.fold .map-list .map-list-detail,
.map-view-area.fold .map-list .paging-block { display: none; }

/* 상세보기 모달 */
.modal-detail {
  display: none;
  position: fixed;
  z-index: 1003;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;

  overflow-y: auto;
  overflow-x: hidden;
}
.modal-content-detail {
  /* margin: 3% auto; */
  margin: 20px auto;
  background: #fff;
  width: 25%;
  height: unset;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 10px;
  text-align: center;
  position: relative;

  /* max-height: 100vh; */
  overflow-y: auto;
  overflow-x: hidden;
}
.modal-detail-title {
  font-weight: bold;margin-bottom:1rem;
}

.close-detail { position: absolute; right: 10px; top: 3px; font-size: 30px; cursor: pointer; }
.close-detail-reservation { position: absolute; right: 20px; top: 10px; font-size: 30px; cursor: pointer; }

.del-item-reservation { position: relative; right: 5px; top: 0px; font-size: 20px; cursor: pointer; color:red }



.close-img {
  width:30px;
}

.modal-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}
.modal-category {
  font-size: 12px;
  border-width: 1px;
  border-style: solid;
  border-radius: 50px;
  padding: 3px 10px;
  /* float: left; */
}
.modal-detail-info{ width: 100%;padding: 0 1rem;margin-bottom:1rem;}
.modal-detail-body { margin: 0; }

.content-tit {
    text-align: center;
    width: 100%;
    padding: 50px 0 30px;
}


/* 펫코팜 아이콘 */
.icon-petcopharm {
  background: url(../img/petcopharm/img2.png);
  background-size: 23px auto;
  background-repeat: no-repeat;
  vertical-align: middle;
  width: 25px;
  height: 30px;
}

/* 주소, 번호 아이콘 */
.icon-address {
  background: url(../img/map/ico-store.png);
  background-size: 18px auto;
  padding-top: 25px;
  background-position: -3px -10%;
  background-repeat: no-repeat;
  color: #fff !important;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}
.icon-phone {
  background: url(../img/map/ico-store.png);
  background-size: 14px auto;
  padding-top: 25px;
  background-position: -1px 50%;
  background-repeat: no-repeat;
  color: #fff !important;
  vertical-align: middle;
  width: 17px;
  height: 20px;
}

/* 운영시간 여백 조절 */
#detailmodal-times p{margin:0}
#pharm-times p{margin:0}


/* 동물의약품예약 - 약국 커스텀 마커 */
.map-petcopharm-marker {
  background-image: url(../img/petcopharm/petcopharm-marker.png);
  margin: 0px;
  padding: 0px;
  border: 0px solid transparent;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  box-sizing: content-box !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0px !important;
  min-height: 0px !important;
  position: absolute;
  cursor: inherit;
  width: 50px;
  height: 50px;
  background-size: contain;
  left: -5px;
  top: 0;
}

/* 동물의약품 예약 버튼 */
.btn-reservation {
  background-color: #434343;
  color: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.2);
  border-width: 0px;
  font-size: 22px;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
  letter-spacing: 0px;
}

/* 예약폼 상품 부분 */
.product-img-box {
  display: flex;
  flex-direction: row;
  width: 100%;
  text-align: left;
  font-weight: 400;
  font-size: 13px;
  padding: 10px;
  background-color: #f6f6f6;
  margin-bottom: 5px;
}
.product-price-text{
  text-align:right;
  font-size: 18px;
  font-weight: 700;
  padding:0 10px;
  /* width: 25%; */
}
.product-thumbnail-img {
  max-width: 120px;
  min-width: 120px;
  padding: 0.5rem;
  flex-grow: 0;
  border-radius: 4px;
  cursor: pointer;
  object-fit: cover;
  border-radius: 1.2rem;
  filter: brightness(0.98);
}
.product-text-box {
  width: calc(100% - 72px);
  /* display: flex;
  flex-direction: column;
  justify-content: space-between; */
}
.product-count-box {
  display: inline-block;
  font-size: 11px;
  padding: 0px;
  width: 45%;
  text-align: center;
  margin-left: -4px;
  margin-right: -5px;
  height: 30px;
  border-radius: 0px;
  font-family: 'Arial';
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  color: #fff !important;
  background-color: #00D255 !important;
  border-color: #00D255 !important;
}
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
  box-shadow: none !important;
  border-color: #fff !important;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: 0px auto -webkit-focus-ring-color !important;
  outline-offset: 0 !important;
}

/* 상품검색 */
.product-search{

  margin: 0 0 10px 0;

}
.product-search input{
  width: 100%;
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0 55px 0 25px;
  font-size: 16px;
  outline: none;
  margin-top: 5px;
}
.product-search button{
  height: 42px;
  border-radius: 999px;
  border: 1px solid #ef4415;
  background:#fff;
  color:#ef4415;
  font-weight:600;
  padding: 0 14px;
  font-size: 14px;
}

.product-search-box{
  display: flex;
  justify-content: space-between;
}

@media (max-width:768px){
  .product-search-box{
    display: unset;
  }

  .product-search input{
    width: 100%;
    height: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0 40px 0 20px;
    font-size: 16px;
    outline: none;
    margin-top: 5px;
  }

  .product-search button{
    height: 30px;
  }
  .product-search{margin:0 0 10px 0;}

}

/* 상품 가격표시, best 뱃지 */

.p-price-label{
  font-size: 1.7rem;
  color:#8d8d8d;
  font-weight: 500;
}
.p-price-val{
  font-size: 2rem;
  color:#ed3632;
  font-weight: 700;
}
/* list */
.p-badge-img{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 46px;
  height: 46px;
  z-index: 3;
  pointer-events: none;
}

/* list > top */
.btn-badge-icon {
  width: 24px;
  /* height: 41px; */
  /* object-fit: contain; */
  margin-left: 0px;
}

/* reserve item */
.itemlist-badge {
  width: 24px !important;
  display: inline !important;
  margin-bottom: 4px !important;
  margin-left: 5px;
  /* display: none !important; */
}

.between-box {
  display: flex;
  justify-content: space-between;
}

/* 돋보기 아이콘 */
.icon-magnifier {
  background-image: url(../img/map/ico-search.png);
  background-size: 20px;
  background-position: 0 50%;
  background-position-x: 95%;
  background-repeat: no-repeat;
}


@media (max-width:768px){
  .it_zzim_box{
    color: #8d8d8d;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
  }
  .btn-badge-icon{width: 19px;}
  .p-badge-img{
    width: 38px;
    height: 38px;
    top: 8px;
    right: 8px;
  }

  .p-price-label{
    font-size: 1rem;
    color:#8d8d8d;
    font-weight: 500;
  }
  .p-price-val{
    font-size: 1.3rem;
    color:#ed3632;
    font-weight: 700;
  }

}

/* 지도 */
.naver_map_box{ padding: 15px 15px 15px 15px }
/* 모바일 */
@media (max-width : 767px) {
  .naver_map_box{ padding: 15px 15px 15px 15px;max-width: 250px;}
}

@media (max-width : 768px) {
  .animal-btn{
    font-size:16px;
  }
  .p-img-cat-dog{
    width:20px;
  }
  .category-btn{
    font-size: 14px;
    padding: 2px 3px;
  }
  .category-select-btns{
    gap:0;
  }

  .animal-select-btns{
    display: flex;
    gap:0.0rem;
    margin:0;
    justify-content: flex-start;
  }
  .category-bar {
      text-align: -webkit-left;
  }
  .modal-detail-info {
    padding:0;
  }
  .fx-product-name{
    font-size: 15px !important;
  }
  .product-price-text{
    font-size: 15px !important;
  }
  .product-img-container{
    margin:0;
  }

}

/* ================================================
   PCP 모달 리뉴얼 - 최종
   ================================================ */

.pcp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

/* 뱃지 - 테두리형 */
.pcp-badge {
  background-color: #fff0f0 !important;
  color: #fc5050 !important;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #fc5050 !important;
  width: auto !important;
  display: inline-block;
}

/* X버튼 - 테두리 원형 */
.pcp-close-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-right:10px;
}

/* 약국명 */
.pcp-title-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.pcp-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: left;
}

/* 주소/전화 행 */
.pcp-info-row {
  margin-bottom: 6px;
  text-align: left;
}
.pcp-address-link {
  text-decoration: none;
  display: flex;
  align-items: flex-start;
}

/* 단골약국저장 버튼 */
.pcp-btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 2.5rem;
  height: 44px;
  border: 1px solid #CCCBC6;
  background-color: #F5F4ED;
  color: #4b5563;
  border-radius: 15px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

/* 예약하기 버튼 */
.pcp-btn-reserv {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 2.5rem;
  height: 44px;
  border: none;
  background-color: #fc5050;
  color: #fff;
  border-radius: 15px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

/* 좋아요 버튼 */
.pcp-like-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* 모바일 */
@media (max-width: 768px) {
  .pcp-btn-store,
  .pcp-btn-reserv {
    font-size: 14px;
    padding: 0 1.5rem;
  }
}

/* 우리약국도 픽업 버튼 */
.pcp-btn-request {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 1.2rem;
  height: 44px;
  border: 1px solid #fc5050;
  background-color: #fff;
  color: #fc5050;
  border-radius: 30px;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .pcp-btn-request {
    font-size: 14px;
    padding: 0 1.5rem;
  }
}

/* 판매처 - 원해요 유도 영역 */
.pcp-request-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.pcp-request-text {
  font-size: 20px;
  color: #fc5050;
  white-space: nowrap;
  font-weight: 500;
}

.pcp-request-arrow {
  flex: 1;
  display: flex;
  align-items: center;
  animation: pcp-bounce-x 0.9s ease-in-out infinite;
}

.pcp-arrow-svg {
  width: 100%;
  height: 24px;
}

@keyframes pcp-bounce-x {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(8px); }
}
