@charset "uff-8";

/* ========== Reset ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
ol,
li {
  list-style: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "맑은 고딕", sans-serif;
  color: #111;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== Layout 컨테이너 ========== */
.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.section2-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* ========== 카테고리 태그 필터 ========== */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
  font-weight: 600;
}

/* ========== 일직선 슬라이더 컨테이너 ========== */
.slider-wrapper {
  position: relative;
  width: 100%;
}

.product-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #333 #f1f1f1;
}

/* 스크롤바 커스텀 */
.product-list::-webkit-scrollbar {
  height: 3px;
}

.product-list::-webkit-scrollbar-track {
  background: #eee;
}

.product-list::-webkit-scrollbar-thumb {
  background: #111;
}

/* ========== 상품 카드 ========== */
.product-card-link {
  flex: 0 0 250px; /* 고정 너비로 1열 유지 */
  scroll-snap-align: start;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.img-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  background: #f7f7f7;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card-link:hover .img-wrap img {
  transform: scale(1.04);
}

/* 단독특가 뱃지 */
.badge-deal {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #e51a24;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
}

/* 텍스트 영역 */
.brand-name {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.product-name {
  font-size: 14px;
  color: #222;
  line-height: 1.35;
  height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  word-break: keep-all;
}

.original-price {
  font-size: 12px;
  color: #aaa;
  text-decoration: line-through;
  margin-bottom: 2px;
}

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

.price-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discount-rate {
  font-size: 17px;
  font-weight: 700;
  color: #e51a24;
}

.final-price {
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* 찜(하트) 아이콘 버튼 */
.wish-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #bbb;
  display: flex;
  align-items: center;
}

.wish-btn svg {
  width: 18px;
  height: 18px;
  stroke: #aaa;
  fill: none;
  stroke-width: 1.5;
}







/* 카테고리 퀵메뉴 스타일 */
.quick-category-section {
  width: 100%;
  background-color: #fff;
  padding: 40px 0 50px;
}

.quick-category-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.quick-category-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #222;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.quick-category-item:hover {
  transform: translateY(-4px);
}

/* 원형 아이콘 배경 */
.quick-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  transition: background-color 0.2s ease;
}

/* 텍스트 형태 엠블럼 전용 원형 스타일 (웨딩클럽, 입점브랜드 등) */
.quick-icon-wrap.pink-bg {
  background-color: #f7e6e6;
}

.quick-icon-wrap img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* 텍스트 로고 스타일 */
.wedding-text {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #5d3b3b;
  line-height: 1.2;
}

.wedding-text span {
  font-size: 9px;
  display: block;
}

.guud-text {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  font-family: sans-serif;
}

/* 하단 텍스트 */
.quick-category-item .category-name {
  font-size: 13px;
  font-weight: 500;
  color: #222;
  letter-spacing: -0.3px;
}