/* 기본 스타일 - 럭셔리 디자인 */
:root {
  --primary-color: #8B6F47;
  --secondary-color: #D4AF37;
  --accent-gold: #C9A961;
  --success-color: #4CAF50;
  --danger-color: #C41E3A;
  --light-color: #FEFEFE;
  --dark-color: #1A1A1A;
  --white: #ffffff;
  --gray-100: #FAFAFA;
  --gray-200: #F5F5F5;
  --gray-300: #E8E8E8;
  --gray-400: #CCCCCC;
  --gray-500: #999999;
  --gray-600: #666666;
  --gray-700: #4A4A4A;
  --gray-800: #2A2A2A;
  --gray-900: #1A1A1A;
  --font-sans: 'Noto Sans KR', sans-serif;
}

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--gray-900);
  margin: 0;
  padding: 0;
  letter-spacing: -0.3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* user-actions 스타일 */
.user-actions {
  display: flex;
  gap: 15px;
}

/* 히어로 섹션 */
.hero {
  padding: 80px 0;
  background: #FFFFFF;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #2C2C2C;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: #FF6B35;
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.3) 0%, rgba(255, 138, 101, 0.1) 100%);
  border-radius: 4px;
  z-index: -1;
}

.hero .hero-subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 600px;
}

.hero .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 히어로 섹션 */
.hero {
  padding: 0;
  background: #000;
  position: relative;
  height: 85vh; /* 데스크톱에서도 약간 줄임 */
  min-height: 200px; /* 사용자가 원하는 크기로 줄임 */
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* height 설정 제거 - 전체 영역을 덮도록 top/bottom 사용 */
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  pointer-events: none; /* 클릭 이벤트가 아래 요소까지 전달되도록 설정 */
}

.slide-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.3);
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--gray-300);
  width: 50px;
  height: 50px;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gray-900);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.slide-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

/* 서비스 섹션 */
.services-section {
  padding: 100px 0;
  background: var(--gray-100);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 60px;
  color: var(--gray-900);
  position: relative;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: var(--primary-color);
  border-radius: 0;
}

/* 상품 슬라이더 */
.product-slider {
  position: relative;
  overflow: visible;
  padding: 0 60px;
  max-height: 400px;
}

/* 상품 그리드 - products.html과 동일한 스타일 적용 */
.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    /* 기존 flex 스크롤 설정 제거 */
}

.product-container::-webkit-scrollbar {
  display: none; /* WebKit */
}

.product-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  transition: all 0.3s ease;
  box-shadow: none;
  z-index: 10;
}

.product-nav-btn:hover {
  background: var(--gray-900);
  transform: translateY(-50%);
  box-shadow: none;
}

.product-nav-btn.prev {
  left: 0;
}

.product-nav-btn.next {
  right: 0;
}

@media (max-width: 768px) {
  .product-nav-btn {
    display: none; /* 모바일에서 상품 네비게이션 버튼 완전 숨김 */
  }

  .product-container {
    padding: 20px 10px;
    gap: 16px;
  }

  .product-slider {
    padding: 0 10px;
  }

  .service-card {
    width: 280px; /* 모바일에서 약간 작은 너비 */
    margin-right: 16px;
  }

  .service-card .card-footer {
    flex-direction: column;
  }

  .service-card .card-footer .btn {
    width: 100%;
  }
}

/* 상품 슬라이더 - 슬라이더 형태로 변경 */
.product-container {
    display: flex;
    gap: 0; /* 슬라이더이므로 간격 없음 */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    align-items: stretch;
    /* 그리드 설정 제거 */
}

/* 상품 슬라이더 스크롤바 숨김 */
.product-container::-webkit-scrollbar {
    display: none; /* WebKit */
}

/* 최신 상품 슬라이더 여백 */
#all-products-slider {
    margin-bottom: 60px; /* 다음 섹션과의 간격 확보 */
    min-height: 800px; /* 섹션 전체 높이 확보 */
}

/* 최신 상품 컨테이너 스타일 (데스크톱: 그리드) */
#all-products-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 25px;
    margin: 20px 0;
    scroll-behavior: smooth;
}

/* 상품 카드 - 슬라이더 아이템으로 최적화 */
.service-card {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 20px;
    height: 380px;
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--gray-300);
}

