body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ================= HEADER ================= */

/* header는 전체 배경 */
.header {
  background: white;
  padding: 20px 0; /* 🔥 좌우 패딩 제거 */
  z-index: 1000; /* 🔥 핵심 */
}

/* 🔥 이게 핵심 */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 60px; /* 👉 내부 여백 */
}

/* 로고 */
.logo a {
  font-family: 'Playfair Display', serif; /* 🔥 추가 */
  font-size: 22px;
  letter-spacing: 3px;

  color: #111; /* 🔥 기존 black → 부드럽게 */
  text-decoration: none;
  font-weight: 500; /* 🔥 700 → 낮춤 */
}

.logo.center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* nav */
.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

/* 기본 상태 */ 
.nav a {
  color: #222;
  text-decoration: none;
  font-weight: 400;
  font-size: 13px;          /* 🔥 추가 */
  letter-spacing: 2px;      /* 🔥 핵심 */
  position: relative;
}

/* 클릭된 메뉴 */
.nav a.active {
  font-weight: 700; /* 🔥 굵게 */
  color: #000000;   /* 🔥 강조 색 */
}

/* 밑줄 */
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;                 /* 🔥 중앙 기준 */
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: #111;
  transition: 0.3s;
  transform: translateX(-50%);
}

.nav a:hover::after {
  width: 100%;
}

/* 드롭다운 */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px); /* 🔥 살짝 아래 */
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  background: white;
  border-radius: 12px;
  padding: 10px 0;
  z-index: 2000; /* 🔥 이것도 필수 */
  display: none;
  min-width: 150px;

  box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* 🔥 더 자연스럽게 */

  /* 🔥 부드럽게 */
  opacity: 0;
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 🔥 끊김 방지 (진짜 핵심) */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px; /* 🔥 invisible bridge */
}

/* 드롭다운 항목 */
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: black;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

/* 드롭다운 메뉴는 밑줄 제거 */
.dropdown-menu a::after {
  display: none;
}

/* ================= HERO ================= */

.hero {
  padding: 40px 60px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;

  height: 420px;
  border-radius: 20px;
  overflow: hidden;

  position: relative;
}

/* 이미지 */


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

/* 🔥 고급 느낌 핵심 (살짝 어둡게 + 분위기) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* 텍스트 */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  color: #fff;
  text-align: center;
}

/* 브랜드 작은 글씨 */
.hero-brand {
  display: block;
  font-size: 16px;
  letter-spacing: 4px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.75);
}

/* 메인 문구 */
.hero-text h1 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 12px;

  letter-spacing: -0.5px;
  font-family: 'Playfair Display', serif;
}

