.p-100{padding:0}
.breadcrumb{margin-bottom:0}
.book-view-container {
	display: grid;
	grid-template-columns: 49% 49%;
	gap: 2%;
}
/* 왼쪽 이미지 영역 */
.view-img-box {
	text-align: center;
	background: #f5f5f5;
	border-radius: 20px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
	min-height: 500px;
}
.view-img-box img {
	width: 300px;
	height: auto;
	object-fit: contain;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}
/* 오른쪽 정보 영역 */
.bookview-info {
	padding: 20px;
	background: #fff;
	/* border-radius: 16px; */
	border: 1px solid #f5f5f5;
	font-family: 'SUIT', sans-serif;
	min-width: 0;
}
.category-path {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
}
.category-path a, .category-path span {
	color: #999;
	font-size: 15px;
	text-decoration: none;
}
.category-path span {
	color: #ccc;
}
.book-tit{
	font-size: 24px;
	font-weight: 600;
	color: #222;
	margin-bottom: 10px;
	line-height: 1.4;
	position: relative;
}
.price-info {
	margin-bottom: 20px;
}
.price-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 5px;
}
.original-price {
	color: #999;
	font-size: 14px;
	text-decoration: line-through;
}
.discount-rate {
	color: #ef3f3f;
	font-size: 20px;
	font-weight: 600;
}
.final-price {
	font-size: 20px;
	font-weight: 600;
	color: #ef3f3f;
}
.point-info {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	color: #40c057;
}
.point-info i {
	font-size: 14px;
	color: #999;
	margin-left: 2px;
}
.point-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	background: #40c057;
	color: #fff;
	border-radius: 2px;
	font-size: 11px;
	font-weight: 600;
}
.book-details {
	margin-bottom: 25px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
}
.detail-row {
	display: flex;
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
	transition: background 0.2s;
}
.detail-row:hover {
	background: #f8f9fb;
}
.detail-row:last-child {
	border-bottom: none;
}
.detail-label {
	flex: 0 0 100px;
	color: #666;
	font-size: 15px;
}
.detail-content {
	flex: 1;
	color: #333;
}
.delivery-info {
	background: #f8f9fb;
	padding: 20px;
	border-radius: 12px;
	margin-bottom: 25px;
	border: 1px solid #eee;
}
.delivery-info h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}
.delivery-info h3 i {
	color: #ee742c;
	font-size: 18px;
}
.delivery-info p {
	position: relative;
	padding-left: 12px;
	margin-bottom: 8px;
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}
.delivery-info p::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 4px;
	height: 4px;
	background: #ee742c;
	border-radius: 50%;
}
.quantity-input {
	display: inline-flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	height: 35px;
}
.quantity-input button {
	width: 40px;
	height: 40px;
	border: none;
	background: #f8f9fa;
	cursor: pointer;
	color: #666;
	font-size: 16px;
	transition: all 0.2s ease;
}
.quantity-input button:hover {
	background: #f1f3f5;
}
.quantity-input input {
	width: 50px;
	height: 40px;
	border: none;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	color: #333;
}
.total-price {
	text-align: right;
	font-size: 16px;
	margin: 0px 0 25px;
	color: #666;
}
#total-amount {
	font-size: 24px;
	font-weight: 600;
	color: #ee742c;
	margin-left: 10px;
}
.action-buttons {
	display: flex;
	gap: 10px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}
.btn-wishlist {
	flex: 0 0 50px;
	height: 48px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 20px;
	color: #666;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.btn-wishlist i {
	transition: all 0.2s ease;
	font-size: 18px;
	line-height: 1;
}
.btn-wishlist:hover {
	color: #ee742c;
}
.btn-wishlist.active {
	color: #ee742c;
}
.btn-wishlist.active i {
	transform: scale(1.1);
}
.btn-cart {
	flex: 1;
	height: 48px;
	border: 1px solid #ee742c;
	background: #fff;
	color: #ee742c;
	font-weight: 600;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-decoration: none;
	box-sizing: border-box;
}
.btn-cart:hover {
	background: #f8f9fb;
}
.btn-buy {
	flex: 1;
	height: 48px;
	border: none;
	background: #ee742c;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-decoration: none;
	box-sizing: border-box;
}
.btn-buy:hover {
	background: #0094F3;
}
.payment-options {
	text-align: center;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #eee;
}
.payment-options img {
	height: 24px;
	margin: 0 10px;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}
