/* ---------------- - Visual_banner - ---------------- */

.visual_banner_outer {
  width: 1310px;
  height: 420px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  background-color: #F1E4D4;
}

.visual_banner {
  position: relative;
  width: 1310px;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

.visual_banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual_banner_outer .bx-wrapper .bx-pager {
  text-align: center;
  padding-top: 20px;
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.visual_banner_outer .bx-wrapper .bx-pager.bx-default-pager a {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 4px;
  background: #ffffff;
  border: 1px solid #BAD4DD;
  border-radius: 50%;
  box-sizing: border-box;
  text-indent: -9999px;
  opacity: 0.7;
  transition: background-color 0.3s, opacity 0.3s;
}

.visual_banner_outer .bx-wrapper .bx-pager.bx-default-pager a.active,
.visual_banner_outer .bx-wrapper .bx-pager.bx-default-pager a:hover {
  background: #2C5C6B;
  border: 1px solid #2C5C6B;
  opacity: 1;
}


/* ---------------- - Bread_crumb - ---------------- */

.Bread_crumb {
  width: 1310px;
  margin: 4px auto 12px auto;
  overflow: hidden;
}

.Bread_crumb ul {
  display: flex;
  align-items: center;
  padding: 0;
}

.Bread_crumb ul li {
  padding: 10px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.Bread_crumb ul li:first-child {
  padding-right: 4px;
}

.Bread_crumb li img {
  width: 18px;
  height: 18px;
}


/* ---------------- - Nav_Sub_page - ---------------- */

.header_container {
  max-width: 1310px;
  margin: 0 auto;
  margin-top: 32px;
}

.category_main_title {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  color: #333;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ddd;
}

.sub_nav_list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.sub_nav_item {
  display: flex;
  align-items: center;
}

.sub_nav_item a {
  display: block;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 400;
  color: #555;
  transition: color 0.2s;
  cursor: pointer;
}

.sub_nav_item a.active {
  font-weight: 700;
  color: #2C5C6B;
  border-bottom: 2px solid #2C5C6B;
  margin-bottom: -2px;
}

.sub_index_info {
  width: 1310px;
  margin: 0 auto 36px auto;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}

.btn_fillter {
  width: 16px;
  height: 16px;
}

.btn_fillter img {
  width: 16px;
  height: 16px;
}

.sort_dropdown_menu {
  width: 160px;
  background-color: #fff;
  border-radius: 0 0 6px 6px;
  display: none;
  position: absolute;
  z-index: 10;
  transition: opacity 0.2s, transform 0.2s;
}

.sort_dropdown_menu ul li {
  text-align: center;
  padding: 4px;
}

.sort_dropdown_menu ul li:hover {
  background-color: #BAD4DD;
}

#sort_toggle {
  display: none;
}

#sort_toggle:checked~.sort_dropdown_menu {
  display: block;
}

.coming_soon_message {
  width: 100%;
  padding: 100px 0;
  text-align: center;
  font-size: 20px;
  color: #666;
  grid-column: 1 / -1;
  line-height: 1.8;
  border: 1px dashed #ddd;
  margin-top: 40px;
}

.coming_soon_message p:first-child {
  font-weight: 700;
  color: #2C5C6B;
  font-size: 24px;
}


/* ------------------- 상품 목록 ------------------- */
.product_list_grid {
  width: 1310px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 80px auto;
}

.product_card {
  width: 430px;
  margin-bottom: 40px;
  box-sizing: border-box;
  text-align: left;
}

.frame_product_img {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 480px;
}

.product_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product_img:hover {
  transform: scale(1.05);
}

.heart_product {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  z-index: 5;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.heart_btn_img {
  width: 22px;
  height: 22px;
}


.heart_product:hover .heart_btn_img img {
  display: none;
}

.heart_product:hover .heart_btn_img::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-image: url('../img/like_icon_full.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.product_txt {
  padding: 16px 12px;
  line-height: 1.5;
}

.product_txt .Category_product a {
  font-size: 14px;
  font-weight: 500;
  color: #2C5C6B;
  margin: 0;
}

.product_txt p:nth-child(2) {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin: 5px 0;
}

.price_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 0;
}

.now_price {}

.price_info .discount_rate {
  font-size: 16px;
  font-weight: 700;
  color: #2C5C6B;
  margin-right: 10px;
}

.price_info .current_price {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  text-align: right;
}

.price_info .original_price {
  font-size: 14px;
  color: #aaa;
  text-decoration: line-through;
}

.product_actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.color_chips {
  display: flex;
  gap: 8px;
}

.color_chip {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ddd;
  cursor: pointer;
}

.color_chip.selected {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 3px #2C5C6B;
}

.cart_btn_product {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-right: 15px;
}

.cart_btn_product:hover {
  background-color: #555;
}

.cart_btn_product img {
  width: 20px;
  height: 20px;
}


/* ------------------- 이미지 스위칭을 위한 CSS ------------------- */

.product_img.color_switcher {
  position: relative;
  height: 480px;
}

.product_img .color_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product_img .color_img.active_img {
  opacity: 1;
}


/* ---------------- - Page_change - ---------------- */

.page_change_system {
  width: 1310px;
  margin: 0 auto;
}

.page_info {
  display: flex;
  text-align: center;
  justify-content: center;
  line-height: 40px;
  gap: 10px;
}

.page_info .num_page:hover a {
  font-weight: bold;
  text-decoration: dashed;
  color: #2C5C6B;
}

.page_info .btn_page {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #E4DED9;
}

.page_info .now_page {
  width: 40px;
  background-color: none;
  line-height: 40px;
  margin-left: 12px;
  font-weight: bold;
}

.page_info .index_page {
  width: 20px;
}

.page_change {
  text-align: right;
  margin-bottom: 60px;
}

.page_change input {
  width: 36px;
  text-align: center;
}

.page_change input:focus {
  placeholder: none;
}

.btn_page:hover {
  background-color: #2C5C6B;
}

.btn_page:hover a {
  color: white;
}

/* ---------------- - Footer - ---------------- */
.footer_outer {
  width: 100%;
  max-width: 2560px;
  background-color: #BAD4DD;
  padding: 12px 0;
  color: #333;
  font-size: 14px;
  margin: 0 auto;
}

.footer {
  width: 1310px;
  margin: 0 auto;
}

.footer_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
}

