@charset "utf-8";
/* ==========================================================================
   Bean HotoPay Board Theme - 최적화된 통합 CSS
   ========================================================================== */

/* ==========================================================================
   기본 설정
   ========================================================================== */
.board {
  font-size: 12px;
  font-family: 돋움, Dotum, Tahoma, Geneva, sans-serif;
}

/* ==========================================================================
   뱃지 스타일 (list, read 공통)
   ========================================================================== */
.bean_badges_container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.bean_badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bean_badge.bean_badge_hot {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.bean_badge.bean_badge_new {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.bean_badge.bean_badge_sale {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.bean_badge.bean_badge_soldout {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
}

.bean_badge.bean_badge_event {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  color: white;
}

.bean_badge.bean_badge_best {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #713f12;
}

/* read 페이지 뱃지 스타일 조정 */
.bean_product_info .bean_badges_container {
  margin-bottom: 16px;
}

.bean_product_info .bean_badge {
  font-size: 12px;
  padding: 6px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.board img {
  border: 0;
}

.board label,
.board table,
.board input,
.board button,
.board textarea,
.board select {
  font-size: inherit;
  font-family: inherit;
}

.board select {
  margin: 0;
}

.board .iCheck {
  width: 13px;
  height: 13px;
  margin: 0;
  vertical-align: middle;
}

.board .iCheck + label {
  vertical-align: middle;
}

.board .iText,
.board textarea {
  padding: 3px 4px;
  border: 1px solid #a6a6a6;
  border-right-color: #d8d8d8;
  border-bottom-color: #d8d8d8;
  background: transparent;
}

.board .iText {
  position: relative;
  height: 17px;
  line-height: 17px;
}

.board textarea {
  margin: 0;
}

.board label {
  display: inline-block;
  margin: 0;
}

/* ==========================================================================
   공통 스타일
   ========================================================================== */

/* 컨테이너 통합 */
.bean_product_container,
.bean_comment_form_container,
.context_data,
.bean_bottom_container,
.bean_fileList,
.bean_product_details,
.bean_list_footer,
.bean_product_list_container .bean_top_actions,
.bean_product_list_container .bean_products_grid,
.bean_product_layout,
.board_header,
.board_write,
.tagList,
.tagFooter {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* 제목 통합 스타일 */
.bean_product_title,
.bean_product_list_title {
  font-weight: 600;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #1f2937;
}

.bean_product_title a,
.bean_product_list_title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bean_product_title a:hover,
.bean_product_list_title a:hover {
  color: #3b82f6;
}

/* 제목 크기 차이 */
.bean_product_title {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f4f5;
  font-size: 24px;
}

.bean_product_list_title {
  padding: 8px;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 15px;
  flex-wrap: wrap;
  letter-spacing: -0.3px;
}

/* 가격 통합 스타일 */
.bean_product_price,
.bean_product_list_price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.bean_price_current,
.bean_list_price_current {
  font-weight: 800;
  color: #ef4444;
  letter-spacing: -0.5px;
}

.bean_price_original,
.bean_list_price_original {
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 500;
}

.bean_discount_rate,
.bean_list_discount_rate,
.bean_discount_badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* 가격 크기 차이 */
.bean_product_price {
  padding: 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.bean_product_list_price {
  padding: 8px;
  line-height: 1.2;
}

.bean_price_current {
  font-size: 32px;
  display: flex;
  align-items: baseline;
}

.bean_list_price_current {
  font-size: 22px;
  font-weight: 900;
  margin-right: 4px;
}

.bean_price_original {
  font-size: 18px;
  display: flex;
  align-items: center;
}

.bean_list_price_original {
  font-size: 15px;
  margin-right: 2px;
}

.bean_discount_rate,
.bean_discount_badge {
  padding: 4px 10px;
  font-size: 14px;
  display: inline-block;
}

.bean_list_discount_rate {
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* 무료배송 배지 통합 */
.bean_free_shipping,
.bean_list_free_shipping {
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.3);
}

.bean_free_shipping {
  padding: 2px 6px;
  font-size: 10px;
  margin-left: 4px;
}

.bean_list_free_shipping {
  padding: 2px 7px;
  font-size: 9px;
  margin-left: 6px;
  letter-spacing: 0.2px;
}

/* 메타 정보 통합 */
.bean_product_meta,
.bean_product_list_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f3f4f6;
  color: #6b7280;
  gap: 8px;
}

.bean_product_meta {
  padding-top: 12px;
  font-size: 12px;
}

.bean_product_list_meta {
  padding: 8px;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  gap: 10px;
}

/* 작성자 통합 */
.bean_author,
.bean_product_list_author {
  font-weight: 600;
  background: #f3f4f6;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.bean_author {
  color: #374151;
  padding: 2px 8px;
  font-size: 11px;
}

.bean_product_list_author {
  font-weight: 700;
  color: #1e293b;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 날짜와 조회수 통합 */
.bean_date,
.bean_views,
.bean_product_list_date,
.bean_product_list_views {
  display: flex;
  align-items: center;
  gap: 2px;
}

.bean_date,
.bean_views {
  font-size: 11px;
  color: #9ca3af;
}

.bean_product_list_date,
.bean_product_list_views {
  font-size: 10px;
  color: #94a3b8;
  gap: 3px;
  font-weight: 500;
}

.bean_product_list_views {
  background: #f8fafc;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

.bean_views::before,
.bean_product_list_views::before {
  content: '';
  display: none;
}

/* 가격 없음 통합 */
.bean_no_price,
.bean_list_no_price {
  font-size: 14px;
  color: #9ca3af;
  font-style: italic;
  font-weight: 500;
}

.bean_list_no_price {
  font-size: 16px;
  color: #6b7280;
  font-style: normal;
  font-weight: 600;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

/* 별점 통합 */
.bean_rating {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
}

.bean_stars {
  color: #fbbf24;
  font-size: 13px;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(251, 191, 36, 0.3);
}

.bean_rating_count {
  color: #6b7280;
  font-size: 9px;
  font-weight: 600;
  background: #f9fafb;
  padding: 2px 5px;
  border-radius: 6px;
  border: 1px solid #f3f4f6;
}

/* 버튼 통합 스타일 */
.board .btn,
.btnArea .btn,
.write_comment .btn {
  text-decoration: none !important;
  display: inline-block;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  overflow: visible;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.board .btn {
  padding: 0 12px;
  margin: 0;
  font-size: 12px;
  line-height: 24px;
  height: 24px;
  color: #333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: top;
  background: linear-gradient(to bottom, #ffffff, #e6e6e6);
  border: 1px solid #bbb;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-bottom-color: #a2a2a2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.board .btn:hover,
.board .btn:active {
  color: #333;
  background-color: #e6e6e6;
}

.btnArea .btn {
  padding: 12px 30px;
  margin: 0 5px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  min-width: 120px;
}

.btnArea .btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btnArea button.btn {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.btnArea button.btn:hover {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  box-shadow: 0 6px 20px rgba(75, 85, 99, 0.4);
}

.write_comment .btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.write_comment .btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 액션 버튼 통합 */
.bean_product_container .bean_btn_buy,
.bean_product_container .bean_btn_cart,
.bean_product_container .bean_btn_list {
  height: 48px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
}

.bean_product_container .bean_btn_buy {
  flex: 1;
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

.bean_product_container .bean_btn_buy:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.bean_product_container .bean_btn_cart {
  flex: 1;
  background: white;
  border-color: #3b82f6;
  color: #3b82f6;
}

.bean_product_container .bean_btn_cart:hover {
  background: #eff6ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.bean_product_container .bean_btn_list {
  flex: 0 0 120px;
  background: white;
  border-color: #d1d5db;
  color: #6b7280;
}

.bean_product_container .bean_btn_list:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #374151;
  text-decoration: none;
  transform: translateY(-1px);
}

/* 태그 통합 */
.bean_product_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
}

.bean_product_tag {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  color: #0369a1;
  padding: 2px 7px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid #bae6fd;
  box-shadow: 0 1px 2px rgba(3, 105, 161, 0.1);
}

.bean_product_tag:nth-child(2) {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #166534;
  border-color: #bbf7d0;
}

.bean_product_tag:nth-child(3) {
  background: linear-gradient(135deg, #fefce8, #fef3c7);
  color: #a16207;
  border-color: #fde68a;
}

/* 태그 배지별 스타일 */
.bean_product_tag.bean_badge_hot {
  background: #fee2e2;
  color: #dc2626;
}

.bean_product_tag.bean_badge_new {
  background: #dcfce7;
  color: #16a34a;
}

.bean_product_tag.bean_badge_sale {
  background: #fef3c7;
  color: #d97706;
}

.bean_product_tag.bean_badge_soldout {
  background: #f3f4f6;
  color: #6b7280;
}

.bean_product_tag.bean_badge_event {
  background: #ede9fe;
  color: #7c3aed;
}

.bean_product_tag.bean_badge_best {
  background: #dbeafe;
  color: #2563eb;
}

/* 탭 통합 */
.bean_tab_content {
  display: none;
  animation: fadeIn 0.3s;
}

.bean_tab_content.active {
  display: block;
}

.bean_tab_content_inner {
  padding: 30px;
  line-height: 1.8;
  color: #333;
  min-height: 200px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 파일 리스트 통합 */
.bean_fileList {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin: 32px auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.bean_toggleFile {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bean_files {
  margin-top: 16px;
  padding-left: 24px;
  display: none;
  list-style: none;
}

.bean_files li {
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.bean_files li:last-child {
  border-bottom: none;
}

.bean_files a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.bean_files a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.bean_fileSize {
  color: #6b7280;
  font-size: 12px;
  margin-left: 8px;
}

/* ==========================================================================
   보드 헤더
   ========================================================================== */
.board_header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.board_header:after {
  content: "";
  display: block;
  clear: both;
}

.board_header h2 {
  margin: 0;
}

.board_header_buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ==========================================================================
   글쓰기 폼
   ========================================================================== */
.board_write {
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.write_header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e5e7eb;
}

.write_header select {
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  margin-right: 10px;
  margin-bottom: 15px;
  min-width: 150px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.write_header select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.write_header input[name="title"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.write_header input[name="title"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 확장 변수 테이블 */
.exForm {
  margin: 20px 0;
  background: #f8fafc;
  border-radius: 8px;
  padding: 20px;
}

.exForm table {
  width: 100%;
  border-collapse: collapse;
}

.exForm caption {
  text-align: left;
  margin-bottom: 15px;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.exForm caption em {
  color: #ef4444;
  font-weight: 700;
}

.exForm tr {
  border-bottom: 1px solid #e5e7eb;
}

.exForm tr:last-child {
  border-bottom: none;
}

.exForm th {
  text-align: left;
  padding: 12px 16px;
  width: 180px;
  background: white;
  font-weight: 600;
  color: #374151;
  vertical-align: middle;
}

.exForm th em {
  color: #ef4444;
  margin-right: 4px;
}

.exForm td {
  padding: 12px 16px;
  background: white;
}

.exForm input[type="text"],
.exForm input[type="number"],
.exForm input[type="email"],
.exForm input[type="tel"],
.exForm input[type="url"],
.exForm textarea,
.exForm select {
  width: 100%;
  max-width: 500px;
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.exForm input[type="checkbox"],
.exForm input[type="radio"] {
  margin-right: 6px;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  cursor: pointer;
}

.exForm label {
  margin-right: 15px;
  cursor: pointer;
  font-size: 14px;
  color: #4b5563;
  vertical-align: middle;
}

.exForm input:focus,
.exForm textarea:focus,
.exForm select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 에디터 영역 */
.write_editor {
  margin: 20px 0;
  min-height: 400px;
}

/* 글쓰기 푸터 */
.write_footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #e5e7eb;
}

/* 글쓰기 옵션 */
.write_option {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9fafb;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.write_option input[type="checkbox"],
.write_option input[type="radio"] {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
  cursor: pointer;
}

.write_option label {
  margin-right: 20px;
  cursor: pointer;
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.write_option label:hover {
  color: #1f2937;
}

/* 작성자 정보 */
.write_author {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9fafb;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.write_author .item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.write_author .iLabel {
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
  min-width: 60px;
}

.write_author input[type="text"],
.write_author input[type="password"] {
  padding: 8px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.write_author input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#tags {
  flex: 1;
  min-width: 300px;
}

.write_captcha {
  margin: 20px 0;
  padding: 15px;
  background: #f9fafb;
  border-radius: 8px;
  text-align: center;
}

.btnArea {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* ==========================================================================
   상품 상세 페이지
   ========================================================================== */
.bean_product_container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 0;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
  box-sizing: border-box;
}

.bean_product_layout {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.bean_product_images {
  flex: 1;
  min-width: 0;
  max-width: 50%;
}

.bean_main_image {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fafafa;
}

.bean_main_image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bean_main_image:hover img {
  transform: scale(1.05);
}

.bean_no_image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
}

.bean_no_image_placeholder {
  text-align: center;
  padding: 40px 20px;
}

.bean_no_image_icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
  opacity: 0.6;
}

.bean_no_image_text {
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.bean_image_thumbnails {
  display: flex;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 10px;
}

.bean_image_thumbnails::-webkit-scrollbar {
  height: 8px;
}

.bean_image_thumbnails::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.bean_image_thumbnails::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.bean_image_thumbnails::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* 서브 이미지 썸네일 - 5개까지 20%씩 */
.bean_thumb {
  width: calc(20% - 8px);
  min-width: calc(20% - 8px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fafafa;
  flex-shrink: 0;
}

.bean_thumb.active {
  border-color: #3b82f6;
  border-width: 2px;
}

.bean_thumb:hover {
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bean_product_info {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  padding:10px;
}

.bean_product_card_info {
  padding: 15px;
  background: #ffffff;
}

.bean_product_category {
  display: inline-flex;
  align-items: center;
  background: #f3f4f6;
  color: #374151;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
}

.bean_total_price_section {
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
}

.bean_total_price_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bean_total_label {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.bean_total_price {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
}

.bean_product_options {
  margin-bottom: 20px;
}

.bean_option_group {
  margin-bottom: 16px;
}

.bean_option_label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 14px!important;
  padding-bottom: 5px;
}

.bean_option_select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  padding-right: 36px;
  background: white url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%236b7280" d="M8 12L3 7h10z"/></svg>') no-repeat right 12px center;
  background-size: 12px;
}

.bean_option_select:hover {
  border-color: #9ca3af;
}

.bean_option_select:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bean_quantity_selector {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.bean_quantity_selector span {
  font-weight: 600;
  margin-right: 16px;
  color: #374151;
  font-size: 14px;
  min-width: 40px;
}

.bean_quantity_btn {
  width: 36px;
  height: 36px;
  border: 1px solid #d1d5db;
  background: white;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  box-sizing: border-box;
}

.bean_quantity_btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #374151;
}

.bean_quantity_input {
  width: 60px;
  height: 36px;
  text-align: center;
  border: 1px solid #d1d5db;
  border-left: none;
  border-right: none;
  font-size: 14px;
  font-weight: 600;
  background: white;
  color: #111827;
  box-sizing: border-box;
}

.bean_quantity_input:focus {
  outline: none;
  border-color: #9ca3af;
}

.bean_action_buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.bean_meta_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.bean_meta_item:last-child {
  border-bottom: none;
}

.bean_meta_label {
  font-weight: 500;
  color: #6b7280;
  font-size: 13px;
}

.bean_meta_value {
  font-weight: 600;
  color: #111827;
  font-size: 13px;
}

.bean_product_details {
  border-top: 0;
  margin-top: 50px;
  padding-top: 0;
}

.bean_detail_tabs {
  display: flex;
  border: 1px solid #e5e7eb;
  margin-bottom: 0;
  background: #f9fafb;
  border-radius: 12px 12px 0 0;
}

.bean_tab_button {
  flex: 1;
  padding: 20px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.bean_tab_button.active {
  background: white;
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}

.bean_tab_button:hover {
  background: white;
  color: #1f2937;
}

.bean_tab_content {
  padding: 40px;
  background: white;
  border: 1px solid #e5e7eb;
  border-top: none;
  min-height: 400px;
  border-radius: 0 0 12px 12px;
}

/* ==========================================================================
   상품 목록 페이지
   ========================================================================== */
.bean_product_list_container {
  padding: 20px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', Malgun Gothic, sans-serif;
  position: relative;
}

.bean_top_actions {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.bean_action_group {
  display: flex;
  gap: 10px;
}

.bean_action_left {
  justify-content: flex-start;
}

.bean_action_right {
  justify-content: flex-end;
}

.bean_action_btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid #e5e7eb;
  color: #374151;
}

.bean_action_btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bean_action_btn.bean_write_btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
}

.bean_action_btn.bean_write_btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.bean_action_btn.bean_manage_btn {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  border: none;
}

.bean_action_btn.bean_manage_btn:hover {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  box-shadow: 0 6px 20px rgba(75, 85, 99, 0.4);
}

.bean_action_btn.bean_setting_btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  border: none;
}

.bean_action_btn.bean_setting_btn:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.bean_action_btn.bean_search_btn {
  background: #10b981;
  color: white;
  border: none;
}

.bean_action_btn.bean_search_btn:hover {
  background: #059669;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.bean_action_btn.bean_modify_btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
}

.bean_action_btn.bean_modify_btn:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.bean_action_btn.bean_delete_btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
}

.bean_action_btn.bean_delete_btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.bean_action_btn.bean_tag_btn {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.bean_action_btn.bean_tag_btn:hover {
  background: #e5e7eb;
  color: #1f2937;
}

.bean_empty_products {
  text-align: center;
  padding: 100px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin: 40px 0;
}

.bean_empty_icon {
  font-size: 80px;
  margin-bottom: 24px;
  opacity: 0.6;
  display: block;
}

.bean_empty_products h3 {
  margin: 0 0 16px 0;
  font-size: 28px;
  color: #1f2937;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.bean_empty_products p {
  margin: 0;
  font-size: 18px;
  color: #6b7280;
  font-weight: 400;
}

.bean_products_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
  background: transparent;
}

.bean_product_card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.bean_product_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: #3b82f6;
}

.bean_notice_product {
  border: 2px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  position: relative;
}

.bean_notice_product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.bean_product_badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bean_product_image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f9fafb;
  border-bottom: 1px solid #f3f4f6;
}

.bean_product_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bean_product_card:hover .bean_product_image img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.bean_product_image .bean_no_image_placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
}

.bean_product_image .bean_no_image_icon {
  font-size: 56px;
  opacity: 0.4;
  color: #6b7280;
}

.bean_quick_actions {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.bean_product_card:hover .bean_quick_actions {
  opacity: 1;
  transform: translateY(0);
}

.bean_quick_buy {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #3b82f6;
  color: white;
}

.bean_quick_buy:hover {
  background: #2563eb;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

.bean_admin_controls {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
}

.bean_admin_check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #d1d5db;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bean_admin_check:checked {
  background: #3b82f6;
  border-color: #3b82f6;
}

.bean_comment_badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.bean_list_footer {
  padding: 40px 20px;
  box-sizing: border-box;
}

/* ==========================================================================
   모달
   ========================================================================== */
.bean_modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
}

.bean_modal_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.bean_modal_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow: auto;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.bean_modal_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.bean_modal_header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
}

.bean_modal_close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.bean_modal_close:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.bean_modal_body {
  padding: 24px;
}

.bean_search_field {
  margin-bottom: 20px;
}

.bean_search_field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.bean_modal_select,
.bean_modal_input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.bean_modal_select:focus,
.bean_modal_input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bean_modal_footer {
  display: flex;
  gap: 12px;
  padding: 0 24px 24px;
  justify-content: flex-end;
}

.bean_modal_submit,
.bean_modal_cancel {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bean_modal_submit {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  min-width: 100px;
}

.bean_modal_submit:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.bean_modal_cancel {
  background: #f3f4f6;
  color: #6b7280;
}

.bean_modal_cancel:hover {
  background: #e5e7eb;
  color: #374151;
}

.bean_modal_extra {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.bean_modal_extra .bean_search_next {
  color: #3b82f6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.bean_modal_extra .bean_search_next:hover {
  text-decoration: underline;
}

/* ==========================================================================
   페이지네이션
   ========================================================================== */
.bean_pagination,
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.bean_page_btn,
.bean_page_current,
.pagination a,
.pagination strong {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 44px;
  text-align: center;
}

.bean_page_btn:hover,
.pagination a:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #1f2937;
  text-decoration: none;
}

.bean_page_current,
.pagination strong {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
  font-weight: 600;
}

.bean_page_first,
.bean_page_last {
  font-size: 14px;
}

.feedback .pagination {
  text-align: center;
  padding: 24px;
  border-top: 1px solid #f3f4f6;
  background: #fafbfc;
}

.pagination a,
.pagination strong {
  margin: 0 2px;
  padding: 8px 12px;
  border-radius: 6px;
}

/* ==========================================================================
   문의 섹션
   ========================================================================== */
.bean_inquiry_section {
  padding: 0;
}

.bean_inquiry_section h4 {
  margin-bottom: 24px;
  font-size: 22px;
  color: #1f2937;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 3px solid #3b82f6;
  position: relative;
}

.bean_inquiry_section h4::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #1d4ed8;
}

.feedback {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  margin-top: 20px;
  overflow: hidden;
}

.feedback .fbHeader {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feedback .fbHeader h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback .fbHeader h2::before {
  content: '';
  display: none;
}

.feedback .fbHeader h2 em {
  color: #3b82f6;
  font-style: normal;
  font-weight: 700;
}

.feedback .fbHeader .wComment {
  background: #3b82f6;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.feedback .fbHeader .wComment:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  color: white;
  text-decoration: none;
}

.feedback .fbList {
  padding: 0;
  margin: 0;
  list-style: none;
}

.feedback .fbItem {
  border-bottom: 1px solid #f3f4f6;
  padding: 24px;
  transition: background-color 0.2s ease;
}

.feedback .fbItem:last-child {
  border-bottom: none;
}

.feedback .fbItem:hover {
  background: #fafbfc;
}

.feedback .fbMeta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.feedback .fbMeta .profile {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.feedback .fbMeta .authorInfo {
  flex: 1;
}

.feedback .author {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.feedback .author a {
  color: inherit;
  text-decoration: none;
}

.feedback .author a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.feedback .time {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback .time::before {
  content: '';
  display: none;
}

.feedback .xe_content {
  margin: 0;
  color: #374151;
  line-height: 1.6;
  font-size: 15px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #e5e7eb;
}

.feedback .xe_content p {
  margin: 0 0 12px 0;
}

.feedback .xe_content p:last-child {
  margin-bottom: 0;
}

.feedback .action {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.feedback .action a {
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.feedback .action a.reply {
  background: #e0f2fe;
  color: #0277bd;
  border: 1px solid #b3e5fc;
}

.feedback .action a.reply:hover {
  background: #b3e5fc;
  color: #01579b;
  text-decoration: none;
}

.feedback .action a.modify {
  background: #fff3e0;
  color: #ef6c00;
  border: 1px solid #ffcc02;
}

.feedback .action a.modify:hover {
  background: #ffcc02;
  color: #e65100;
  text-decoration: none;
}

.feedback .action a.delete {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.feedback .action a.delete:hover {
  background: #ffcdd2;
  color: #b71c1c;
  text-decoration: none;
}

.feedback .action .vote {
  color: #6b7280;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.feedback .action .vote::before {
  content: '';
  display: none;
}

/* 댓글 들여쓰기 */
.feedback .indent1 { margin-left: 24px; }
.feedback .indent2 { margin-left: 48px; }
.feedback .indent3 { margin-left: 72px; }
.feedback .indent4 { margin-left: 96px; }
.feedback .indent5 { margin-left: 120px; }

/* 댓글 작성 폼 */
.write_comment {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}

.write_comment textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.write_comment textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.write_comment textarea::placeholder {
  color: #9ca3af;
}

.write_comment .write_author {
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.write_comment .write_author input {
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.write_comment .write_author input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.write_comment .btnArea {
  text-align: right;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.bean_inquiry_submit_btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.bean_inquiry_submit_btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.bean_comment_form_container {
  padding: 0;
  box-sizing: border-box;
}

.context_data {
  padding: 20px;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-sizing: border-box;
}

.context_data h3.author {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.context_data h3.author a {
  color: #3b82f6;
  text-decoration: none;
}

.context_data h3.author a:hover {
  text-decoration: underline;
}

.bean_bottom_container {
  padding: 0 20px;
  box-sizing: border-box;
}

.feedback .empty_comment {
  text-align: center;
  padding: 60px 24px;
  color: #9ca3af;
}

.feedback .empty_comment::before {
  content: '';
  display: none;
}

.feedback .empty_comment p {
  margin: 0;
  font-size: 16px;
  color: #6b7280;
}

/* ==========================================================================
   태그 리스트 페이지
   ========================================================================== */
.bean_tag_header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 16px;
  border: 1px solid #bae6fd;
}

.bean_tag_title {
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: 800;
  color: #0c4a6e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: -0.5px;
}

.bean_tag_icon {
  font-size: 36px;
  animation: bounce 2s infinite;
}

.bean_tag_count {
  font-size: 18px;
  color: #0369a1;
  font-weight: 500;
  background: white;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #7dd3fc;
}

.bean_tag_description {
  margin: 0;
  font-size: 16px;
  color: #0c4a6e;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.tagList {
  margin: 0 auto 40px;
  padding: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  min-height: 400px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid #e5e7eb;
}

.tagList a {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tagList a::before {
  content: '#';
  margin-right: 4px;
  opacity: 0.7;
  font-weight: 400;
}

.bean_tag_item_count {
  margin-left: 6px;
  font-size: 0.85em;
  opacity: 0.9;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 10px;
}

.tagList a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.tagList a:hover::after {
  width: 300px;
  height: 300px;
}

/* 태그 랭크별 스타일 */
.tagList a.rank1 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-size: 22px;
  padding: 16px 32px;
  transform: scale(1.1);
  z-index: 5;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.tagList a.rank1:hover {
  transform: scale(1.2) rotate(-2deg);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.4);
}

.tagList a.rank2 {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  font-size: 19px;
  padding: 14px 28px;
  z-index: 4;
}

.tagList a.rank2:hover {
  transform: scale(1.15) rotate(2deg);
  box-shadow: 0 10px 35px rgba(59, 130, 246, 0.4);
}

.tagList a.rank3 {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  font-size: 17px;
  padding: 12px 24px;
  z-index: 3;
}

.tagList a.rank3:hover {
  transform: scale(1.1) rotate(-1deg);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.tagList a.rank4 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  font-size: 15px;
  padding: 10px 20px;
  z-index: 2;
}

.tagList a.rank4:hover {
  transform: scale(1.08) rotate(1deg);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.tagList a.rank5 {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  font-size: 14px;
  padding: 8px 18px;
  z-index: 1;
}

.tagList a.rank5:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(107, 114, 128, 0.4);
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .8;
  }
}

.tagList a[data-count]::after {
  content: attr(data-count);
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tagFooter {
  margin: 20px auto;
  padding: 20px;
  text-align: center;
}

.tagFooter .btn {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tagFooter .btn::before {
  content: '←';
  font-size: 18px;
}

.tagFooter .btn:hover {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bean_tag_empty {
  text-align: center;
  padding: 80px 20px;
  width: 100%;
}

.bean_tag_empty_icon {
  font-size: 64px;
  display: block;
  margin-bottom: 20px;
  opacity: 0.5;
}

.bean_tag_empty p {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #374151;
  font-weight: 600;
}

.bean_tag_empty_sub {
  font-size: 16px !important;
  color: #6b7280 !important;
  font-weight: 400 !important;
}

.tagList.cloud {
  perspective: 600px;
  transform-style: preserve-3d;
}

.tagList.cloud a {
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

.tagList.cloud a:nth-child(even) {
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-10px) rotateX(5deg);
  }
}

/* ==========================================================================
   모바일 미디어 쿼리
   ========================================================================== */
@media (max-width: 768px) {
  /* 상품 상세 페이지 - 메인이미지와 상품정보 수직 배치 */
  .bean_product_layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .bean_product_images {
    max-width: 100%;
    width: 100%;
  }
  
  .bean_product_info {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }
  
  /* 수량 선택 버튼 높이 통일 */
  .bean_quantity_btn {
    height: 36px;
  }
  
  .bean_quantity_input {
    height: 36px;
  }
  
  /* 액션 버튼들 수직 배치 */
  .bean_action_buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .bean_product_container .bean_btn_buy,
  .bean_product_container .bean_btn_cart,
  .bean_product_container .bean_btn_list {
    width: 100%;
    flex: none;
  }
}

/* ==========================================================================
   플로팅 구매 버튼
   ========================================================================== */
.bean_floating_buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 12px 20px;
  border-top: 1px solid #e5e7eb;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.bean_floating_container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.bean_floating_btn {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: none;
}

.bean_floating_btn i {
  font-size: 18px;
}

.bean_floating_btn span {
  display: inline-block;
}

.bean_floating_buy {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.bean_floating_buy:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.bean_floating_cart {
  background: white;
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.bean_floating_cart:hover {
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.bean_floating_list {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  flex: 0 0 100px;
}

.bean_floating_list:hover {
  background: #e5e7eb;
  color: #374151;
  transform: translateY(-2px);
  text-decoration: none;
}

/* 플로팅 버튼 모바일 반응형 */
@media (max-width: 768px) {
  .bean_floating_buttons {
    padding: 10px;
  }
  
  .bean_floating_container {
    gap: 6px;
  }
  
  .bean_floating_btn {
    height: 44px;
    font-size: 12px;
  }
  
  .bean_floating_btn i {
    font-size: 16px;
  }
  
  .bean_floating_btn span {
    display: none;
  }
  
  .bean_floating_list {
    flex: 0 0 60px;
  }
}

@media (max-width: 480px) {
  .bean_floating_btn i {
    font-size: 20px;
  }
}

/* ==========================================================================
   폼 페이지 공통 스타일
   ========================================================================== */
.bean_form_container {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bean_form_card {
  width: 100%;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.bean_form_card.bean_form_compact {
  max-width: 450px;
  margin: 0 auto;
}

.bean_form_header {
  text-align: center;
  padding: 40px 20px 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e5e7eb;
}

.bean_form_icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
}

.bean_icon_delete {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.bean_icon_lock {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.bean_form_title {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
}

.bean_form_subtitle {
  margin: 0;
  font-size: 16px;
  color: #6b7280;
  font-weight: 400;
}

.bean_form_body {
  padding: 30px;
}

/* 컨텍스트 데이터 */
.bean_context_data {
  margin: 30px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.bean_context_title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #1f2937;
}

.bean_context_title i {
  font-size: 20px;
  color: #6b7280;
}

.bean_context_title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.bean_context_author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #4b5563;
  font-size: 14px;
}

.bean_context_author i {
  font-size: 16px;
  color: #9ca3af;
}

.bean_context_author strong,
.bean_context_author a {
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
}

.bean_context_author a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.bean_context_content {
  padding: 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  line-height: 1.6;
  color: #374151;
  font-size: 14px;
  max-height: 200px;
  overflow-y: auto;
}

/* 입력 그룹 */
.bean_input_group {
  margin-bottom: 24px;
}

.bean_input_label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.bean_input_label i {
  font-size: 16px;
  color: #6b7280;
}

.bean_input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s ease;
  background: white;
  box-sizing: border-box;
}

.bean_input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 경고 메시지 */
.bean_warning_message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #92400e;
}

.bean_warning_message i {
  font-size: 18px;
  color: #d97706;
}

.bean_warning_danger {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.bean_warning_danger i {
  color: #dc2626;
}

/* 폼 액션 버튼 */
.bean_form_actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.bean_btn_cancel,
.bean_btn_primary,
.bean_btn_delete {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  justify-content: center;
}

.bean_btn_cancel {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.bean_btn_cancel:hover {
  background: #e5e7eb;
  color: #374151;
  transform: translateY(-2px);
}

.bean_btn_primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.bean_btn_primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.bean_btn_delete {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.bean_btn_delete:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* 반응형 */
@media (max-width: 768px) {
  .bean_form_container {
    padding: 10px;
    margin: 20px auto;
  }
  
  .bean_form_header {
    padding: 30px 20px 20px;
  }
  
  .bean_form_icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .bean_form_title {
    font-size: 24px;
  }
  
  .bean_form_subtitle {
    font-size: 14px;
  }
  
  .bean_form_body {
    padding: 20px;
  }
  
  .bean_context_data {
    margin: 20px;
    padding: 16px;
  }
  
  .bean_form_actions {
    flex-direction: column;
  }
  
  .bean_btn_cancel,
  .bean_btn_primary,
  .bean_btn_delete {
    width: 100%;
  }
}

/* ==========================================================================
   글쓰기 폼 스타일
   ========================================================================== */
.bean_write_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.bean_write_header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e5e7eb;
}

.bean_write_title {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.bean_write_title i {
  font-size: 28px;
  color: #3b82f6;
}

.bean_write_subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.bean_write_form {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.bean_write_section {
  padding: 30px;
  border-bottom: 1px solid #f3f4f6;
}

.bean_write_section:last-of-type {
  border-bottom: none;
}

.bean_section_title {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bean_section_title i {
  font-size: 20px;
  color: #6b7280;
}

/* 폼 그룹 */
.bean_form_group {
  margin-bottom: 20px;
}

.bean_form_row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.bean_form_label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}

.bean_form_label i {
  font-size: 14px;
  color: #9ca3af;
}

.bean_form_label.bean_required::after {
  content: '*';
  color: #ef4444;
  margin-left: 4px;
}

.bean_form_help {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 6px;
}

/* 입력 필드 */
.bean_text_input,
.bean_select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s ease;
  background: white;
  box-sizing: border-box;
}

.bean_text_input:focus,
.bean_select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bean_text_input::placeholder {
  color: #9ca3af;
}

/* 체크박스와 라디오 */
.bean_options_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.bean_checkbox_label,
.bean_radio_label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #4b5563;
}

.bean_checkbox,
.bean_radio {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.bean_radio_group {
  margin-bottom: 20px;
}

.bean_radio_options {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

/* 에디터 영역 */
.bean_editor_wrapper {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  min-height: 400px;
}

.bean_editor_wrapper:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 추가 정보 입력 */
.bean_extra_input input[type="text"],
.bean_extra_input textarea,
.bean_extra_input select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.bean_extra_input input[type="text"]:focus,
.bean_extra_input textarea:focus,
.bean_extra_input select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 확장변수 체크박스 스타일 */
.bean_extra_input .rx_ev_checkbox {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.bean_extra_input .rx_ev_checkbox li {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.bean_extra_input .rx_ev_checkbox li:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.bean_extra_input .rx_ev_checkbox li:has(input:checked) {
  background: #eff6ff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bean_extra_input .rx_ev_checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  margin-right: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.bean_extra_input .rx_ev_checkbox label {
  cursor: pointer;
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
  user-select: none;
  margin: 0;
  flex: 1;
}

.bean_extra_input .rx_ev_checkbox li:has(input:checked) label {
  color: #1d4ed8;
  font-weight: 600;
}

/* 뱃지별 특별 스타일 */
.bean_extra_input .rx_ev_checkbox li:has(input[value="hot"]:checked) {
  background: #fef2f2;
  border-color: #ef4444;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="hot"]:checked) label {
  color: #dc2626;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="new"]:checked) {
  background: #f0fdf4;
  border-color: #10b981;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="new"]:checked) label {
  color: #059669;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="sale"]:checked) {
  background: #fef3c7;
  border-color: #f59e0b;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="sale"]:checked) label {
  color: #d97706;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="soldout"]:checked) {
  background: #f3f4f6;
  border-color: #6b7280;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="soldout"]:checked) label {
  color: #374151;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="event"]:checked) {
  background: #faf5ff;
  border-color: #a855f7;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="event"]:checked) label {
  color: #9333ea;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="best"]:checked) {
  background: #fefce8;
  border-color: #facc15;
}

.bean_extra_input .rx_ev_checkbox li:has(input[value="best"]:checked) label {
  color: #ca8a04;
}

/* 확장변수 라디오 버튼 스타일 */
.bean_extra_input input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
}

.bean_extra_input .rx_ev_radio {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.bean_extra_input .rx_ev_radio label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #4b5563;
  padding: 8px 12px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.bean_extra_input .rx_ev_radio label:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.bean_extra_input .rx_ev_radio label:has(input:checked) {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  font-weight: 600;
}

/* 캡차 */
.bean_captcha_wrapper {
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* 액션 버튼 */
.bean_write_actions {
  padding: 30px;
  background: #f9fafb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #e5e7eb;
}

.bean_actions_left,
.bean_actions_right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.bean_btn_cancel,
.bean_btn_temp,
.bean_btn_load,
.bean_btn_submit {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.bean_btn_cancel {
  background: white;
  color: #6b7280;
  border: 2px solid #e5e7eb;
}

.bean_btn_cancel:hover {
  background: #f3f4f6;
  color: #374151;
  transform: translateY(-2px);
}

.bean_btn_temp {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.bean_btn_temp:hover {
  background: #e5e7eb;
  color: #374151;
}

.bean_btn_load {
  background: white;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.bean_btn_load:hover {
  background: #eff6ff;
  transform: translateY(-2px);
}

.bean_btn_submit {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  font-size: 16px;
  padding: 14px 32px;
}

.bean_btn_submit:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* 반응형 */
@media (max-width: 768px) {
  .bean_write_container {
    padding: 10px;
  }
  
  .bean_write_title {
    font-size: 24px;
  }
  
  .bean_write_section {
    padding: 20px;
  }
  
  .bean_form_row {
    grid-template-columns: 1fr;
  }
  
  .bean_write_actions {
    flex-direction: column;
    gap: 20px;
  }
  
  .bean_actions_left,
  .bean_actions_right {
    width: 100%;
    justify-content: center;
  }
  
  .bean_btn_cancel,
  .bean_btn_temp,
  .bean_btn_load,
  .bean_btn_submit {
    flex: 1;
    justify-content: center;
  }
  
  .bean_radio_options {
    flex-direction: column;
    gap: 10px;
  }
  
  .bean_options_grid {
    flex-direction: column;
    gap: 10px;
  }
  
  /* 확장변수 체크박스 모바일 */
  .bean_extra_input .rx_ev_checkbox {
    grid-template-columns: 1fr;
  }
  
  .bean_extra_input .rx_ev_checkbox li {
    padding: 10px 14px;
  }
  
  .bean_extra_input .rx_ev_radio {
    flex-direction: column;
    gap: 10px;
  }
  
  .bean_extra_input .rx_ev_radio label {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   페이지네이션
   ========================================================================== */
.bean_list_footer {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
}

.bean_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.bean_page_btn,
.bean_page_current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bean_page_btn {
  background: white;
  border: 1px solid #e5e7eb;
  color: #6b7280;
}

.bean_page_btn:hover {
  background: #f9fafb;
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-2px);
}

.bean_page_btn span {
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

.bean_page_btn.bean_page_first span,
.bean_page_btn.bean_page_last span {
  font-size: 20px;
}

.bean_page_btn.bean_page_prev span,
.bean_page_btn.bean_page_next span {
  font-size: 24px;
}

.bean_page_current {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.bean_page_btn[style*="opacity: 0.5"] {
  cursor: not-allowed;
}

.bean_page_btn[style*="opacity: 0.5"]:hover {
  background: white;
  border-color: #e5e7eb;
  color: #9ca3af;
  transform: none;
}

/* 페이지네이션 모바일 */
@media (max-width: 768px) {
  .bean_pagination {
    gap: 4px;
  }
  
  .bean_page_btn,
  .bean_page_current {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
  
  .bean_page_btn.bean_page_number {
    display: none;
  }
  
  .bean_page_current,
  .bean_page_current + .bean_page_btn.bean_page_number,
  .bean_page_current + .bean_page_btn.bean_page_number + .bean_page_btn.bean_page_number,
  .bean_page_btn.bean_page_number + .bean_page_current,
  .bean_page_btn.bean_page_number + .bean_page_btn.bean_page_number + .bean_page_current {
    display: inline-flex;
  }
}

/* ==========================================================================
   댓글 로그인 안내
   ========================================================================== */
.bean_comment_login_notice {
  margin-top: 20px;
  padding: 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.bean_comment_login_notice p {
  margin: 0 0 20px 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

.bean_login_btn {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 12px 40px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.bean_login_btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none;
}

/* 댓글 폼 스타일 */
.bean_comment_form_wrapper {
  margin-top: 20px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.bean_comment_textarea_wrapper {
  margin-bottom: 16px;
}

.bean_comment_textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  resize: vertical;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}

.bean_comment_textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bean_inquiry_submit_btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bean_inquiry_submit_btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}