/* ================= OASIS STYLE PRODUCT SLIDER ================= */

.product-slide-section {
    position: relative;
    background-color: #fff; /* 깨끗한 흰색 배경 */
    max-width: var(--w-container);
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
  }

  .product-slide-section::-webkit-scrollbar {
      display: none; /* 스크롤 바 영역 자체를 숨김 */
      width: 0;      /* 가로 스크롤 바 너비를 0으로 설정 */
      height: 0;     /* 세로 스크롤 바 높이를 0으로 설정 */
  }
  
  .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
  }
  
  .section-header .main-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    letter-spacing: -0.5px;
  }
  
  .section-header .sub-title {
    font-size: 15px;
    color: #999;
    font-weight: 400;
    margin-top: 4px;
  }
  
  .section-header .view-more {
    margin-left: auto; /* 우측 정렬 */
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
    transition: color 0.2s;
  }
  .section-header .view-more:hover { color: var(--c-primary); }
  
  
  /* 2. 슬라이더 래퍼 */
  .product-slider-wrap { position: relative; }
  .swiper-container.special_slide { 
    overflow: visible; /* 그림자나 버튼이 잘리지 않게 */
    padding-bottom: 10px;
  }
  
  /* 3. 상품 카드 (플랫하고 깔끔하게) */
  .product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
  }
  
  /* 썸네일 영역 */
  .card-thumb {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 정사각 비율 */
    overflow: hidden;
    border-radius: 6px; /* 라운드 값을 줄여서 단정하게 */
    background-color: #f5f5f5;
    margin-bottom: 12px;
  }
  
  .thumb-link img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  /* 호버 시 이미지 살짝 확대 */
  .product-card:hover .thumb-link img {
    transform: scale(1.03); 
  }
  
  /* [핵심] 장바구니 버튼 (이미지 우측 하단) */
  .btn-cart-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.95); /* 반투명 흰색 */
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    opacity: 0.9;
  }
  .btn-cart-overlay:hover {
    background-color: var(--c-primary); /* 브랜드 컬러 반전 */
    color: #fff;
    opacity: 1;
    transform: scale(1.05);
  }
  
  /* 품절 오버레이 */
  .status-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
  }
  .status-overlay span {
    font-size: 14px; font-weight: 700; color: #666;
    border: 1px solid #999; padding: 5px 10px; border-radius: 4px;
    background: #fff;
  }
  
  /* 4. 정보 영역 (텍스트 정렬) */
  .card-info {
    display: flex; flex-direction: column;
  }
  
  .info-link { text-decoration: none; }
  
  .prod-name {
    font-size: 15px;
    color: #333;
    font-weight: 400; 
    line-height: 1.45;
    margin-bottom: 6px;
    
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 최대 2줄 */
    -webkit-box-orient: vertical;
    min-height: 44px; /* 높이 맞춰서 정렬 */
  }
  
  .prod-name .brand {
    font-weight: 600; color: #555; margin-right: 4px;
  }
  
  .price-area {
    display: flex; flex-direction: column;
  }
  
  /* 가격 행: 할인율 + 판매가 */
  .price-row {
    display: flex; align-items: center; gap: 6px;
  }
  .price-row .discount {
    font-size: 18px; font-weight: 800; color: #fa622f; 
  }
  .price-row .price {
    font-size: 18px; font-weight: 800; color: #333;
  }
  
  /* 원가 행 */
  .original-price {
    font-size: 13px; color: #aaa; text-decoration: line-through; margin-top: 2px;
  }
  
  /* 태그 */
  .tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
  .tags .tag {
    font-size: 11px; padding: 2px 6px; border-radius: 2px;
    background-color: #f4f4f4; color: #666;
    font-weight: 500;
  }
  
  /* --- Navigation (심플한 화살표) --- */
  .product-slider-wrap .swiper-button-next,
  .product-slider-wrap .swiper-button-prev {
    width: 40px; height: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s;
    top: 40%; /* 썸네일 중앙 높이 쯤에 위치하도록 조정 */
  }
  .product-slider-wrap .swiper-button-next:after,
  .product-slider-wrap .swiper-button-prev:after { font-size: 16px; font-weight: bold; }
  
  .product-slider-wrap .swiper-button-next:hover,
  .product-slider-wrap .swiper-button-prev:hover {
    border-color: #333;
  }
  
  .product-slider-wrap .swiper-button-prev { left: -20px; }
  .product-slider-wrap .swiper-button-next { right: -20px; }
  
  
  /* --- MOBILE RESPONSIVE --- */
  @media (max-width: 1240px) {
    .product-slider-wrap .swiper-button-prev { left: 0; }
    .product-slider-wrap .swiper-button-next { right: 0; }
  }
  
  @media (max-width: 768px) {
    .product-slide-section { padding: 30px 0; }
    
    .section-header { margin-bottom: 15px; }
    .section-header .main-title { font-size: 18px; }
    .section-header .sub-title { display: none; } /* 모바일에서 설명 숨김 */
    
    .card-thumb { border-radius: 4px; margin-bottom: 10px; }
    
    /* 모바일 장바구니 버튼 크기 조정 */
    .btn-cart-overlay { width: 36px; height: 36px; bottom: 8px; right: 8px; }
    .btn-cart-overlay svg { width: 18px; height: 18px; }
    
    .prod-name { font-size: 14px; min-height: 40px; }
    .price-row .discount, .price-row .price { font-size: 16px; }
    
    /* 모바일 네비게이션 숨김 */
    .product-slider-wrap .swiper-button-next,
    .product-slider-wrap .swiper-button-prev { display: none; }
  }