.payment-options img:hover {
	opacity: 1;
}
.quantity-selector{
	display: flex;
	justify-content: space-between;
}
@media (max-width: 992px) {
	.book-view-container {
		grid-template-columns: 1fr;
		/* margin: 20px; */
		padding: 0px;
		gap: 40px;
	}
	.bookview-info {
		padding: 0px;
		border: none;
	}
	.view-img-box img {
		width: 250px;
	}
}
@media (max-width: 768px) {
	.book-view-container {
		grid-template-columns: 1fr;
		gap: 30px;
		margin: 0;
		padding: 0px;
		border-radius: 0;
		overflow-x: hidden;
	}
	.book-view-container > * {
		min-width: 0;
	}
	.bookview-info {
		overflow-x: hidden;
	}
	.view-img-box {
		/*aspect-ratio: 1 / 1;*/
	}
	.view-img-box img {
		width: 200px;
		/* transform: perspective(1000px) rotateY(-3deg); */
	}
	.book-tit{
		font-size: 22px;
	}
	.action-buttons {
		flex-wrap: wrap;
		gap: 8px;
	}
	.action-buttons .btn-cart,
	.action-buttons .btn-buy {
		flex: 1 1 calc(50% - 4px);
		min-width: 0;
		height: 48px;
	}
	.action-buttons .btn-bulk {
		flex: 0 0 100%;
		width: 100%;
		height: 48px;
	}
	.btn-wishlist {
		order: 3;
		flex: 0 0 100%;
	}
} 
.book-tab-menu {
	margin: 50px auto 0;
	max-width: 1400px;
	position: relative;
}
.book-tab-menu.fixed {
	position: fixed;
	top: 90px;
	left: 0;
	right: 0;
	z-index: 98;
	background: #fff;
	margin: 0;
	padding: 0;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	border-bottom: 1px solid #eee;
	transition: top 0.3s ease;
	max-width: none;
	width: 100%;
}
.book-tab-menu.fixed ul {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	border: none;
	border-radius: 0;
}
.book-tab-menu ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
}
.book-tab-menu li {
	flex: 1;
	position: relative;
}
.book-tab-menu li:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 20px;
	background: #eee;
}
.book-tab-menu li a {
	display: block;
	padding: 20px 10px;
	text-align: center;
	color: #666;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
}
.book-tab-menu li.active a {
	color: #ee742c;
	font-weight: 600;
}
.book-tab-menu li.active a::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	height: 3px;
	background: #ee742c;
	border-radius: 10px;
}
.book-tab-menu li a:hover {
	color: #ee742c;
	background: rgb(231, 246, 255);
}
@media (max-width: 768px) {
	.book-tab-menu.fixed {
		padding: 0;
	}
	.book-tab-menu.fixed ul {
		margin: 0;
	}
	.book-tab-menu li {
		flex: 1 1 50%;
	}
	.book-tab-menu li:not(:last-child)::after {
		display: none;
	}
	.book-tab-menu li a {
		font-size: 14px;
		padding: 15px 10px;
		background: #fff;
		border-radius: 0;
	}
	.book-tab-menu li.active a::after {
		display: none;
	}
	.book-tab-menu li.active a {
		background: #ee742c;
		color: #fff;
	}
}
.book-tab-content {
	max-width: 1400px;
	margin: 0 auto;
	padding: 30px 0 0;
}
.tab-pane {
	display: block;
	padding-top: 50px;
	margin-top: -50px;
}
.content-inner {
	padding: 40px;
	/* box-shadow: 0 0 20px rgba(0,0,0,0.03); */
	margin-bottom: 40px;
}
.content-inner h3 {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}
/* 특장점 스타일 */
.feature-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.feature-item {
	padding: 30px;
	background: #f8f9fb;
	border-radius: 12px;
	transition: all 0.3s ease;
}
.feature-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.feature-item i {
	font-size: 24px;
	color: #ee742c;
	margin-bottom: 15px;
}
.feature-item h4 {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
}
.feature-item p {
	color: #666;
	line-height: 1.6;
}
/* 목차 스타일 */
.book-toc .chapter {
	margin-bottom: 30px;
}
.book-toc h4 {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}
.book-toc ul {
	list-style: none;
	padding: 0;
}
.book-toc li {
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	color: #666;
}
.book-toc li:last-child {
	border-bottom: none;
}
/* 교환/환불/배송 스타일 */
.policy-section {
	margin-bottom: 30px;
}
.policy-section h4 {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.policy-section h4 i {
	color: #ee742c;
}
.policy-section ul {
	list-style: none;
	padding: 0;
}
.policy-section li {
	padding: 10px 0;
	color: #666;
	position: relative;
	padding-left: 15px;
}
.policy-section li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 18px;
	width: 4px;
	height: 4px;
	background: #ee742c;
	border-radius: 50%;
}
/* 후기 스타일 */
.review-item {
	padding: 20px;
	border: 1px solid #eee;
	border-radius: 8px;
	margin-bottom: 20px;
}
.review-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}
.reviewer {
	font-weight: 500;
	color: #333;
}
.rating {
	color: #ffc107;
}
.review-date {
	color: #999;
	font-size: 14px;
	margin-left: auto;
}
.review-text {
	color: #666;
	line-height: 1.6;
}
@media (max-width: 768px) {
	.content-inner {
		padding: 0px;
	}
	.feature-list {
		grid-template-columns: 1fr;
	}
	.content-inner h3 {
		font-size: 20px;
		margin-bottom: 20px;
	}
	.book-tab-content {
		padding: 20px 0;
	}
	.tab-pane {
		padding-top: 0px;
		margin-top: 0px;
	}
}
.sub-buttons {
	margin-top: 10px;
	border-top: none;
	padding-top: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.btn-npay {
	flex: 1;
	height: 48px;
	border: 1px solid #2DB400;
	background: #2DB400;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.btn-npay img {
	height: 20px;
}
.btn-npay:hover {
	background: #28a000;
}
.btn-bulk {
	flex: 1;
	height: 48px;
	border: 1px solid #555;
	background: #fff;
	color: #444;
	font-weight: 600;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-decoration: none;
	box-sizing: border-box;
	transition: all 0.2s ease;
}
.btn-bulk:hover {
	background: #f8f9fb;
	border-color: #333;
	color: #222;
}
@media (max-width: 768px) {
	.sub-buttons {
		margin-top: 5px;
		gap: 5px;
	}
	.sub-buttons .btn-npay,
	.sub-buttons .btn-bulk {
		font-size: 14px;
		height: 44px;
	}
}
.preview-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	width: 100%;
	z-index: 2;
	margin-top: auto;
	position: absolute;
	bottom: 20px;
	left: 0;
	padding: 0 20px;
}
.preview-btn {
	padding: 12px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #eee;
	border-radius: 8px;
	color: #333;
	font-size: 18px;
	font-family: 'SUIT', sans-serif;
	cursor: pointer;
	transition: all 0.3s ease;
}
.preview-btn:hover {
	background: #fff;
	border-color: #ee742c;
	color: #ee742c;
}
@media (max-width: 768px) {
	.preview-grid {
		gap: 5px;
	}
	
	.preview-btn {
		padding: 10px;
		font-size: 12px;
	}
}
.action-buttons.sub-buttons {
	margin-top: 10px;
	border-top: none;
	padding-top: 0;
	display: flex;
	flex-direction: row;
	gap: 10px;
}
.action-buttons.sub-buttons .preview-btn {
	width: 100%;
	height: 48px;
	background: #fff;
	border: 1px solid #eee;
	color: #333;
	font-weight: 600;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
@media (max-width: 768px) {
	.action-buttons.sub-buttons {
		flex-direction: column;
		gap: 5px;
	}
	
	.sub-buttons .btn-npay,
	.sub-buttons .btn-bulk {
		font-size: 14px;
		height: 44px;
	}
}

/* 2026-11-11 씨뮬 시리즈 상세 변경 */
.book-view-container {
	grid-template-columns: 58% 40%;
	gap: 2%;
}
.view-img-box {
	background: #f3f6fb;
	min-height: 640px;
}
.view-img-box img {
	width: 340px;
	top: 42%;
	box-shadow: 8px 10px 24px rgba(0, 0, 0, 0.25);
}
.preview-grid {
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 40px);
	max-width: 440px;
	padding: 0;
}
.preview-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #dde3ee;
}
.preview-btn i {
	font-size: 17px;
	line-height: 1;
}
.book-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
}
.book-tags span {
	display: inline-block;
	padding: 2px 8px;
	font-size: 13px;
	line-height: 1.5;
	border-radius: 4px;
	color: #222;
	background: #fff;
	border: 1px solid #ddd;
}
.book-tags .tag-grade {
	border: none;
	padding-left: 2px;
	padding-right: 2px;
}
.book-tags .tag-cate {
	color: #1a9f4b;
	background: #e6f8ec;
	border-color: #e6f8ec;
}
.bookview-info {
	padding: 16px;
}
.book-tit {
	font-size: 22px;
}
@media (max-width: 1200px) {
	.book-view-container {
		grid-template-columns: 58% 40%;
	}
}
@media (max-width: 992px) {
	.book-view-container {
		grid-template-columns: 1fr;
	}
	.view-img-box {
		min-height: 560px;
	}
	.view-img-box img {
		width: 250px;
	}
}
@media (max-width: 768px) {
	.view-img-box {
		min-height: 440px;
	}
	.view-img-box img {
		width: 200px;
	}
	.preview-btn {
		font-size: 12px;
	}
}

