.bokai_history_intro_main {
  width: 100%;
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
  background-image: url('https://okki-shop.oss-cn-hangzhou.aliyuncs.com/templates/shop-default/c1cdaf9a-5979-46d3-bda6-a5ca0ddd3c2d-Union.png');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100%;
}

.bokai_history_intro_title-wrap {
  margin-bottom: 3.75rem;
}

.bokai_history_intro_title {
  font-family: var(--title-font-family);
  font-size: var(--font-size-h1);
  font-weight: 700;
  color: var(--title-text-color);
  line-height: 1.125;
  margin: 0 0 1.25rem;
}

.bokai_history_intro_subtitle {
  font-family: var(--font-family);
  font-size: var(--font-size-h4);
  font-weight: 400;
  color: var(--text-color-second);
  line-height: 1.25;
  margin: 0;
}

.bokai_history_intro_content {
  position: relative;
}

/* Tabs Swiper */
.bokai_history_intro_tabs-swiper {
  margin-bottom: 3.75rem;
  position: relative;
  z-index: 1;
}

.bokai_history_intro_tabs {
  display: flex;
  width: max-content;
  margin: 0px !important;
}

.bokai_history_intro_tab-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 20.625rem;
  margin-right: 2.5rem;
}

.bokai_history_intro_tab-title {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.bokai_history_intro_tab-item .bokai_history_intro_tab-title {
  font-family: var(--title-font-family);
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
}

.bokai_history_intro_tab-item:not(.active) .bokai_history_intro_tab-title {
  color: var(--text-color-second);
}

.bokai_history_intro_tab-year {
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 0.625rem;
}

.bokai_history_intro_tab-item:not(.active) .bokai_history_intro_tab-year {
  color: var(--text-color-second);
}

.bokai_history_intro_tab-line {
  width: 100%;
  height: 4px;
  border-radius: 40px;
  background: var(--color-primary);
  transition: all 0.3s ease;
}

.bokai_history_intro_tab-item:not(.active) .bokai_history_intro_tab-line {
  background: #f8f8f8;
}

.bokai_history_intro_details {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.bokai_history_intro_detail-item {
  display: none;
  gap: 2.5rem;
  position: relative;
  opacity: 0;
}

.bokai_history_intro_detail-item.active {
  display: flex;
  opacity: 1;
}

.bokai_history_intro_image-wrap {
  width: 40rem;
  height: 22.5rem;
  aspect-ratio: 8 / 9;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.bokai_history_intro_image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bokai_history_intro_image-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

.bokai_history_intro_description {
  flex: 1;
  font-family: var(--font-family);
  font-size: var(--font-size-md);
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bokai_history_intro_year-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  width: 100%;
}

.bokai_history_intro_year-text {
  font-family: var(--title-font-family);
  font-size: 21.25rem;
  font-weight: 400;
  line-height: 21.25rem;
  text-align: center;
  background: linear-gradient(180deg, #f8f8f8 0%, rgba(248, 248, 248, 0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bokai_history_intro_nav-btn {
  --nav-btn-size: 32px;
  width: var(--nav-btn-size);
  height: var(--nav-btn-size);
  border-radius: 50%;
  background: var(--bg-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bokai_history_intro_nav-btn:hover svg * {
  stroke: var(--color-primary);
  transition: all 0.3s;
}

.bokai_history_intro_nav-btn svg {
  stroke: var(--text-color);
  /* color: var(--color-primary); */
}

.bokai_history_intro_nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.bokai_history_intro_nav-prev {
  left: calc(-1 * var(--nav-btn-size) - 5px);
}

.bokai_history_intro_nav-next {
  right: calc(-1 * var(--nav-btn-size) - 5px);
}

@media screen and (max-width: 1024px) {
  .bokai_history_intro_image-wrap {
    width: 50%;
  }

  .bokai_history_intro_year-text {
    font-size: 14.25rem;
  }

  .bokai_history_intro_nav-btn {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .bokai_history_intro_title-wrap {
    margin-bottom: 2rem;
  }
  .bokai_history_intro_detail-item {
    flex-direction: column;
  }

  .bokai_history_intro_image-wrap {
    width: 100%;
  }
}
