@charset "utf-8";
/* CSS Document */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* 기본 리셋 및 공통 스타일 */
* {
    box-sizing: border-box;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* 추가: 모든 텍스트 요소에 대한 폰트 설정 */
body, div, p, a, span, button, input, h1, h2, h3, h4, h5, h6 {
    font-family: "Pretendard Variable", Pretendard, Helvetica, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #d4d6d8;
    margin: 0;
}

.wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 공통 버튼 스타일 */
.btn {
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-default);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    filter: var(--primary-hover);
}

/* 전역 ----------------------------------------- */
/* 모든 브라우저에 대한 기본 설정 */
* {
  scrollbar-width: thin;
  /* scrollbar-color: #888 #f1f1f1; */
}

/* WebKit 기반 브라우저 (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  /* width: 10px; */
	width: 8px; /* 기존보다 조금 얇게 설정 */
    height: 8px;
}

::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb {
	background: rgba(80, 80, 80, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Firefox */
* {  scrollbar-width: thin; }
/* Firefox */
@-moz-document url-prefix() {
    html {
        scrollbar-width: thin;
        scrollbar-color: rgba(100, 100, 100, 0.3) #f8f9fa;
    }
}


/* IE와 Edge Legacy */
body {
  -ms-overflow-style: -ms-autohiding-scrollbar;
}


/* 팝업 공지 --------------------------------------------------------------------------------------- */
div.popup_form_container { 
	z-index:2222; position: absolute; top: 170px; display: flex; gap: 8px; padding: 8px 10px;
}
	div.popup_form { 
		border: 1px solid #CCC; margin: 0px; height: 100%;
		border-radius: 18px; padding: 18px; background: #FFF; box-shadow: 5px 5px 10px 5px rgba(0,0,0,0.1);
	}
	.popup_form table { background: #FFFFFF; }	
	.popup_form span.popup_title { display: inline-block; padding: 2px; font-weight: 600; }
	.popup_form span.title_count { color: #999; }
	.popup_form span.popup_close { display: inline-block; padding: 2px 6px; font-weight: 500; }
	.popup_form img.popup_img    { border: 0; }
	.popup_form span.popup_under { display: inline-block; padding: 2px; font-weight: 500; margin-top: 10px; }
	.popup_form span.under_text { color: #999; }
	.popup_form span.popup_del   { }
	.popup_form img { border-radius: 18px; overflow: hidden; border: 1px solid #CCC; }
	.popup_form button {
		background-color: #ffffff;
		border-radius: 1000px;
		border: 1px solid #c8cacc;
		height: 30px;
		cursor: pointer;
		box-shadow: 0px 1px 0px #0000001a;
		transition: all 0.3s ease-in-out;
		padding: 0 10px;
	}
	.popup_form button:hover {
		background-color: #374173;
		color: #ffffff;
	  	box-shadow: 0px 4px 10px rgba(55, 65, 119, 0.4);
	}

	/* 선택 된 공지 팝업 출력 */
	.from-notice { max-width: 800px; max-height: 550px; text-align: left; overflow: auto; padding: 10px; }

/* 헤더 ----------------------------------------- */
div.wrapper .inner {
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media screen and (max-width: 1440px) {
    .wrapper {
        align-items: flex-start;
    }
}

div.wrapper .inner .header {
  height: 156px;
  background-color: #ffffff;
  padding: 16px 24px 12px 24px;
  border-radius: 0px 0px 20px 24px;
  /* overflow: hidden; */
  box-shadow: 0px 0px 4px #0000001a;
  z-index: 999;
}

div.wrapper .inner .main {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

div.wrapper .inner .main .main-left {
  width: 957px;
  /* height: 916px; */
	height: 716px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  /* overflow: hidden; */
  box-shadow: 0px 0px 4px #0000001a;
  position: relative;
}

div.wrapper .inner .main .main-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
	height: 716px;
}

/* div.wrapper .inner .main .main-right .main-right-top {} */
/* 주문이력 */
div.wrapper .inner .main .main-right .main-right-order-history {
  width: 475px;
	/* height: 300px; */
	height: 254px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0px 0px 4px #0000001a;
}

/* div.wrapper .inner .main .main-right .main-right-bottom {} */
/* 장바구니 */
div.wrapper .inner .main .main-right .main-right-cart {
  width: 475px;
  	/* height: 408px; */
	height: 454px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0px 0px 4px #0000001a;
}

/* 헤더,탑 ----------------------------------------------------------------------- */
div.header {
  display: flex;
  flex-direction: row;
}

div.h1 {
  width: 296px;
  height: 100%;
  place-content: end;
}

	.btn-product-shortcut {
		width: 100px;
		height: 32px;
		background-color: #ffffff;
		border-radius: 6px;
		overflow: hidden;
		border: 1px solid;
		border-color: #c8cacc;
		padding: 8px 0;
		cursor: pointer;
	}

	.btn-product-shortcut:hover {
	  border-color: #374173;
	  outline: none;
	  box-shadow: 0 0 0 2px rgba(55, 65, 115, 0.25); /* #374173 색상의 반투명 그림자 */
	}

	.btn-product-shortcut span {
		font-family: "Pretendard Variable", Pretendard, Helvetica, sans-serif;
		font-weight: 600;
		color: #0a0f14cc;
		font-size: 13px;
		letter-spacing: 0;
		line-height: normal;
		vertical-align: top;
	}

div.h2 {
	width: 800px;
	height: 100%;
	margin-right: 28px;
	position: relative;
}
	.header-mid-top {
		display: flex;
		flex-direction: row;
		gap: 4px;
	}

	/* 
	a.top-logo {
	  display: inline-block;
	  vertical-align: middle;
	  margin-right: 17px;
	}

	a.top-logo img {
	  width: 95px;
	  height: 33px;
	  margin-top: 3px;
	} */

	a.top-logo {
		display: inline-block;
		vertical-align: middle;
		margin-right: 17px;
		height: 40px; /* 헤더에 맞는 적절한 높이 */
		width: 120px; /* 720:240 비율을 유지하면서 축소 */
	}

	a.top-logo img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		object-position: left center;
		margin-top: 0; /* 기존 margin-top 3px 제거 */
	}

		a.top-logo-ps {
		  display: inline-block;
		  vertical-align: middle;
		  margin-right: 17px;
		}
		a.top-logo-ps img {
			width: 95px;
			margin-top: -6px;
			}
		div.top-logo-pbsamwon { 
			width: 95px; height: 44px;
			overflow: visible;
			margin-right: 17px;
		}
		div.top-logo-pbsamwon img { 
			position: absolute;
		}

	input.product-input {
	  width: 387px;
	  height: 44px;
	  border-radius: 8px;
	  border: 1px solid #b4b6b8;
	  padding: 14px 12px 13px 12px;
	  font-family: "Pretendard Variable", Pretendard, Helvetica, sans-serif;
	  font-weight: 500;
	  font-size: 14px;
	  letter-spacing: 0;
	  line-height: normal;
	}

	input.product-input::placeholder {
	  color: #0a0f1466;
	}

	input.company-input {
	  width: 157px;
	  height: 44px;
	  border-radius: 8px;
	  border: 1px solid #b4b6b8;
	  padding: 14px 12px 13px 12px;
	  font-family: "Pretendard Variable", Pretendard, Helvetica, sans-serif;
	  font-weight: 500;
	  font-size: 14px;
	  letter-spacing: 0;
	  line-height: normal;
	}

	input.company-input ::placeholder {
	  color: #0a0f1466;
	}

	/*input-style*/
	input.product-input:focus,
	input.company-input:focus {
	  border: 1px solid #374173;
	  outline: none;
	  box-shadow: 0 0 0 2px rgba(55, 65, 115, 0.25); /* #374173 색상의 반투명 그림자 */
	}

	button.search-btn {
	  background-color: #374173;
	  width: 56px;
	  height: 44px;
	  border: none;
	  border-radius: 8px;
	  vertical-align: middle;
	  cursor: pointer;
	  -webkit-transition: 0.3s;
	  -moz-transition: 0.3s;
	  -o-transition: 0.3s;
	  transition: 0.3s;
	}

	button.search-btn img.ic-search {
	  vertical-align: bottom;
	}

	.header-right-top-top button:hover,
	button.search-btn:hover {
	  filter: brightness(1.2);
	}

	button.option-btn {
	  border: none;
	  color: #ffffff;
	  background-color: #898989;
	  width: 72px;
	  height: 44px;
	  border: none;
	  border-radius: 8px;
	  vertical-align: middle;
	  cursor: pointer;
	  -webkit-transition: 0.3s;
	  -moz-transition: 0.3s;
	  -o-transition: 0.3s;
	  transition: 0.3s;
	}

	button.option-btn:hover {
	  filter: brightness(0.8);
	}

	button.option-btn span {
	  font-family: "Pretendard Variable", Pretendard, Helvetica, sans-serif;
	  font-weight: 600;
	  color: #ffffff;
	  font-size: 14px;
	  letter-spacing: 0;
	  line-height: normal;
	  vertical-align: top;
	  display: inline-block;
	  margin-top: 3px;
	  margin-left: 3px;
	}

	.header-mid-mid {
	  display: flex;
	  gap: 76px;
	}

	.header-mid-mid a {
	  padding: 17px 20px 14px 20px;
	}

	.header-mid-mid a {
	  font-family: "Pretendard Variable", Pretendard, Helvetica, sans-serif;
	  font-weight: 600;
	  color: #0a0f14cc;
	  font-size: 16px;
	  letter-spacing: 0;
	  line-height: normal;
	  white-space: nowrap;
	}

	.header a:visited { color: #000; }
	.header-mid-mid a:hover { color: #000; font-weight: 700; transition: all 0.3s ease-in-out; }

	.header-mid-bottom {
	  display: flex;
	  gap: 4px;
	  /*margin-left: -15px;*/
	}

	.header-mid-bottom .notice-box {
	  font-size: 13px;
	  white-space: nowrap;
	  background-color: #fffaeb;
	  border: 1px solid #ebe1c8;
	  height: 32px;
	  padding-top: 8px;
	  padding-left: 12px;
	  border-radius: 6px;
	  font-family: "Pretendard Variable", Pretendard, Helvetica, sans-serif;
	  color: #0a0f14cc;
	  letter-spacing: 0;
	  line-height: normal;
	  font-weight: 400;
	}

	.header-mid-bottom .notice-box.nb1 {
	  font-family: "Pretendard Variable", Pretendard, Helvetica, sans-serif;
	  width: 92px;
	  font-weight: 600;
	}

	.header-mid-bottom .notice-box.nb2 {
	  width: 350px;
	  letter-spacing: 0;
	}

	.header-mid-bottom .notice-box.nb3 {
	  width: 350px;
	  letter-spacing: 0;
	}

	img.ic-notice {
	  margin-top: -2px;
	  margin-right: 5px;
	  margin-left: -1px;
	}

	.header-mid-bottom .notice-box span {
	  vertical-align: top;
	}

	.header-mid-bottom .notice-box a:hover { color: #000; font-weight: 500; transition: all 0.3s ease-in-out; }

div.h3 {
  width: 268px;
  height: 100%;
}

	.header-right-top {
	  width: 268px;
	  height: 80px;
	  background-color: #ffffff;
	  border-radius: 6px;
	  overflow: hidden;
	  border: 1px solid;
	  border-color: #dadcde;
	  margin-bottom: 14px;
	}

	.header-right-top-top {
	  display: flex;
	  justify-content: space-between;
	  width: 268px;
	  height: 44px;
	  background-color: #ffffff;
	}

	.header-right-top-top button {
	  margin: 7px;
	  cursor: pointer;
	  -webkit-transition: 0.3s;
	  -moz-transition: 0.3s;
	  -o-transition: 0.3s;
	  transition: 0.3s;
	}

	.header-right-top-top .name {
	  padding: 14px 0 12px 16px;
	  font-size: 13px;
	  color: #9d9fa1;
	}

	.header-right-top-top .name span {
	  font-size: 16px;
	  color: #3b3f43;
	  font-weight: 700;
		max-width: 100px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	}

	.header-right-top-top button {
	  position: relative;
	  width: 129px;
	  height: 30px;
	  background-color: #ffffff;
	  border-radius: 6px;
	  border: 1px solid;
	  border-color: #c8cacc;
	}

	.header-right-top-top button span {
	  vertical-align: top;
	  margin-left: 9px;
	  color: #6c6f72;
	  font-weight: 700;
	}

	.header-right-top-top button img {
	  vertical-align: top;
	  margin-left: -5px;
	}

	.header-right-top-bottom {
	  background: #f6f8fa;
	  padding: 8px 12px 13px 16px;
	  display: flex;
	  justify-content: space-between;
	  border-top: 1px solid #dcdee0;
	  height: 34px;
	}

	.header-right-top-bottom .contact {
	  color: #686c70;
	}

	.header-right-top-bottom .contact span:first-child {
	  font-weight: 600;
	  font-size: 13px;
	}

	.header-right-top-bottom .contact span:last-child {
	  font-weight: 400;
	  font-size: 13px;
	  text-decoration: underline; cursor: pointer;
	}
		.header-right-top-bottom .contact:hover span:last-child { color: #000; transition: all 0.3s ease-in-out; }

	.header-right-top-bottom a {
	  text-decoration: none;
	  color: #989b9e;
	  font-weight: 600;
	  font-size: 12px;
	  line-height: 19px;
	  -webkit-transition: 0.3s;
	  -moz-transition: 0.3s;
	  -o-transition: 0.3s;
	  transition: 0.3s;
	}

	.header-right-bottom {
		width: 268px;
		height: 32px;
		background-color: #ffffff;
		border-radius: 6px;
		overflow: hidden;
		border: 1px solid;
		border-color: #c8cacc;
		display: flex; /* flexbox 사용 */
		align-items: center; /* 수직 중앙 정렬 */
		justify-content: flex-start; /* 왼쪽 정렬 */
		padding: 0 11px; /* 좌우 패딩 */
		white-space: nowrap;
		flex-shrink: 0;
		position: relative;

		}

	.header-right-bottom button {
	  display: flex; /* inline-flex 사용 */
	  align-items: center; /* 수직 중앙 정렬 */
	  gap: 4px; /* 이미지와 텍스트 사이 간격 */
	  height: 16px; /* 버튼 높이 고정 */
	  background-color: transparent;
	  border: none;
	  cursor: pointer;
	  padding: 0;
	  position: relative;
	  transition: all 0.3s ease-in-out;
	}

	.header-right-top-bottom a:hover,
	.header-right-bottom button:hover { color: #000 !important; font-weight: 700 !important; }

	.header-right-bottom button img {
	  width: 16px; /* 이미지 크기 고정 */
	  height: 16px;
	  display: block;
	}
	.header-right-bottom button::after {
	  content: "";
	  position: absolute;
	  width: 1px;
	  height: 14px;
	  top: 1px;
	  right: -12px;
	  background-color: #dcdee0;
	}
	.header-right-bottom button:last-child::after { background-color: transparent; }
	.header-right-bottom button:not(:last-child) { margin-right: 24px; }
	.header-right-bottom button:not(:last-child)::after {
	  content: "";
	  position: absolute;
	  right: -12px; /* 구분선 위치 조정 */
	  top: 50%;
	  transform: translateY(-50%);
	  width: 1px;
	  height: 14px;
	  background-color: #dcdee0;
		display: block;
	}

	.header-right-bottom button span {
	  color: #3b3f43;
	  font-weight: 600;
	  font-size: 13px;
	  white-space: nowrap;
	  line-height: 16px; /* 텍스트 수직 정렬을 위한 line-height */
	}
	.header-right-bottom button span:hover { color: #000; font-weight: 700; transition: all 0.3s ease-in-out; }

/* 검색 옵션 창 ------------------------------------------------ */
.search-modal-wrap {
  display: none;
  position: absolute;
  top: 56px;
  right: 0;
}

.search-modal-wrap.show {
  display: block;
  z-index: 1000;
}

.search-mdoal {
  background-color: #ffffff;
  width: 570px;
  height: 151px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ACAEAF;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

	.search-mdoal h1 {
	  font-size: 16px;
	  font-weight: 700;
	  margin-bottom: 12px;
	}

	.search-mdoal .search-modal-box {
	  border-radius: 8px;
	  border: 1px solid #dadcde;
	}

	.search-mdoal .search-modal-box table {
	  width: 100%;
	}

	.search-mdoal .search-modal-box table tr:nth-child(1) {
	  border-bottom: 1px solid #dadcde;
	}

	.search-mdoal .search-modal-box table tr {
	  font-weight: 500;
	  font-size: 13px;
	}

	.search-mdoal .search-modal-box table tr:nth-child(1) td:nth-child(1) {
	  border-top-left-radius: 8px;
	  width: 88px;
	  height: 40px;
	  padding-left: 12px;
	  line-height: 40px;
	  background-color: #F6F8FA;
	  border-right: 1px solid #dadcde;
	}

	.search-mdoal .search-modal-box table tr:nth-child(2) td:nth-child(1) {
	  border-bottom-left-radius: 8px;
	  width: 88px;
	  height: 40px;
	  padding-left: 12px;
	  line-height: 40px;
	  background-color: #F6F8FA;
	  border-right: 1px solid #dadcde;
	}

	.search-mdoal .search-modal-box table tr td:nth-child(2) {
	  padding-left: 12px;
	}


	.checkbox-wrapper {
	  display: inline-block;
	  position: relative;
	}

	.custom-checkbox {
	  position: absolute;
	  opacity: 0;
	  cursor: pointer;
	  height: 0;
	  width: 0;
	}

	.checkbox-wrapper label {
	  display: inline-block;
	  padding-left: 24px;
	  cursor: pointer;
	  line-height: 20px;
	  vertical-align: baseline;
	  font-size: 13px;
	}

	.checkbox-wrapper label::before {
	  content: '';
	  position: absolute;
	  left: 0;
	  top: 0;
	  width: 16px;
	  height: 16px;
	  border: 1px solid #ACAEAF;
	  background-color: #fff;
	  transition: all 0.3s ease;
	  border-radius: 4px;
	}

	.custom-checkbox:checked + label::before {
	  background-color: #F8B428;
	  border-color: #E1A326;
	}

	.custom-checkbox:checked + label::after {
	  content: '';
	  position: absolute;
	  left: 2px;
	  top: 1px;
	  color: #fff;
	  width: 13px;
	  height: 14px;
	  background-image: url(/img/check.png);
	  background-position: center;
	  background-size: contain;
	  background-repeat: no-repeat;
	}

	.custom-checkbox:focus + label::before {
	  box-shadow: 0 0 0 3px rgba(255, 174, 0, 0.25)
	}

/* ------------------------------------------------------- */

/* 팝업창 - ----------------------------------------------------------------------- */

.dialog-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(212,214,216,0.55) /* #d4d6d8 */;
	z-index: 2222;
	display: none;
	align-content: center;
	/*
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1111;
	background: rgba(0,0,0,0.2);
	align-content: center;
	display: none;
	*/
} 

.dialog {
	background-color: #fff;
	width: 560px;
	/* height: 480px; */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 20px;
	border: 1px solid rgba(10, 15, 20, 0.22);
	display: flex;
	flex-direction: column;
	box-shadow: 0px 6px 30px rgba(10, 15, 20, 0.2);
	/*
	width: 100%;
	max-width: 382px;
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(10, 15, 20, 0.15);
	box-shadow: 0px 6px 30px rgba(10, 15, 20, 0.2);
	display: flex;
	flex-direction: column;
	margin: auto;
	*/
}

		/* 하단 버튼 영역 */
        .dialog-bottom {
            padding: 20px 32px;
            border-top: 1px solid rgba(10, 15, 20, 0.1);
            display: flex;
            gap: 11px;
        }

		/* 버튼 스타일 */
		.dialog .confirm-button {
			width: 100%;
			padding: 12px;
			background-color: #374173;
			border: 1px solid rgba(10, 15, 20, 0.05);
			border-radius: 8px;
			color: #ffffff;
			font-size: 16px;
			font-weight: 700;
			cursor: pointer;
			transition: background-color 0.2s ease;
		}
		.dialog .confirm-button:hover { background-color: #2a325a; }
		.dialog .confirm-button:active { background-color: #1e2440; }

		/* 버튼 공통 스타일 */
		.dialog-button {
			flex: 1;
			height: 44px;
			border-radius: 8px;
			font-size: 15px;
			font-weight: 700;
			cursor: pointer;
			transition: all 0.2s ease;
		}

		/* 취소 버튼 */
		.cancel-button {
			background-color: #f0f2f4;
			border: 1px solid rgba(10, 15, 20, 0.1);
			color: rgba(10, 15, 20, 0.6);
		}

		.cancel-button:hover { background-color: #e5e7e9; }
		.cancel-button:active { background-color: #dadcde; }

		/* 확인 버튼 */
		.confirm-button {
			background-color: #374173;
			border: 1px solid rgba(10, 15, 20, 0.05);
			color: #ffffff;
		}
		.confirm-button:hover { background-color: #2a325a; }
		.confirm-button:active { background-color: #1e2440; }

	/* 불러오기 오류 error ------------------------------------------------------- */
	/* 폰트 설정 */
	/* @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css'); */
	/* 메시지,내용 영역 */
	.dialog-content {
		padding: 42px 42px;
		flex-grow: 1;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.dialog-message-error {
		color: rgba(10, 15, 20, 0.8);
		font-size: 15px;
		line-height: 24px;
		text-align: center;
		word-break: keep-all;
		white-space: pre-line;
	}

	.dialog-message {
		color: rgba(10, 15, 20, 0.8);
		font-size: 15px;
		line-height: 24px;
		text-align: center;
		word-break: keep-all;
		white-space: pre-line;
	}
	/* 불러오기: ... 스몰 ----------------------------------------------- */
	.small {
	  /* background-color: #d4d6d8 ; */
	  display: flex;
	  justify-content: center;
	  width: 100%;
	  position: relative;
	}

	.dialogs-loading-wrapper {
	  /* background-color: #d4d6d8; */
	  /* width: 1600px; */
	  /* height: 1080px; */
	  position: relative;
	}

	.dialogs-loading {
	  /* position: absolute; */
	  width: 122px;
	  height: 122px;
	  /* top: 479px; */
	  /* left: 739px; */
	  background-color: #ffffff;
	  border-radius: 20px;
	  border: 1px solid rgba(10, 15, 20, 0.15);
	  box-shadow: 0 6px 30px rgba(10, 15, 20, 0.2);
	  overflow: hidden;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	}

	.loading-gif {
	  width: 120px;
	  height: 120px;
	  object-fit: contain;
	}

	/* 불러오기: 회원가입안내 ----------------------------------------------- */
	/* 제목 영역 */
	.dialog-title {
		padding: 32px 20px 5px 20px;
		font-size: 20px;
		font-weight: 700;
		color: #0a0f14;
		text-align: center;
	}

	/* 메시지 보내기 ---------------------------------------------------*/
	/* 텍스트입력 컨테이너 */
	.textarea-container {
		padding: 12px 31px;
		margin-bottom: 12px;
	}

	/* 텍스트입력 */
	.message-input {
		width: 100%;
		height: 176px;
		padding: 15px;
		border: 1px solid #b4b6b8;
		border-radius: 6px;
		font-size: 16px;
		font-weight: 500;
		color: #0a0f14;
		resize: none;
		outline: none;
		transition: border-color 0.2s ease;
	}
	.message-input::placeholder { color: rgba(10, 15, 20, 0.25); }
	.message-input:focus { border-color: #374173; }

/* ----------------------------------------------------------------------- */

/* 약품목록.카테고리 메뉴 ---------------------------------------------------- */
/* .popover-product 스타일 통합 */
.popover-product {
	display:none;
    position: absolute;
    top: 148px; /* 헤더 높이만큼 조정 */
    /* left: 0; */
    z-index: 1000;
    width: 1173px;
    height: 631px;
    border-radius: 12px;
    border: 1px solid rgba(10, 15, 20, 0.2);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.popover-product-header {
    padding: 20px;
    border-bottom: 1px solid #dadcde;
    font-size: 16px;
    font-weight: 700;
    color: #0a0f14;
}

.popover-product-btn-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.popover-product-ic-close {
    width: 12px;
    height: 12px;
    position: relative;
    top: 6px;
    left: 6px;
}

.popover-product-ic-close::before,
.popover-product-ic-close::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 1.5px;
    background-color: rgba(10, 15, 20, 0.6);
    top: 50%;
    left: 50%;
}

.popover-product-ic-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.popover-product-ic-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.popover-product-table {
    margin: 12px 20px 0 20px; /* 위쪽 12px, 좌우 20px, 아래 0 */
    border: 1px solid #dadcde;
    border-radius: 8px;
    display: flex;
    height: calc(100% - 80px);
}

.popover-product-menu-left {
    width: 112px;
    border-right: 1px solid #dadcde;
    background-color: #f8f9fa;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
}

.popover-product-menu-item {
    height: 44px;
    display: block;           /* 줄바꿈을 위해 block 설정 */
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(10, 15, 20, 0.6);
    border-bottom: 1px solid #dcdee0;
    cursor: pointer;
}

/* 자식 요소에 대한 공통 스타일 */
.popover-product-menu-items > * {
    padding: 4px;
    cursor: pointer;
}

.popover-product-menu-items > *:hover {
    background-color: #F8F9FA;
    font-weight: 600;
    text-decoration: underline;
    color: #0A0F14;
}

.popover-product-menu-item.selected {
    background-color: #ffffff;
    color: rgba(10, 15, 20, 0.8);
}

.popover-product-menu-left .popover-product-menu-item:first-child {
    border-top-left-radius: 8px;
}


.popover-product-sub-menu {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    overflow-y: auto;
}

.prescription-menu,
.external-menu,
.health-food-menu,
.cosmetic-menu {
    flex: 1;
    padding: 20px;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    overflow-y: auto;
    display: none;
}

.prescription-menu.active,
.external-menu.active,
.health-food-menu.active,
.cosmetic-menu.active {
    display: grid;
}

.menu-section {
    display: flex;
    flex-direction: column;
}

.menu-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(10, 15, 20, 0.8);
    padding: 3px 4px;
    margin-bottom: 8px;
    border-bottom: 1px solid #3c4044;
}

.popover-product-menu-items {
    font-size: 14px;
    color: rgba(10, 15, 20, 0.8);
    line-height: 24px;
}


.popover-product-menu-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.popover-product-menu-item span {
    display: block;
    padding: 4px;
    font-size: 14px;
    color: rgba(10, 15, 20, 0.8);
    line-height: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.prescription-menu span {
    display: block;
    padding: 4px;
    font-size: 14px;
    color: rgba(10, 15, 20, 0.8);
    line-height: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

/************** ... text-overflow 일 떄 툴팁 ************/

.tooltip-box {
  position: fixed;
  background: linear-gradient(255deg,
  rgba(255, 255, 255, 0.8) 0%,
  rgba(255, 255, 255, 0.8) 100%
  );
  padding: 10px 16px;
  border-radius: 6px;
  box-shadow:
          0 2px 8px rgba(0, 0, 0, 0.02),
          0 0 0 1px rgba(255, 255, 255, 0.15);
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
  display: none;
  color: black;
  font-weight: 700;  /* 투명도가 매우 높아져서 글자를 더 진하게 */
  font-size: 13px;
  letter-spacing: 0.3px;
  transform-origin: center;
  animation: tooltipFade 0.15s ease-out;
  border: 1px solid rgba(230, 230, 230, 0.2);
  opacity: 0;
}

	.tooltip-box.visible {
	  opacity: 1;
	}
	@keyframes tooltipFade {
	  from {
		opacity: 0;
		transform: scale(0.98);
	  }
	  to {
		opacity: 1;
		transform: scale(1);
	  }
	}

/* ----------------------------------------------- */

/************** 팝업 창 내 테이블 ************/
div.dialog { border-radius: 20px; } 
	.dialog table.dialog_table { width: 100%;  }
	.dialog table.dialog_table th {}
	.dialog table.dialog_table thead tr { height: 36px!important; line-height: 36px; }
	.dialog table.dialog_table tr:first-child {  border-top: none; }
	.dialog table.dialog_table tr { border-top: 1px solid #dcdee0; }
	.dialog table.dialog_table tr:last-child { border-bottom: 1px solid #dcdee0; }
	.dialog table.dialog_table t7, .dialog table.dialog_table td { text-align: center; }

	.dialog table.dialog_table thead tr th { background-color: #f6f8fa; font-size: 13px; font-weight: 600; padding: 0 20px; /* 좌우 패딩만 유지 */ border-bottom: 1px solid #dcdee0; vertical-align: middle; color: #0a0f1480; }
	.dialog table.dialog_table tbody tr { height: 44px !important; /* !important로 우선순위 부여 */ line-height: 44px;}
	.dialog table.dialog_table tbody tr td { font-size: 14px; font-weight: 400; height: 44px; line-height: 44px; padding: 0 20px; /* 좌우 패딩만 유지 */ vertical-align: middle; }
/* ----------------------------------------------- */