/* 2026-11-11 온라인 서점 버튼 통일 (크기·테두리·아이콘 박스 동일, 아이콘만 서점별 색) */
.action-buttons.sub-buttons .preview-btn {
	flex: 1 1 0;
	min-width: 0;
	height: 40px;
	padding: 0 8px;
	border: 1px solid #dde3ee;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}
.action-buttons.sub-buttons .preview-btn i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	font-size: 16px;
}
.action-buttons.sub-buttons .preview-btn:hover {
	border-color: #ee742c;
}
.preview-btn .bi-journal-bookmark-fill { color: #1b5bb5; }
.preview-btn .bi-patch-check-fill { color: #1d7fe0; }
.preview-btn .bi-lightning-charge-fill { color: #e5447f; }
.action-buttons.sub-buttons .preview-btn .icon-naver {
	background: #03c75a;
	color: #fff;
	border-radius: 3px;
	font-style: normal;
	font-family: Arial, sans-serif;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

/* 2026-11-11 찜하기 (골드교육과 동일) */
.btn-wishlist {
	flex: 0 0 110px;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
}
.btn-wishlist span {
	line-height: 1;
}

/* 2026-11-11 모바일 보정: 정보영역 이중 여백 제거 + 서점 버튼 (기존 column/flex 1 1 0 으로 높이가 찌그러지던 것) */
@media (max-width: 992px) {
	.bookview-info {
		padding: 0;
		border: none;
	}
}
@media (max-width: 768px) {
	.action-buttons.sub-buttons {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
	}
	.action-buttons.sub-buttons .preview-btn {
		flex: 1 1 calc(50% - 4px);
		height: 40px;
		font-size: 13px;
	}
}

/* 2026-11-11 모바일 상세설명 이중 여백 제거: sub_inner(20px) + book-tab-content(20px) + content-inner(20px) 중복 */
@media (max-width: 768px) {
	.book-tab-content {
		padding: 20px 0 0;
	}
	.content-inner {
		padding: 20px 0;
		box-shadow: none;
		border-radius: 0;
	}
}

/* 2026-11-11 모바일: overflow-x:hidden 이 overflow-y 를 auto 로 바꿔 .bookview-info 에 세로 스크롤이 생기던 것 → clip 으로 대체 (미지원 브라우저는 기존 hidden 유지) */
@media (max-width: 768px) {
	.book-view-container {
		overflow-x: clip;
		overflow-y: visible;
	}
	.bookview-info {
		overflow-x: clip;
		overflow-y: visible;
	}
}

/* 2026-11-11 모바일 찜하기 전체 폭 복구: 뒤에 추가한 데스크톱용 flex(110px)가 기존 모바일 규칙(100%)을 덮어쓰던 것 */
@media (max-width: 768px) {
	.btn-wishlist {
		order: 3;
		flex: 0 0 100%;
	}
}

/* 2026-11-11 모바일/태블릿(1열): 표지와 버튼이 absolute 로 겹쳐 붙어 보이던 것 → 위에서 아래로 쌓는 흐름 배치 */
@media (max-width: 992px) {
	.view-img-box {
		min-height: 0;
		padding: 30px 20px 44px;
	}
	.view-img-box img {
		position: static;
		top: auto;
		left: auto;
		transform: none;
		margin: 0 auto 28px;
	}
	.preview-grid {
		position: static;
		left: auto;
		bottom: auto;
		transform: none;
		width: 100%;
		max-width: 440px;
		margin: 0 auto;
	}
}
