.derma-aside {
  width: 340px;
  height: 100vh;
  padding: 0;
  overflow: hidden;
  position: sticky;
  top: 0;
  align-self: flex-start;
}

.derma-aside-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.derma-aside-img {
  width: 100%;
  height: calc(100vh - 310px);
  max-height: 822px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.derma-aside-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.derma-aside-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--point-color);
  border-radius: 16px;
  padding: 10px 16px;
  width: calc(100% - 20px);
  margin: 20px 0 0;
  box-sizing: border-box;
}

.derma-aside-action {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
  gap: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 4px;
  border-radius: 8px;
}

.derma-aside-action:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.derma-aside-action img {
  aspect-ratio: 1 / 1;
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.derma-aside-action:hover img {
  transform: scale(1.1);
}

.derma-aside-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0;
}

/* SNS */
.derma-aside-sns {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  width: calc(100% - 20px);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sns-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #4a5568;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 4px;
  border-radius: 8px;
}

.sns-link:hover {
  background: #f7fafc;
  color: #2d3748;
  transform: translateY(-1px);
}

.sns-link img {
  height: 36px;
  width: auto;
  transition: transform 0.3s ease;
}

.sns-link:hover img {
  transform: scale(1.05);
}

.sns-divider {
  width: 1px;
  height: 36px;
  background-color: #e2e8f0;
}

.derma-aside-lang {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  width: calc(100% - 20px);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 16px;
  margin: 10px auto 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.derma-aside-lang a {
  display: block;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.derma-aside-lang a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.derma-aside-lang img {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.derma-aside-lang a:hover img {
  transform: scale(1.05);
}

/* 스크롤바 스타일링 */
.derma-aside::-webkit-scrollbar {
  width: 6px;
}

.derma-aside::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.derma-aside::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.derma-aside::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 사이드 배너 Swiper 스타일 */
.side-banner-swiper {
  width: 100%;
  height: 100%;
}

.side-banner-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.side-banner-swiper .swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.side-banner-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 4px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.side-banner-swiper .swiper-pagination-bullet-active {
  background: #ffffff;
  transform: scale(1.2);
}

/* 기존 사이드 배너 스타일 유지 */
.side-banner-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-video {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.side-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 20px;
  z-index: 5;
}

.side-banner-content {
  text-align: center;
}

.side-banner-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.side-banner-description {
  font-size: 14px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.side-banner-link-btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary, #3b82f6);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.side-banner-link-btn:hover {
  background: var(--primary-hover, #2563eb);
  color: white;
  text-decoration: none;
}

@media (max-width: 1280px) {
  .derma-aside {
    display: none;
  }
}

@media (max-height: 800px) {
  .derma-aside-img {
    height: calc(100vh - 350px);
    min-height: 300px;
  }
  
  .derma-aside-inner {
    padding: 16px 0;
  }
  
  .derma-aside-actions,
  .derma-aside-sns,
  .derma-aside-lang {
    margin: 12px 20px;
    padding: 16px;
  }
}