/* =========================================================================
   [디자인 시스템] 올리브영 룩앤필 & 오픈패키지 그린 HSL 커스텀 테마
   ========================================================================= */

:root {
  --point-green: #2EBE7B;
  --point-green-hover: #229b62;
  --point-green-light: #E8F8F0;
  --bg-dark: #000000;
  --text-main: #202020;
  --text-muted: #888888;
  --border-light: #E5E5E5;
  --border-strong: #333333;
  --card-bg: #FFFFFF;
  --danger-red: #F02D52;
  --utility-bg: #F9F9F9;
  --font-base: 'Inter', 'Noto Sans KR', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  background-color: #FFFFFF;
  color: var(--text-main);
  line-height: 1.6;
}

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

li {
  list-style: none;
}

/* 1. 최상단 탑 유틸리티 바 */
.top-utility-bar {
  background-color: var(--utility-bg);
  border-bottom: 1px solid var(--border-light);
  height: 32px;
  line-height: 32px;
  font-size: 11px;
}

.utility-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  color: #666666;
}

.util-link {
  cursor: pointer;
  font-weight: 500;
}

.util-link:hover {
  color: var(--point-green);
}

.util-split {
  margin: 0 8px;
  color: #DDDDDD;
}

/* 2. 메인 헤더 */
.main-header {
  background-color: #FFFFFF;
  padding: 24px 0;
}

.header-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 로고 */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 24px;
  display: block;
}

/* 앱 스타일 통합 검색 창 */
.search-bar-wrapper {
  position: relative;
  width: 380px;
  height: 44px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
}

.search-bar-wrapper input {
  width: 100%;
  height: 100%;
  padding: 0 20px 0 44px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  background-color: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar-wrapper input::placeholder {
  color: rgba(148, 163, 184, 0.45); /* 이전보다 더 투명하고 연한 색상 */
}

.search-bar-wrapper input:focus {
  border-color: var(--point-green);
  box-shadow: 0 0 0 3px rgba(46, 190, 123, 0.1);
}

.search-bar-wrapper .search-btn {
  position: absolute;
  left: 14px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  pointer-events: none;
}

/* 우측 유틸 아이콘 */
.header-icons {
  display: flex;
  gap: 20px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: #333333;
}

.icon-item i {
  font-size: 24px; /* 20px -> 24px 크기 확대 */
}

.icon-label {
  font-size: 12px; /* 10px -> 12px 크기 확대 */
  font-weight: 600;
  color: #666666;
}

.icon-badge-wrapper {
  position: relative;
}

.icon-badge-wrapper .badge {
  position: absolute;
  top: -4px; /* 더 커진 아이콘에 맞춰 상단 마진 조절 */
  right: -8px;
  background-color: #FF5252; /* 빨간색 배지로 수정 */
  color: white;
  font-size: 8px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
}

/* 알림 툴팁 드롭다운 */
.icon-item {
  position: relative;
}

.noti-tooltip-dropdown {
  position: absolute;
  top: 42px;
  right: -130px;
  width: 300px;
  background-color: white;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  flex-direction: column;
  cursor: default;
  text-align: left;
}

.noti-tooltip-dropdown.active {
  display: flex;
}

.noti-tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.noti-title {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
}

.noti-close-btn {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.noti-close-btn:hover {
  color: #0F172A;
}

.noti-tooltip-divider {
  height: 1px;
  background-color: #F1F5F9;
}

.noti-tooltip-body {
  padding: 12px 16px;
  max-height: 300px;
  overflow-y: auto;
}

.noti-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.noti-item:last-child {
  margin-bottom: 0;
}

.noti-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
}

.noti-item-content {
  font-size: 13px;
  color: #64748B;
  line-height: 1.4;
}

.noti-item-time {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 2px;
}

/* 툴팁 화살표 */
.noti-tooltip-arrow {
  position: absolute;
  top: -6px;
  right: 144px;
  width: 10px;
  height: 10px;
  background-color: white;
  border-left: 1px solid #E2E8F0;
  border-top: 1px solid #E2E8F0;
  transform: rotate(45deg);
}

/* 3. GNB 메뉴 바 */
.gnb-nav {
  border-top: 1px solid var(--border-light);
  border-bottom: 2px solid var(--bg-dark);
  background-color: #FFFFFF;
  height: 48px;
}

.gnb-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.all-category-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  height: 100%;
  color: #333333;
}

.all-category-btn i {
  font-size: 16px; /* 아이콘 폰트 크기 강제 */
}

.gnb-menu {
  display: flex;
  gap: 28px;
  height: 100%;
  align-items: center;
}

.gnb-item {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  display: block;
  padding: 10px 0;
  border-bottom: 3px solid transparent;
  transition: all 0.15s ease;
}

.gnb-item:hover {
  color: var(--point-green);
  border-bottom-color: var(--point-green);
}

