/* #region 홈 공통 */
.home_section {
  margin-bottom: 6rem;
}

.home_section_title_wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.home_section_title_wrapper::before,
.home_section_title_wrapper::after {
  content: '';
  flex: 1;
  max-width: 100%;
  height: 0;
  border-top: 0.1rem dotted #666;
}

.home_section_title {
  color: #000;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 300;
}

.home_section_sub_title {
  color: #333;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 3.8rem;
}

.home_swiper_item {
  border-radius: 0.4rem;
  overflow: hidden;
}

.swiper_img_box {
  background-color: #fff;
  border-radius: 0.4rem;
  overflow: hidden;
  position: relative;
}

.swiper_left_arrow {
  display: none;
}

.home_card {
  width: 100%;
  padding: 6rem 2.6rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.home_card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.home_card p {
  color: #666;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.036rem;
  position: relative;
  z-index: 2;
}
/* #endregion 홈 공통 */

/* #region 메인 배너 */
.home_section.main_banner_section {
  margin-bottom: 0;
  margin-top: -8rem;
}

.home_section.main_banner_full_section {
  width: 100%;
  height: 50rem;
  padding: 0;
  margin: 0;
  margin-bottom: 5rem;
  position: relative;
}

.main_banner_full {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.main_banner_full img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.banner_slider_wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.banner_slide.active {
  position: relative;
  opacity: 1;
  z-index: 2;
}

.banner_slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.banner_slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* PC/모바일 이미지 전환 */
.banner_img_pc {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner_img_mobile {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 480px) {
  .banner_slide.has_mobile .banner_img_pc {
    display: none;
  }
  
  .banner_slide.has_mobile .banner_img_mobile {
    display: block;
  }
}

/* 배너 탭 컨트롤 */
.banner_tabs {
  width: 121.6rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.8rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.banner_tab {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 0;
  border-width: 0;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
}

.banner_tab.has_image {
  width: 18rem;
  min-height: 6rem;
  max-height: 6rem;
  border-radius: 0.4rem;
  border: 0;
  border-width: 0;
  background-color: #fff;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

.banner_tab.has_image img {
  width: 100%;
  display: block;
  border-radius: 0.2rem;
}

.banner_tab:hover {
  background-color: rgba(255, 255, 255, 0.5);
  width: 1.2rem;
  height: 1.2rem;
  border: 0;
  border-width: 0;
  padding: 0;
  margin: 0;
}

.banner_tab.has_image:hover {
  background-color: rgba(255, 255, 255, 0.2);
  width: 18rem;
  min-height: 6rem;
  max-height: 6rem;
  border: 0;
}

.banner_tab.active {
  background-color: transparent;
  width: 1.2rem;
  height: 1.2rem;
  border: 0;
  border-width: 0;
  padding: 0;
  margin: 0;
}

.banner_tab.has_image.active {
  background-color: #ffffff4d;
  width: 18rem;
  min-height: 6rem;
  max-height: 6rem;
  border: 0;
  border-width: 0;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 480px) {
  .banner_tabs {
    padding: 1rem 0;
    gap: 0.6rem;
  }
  
  .banner_tab {
    width: 1rem;
    height: 1rem;
  }
  
  .banner_tab:hover {
    width: 1rem;
    height: 1rem;
    border: 0;
    border-width: 0;
    padding: 0;
    margin: 0;
  }
  
  .banner_tab.active {
    width: 1rem;
    height: 1rem;
    border: 0;
    border-width: 0;
    padding: 0;
    margin: 0;
  }
  
  .banner_tab.has_image {
    width: 3rem;
    height: 3rem;
    min-height: 3rem;
    max-height: 3rem;
  }
  
  .banner_tab.has_image:hover {
    width: 3rem;
    height: 3rem;
    min-height: 3rem;
    max-height: 3rem;
    border: 0;
    border-width: 0;
    padding: 0;
    margin: 0;
  }
  
  .banner_tab.has_image.active {
    width: 3rem;
    height: 3rem;
    min-height: 3rem;
    max-height: 3rem;
    border: 0;
    border-width: 0;
    padding: 0;
    margin: 0;
  }
}

/* 히어로 배너 섹션 (Swiper + 우측 탭) */
.hero_banner_wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-height: 50rem;
}

.hero_banner_slider {
  flex: 1;
  width: calc(100% - 20rem);
  position: relative;
  overflow: hidden;
}

.hero_banner_swiper {
  width: 100%;
  height: 100%;
}

.hero_banner_slide {
  width: 100%;
  height: 100%;
}

.hero_banner_link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.hero_banner_image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero_banner_tabs {
  width: 20rem;
  flex-shrink: 0;
  background-color: #ffffff;
  border-left: 0.1rem solid #e1e1e1;
  padding: 2rem 0;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero_banner_tabs_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero_banner_tab_item {
  width: 100%;
  border-bottom: 0.1rem solid #e1e1e1;
}

.hero_banner_tab_item:last-child {
  border-bottom: none;
}

.hero_banner_tab_btn {
  width: 100%;
  padding: 1.5rem 1.2rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.hero_banner_tab_btn:hover {
  background-color: #f7f7f7;
}

.hero_banner_tab_item.active .hero_banner_tab_btn {
  background-color: #f5f5f5;
  border-left: 0.3rem solid var(--color-primary);
}

.hero_banner_tab_image {
  width: 100%;
  max-width: 8rem;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero_banner_tab_image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero_banner_tab_title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #333333;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.hero_banner_tab_item.active .hero_banner_tab_title {
  color: var(--color-primary);
  font-weight: 600;
}

.home_top_banner {
  height: 420px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.home_top_banner .swiper-wrapper {
  display: flex;
  align-items: center;
}

.home_top_banner .swiper-slide {
  display: block;
  width: 600px !important;
  height: 420px !important;
  flex-shrink: 0;
}

.home_top_banner .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.home_top_banner_controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  align-items: center;
  gap: 1.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: 0.8rem;
  z-index: 100;
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.banner_control_play_pause {
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid #E0E0E0;
  border-radius: 1rem;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.banner_control_play_pause:hover {
  background-color: #F5F5F5;
}

.banner_control_play_pause svg {
  color: #000000;
  width: 1.2rem;
  height: 1.1rem;
}

.banner_control_progress {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 20rem;
}

.banner_progress_bar {
  flex: 1;
  height: 0.4rem;
  background-color: #E0E0E0;
  border-radius: 0.2rem;
  overflow: hidden;
  position: relative;
}

.banner_progress_fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #222;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.banner_progress_counter {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 500;
  white-space: nowrap;
}

.banner_current_num {
  color: #333333;
  font-weight: 600;
}

.banner_separator {
  color: #999999;
  margin: 0 0.2rem;
}

.banner_total_num {
  color: #D3D4DA;
}

.banner_control_nav {
  display: flex;
  gap: 0.4rem;
}

.banner_control_prev,
.banner_control_next {
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid #E0E0E0;
  border-radius: 1rem;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.banner_control_prev:hover,
.banner_control_next:hover {
  background-color: #F5F5F5;
}

.banner_control_prev svg,
.banner_control_next svg {
  color: #000000;
  width: 0.8rem;
  height: 1rem;
}

.banner_control_prev.swiper-button-disabled,
.banner_control_next.swiper-button-disabled {
  opacity: 0.35;
  cursor: auto;
  pointer-events: none;
}
/* #endregion 메인 배너 */

/* #region 카테고리 네비게이션 */
.category_nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  width: 100%;
}

.category_shop_nav_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Pretendard;
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
  gap: 1.5rem;
  width: 100%;
}

.category_shop_nav_item img {
  width: 100%;
  transition: box-shadow 0.3s ease;
}

.category_shop_nav_item:hover img {
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.15);
}
/* #endregion 카테고리 네비게이션 */

/* #region 주간 베스트 섹션 */
.category_rankings_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.category_ranking_card {
  position: relative;
  background-color: #FFFFFF;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #DDDDDD;
}

/* 용도별 추천 섹션 카드 - flex 레이아웃으로 버튼 하단 고정 */
.purpose-recommend-section .category_ranking_card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: none;
}

.category_ranking_badge {
  width: 11rem;
  position: absolute;
  top: -1.1rem;
  left: -1.1rem;
  z-index: 10;
}

.category_ranking_header {
  color: #333;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 1.2rem 1.6rem;
  text-align: center;
  border-bottom: 1px solid #e3e3e3;
}

.category_ranking_purposes {
  color: #666;
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.5;
  border-bottom: 1px solid #e3e3e3;
}

.category_ranking_main_item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 1rem;
}

.category_ranking_main_img {
  width: 100%;
  margin-bottom: 1.2rem;
  border-radius: 0.4rem;
  overflow: hidden;
}

.category_ranking_main_img img {
  width: 100%;
  height: auto;
  display: block;
}

.category_ranking_item_name {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.category_ranking_item_name span {
  color: #666;
}

.category_ranking_price_box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.category_ranking_cust_price {
  font-size: 1.4rem;
  color: #999;
  text-decoration: line-through;
}

.category_ranking_price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-primary);
}

.category_ranking_sub_items {
  display: flex;
  flex-direction: column;
}

.category_ranking_sub_item {
  display: flex;
  gap: 1.2rem;
  text-decoration: none;
  color: inherit;
  padding: 1.2rem;
  border-top: 1px solid #DDDDDD;
}

.category_ranking_sub_rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  flex-shrink: 0;
}

.category_ranking_sub_rank_text {
  font-family: var(--font-dotum-regular-family);
  font-weight: var(--font-dotum-regular-weight);
  font-size: 1.5rem;
  color: #424242;
}

.category_ranking_sub_img {
  width: 8rem;
  min-width: 8rem;
  height: 8rem;
  overflow: hidden;
  background-color: #FFFFFF;
}

.category_ranking_sub_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category_ranking_sub_info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category_ranking_sub_info .category_ranking_item_name {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category_ranking_sub_info .category_ranking_price_box {
  gap: 0.6rem;
  flex-wrap: wrap;
}

.category_ranking_sub_info .category_ranking_cust_price {
  font-size: 1.4rem;
}

.category_ranking_sub_info .category_ranking_price {
  font-size: 1.4rem;
}

.category_ranking_go_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 95%;
  height: 5.2rem;
  background-color: #f5f5f5;
  border: 0.1rem solid #DDDDDD;
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin: 0 auto 1.5rem auto;
}

.category_ranking_go_btn:hover {
  background-color: #F7F7F7;
}

.category_ranking_go_btn svg {
  width: 0.8rem;
  height: 1.4rem;
}
/* #endregion 주간 베스트 섹션 */

/* #region 용도 카테고리 섹션 */
.purpose_category_nav {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.purpose_category_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  background-color: #f5f5f5;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
  min-height: 15rem;
}

.purpose_category_item:hover {
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.158);
}

