@charset "utf-8";
/* 전체 배경 및 폰트 */
body {
  margin: 0;
  padding: 0;
  background-color: #e6dbf4;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  color: #333;
}

/* 레이아웃 중앙 정렬 컨테이너 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 */
.mz-header {
  text-align: center;
  padding: 60px 20px 20px;
}

.mz-header h1 {
  font-size: 56px;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
}

.mz-header p {
  font-size: 20px;
  color: #555;
}

/* 내비게이션 */
.mz-nav {
  text-align: center;
  margin: 30px 0;
}

.mz-nav a {
  margin: 0 20px;
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 18px;
}

/* 상품 리스트 */
.mz-product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 60px;
}

/* 상품 카드 */
.mz-card {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.mz-card:hover {
  transform: translateY(-5px);
}

.mz-card img {
  width: 100%;
  display: block;
}

.mz-card-info {
  padding: 16px;
}

.mz-card-info h3 {
  margin: 10px 0 6px;
  font-size: 20px;
}

.mz-card-info p {
  color: #666;
  font-size: 14px;
}

.mz-price {
  font-weight: bold;
  margin-top: 10px;
}

/* 버튼 */
.mz-btn {
  display: block;
  background: #7e5bef;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 12px;
  font-weight: 500;
}

/* 푸터 */
.mz-footer {
  text-align: center;
  padding: 40px 20px;
  color: #777;
  font-size: 14px;
}

.mz-footer a {
  color: #7e5bef;
  text-decoration: none;
}

/* 반응형: 모바일일 땐 다시 1~2칸으로 줄어들도록 */
@media (max-width: 900px) {
  .mz-product-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mz-product-list {
    grid-template-columns: 1fr;
  }
}
/* 팝업 전체 배경 */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* 팝업 창 */
.popup-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 400px;
  position: relative;
}

/* 닫기 버튼 */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #888;
}
/* 두 번째 팝업 배경 (겹치지 않게 우측 아래 배치) */
.popup2 {
  justify-content: flex-end;
  align-items: flex-end;
}

/* 두 번째 팝업 내용 창 */
.popup2-content {
  background-color: #fff2fa;
  padding: 25px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
  max-width: 300px;
  margin: 20px;
  position: relative;
}
.cart-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  background-color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.cart-popup {
  display: none;
  position: fixed;
  right: 20px;
  top: 70px;
  background-color: white;
  border: 2px solid #ccc;
  padding: 20px;
  border-radius: 12px;
  z-index: 1000;
  width: 250px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.cart-popup ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.cart-popup li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

  
  
  