/* 서브 문구 */
.hero-text p {
  font-size: 14px;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* ================= CATEGORY ================= */

.categories-section {
  padding: 100px 60px;
}

.categories {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px; /* 🔥 여백 강조 */
}

/* 링크 */
.category-link {
  text-decoration: none;
  color: inherit;
}

/* 카드 제거 → 미니멀 */
.category {
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;

  height: auto;

  border: none;
  box-shadow: none;
  transition: 0.2s;
}

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

/* 아이콘 */
.icon-box {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  opacity: 0.7;
  transition: 0.2s;
}

.icon-box img {
  width: 100%;
  height: 100%;
}

.category:hover .icon-box {
  opacity: 1;
}

/* 텍스트 */
/* 영어 (작게) */
.title span {
  display: block;
  font-size: 11.5px;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 4px;
}

/* 한국어 (메인) */
.title {
  font-size: 14px;
  color: #111;
  letter-spacing: 0.5px;
}


/* ================= 타이틀 ================= */

.section-title {
  text-align: center;
  margin-top: 100px;
}

/* 영어 라벨 */
.section-label {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  color: #888;
  margin-bottom: 12px;
}

/* 🔥 메인 (한글) */
.section-main {
  font-size: 28px;
  font-weight: 500;
  color: #111;
  margin-bottom: 30px;
}

/* 라인 */
.section-title .line {
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: #eee;
  margin: 0 auto 30px;
}

/* 서브 타이틀 */
.section-sub {
  font-size: 20px;
  font-weight: 500;
  color: #222;
  margin-bottom: 10px;
}

/* 서브 문구 */
.section-desc {
  font-size: 14px;
  color: #777;
  letter-spacing: 0.5px;
}

/* ================= BEST GRID ================= */

.best-grid {
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 60px;

  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 🔥 6 → 5 (더 고급 느낌) */
  gap: 40px; /* 🔥 간격 넓게 */
}

/* 카드 */
.product-card {
  border: none; /* 🔥 테두리 제거 */
  border-radius: 0;
  background: transparent;
  transition: 0.3s;
}

/* hover */
.product-card:hover {
  transform: translateY(-4px);
}

/* 이미지 */
.imageWrap {
  overflow: hidden;
  border-radius: 12px;
}

.imageWrap img {
  width: 100%;
  height: 260px; /* 🔥 살짝 키움 */
  object-fit: cover;
  transition: 0.4s ease;
}

/* 프라다 */
.prada .imageWrap {
  display: flex;
  justify-content: center; /* 가로 중앙 */
  align-items: center;     /* 세로 중앙 */
  aspect-ratio: 1 / 1;
}

.prada .imageWrap img {
  width: 85%;
  height: 100%;
  object-fit: contain;
  background: #fff; /* 여백 생길 때 깔끔 */
  margin-left: -45px; /* 👉 오른쪽으로 이동 */
}

/* 디올 */
.prada1 .imageWrap {
  display: flex;
  justify-content: center; /* 가로 중앙 */
  align-items: center;     /* 세로 중앙 */
  aspect-ratio: 1 / 1;
}

.prada1 .imageWrap img {
  width: 85%;
  height: 100%;
  object-fit: contain;
  background: #fff; /* 여백 생길 때 깔끔 */
  margin-left: -45px; /* 👉 오른쪽으로 이동 */
}




/* 샤넬, 라메르 */
.lamerchanel .imageWrap {
  display: flex;
  justify-content: center; /* 가로 중앙 */
  align-items: center;     /* 세로 중앙 */
  aspect-ratio: 1 / 1;
}

.lamerchanel .imageWrap img {
  width: 70%;
  height: 100%;
  object-fit: contain;
  background: #fff; /* 여백 생길 때 깔끔 */
}

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

/* 정보 영역 */
.infoWrap {
  margin-top: 14px;
  padding: 0 2px;
}

/* 브랜드명 */
.infoWrap strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #999;
  margin-bottom: 4px;
}

/* 제품명 */
.infoWrap p {
  font-size: 15px;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* 🔥 문의 (핵심 포인트) */
.contactWrap span {
  font-size: 12px;
  letter-spacing: 1px;
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  cursor: pointer;
  transition: 0.2s;
}

.contactWrap span:hover {
  opacity: 0.5;
}

.contactWrap {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

/* 아이콘 */
.contactWrap img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: 0.2s;
}

@media (min-width: 1024px) {
  .contactWrap img {
    width: 26px;
    height: 26px;
  }
}

.contactWrap img:hover {
  opacity: 1;
  transform: scale(1.08);
}


/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 18px; /* 🔥 넓게 */
}

.pagination button {
  border: none;
  background: none;
  cursor: pointer;

  font-size: 14px;
  color: #999;
  padding: 0;

  transition: 0.2s;
}

/* hover */
.pagination button:hover {
  color: #111;
}

/* 활성 페이지 */
.pagination button.active {
  color: #111;
  font-weight: 500;
}

/* 검색 */
#productSearch {
  width: 420px;
  max-width: 100%;
  padding: 10px 0;

  border: none;
  border-bottom: 1px solid #ccc; /* 🔥 핵심 */
  outline: none;

  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  background: transparent;
}

/* focus 시 */
#productSearch:focus {
  border-bottom: 1px solid #111;
}

/* shop-tools */
.shop-tools {
  max-width: 1400px;
  margin: 40px auto 60px;
  padding: 0 60px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px; /* 🔥 여백 늘림 */
}

/* 반응형 */
@media (max-width: 1300px) {
  .best-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1000px) {
  .best-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .best-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 450px) {
  .best-grid { grid-template-columns: 1fr; }
}

/* 반응형 */
@media (max-width: 900px) {
  .categories {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }
}