.admin-portal-link {
  font-size: 12px;
  font-weight: 700;
  color: white;
  background-color: var(--bg-dark);
  padding: 6px 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s;
}

.admin-portal-link:hover {
  background-color: var(--point-green);
}

/* 4. 메인 롤링 배너 */
.main-banner-slider {
  background-color: #E2ECE6; /* HSL 그린 톤의 페일 백그라운드 */
  height: 380px;
  overflow: hidden;
  position: relative;
}

.slide {
  height: 100%;
}

.slide-content {
  width: 460px;
  height: 260px; /* 태그와 버튼 사이를 한 번 더 넓게 벌리기 위해 박스 높이를 260px로 확대 */
  flex-shrink: 0;
  position: relative; /* 자식 요소들의 절대 위치 배치를 위한 기준 */
  margin-left: 30px; /* 전체 텍스트/버튼 블록을 오른쪽으로 살짝 이동 */
}

.slide-tag {
  background-color: var(--bg-dark);
  color: white;
  font-size: 12px; /* 태그 글씨 크기를 12px로 확대 */
  font-weight: 700;
  padding: 4px 10px; /* 태그 내부 여백 확대 */
  border-radius: 4px;
  display: inline-block;
  letter-spacing: 1px;
  position: absolute;
  top: -28px; /* 태그가 커진 만큼 더 위로 올림 */
  left: 0;
}

.slide-content h2 {
  font-size: 30px; /* 내용 글씨 크기를 30px로 재조정 */
  font-weight: 700; /* 다시 볼드(두꺼운 글씨체) 스타일 적용 */
  line-height: 1.6;
  color: var(--bg-dark);
  letter-spacing: -0.5px;
  position: absolute;
  top: 32px; /* 30px 폰트에 맞춰 수학적 정중앙 재계산 (상/하 여백 40px 동일) */
  left: 0;
  width: 100%;
  margin: 0;
  height: 144px; /* 30px * 1.6 * 3 lines = 144px 고정 높이 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.slide-content p {
  display: none; /* 내용 간소화로 p 태그 제거 */
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-dark);
  color: white;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 15px; /* 버튼 글씨 크기를 15px로 확대 */
  font-weight: 700;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  height: 44px; /* 버튼 폰트 확대에 맞춰 높이를 44px로 소폭 상향 */
  line-height: 1;
  text-decoration: none;
  position: absolute;
  bottom: 0;
  left: 0;
}

.slide-btn:hover {
  background-color: var(--point-green);
}

.slide-image-placeholder {
  width: 420px;
  height: 300px;
  background-image: url('https://images.unsplash.com/photo-1526947425960-945c6e72858f?w=600');
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* 모바일 및 태블릿 반응형 슬라이더 최적화 */
@media (max-width: 768px) {
  .main-banner-slider {
    height: 280px; /* 배너 전체 높이 모바일 규격으로 축소 */
  }

  .slider-nav-btn {
    display: none !important; /* 모바일에서는 화살표 숨김 (터치 스와이프 중심) */
  }

  .slide-flex-container {
    padding: 0 24px; /* 여백 축소로 모바일 텍스트 공간 확보 */
    justify-content: flex-start;
  }

  .slide-content {
    width: 100%; /* 460px 고정에서 100% 가변형으로 변경하여 가로막힘 해소 */
    height: 190px; /* 모바일 높이에 맞춰 축소 */
    margin-left: 0; /* 여백 초기화하여 왼쪽 정렬 정밀화 */
  }

  .slide-tag {
    font-size: 10px; /* 태그 글씨 축소 */
    padding: 2px 6px;
    top: -15px; /* 시작 위치 상향 조정 */
  }

  .slide-content h2 {
    font-size: 21px; /* 글씨 크기 30px -> 21px로 축소 */
    line-height: 1.4;
    top: 31px; /* 3줄 높이에 맞게 정중앙 계산값 배치 */
    height: 90px; /* 21px * 1.4 * 3줄 = 88.2px에 대응하는 90px 고정 */
    -webkit-line-clamp: 3; /* 최대 3줄 제한 유지 */
  }

  .slide-btn {
    font-size: 13px; /* 버튼 글씨 축소 */
    padding: 10px 20px;
    height: 36px; /* 버튼 높이 축소 */
  }
}

/* 5. 메인 레이아웃 */
.main-content-layout {
  max-width: 1020px;
  margin: 50px auto 80px auto;
  padding: 0 10px;
}

/* 오늘의 특가 (오특) 섹션 */
.time-deal-section {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 50px;
  background-color: #FFFFFF;
}

.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.title-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-left .hot-badge {
  background-color: transparent; /* 배경색 제거 */
  color: var(--danger-red); /* Today! 텍스트 색상을 빨간색으로 지정 */
  font-size: 20px; /* 제목과 동일한 높이로 크기 확대 */
  font-weight: 800; /* 매우 두꺼운 글씨체 */
  padding: 0; /* 패딩 제거 */
  border-radius: 0;
  letter-spacing: -0.5px;
}

.title-left h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--bg-dark);
}