.service-card .card-image {
    width: 100%;
    height: 200px; /* 슬라이더 카드에 맞는 이미지 높이 */
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-card .card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.service-card .card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card .card-content h3 {
    font-size: 1rem;
    color: var(--gray-900);
    margin: 0 0 8px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.service-card .card-content p {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin: 18px 0 0;
    letter-spacing: -0.3px;
    line-height: 1.5;
}

.service-card .card-footer {
    display: flex;
    gap: 10px;
    padding: 0;
    margin-top: auto;
    align-items: center;
}

.service-card .card-footer .price {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gray-900);
    margin: 0;
    flex: 1;
    letter-spacing: 0.5px;
}

.service-card .card-footer .btn {
    flex: 0 0 auto; /* 버튼 크기 고정 */
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    white-space: nowrap; /* 버튼 텍스트 줄바꿈 방지 */
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 138, 101, 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: #FF6B35;
  font-size: 2rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 107, 53, 0.1);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 138, 101, 0.1) 100%);
  transform: scale(1.1);
  border-color: rgba(255, 107, 53, 0.2);
}

/* 상품 카테고리 섹션 */
.category-section {
  padding: 100px 0;
  background-color: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-item {
  background: white;
  border-radius: 0;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-300);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.category-icon {
  width: 90px;
  height: 90px;
  background: var(--gray-100);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-300);
}

.category-item:hover .category-icon {
  background: var(--primary-color);
  color: white;
  transform: none;
}

.category-item h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--gray-900);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.category-item p {
  color: var(--gray-600);
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
}

.subcategory-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.subcategory-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.subcategory-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: none;
  box-shadow: none;
}

/* 서브 카테고리 슬라이더 스타일 */
.subcategory-slider-container {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 0 60px; /* 네비게이션 버튼을 위한 패딩 추가 */
}

.subcategory-slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.subcategory-slider-track {
  display: flex;
  transition: transform 0.3s ease;
  gap: 20px;
  padding: 10px 0;
}

.subcategory-slide-item {
  box-sizing: border-box;
}

.subcategory-card {
  background: white;
  border-radius: 0;
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-300);
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.subcategory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.subcategory-icon {
  width: 50px;
  height: 50px;
  background: var(--gray-100);
  border-radius: 0;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.subcategory-card:hover .subcategory-icon {
  background: var(--primary-color);
  color: white;
  transform: none;
}

.subcategory-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2C2C2C;
}

.subcategory-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.4;
  flex-grow: 1;
}

.subcategory-view-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(var(--primary-color), 0.3);
}

.subcategory-view-btn:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--primary-color), 0.4);
}

.subcategory-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: none;
  z-index: 10;
}

.subcategory-nav-btn:hover:not(:disabled) {
  background: var(--gray-900);
  transform: translateY(-50%);
  box-shadow: none;
}

.subcategory-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.subcategory-prev-btn {
  left: 10px;
}

.subcategory-next-btn {
  right: 10px;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
  .subcategory-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .subcategory-prev-btn {
    left: 5px;
  }

  .subcategory-next-btn {
    right: 5px;
  }
}

@media (max-width: 768px) {
  .subcategory-card {
    height: 180px;
    padding: 20px;
  }

  .subcategory-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .subcategory-prev-btn {
    left: 0px;
  }

  .subcategory-next-btn {
    right: 0px;
  }
}

/* 프로모션 섹션 */
.promotion-section {
  background: var(--primary-color);
  padding: 120px 0;
}

.promotion-banner {
  display: flex;
  align-items: center;
  gap: 80px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.promotion-banner::before {
  display: none;
}

.promotion-content {
  flex: 1;
  max-width: 600px;
}

.promotion-content h2 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 30px;
  color: white;
  text-shadow: none;
  line-height: 1.3;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}

.promotion-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
  color: white;
  opacity: 0.9;
  text-shadow: none;
  position: relative;
  z-index: 2;
  letter-spacing: 0.3px;
}

.promotion-btn {
  background: white;
  color: var(--primary-color);
  font-size: 0.9rem;
  padding: 16px 40px;
  border: 1px solid white;
  border-radius: 0;
  font-weight: 500;
  box-shadow: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  position: relative;
  z-index: 2;
  display: inline-block;
}

.promotion-btn:hover {
  background-color: var(--gray-900);
  color: white;
  transform: none;
  box-shadow: none;
  border-color: var(--gray-900);
}