.purpose_category_icon {
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.purpose_category_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.purpose_category_item:hover .purpose_category_icon {
  transform: scale(1.1);
}

.purpose_category_item:hover .purpose_category_icon img {
  filter: brightness(0.9) saturate(1.2);
}

.purpose_category_icon_placeholder {
  width: 6rem;
  height: 6rem;
  background-color: #F5F5F5;
  border-radius: 50%;
}

.purpose_category_text {
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  text-align: center;
  margin-bottom: 1.5rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purpose_category_btn {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.purpose_category_btn_red {
  background-color: #E74C3C;
  color: #FFFFFF;
}

.purpose_category_btn_white {
  background-color: #FFFFFF;
  color: #666666;
  border: 0.1rem solid #DDDDDD;
}

.purpose_category_btn svg {
  width: 0.8rem;
}
/* #endregion 용도 카테고리 섹션 */

/* #region 중앙 배너 */
.center_banner_wrapper {
  position: relative;
}

.center_banner_wrapper img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.center_banner_pc {
  display: block;
}

.center_banner_mobile {
  display: none;
}

@media screen and (max-width: 480px) {
  .center_banner_wrapper.has_mobile_image .center_banner_pc {
    display: none !important;
  }
  
  .center_banner_wrapper.has_mobile_image .center_banner_mobile {
    display: block !important;
  }
  
  .center_banner_wrapper:not(.has_mobile_image) .center_banner_pc {
    display: block !important;
  }
}
/* #endregion 중앙 배너 */

/* #region 홈 배너 섹션 */
.home_banner_section {
  margin-top: 6rem;
  position: relative;
}

.home_banner_section_header {
  position: absolute;
  top: -5rem;
  right: 0;
  z-index: 10;
}

.home_banner_admin_btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.4rem;
  transition: all 0.2s ease;
}

.home_banner_admin_btn:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.home_banner_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.home_banner_card {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  min-height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home_banner_card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.home_banner_card.banner_bg_pink {
  background-color: #FFE5E5;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 192, 203, 0.2) 0%, transparent 50%);
}

.home_banner_card.banner_bg_gray {
  background-color: #F5F5F5;
}

.home_banner_card.banner_bg_teal {
  background-color: #E0F7FA;
}

.home_banner_card.banner_bg_white {
  background-color: #FFFFFF;
  border: 0.1rem solid #E3E3E3;
}

.home_banner_link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.home_banner_image_full {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home_banner_image_full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* #endregion 홈 배너 섹션 */

/* #region 하단 배너 섹션 */
.bottom_banner_section {
  position: relative;
}

.bottom_banner_list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3.8rem;
}

.bottom_banner_item {
  position: relative;
  width: 100%;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.bottom_banner_item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.bottom_banner_link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.bottom_banner_image_wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.bottom_banner_image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* PC/모바일 이미지 전환 */
.bottom_banner_image_pc {
  display: block;
}

.bottom_banner_image_mobile {
  display: none;
}

@media screen and (max-width: 480px) {
  .bottom_banner_item.has_mobile_image .bottom_banner_image_pc {
    display: none;
  }
  
  .bottom_banner_item.has_mobile_image .bottom_banner_image_mobile {
    display: block;
  }
}

/* #endregion 하단 배너 섹션 */

/* #region 용도별 추천 섹션 */
/* 공통 카드 스타일은 주간베스트와 동일하므로 위에서 상속 */

/* 용도별 추천 섹션 전용 스타일 */

.purpose-recommend-section .category_ranking_header {
  border: none;
  padding-bottom: 0.4rem;
  flex-shrink: 0;
}

.purpose-recommend-section .category_ranking_purposes {
  border: none;
  padding-top: 0;
  flex-shrink: 0;
}

.purpose-recommend-section .category_ranking_go_btn {
  background-color: #fff;
  margin: 1rem auto;
  margin-top: 1rem;
  flex-shrink: 0;
}

.category_ranking_card .category_ranking_main_item {
  background-color: #fff;
  margin: 1rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.purpose-recommend-section .category_ranking_item_name,
.purpose-recommend-section .category_ranking_price_box {
  padding-left: 1.6rem;
}

/* 용도별 추천 섹션 메인 아이템 */
.purpose-recommend-section .category_ranking_main_item {
  flex-shrink: 0;
}

/* 카테고리별 색상 스타일 */
.category_ranking_card.purpose_basket {
  background-color: #F8F1E8;
}

.category_ranking_card.purpose_celebration {
  background-color: #F5E9E9;
}

.category_ranking_card.purpose_condolence {
  background-color: #EFEFEF;
}

.category_ranking_card.purpose_bouquet {
  background-color: #F6EDF2;
}

.category_ranking_card.purpose_foliage {
  background-color: #E9F1E7;
}

.category_ranking_card.purpose_orchid {
  background-color: #F9F0E9;
}

/* 카테고리별 헤더 색상 */
.category_ranking_card.purpose_basket .category_ranking_header {
  color: #8b6431;
}

.category_ranking_card.purpose_celebration .category_ranking_header {
  color: #bb2a2a;
}

.category_ranking_card.purpose_condolence .category_ranking_header {
  color: #555;
}

.category_ranking_card.purpose_bouquet .category_ranking_header {
  color: #6B46C1;
}

.category_ranking_card.purpose_foliage .category_ranking_header {
  color: #2D5016;
}

.category_ranking_card.purpose_orchid .category_ranking_header {
  color: #B8860B;
}

/* 용도별 추천 섹션 - 작은 상품 가로 2열 배치 */
.purpose_sub_items_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  flex-shrink: 0;
  height: 26rem;
  padding: 1rem;
  gap: 1rem;
}

.purpose_sub_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: none;
  gap: 0;
  height: 26rem;
  box-sizing: border-box;
  padding: 0 !important;
}

.purpose_sub_item:last-child {
  border-right: none;
}

.purpose_sub_item .category_ranking_sub_img {
  width: 100%;
  min-width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 0;
  flex-shrink: 0;
}

.purpose_sub_item .category_ranking_sub_info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-height: 0;
}

.purpose_sub_item .category_ranking_item_name {
  font-size: 1.5rem;
  margin-bottom: 0;
  padding-left: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.purpose_sub_item .category_ranking_price_box {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding-left: 0;
  width: 100%;
}

.purpose_sub_item .category_ranking_cust_price {
  font-size: 1.4rem;
}

.purpose_sub_item .category_ranking_price {
  font-size: 1.4rem;
}

/* 메인 상품 가격 표시 - 주간베스트와 동일하게 */
.category_ranking_main_item .category_ranking_price_box {
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
}
/* #endregion 용도별 추천 섹션 */

/* #region 베스트 상품 (주석 처리됨) */
.best_swiper {
  padding: 0 3rem;
}
/* #endregion 베스트 상품 */

/* #region MD 추천상품 (주석 처리됨) */
.md_recommend_swiper {
  padding: 0 7rem;
}

.md_recommend_swiper .home_swiper_item {
  background-color: #F7F7F7;
  border-radius: 1.4rem;
}

.md_recommend_swiper .swiper_img_box {
  border-radius: 1.4rem;
  overflow: hidden;
}

.md_recommend_swiper .swiper_item_content {
  padding: 1.2rem;
}

.md_recommend_swiper .item_card_name {
  margin-top: 0;
}
/* #endregion MD 추천상품 */

/* #region 반응형 스타일 */
@media screen and (max-width: 768px) {
  .home_section.main_banner_section {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    margin-top: 0;
  }

  .home_section.main_banner_full_section {
    margin-top: 0;
    width: 100%;
    height: 50rem;
  }

  .main_banner_full {
    width: 100%;
    height: 100%;
  }

  .main_banner_full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home_top_banner {
    width: 100%;
    margin-top: 0rem;
    margin-left: 0;
    margin-right: 0;
    height: auto;
  }

  .home_top_banner .swiper-slide {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 600 / 420;
  }

  .home_top_banner_controls {
    display: none !important;
  }

  .banner_control_play_pause,
  .banner_control_prev,
  .banner_control_next {
    width: 2.8rem;
    height: 2.8rem;
  }

  .banner_control_progress {
    min-width: 15rem;
    gap: 1rem;
  }

  .banner_progress_counter {
    font-size: 1.2rem;
  }

  .home_section.main_banner_full_section {
    margin-top: 0;
  }
  
  .hero_banner_wrapper {
    flex-direction: column;
    min-height: auto;
  }
  
  .hero_banner_slider {
    width: 100%;
  }
  
  .hero_banner_tabs {
    width: 100%;
    border-left: none;
    border-top: 0.1rem solid #e1e1e1;
    padding: 1rem 0;
  }
  
  .hero_banner_tabs_list {
    flex-direction: row;
    overflow-x: auto;
    padding: 0 1rem;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero_banner_tab_item {
    flex-shrink: 0;
    width: auto;
    min-width: 10rem;
    border-bottom: none;
    border-right: 0.1rem solid #e1e1e1;
  }
  
  .hero_banner_tab_item:last-child {
    border-right: none;
  }
  
  .hero_banner_tab_btn {
    padding: 1rem 0.8rem;
    min-width: 10rem;
  }
  
  .hero_banner_tab_image {
    max-width: 6rem;
  }
  
  .hero_banner_tab_title {
    font-size: 1.2rem;
  }
  
  .hero_banner_tab_item.active .hero_banner_tab_btn {
    border-left: none;
    border-bottom: 0.3rem solid var(--color-primary);
  }
}

@media screen and (max-width: 480px) {
  .home_top_banner .swiper-slide {
    width: 100% !important;
    height: auto !important;
  }

  .hero_banner_tab_image {
    max-width: 5rem;
  }
  
  .hero_banner_tab_title {
    font-size: 1.1rem;
  }
}

@media screen and (min-width: 768px) {
  .home_section {
    margin-bottom: 8rem;
  }

  .home_section_title_wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .home_section_title {
    font-size: 3.0rem;
  }

  .home_section_sub_title {
    font-size: 1.6rem;
  }

  .home_card {
    width: 100%;
    padding: 3.8rem 4.8rem;
    margin-bottom: 2rem;
  }

  .home_card h5 {
    font-size: 2.4rem;
  }

  .home_card p {
    font-size: 1.6rem;
  }

  .category_rankings_grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.4rem;
  }

  .home_banner_grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media screen and (min-width: 900px) {
  .home_top_banner {
    height: 60rem;
    aspect-ratio: unset;
    max-width: 1824px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .home_top_banner .common_swiper_prev {
    left: calc(50vw - 912px - 2rem);
  }

  .home_top_banner .common_swiper_next {
    right: calc(50vw - 912px - 2rem);
  }
}

@media screen and (min-width: 1024px) {
  .home_section {
    margin-bottom: 10rem;
  }

  .home_section_title_wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .home_section_title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -1px;
  }

  .home_section_title strong {
    font-weight: 500;
  }

  .swiper_img_box {
    border-radius: 2rem;
  }

  .width_max_1280_mobile .common_swiper_prev,
  .width_max_1280 .common_swiper_prev {
    left: 0;
  }

  .width_max_1280_mobile .common_swiper_next,
  .width_max_1280 .common_swiper_next {
    right: 0;
  }

  .home_card {
    padding: 6.8rem 7.4rem;
    border-radius: 1rem;
    margin-bottom: 4rem;
  }

  .home_card h5 {
    font-size: 2.8rem;
  }

  .home_card p {
    font-size: 1.8rem;
  }

  .best_swiper {
    padding: 0 2.5rem;
  }

  .best_swiper .swiper-slide img {
    border-radius: 2rem;
  }

  .md_recommend_swiper {
    padding: 0;
  }

  .md_recommend_swiper .swiper_item_content {
    padding: 2.6rem 3rem;
  }

  .category_rankings_grid {
    gap: 3.2rem;
  }

  .category_ranking_header {
    font-size: 1.8rem;
    padding: 1.4rem 2rem;
  }

  .category_ranking_item_name {
    font-size: 2rem;
  }

  .category_ranking_price {
    font-size: 2.4rem;
  }

  .category_ranking_sub_item {
    padding: 1rem;
  }

  .category_ranking_sub_img {
    width: 10rem;
    min-width: 10rem;
    height: 10rem;
  }

  .category_ranking_sub_info .category_ranking_item_name {
    font-size: 1.6rem;
  }

  .category_ranking_sub_info .category_ranking_price {
    font-size: 2rem;
  }

  .category_ranking_go_btn {
    height: 5.6rem;
    font-size: 1.6rem;
  }

  .purpose_sub_item .category_ranking_sub_img {
    height: auto;
    aspect-ratio: 1;
  }

  .purpose_sub_item .category_ranking_item_name {
    font-size: 1.4rem;
  }

  .purpose_sub_item .category_ranking_cust_price {
    font-size: 1.4rem;
  }

  .purpose_sub_item .category_ranking_price {
    font-size: 1.4rem;
  }

  .purpose_category_nav {
    gap: 1.2rem;
  }

  /* 카테고리 네비게이션 */
  .category_shop_nav {
    gap: 1.8rem;
  }

  .category_shop_nav_item img {
    width: 100%;
  }
}

@media screen and (min-width: 1200px) {
  .swiper_left_arrow {
    display: block;
  }

  .category_rankings_grid {
    gap: 4rem;
  }
}

@media screen and (min-width: 1400px) {
  .category_rankings_grid {
    gap: 2rem 1.5rem;
  }

  .home_banner_grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2.4rem;
  }

  .home_banner_card {
    min-height: 28rem;
  }

  .home_banner_admin_btn {
    font-size: 1.6rem;
    padding: 1rem 2rem;
  }
}

/* #region 모바일 반응형 스타일 */
@media screen and (max-width: 768px) {
  /* 홈 섹션 공통 */
  .home_section {
    margin-bottom: 4rem;
  }

  .home_section_header {
    margin-bottom: 2rem;
  }

  .home_section_title_wrapper {
    gap: 1rem;
    margin-bottom: 0.8rem;
  }

  .home_section_title_wrapper::before,
  .home_section_title_wrapper::after {
    display: none;
  }

  .home_section_title {
    font-size: 2rem;
  }

  .home_section_sub_title {
    margin-bottom: 2.4rem;
  }

  /* 메인 배너 */
  .home_section.main_banner_full_section {
    height: 30rem;
    margin-bottom: 3rem;
  }

  /* 카테고리 네비게이션 */
  .category_nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
  }

  .category_shop_nav {
    gap: 0.8rem;
  }

  /* 주간 베스트 섹션 */
  .category_rankings_grid {
    gap: 1.6rem;
  }

  .category_ranking_badge {
    top: -1rem;
    left: -1rem;
  }

  .category_ranking_purposes {
    font-size: 1.2rem;
    padding: 0.8rem 1.2rem;
  }

  .category_ranking_item_name {
    padding-left: 0;
  }

  .category_ranking_price_box {
    padding-left: 0;
    gap: 0.6rem;
  }

  .category_ranking_sub_item {
    padding: 1rem;
    gap: 0.8rem;
  }

  .category_ranking_sub_img {
    width: 6rem;
    min-width: 6rem;
    height: 6rem;
  }

  .category_ranking_sub_info .category_ranking_item_name {
    margin-bottom: 0.4rem;
  }

  .category_ranking_go_btn {
    height: 4.4rem;
    margin-bottom: 1.2rem;
  }

  /* 용도 카테고리 섹션 */
  .purpose_category_nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  /* 모바일에서 7번째, 8번째 항목 숨기기 */
  .purpose_category_nav .purpose_category_item:nth-child(7),
  .purpose_category_nav .purpose_category_item:nth-child(8) {
    display: none;
  }

  .purpose_category_item {
    padding: 1.5rem 1rem;
    min-height: 12rem;
  }

  .purpose_category_icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
  }

  .purpose_category_icon_placeholder {
    width: 5rem;
    height: 5rem;
  }

  .purpose_category_text {
    font-size: 1.4rem;
    margin-bottom: 0;
  }

  .purpose_category_btn {
    width: 3rem;
    height: 3rem;
  }

  .purpose_category_btn svg {
    width: 1rem;
    height: 1.8rem;
  }

  /* 중앙 배너 */
  .center_banner_wrapper {
    padding: 2rem 1.6rem;
  }

  /* 홈 배너 섹션 */
  .home_banner_section {
    margin-top: 4rem;
  }

  .home_banner_section_header {
    top: 0.5rem;
  }

  .home_banner_admin_btn {
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
  }

  .home_banner_grid {
    gap: 1.2rem;
  }

  .home_banner_card {
    min-height: 16rem;
  }

  /* 용도별 추천 섹션 */
  .purpose_sub_items_grid {
    grid-template-columns: 1fr;
    height: auto;
    border-bottom: none;
  }

  .purpose_sub_item {
    border-right: none;
    height: auto;
    padding: 1.2rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .purpose_sub_item:last-child {
    border-bottom: none;
  }

  .purpose_sub_item .category_ranking_sub_img {
    width: 8rem;
    min-width: 8rem;
    height: 8rem;
    aspect-ratio: 1;
  }

  .purpose_sub_item .category_ranking_sub_info {
    align-items: flex-start;
    justify-content: center;
  }

  .purpose_sub_item .category_ranking_item_name {
    text-align: left;
    min-height: auto;
  }

  .purpose_sub_item .category_ranking_price_box {
    justify-content: flex-start;
  }

  /* 하단 배너 섹션 */
  .bottom_banner_list {
    gap: 1.2rem;
    margin-top: 2.4rem;
  }
}

@media screen and (max-width: 480px) {
  /* 홈 섹션 공통 */
  .home_section {
    margin-bottom: 3rem;
  }

  .home_section_title {
    font-size: 1.8rem;
  }

  .home_section_sub_title {
    margin-bottom: 2rem;
  }

  /* 메인 배너 */
  .home_section.main_banner_full_section {
    height: 20rem;
    margin-bottom: 2.4rem;
  }

  /* 주간 베스트 섹션 */
  .category_ranking_purposes {
    padding: 0.6rem 1rem;
  }

  .category_ranking_sub_item {
    padding: 0.8rem;
    gap: 0.6rem;
  }

  .category_ranking_sub_img {
    width: 5rem;
    min-width: 5rem;
    height: 5rem;
  }
  
  .category_ranking_go_btn {
    height: 4rem;
  }

  /* 용도 카테고리 섹션 */
  .purpose_category_nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  /* 모바일에서 7번째, 8번째 항목 숨기기 */
  .purpose_category_nav .purpose_category_item:nth-child(7),
  .purpose_category_nav .purpose_category_item:nth-child(8) {
    display: none;
  }

  .purpose_category_item {
    padding: 1.2rem 0.8rem;
    min-height: 11rem;
  }

  .purpose_category_icon {
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 0.8rem;
  }

  .purpose_category_icon_placeholder {
    width: 4.5rem;
    height: 4.5rem;
  }

  .purpose_category_btn {
    display: none;
  }

  .purpose_category_btn svg {
    width: 0.9rem;
    height: 1.6rem;
  }

  /* 중앙 배너 */
  .center_banner_wrapper {
    padding: 1.6rem 1.2rem;
  }

  /* 홈 배너 섹션 */
  .home_banner_card {
    min-height: 14rem;
  }

  /* 용도별 추천 섹션 */
  .purpose_sub_item {
    padding: 1rem;
    gap: 0.8rem;
  }

  .purpose_sub_item .category_ranking_sub_img {
    width: 7rem;
    min-width: 7rem;
    height: 7rem;
  }
}
/* #endregion 모바일 반응형 스타일 */

/* #endregion 반응형 스타일 */

