.main-event-section {
  width: 100%;
  padding: 160px 20px;
  background-color: #fff;
}

.main-event-inner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-full-slider {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  overflow-x: hidden;
  margin-top: 40px;
  padding-bottom: 40px;
  scrollbar-width: thin;
}

.event-card {
  flex: 0 0 400px;
  background: #fff;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.2s;
  position: relative;
}

.event-card:hover {
  user-select: none;
}

.event-card-img {
  cursor: pointer;
  width: 400px;
  height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Event Card Background Images */
.event-card-img.event-frame-1 {
  background-image: url("/assets/img/customer/event/Frame 66-1.png");
}

.event-card-img.event-frame-2 {
  background-image: url("/assets/img/customer/event/Frame 66-2.png");
}

.event-card-img.event-frame-3 {
  background-image: url("/assets/img/customer/event/Frame 66-3.png");
}

.event-card-img:hover {
  box-shadow: 0 0 16px 4px rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(35, 31, 32, 0.08);
  transform: scale(1.03);
  z-index: 2;
}

.event-card-content {
  padding: 18px 0;
  gap: 0;
  background: #fff;
  min-height: 70px;
}
.event-card-content-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.event-card-content-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}
.event-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #231f20;
  margin-bottom: 4px;
  position: static;
  text-align: left;
  z-index: 1;
}
.event-card-price {
  font-size: 16px;
  font-weight: 400;
  color: #222;
}
.event-card-date {
  font-size: 12px;
  color: #8b8b8b;
  margin-top: 0;
  margin-bottom: 2px;
  white-space: nowrap;
}

.event-card-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.event-more-btn {
  margin: auto;
  margin-top: 60px;

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

  width: fit-content;
  padding: 12px 24px;
  background: #231f20;
  color: #fff;
  border-radius: 200px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

.event-more-btn > img {
  margin-left: 12px;
}
.event-more-btn:hover {
  background: #ef487b;
  color: #fff;
}

@media (max-width: 768px) {
  .main-event-section {
    padding-top: 0;
  }

  .main-event-section .container-sub {
    margin-bottom: 0;
  }

  .event-full-slider {
    margin-top: 28px;
    padding-bottom: 4px !important;
    gap: 8px;
  }

  .event-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .event-card-img {
    width: 100%;
    background-size: cover;
    aspect-ratio: 4 / 5;
    background-position: center;
  }

  .event-more-btn {
    margin-top: 28px;
  }

  /* 이벤트 섹션 */
  .main-event-section {
    padding-bottom: 0;
  }

  .event-card-content {
    padding: 16px 0;
  }
  .event-card-title {
    font-size: 14px;
  }
  .event-card-price,
  .event-card-date {
    font-size: 12px;
  }
}

/* 커스텀 스크롤바 */
.event-custom-scrollbar {
  max-width: 1240px;
  width: 100%;
  padding: 0;
}

.event-scrollbar-track {
  width: 100%;
  height: 2px;
  background-color: #d9d9d9;
  position: relative;
  overflow: hidden;
}

.event-scrollbar-thumb {
  height: 100%;
  background-color: #231f20;
  position: absolute;
  left: 0;
  top: 0;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.event-scrollbar-thumb:hover {
  background-color: #000;
}

/* 모바일에서 커스텀 스크롤바 숨김 */
@media (max-width: 768px) {
  .event-custom-scrollbar {
    display: none;
  }
}

/* 인기시술 커스텀 스크롤바 */
.popularity-custom-scrollbar {
  max-width: 1240px;
  width: 100%;
}

.popularity-scrollbar-track {
  width: 100%;
  height: 2px;
  background-color: #d9d9d9;
  position: relative;
  overflow: hidden;
}

.popularity-scrollbar-thumb {
  height: 100%;
  background-color: #231f20;
  position: absolute;
  left: 0;
  top: 0;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.popularity-scrollbar-thumb:hover {
  background-color: #000;
}

/* 모바일에서 인기시술 커스텀 스크롤바 숨김 */
@media (max-width: 768px) {
  .popularity-custom-scrollbar {
    display: none;
  }
}