.promotion-image {
  flex: 1;
  text-align: center;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.promotion-image img {
  max-width: 100%;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 작동 방식 섹션 */
.how-it-works {
  background-color: var(--gray-100);
  padding: 100px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.step {
  background: white;
  padding: 50px 30px;
  border-radius: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-300);
}

.step-number {
  width: 60px;
  height: 60px;
  background: transparent;
  color: var(--primary-color);
  border-radius: 0;
  border: 1px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 auto 25px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--gray-900);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.faq-section {
  padding: 100px 0;
  background-color: var(--white);
  color: var(--gray-900);
}

.faq-section .section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 12px;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 8px;
  padding-left: 10px;
  display: none;
  line-height: 1.5;
}

/* 히어로 섹션 반응형 수정 - 모바일에서 이미지 크롭핑 문제 해결 */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 400px;
    max-height: 600px;
  }

  .slide img {
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
  }

  .slide-overlay {
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.1) 50%,
      rgba(0, 0, 0, 0.4) 100%
    );
  }

  .slide-indicators {
    bottom: 20px;
  }

  .slide-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .prev-btn {
    left: 15px;
  }

  .next-btn {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
    min-height: 350px;
    max-height: 500px;
  }

  .slide img {
    object-fit: scale-down;
    max-height: 100%;
  }

  .slide-indicators {
    bottom: 15px;
    gap: 8px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .slide-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}

/* 반응형 스타일 */
@media (max-width: 992px) {
  .hero {
    height: 65vh; /* 태블릿에서도 더 줄임 */
    min-height: 200px; /* 사용자가 원하는 크기로 줄임 */
  }

  .slide img {
    object-fit: cover;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 40px;
  }

  .cta-buttons {
    justify-content: center;
  }

  .promotion-banner {
    flex-direction: column;
    gap: 50px; /* 더 큰 간격 */
    padding: 50px; /* 적당한 패딩 */
  }

  .promotion-content h2 {
    font-size: 2.2rem; /* 적당한 크기 */
  }

  .promotion-content p {
    font-size: 1.1rem;
  }

  .promotion-image {
    max-width: 350px; /* 적당한 크기 */
  }

  #all-products-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    padding: 0 40px;
    scroll-behavior: smooth;
}

#all-products-container::-webkit-scrollbar {
    display: none;
}


}

@media (max-width: 768px) {
  .main-nav {
    margin: 20px 0;
  }

  .hero {
    height: 50vh; /* 모바일에서 더 줄임 */
    min-height: 200px; /* 사용자가 원하는 크기로 줄임 */
    max-height: 500px;
  }

  .slide img {
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .slide-overlay {
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.1) 50%,
      rgba(0, 0, 0, 0.4) 100%
    );
  }

  .slide-indicators {
    bottom: 20px;
  }

  .slide-btn {
    display: none; /* 모바일에서 이전/다음 버튼 완전 숨김 */
  }

  .prev-btn {
    left: 15px;
  }

  .next-btn {
    right: 15px;
  }

  .promotion-banner {
    padding: 30px;
  }

  .promotion-content h2 {
    font-size: 1.8rem;
  }

  .promotion-timer {
    gap: 10px;
  }

  .timer-item {
    min-width: 60px;
    padding: 10px 15px;
  }

  .timer-number {
    font-size: 2rem;
  }

   #all-products-container {
        display: flex;           /* flex 슬라이더 */
        flex-wrap: nowrap;       /* 한 줄로 배치 */
        overflow-x: auto;        /* 가로 스크롤 */
        overflow-y: hidden;      /* 세로 스크롤 방지 */
        gap: 0;                  /* 추천 상품과 동일 */
        padding: 10px 0;         /* 추천 상품과 동일 */
        margin: 20px 0;
        scroll-behavior: smooth;
    }
    
    /* 스크롤바 숨김 */
    #all-products-container::-webkit-scrollbar {
        display: none;
    }



  }


@media (max-width: 480px) {
  .hero {
    height: 235px;
    max-height: 80vh;
  }

  .slide img {
    object-fit: scale-down;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
  }

  .slide-indicators {
    bottom: 15px;
    gap: 8px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .slide-btn {
    display: none; /* 작은 모바일에서 이전/다음 버튼 완전 숨김 */
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }

     #all-products-container {
        padding: 10px 0;         /* 추천 상품과 동일 */
        gap: 0;                  /* 추천 상품과 동일 */
    }


    #all-products-slider {
        min-height: auto;
        margin-bottom: 40px;
    }
}

