/* Tab Bar */
.category-list-v1-index {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  border-top: 1px solid rgba(246, 246, 246, 0.3);
  border-bottom: 1px solid rgba(246, 246, 246, 0.3);
  overflow-x: auto;
  scrollbar-width: none;
  z-index: 10;
}

.tab-bar::-webkit-scrollbar {
  display: none;
}

.tab-item {
  padding: 16px 24px;
  color: #ffffff;
  font-size: 16px;
  white-space: nowrap;
  text-decoration: none;
}

.hero-outer {
  position: relative;
  background-color: #222;
}

.hero-swiper {
  width: 100%;
  height: 500px;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 2;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-section {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 200px 20px 20px 20px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.hero-text h2 {
  font-size: 40px;
  font-weight: 600;
  color: #f6f6f6;
}

.hero-text p {
  font-size: 14px;
  font-weight: 300;
  color: #f6f6f6;
}

.discover-btn {
  background: rgba(246, 246, 246, 0.08);
  border: none;
  padding: 16px 40px;
  color: #f6f6f6;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.06);
}

.hero-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 30;
  text-align: center;
  gap: 10px;
  display: flex;
  justify-content: center;
}

.hero-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 2px;
  border-radius: 0;
  background: rgba(246, 246, 246, 0.3);
  opacity: 1;
  margin: 0 !important;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #f6f6f6;
}

/* Generic Section */
.p-section {
  padding: 60px 16px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-row h3 {
  font-size: 20px;
  font-weight: 600;
}

.subtitle {
  font-size: 16px;
  color: #555;
}

.banner {
  position: relative;
  width: 100%;
  aspect-ratio: 331 / 193;
  border: 1px solid rgba(246, 246, 246, 0.3);
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: #f6f6f6;
}

/* Product Area */
.product-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-main-display-list-v1-new {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 36px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #999 #f6f6f6;
}

.product-main-display-list-v1::-webkit-scrollbar {
  height: 1px;
}

.product-main-display-list-v1::-webkit-scrollbar-track {
  background: #f6f6f6;
  border-radius: 999px;
}

.product-main-display-list-v1::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 999px;
}

.product-main-display-list-v1::-webkit-scrollbar-thumb:hover {
  background: #777;
}

/* Product Card */
.product-card {
  flex: 0 0 108px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.p-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  border: 1px solid rgba(246, 246, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.p-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-name {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.p-discount {
  color: #dc2626;
  font-weight: 500;
}

.p-price {
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* Sold out Overlay */
.sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 34, 34, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 300;
}

/* Sale Badge */
.sale-label {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(34, 34, 34, 0.8);
  border: 1px solid rgba(246, 246, 246, 0.3);
  color: #f6f6f6;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
}

.new-label {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(246, 246, 246, 0.3);
  color: #222;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
}

.right-arrow {
  display: flex;
}

.color-ccc {
  color: #ccc;
}

.product-main-display-list-v1-sale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 10px;
  row-gap: 36px;
}

.product-main-display-list-v1-sale .product-card {
  flex: none;
  width: 100%;
}

.product-main-display-list-v1-sale .p-thumb {
  aspect-ratio: 166.5 / 222;
}

.product-main-display-list-v1-best {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 10px;
  row-gap: 60px;
}

.product-main-display-list-v1-best .product-card {
  flex: none;
  width: 100%;
}

.product-main-display-list-v1-best .p-thumb {
  aspect-ratio: 166.5 / 222;
}