.footer_top ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

.footer_top ul li {
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.footer_top ul li:hover {
  color: #2C5C6B;
}

.footer_top ul:last-child {
  gap: 10px;
}

.footer_top ul:last-child li {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
}

.footer_top ul:last-child img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  line-height: 1.8;
}

.footer_bottom_left,
.footer_bottom_right {
  flex-basis: 50%;
}

.footer_bottom_left p,
.footer_bottom_right p {
  margin: 0;
  color: #444;
}

.footer_bottom_left p:first-child {
  font-size: 16px;
  font-weight: 700;
  color: #2C5C6B;
  margin-bottom: 5px;
}

.footer_bottom_left p:nth-child(3) {
  font-size: 24px;
  font-weight: 700;
  color: #2C5C6B;
  margin-bottom: 15px;
}

.footer_bottom_left p span {
  color: #0064AE;
  font-weight: 600;
  cursor: pointer;
  margin-left: 10px;
}

.footer_bottom_right p:first-child {
  font-weight: 600;
  margin-top: 5px;
}

.footer_logo {
  width: 80px;
  height: 80px;
  margin-top: 15px;
  opacity: 0.5;
}

.footer_logo img {
  width: 100%;
  height: 100%;
  margin-left: 480px;
}

/* ---------------- - Btn_top - ---------------- */

.btn_top {
  width: 52px;
  height: 52px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  display: none;
  position: fixed;
  bottom: 100px;
  right: 50%;
  transform: translateX(737px);
}

.btn_top:hover {
  background-color: #2C5C6B;
}

.btn_top:hover p {
  color: white;
}

.btn_top p {
  line-height: 52px;
  text-align: center;
  color: #2C5C6B;
  font-weight: bold;
  display: block;
}