.title-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #666666;
}

.countdown-timer {
  background-color: var(--bg-dark);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-display), monospace;
  font-weight: 700;
}

.time-deal-main-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  cursor: pointer;
}

@media (max-width: 768px) {
  .time-deal-main-card {
    grid-template-columns: 1fr;
  }
}

.highlight-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  aspect-ratio: 1;
}

.highlight-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-badge {
  position: absolute;
  top: 16px;
  left: 16px; /* 왼쪽 상단 배치 */
  right: auto;
  background-color: var(--danger-red); /* 강렬한 레드 배경색 */
  color: white; /* 텍스트 흰색 */
  font-size: 16px; /* 크게 잘 보이도록 16px로 대폭 확대 */
  font-weight: 800; /* 두꺼운 글씨체 */
  padding: 8px 16px; /* 큼직한 알약 모양의 패딩 */
  border-radius: 30px; /* 둥근 캡슐 형태 */
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15); /* 입체감 그림자 */
  letter-spacing: -0.3px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* 번개 아이콘과 텍스트 사이 간격 */
  box-sizing: border-box;
}

.discount-badge i {
  font-size: 14px; /* 번개 아이콘 크기 */
}

.highlight-info-area {
  display: flex;
  flex-direction: column;
}

.highlight-brand {
  font-size: 14px; /* 12px에서 14px로 브랜드명 확대 */
  font-weight: 700;
  color: var(--point-green);
  margin-bottom: 6px;
}

.highlight-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--bg-dark);
  margin-bottom: 16px;
}

/* 3중 가격 디자인 박스 (중요 요구사항) */
.price-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  background-color: #F8FAFC;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.price-row {
  display: flex;
  align-items: center;
}

.price-label {
  font-size: 13px; /* 11px에서 13px로 라벨 크기 확대 */
  font-weight: 700;
  color: var(--text-muted);
  width: 90px; /* 라벨 크기가 커짐에 따라 가로 너비 소폭 확대 */
}

.original-price {
  font-size: 15px; /* 13px에서 15px로 정상가 가격 크기 확대 */
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount-price {
  font-size: 17px; /* 15px에서 17px로 일반할인가 가격 크기 확대 */
  font-weight: 700;
  color: var(--text-main);
}

.price-row.special {
  border-top: 1px dashed var(--border-light);
  padding-top: 8px;
  margin-top: 4px;
}

.price-label.highlight {
  color: var(--point-green);
}

.sale-price {
  font-size: 28px; /* 22px에서 28px로 회원할인가 대폭 확대 */
  font-weight: 900;
  color: var(--point-green);
}

.sale-price::after {
  content: "원";
  font-size: 16px; /* 13px에서 16px로 단위 폰트 확대 */
  font-weight: 700;
  margin-left: 2px;
}

.member-badge {
  font-size: 12px; /* 10px에서 12px로 배지 글자 크기 확대 */
  font-weight: 700;
  background-color: var(--point-green);
  color: white;
  padding: 3px 10px; /* 폰트 확대에 맞춰 패딩 비례 조정 */
  border-radius: 4px;
  margin-left: 12px; /* 가격 텍스트와의 간격 확보 */
  white-space: nowrap; /* 뱃지가 깨지거나 줄바꿈되는 것을 방지 */
}

/* 게이지 바 */
.gauge-container {
  margin-bottom: 24px;
}

.gauge-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #666666;
  margin-bottom: 6px;
}

.gauge-track {
  width: 100%;
  height: 6px;
  background-color: #E5E5E5;
  border-radius: 3px;
}

.gauge-bar {
  height: 100%;
  background-color: var(--point-green);
  border-radius: 3px;
}

.buy-now-btn {
  background-color: var(--bg-dark);
  color: white;
  border: none;
  padding: 14px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s;
  text-align: center;
}

.buy-now-btn:hover {
  background-color: var(--point-green);
}

/* 6. 올리브영 스타일 4열 상품 그리드 */
.section-headline {
  margin-bottom: 24px;
}

.section-headline h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 4px;
}

.section-headline p {
  font-size: 13px;
  color: var(--text-muted);
}

.catalog-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.catalog-tab {
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #555555;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: all 0.15s ease;
}

.catalog-tab.active, .catalog-tab:hover {
  background-color: var(--bg-dark);
  color: white;
  border-color: var(--bg-dark);
}

/* 그리드 레이아웃 */
.olive-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

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

.product-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.product-card .img-wrapper {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
}

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

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

.card-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: var(--danger-red);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.card-brand {
  font-size: 14px;
  font-weight: 800;
  color: #333333;
  margin-bottom: 4px;
}

.card-name {
  font-size: 14px;
  font-weight: 500;
  color: #202020;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

/* 그리드 카드 내 3중 가격 */
.card-price-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}

.price-row-small {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.price-label-small {
  width: 55px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.card-original {
  text-decoration: line-through;
  color: var(--text-muted);
}

.card-discount-val {
  font-weight: 600;
  color: var(--text-main);
}

.price-row-small.special {
  margin-top: 4px;
}

.price-label-small.highlight {
  font-size: 14px;
  font-weight: 700;
  color: var(--point-green);
}

.card-sale {
  font-size: 20px;
  font-weight: 800;
  color: var(--point-green);
}

.card-sale::after {
  content: "원";
  font-size: 13px;
}

/* 카드 내 게이지바 */
.card-gauge {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 8px;
  margin-bottom: 8px;
}

.card-gauge-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.highlight-qty {
  color: var(--danger-red, #dc2626);
}

.card-gauge-track {
  width: 100%;
  height: 4px;
  background-color: #ECECEC;
  border-radius: 2px;
}

.card-gauge-bar {
  height: 100%;
  background-color: var(--point-green);
  border-radius: 2px;
}

/* 7. 장바구니 드로어 */
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
}

.cart-drawer-backdrop.active {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  height: 100%;
  background-color: #FFFFFF;
  z-index: 2001;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h2 {
  font-size: 16px;
  font-weight: 800;
}

.cart-drawer-header .close-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.empty-cart-message {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  background-color: var(--utility-bg);
}

.total-price-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.total-price-row .total-price {
  font-size: 18px;
  color: var(--point-green);
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background-color: var(--point-green);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* 8. 올리브영 스타일 푸터 */
.olive-footer {
  border-top: 1px solid var(--border-light);
  background-color: #FFFFFF;
  margin-top: 80px;
}

.footer-notice-bar {
  background-color: var(--utility-bg);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
}

.notice-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  gap: 16px;
  font-size: 12px;
}

.notice-title {
  font-weight: 800;
  color: var(--text-main);
}

.notice-content {
  color: #555555;
}

.notice-content:hover {
  text-decoration: underline;
}

.footer-main-info {
  max-width: 1020px;
  margin: 0 auto;
  padding: 40px 10px 50px 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #333333;
}

.footer-logo .logo-accent {
  color: var(--point-green);
}

.footer-corp-info {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-corp-info strong {
  color: #333333;
}

.footer-corp-info .copyright {
  margin-top: 12px;
}

.footer-terms {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  color: #555555;
  margin-top: 10px;
}

.footer-terms a:hover {
  color: var(--point-green);
  text-decoration: underline;
}

/* 9. 토스트 알림 */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: var(--bg-dark);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  z-index: 5000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Banner Slider Details (380px Height & Centered) --- */
.main-banner-slider {
  position: relative;
  width: calc(100% - 20px);
  max-width: 1020px;
  margin: 30px auto 10px auto;
  height: 380px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 1;
}

.slide.slide-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-flex-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 80px; /* 화살표 버튼과 겹침을 완벽하게 방지하기 위해 좌우 패딩을 80px로 설정 */
  height: 100%;
  display: flex;
  justify-content: flex-start; /* 내용물을 무조건 왼쪽 기준으로 정렬 */
  align-items: center;
}

/* --- Banner slide content element styles are defined in the first block (around line 380) --- */

.slide-image {
  width: 420px;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* Slider navigation arrows */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #333333;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.slider-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--point-green);
}

.slider-nav-btn.prev { left: 24px; }
.slider-nav-btn.next { right: 24px; }

/* Slider dot indicators */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background-color 0.2s;
}

.slider-dots .dot.active {
  background-color: var(--point-green);
  width: 18px;
  border-radius: 3px;
}

/* Section Title Badges */
.section-sub-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: -0.5px;
}

/* --- Exclusive specials gradient cards --- */
.exclusive-gradient-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .exclusive-gradient-cards {
    grid-template-columns: 1fr;
  }
}

.grad-card {
  border-radius: 16px;
  padding: 24px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #1e293b;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  cursor: pointer;
  transition: transform 0.2s;
}

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

.grad-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.grad-card p {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #334155;
}

.grad-card-go {
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #475569;
}

.grad-card.rose-orange {
  background: linear-gradient(135deg, #FECACA, #FFF7ED);
  border: 1px solid #FCA5A5;
}

.grad-card.violet-blue {
  background: linear-gradient(135deg, #E0E7FF, #FAE8FF);
  border: 1px solid #C7D2FE;
}

.grad-card.blue-green {
  background: linear-gradient(135deg, #E0F2FE, #D1FAE5);
  border: 1px solid #BAE6FD;
}
