.anbo_about_factory {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.anbo_about_factory_bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.anbo_about_factory_bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anbo_about_factory .container {
  position: relative;
  z-index: 2;
}

.anbo_about_factory_head {
  text-align: center;
}

.anbo_about_factory_title {
  color: #0c0700;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.anbo_about_factory_desc {
  margin-top: 20px;
  color: #222;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.anbo_about_factory_content {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
}

.anbo_about_factory_intro {
  --factory-nav-width: 20px;
  --factory-gap: 16px;
  --factory-panel-size: 500px;
  display: flex;
  flex-shrink: 0;
  gap: var(--factory-gap);
  width: calc(var(--factory-nav-width) + var(--factory-gap) + var(--factory-panel-size));
  height: var(--factory-panel-size);
}

.anbo_about_factory_nav {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  width: var(--factory-nav-width);
  height: 92.8%;
}

.anbo_about_factory_nav::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #d9d9d9;
}

.anbo_about_factory_dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.anbo_about_factory_dot_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: #d9d9d9;
  transition: width 0.4s ease, height 0.4s ease, background-color 0.2s ease 0.4s;
}

.anbo_about_factory_dot.is-active .anbo_about_factory_dot_inner {
  width: 20px;
  height: 20px;
  background: var(--color-primary);
}

.anbo_about_factory_dot_inner span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease 0.4s;
}

.anbo_about_factory_dot.is-active .anbo_about_factory_dot_inner span {
  opacity: 1;
}

.anbo_about_factory_panels {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 var(--factory-panel-size);
  min-width: 0;
  width: var(--factory-panel-size);
  height: 100%;
  padding: 10%;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--color-primary);
}

.anbo_about_factory_title_window,
.anbo_about_factory_desc_window {
  display: grid;
  flex-shrink: 0;
  overflow: hidden;
}

.anbo_about_factory_desc_window {
  margin-top: 20px;
}

.anbo_about_factory_item_title,
.anbo_about_factory_item_desc {
  grid-area: 1 / 1;
  margin: 0;
  visibility: hidden;
  transform: translateY(100%);
}

.anbo_about_factory_item_title.is-active,
.anbo_about_factory_item_desc.is-active {
  visibility: visible;
  transform: translateY(0);
}

.anbo_about_factory_item_title {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.anbo_about_factory_item_desc {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.23;
}

.anbo_about_factory_gallery {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.anbo_about_factory_gallery .anbo_about_factory_slide {
  height: auto;
}

.anbo_about_factory_image {
  height: 100%;
  padding: 34px 0;
  box-sizing: border-box;
  transition: padding 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anbo_about_factory_image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.anbo_about_factory_slide.swiper-slide-active .anbo_about_factory_image {
  padding: 0;
}

.anbo_about_factory_slide.swiper-slide-active img {
  height: 100%;
}

.anbo_about_factory_controls {
  display: flex;
  gap: 20px;
  margin-top: 53px;
}

.anbo_about_factory_arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.anbo_about_factory_arrow:hover {
  background: #B0935B;
}

.anbo_about_factory_arrow.swiper-button-disabled {
  background: rgba(0, 0, 0, 0.08);
  cursor: not-allowed;
}

.anbo_about_factory_arrow svg {
  display: block;
  width: 25%;
  height: 50%;
}

@media (hover: hover) and (pointer: fine) {
  .anbo_about_factory_dot:hover .anbo_about_factory_dot_inner {
    background: var(--color-primary);
  }
}

@media screen and (max-width: 1499px) {
  .anbo_about_factory {
    padding: 80px 0;
  }

  .anbo_about_factory_title {
    font-size: 52px;
  }

  .anbo_about_factory_desc {
    margin-top: 18px;
    font-size: 18px;
  }

  .anbo_about_factory_content {
    margin-top: 48px;
  }

  .anbo_about_factory_item_title {
    font-size: 20px;
  }

  .anbo_about_factory_item_desc {
    font-size: 18px;
  }

  .anbo_about_factory_image {
    padding: 32px 0;
  }
}

@media screen and (max-width: 1400px) {
  .anbo_about_factory_intro {
    --factory-panel-size: 480px;
  }
}

@media screen and (max-width: 1279px) {
  .anbo_about_factory {
    padding: 72px 0;
  }

  .anbo_about_factory_title {
    font-size: 48px;
  }

  .anbo_about_factory_intro {
    --factory-panel-size: 440px;
  }

  .anbo_about_factory_content {
    gap: 20px;
  }

  .anbo_about_factory_item_title {
    font-size: 19px;
  }

  .anbo_about_factory_item_desc {
    font-size: 18px;
  }

  .anbo_about_factory_controls {
    margin-top: 20px;
  }

  .anbo_about_factory_arrow {
    width: 52px;
    height: 52px;
  }

  .anbo_about_factory_image {
    padding: 24px 0;
  }
}

@media screen and (max-width: 1199px) {
  .anbo_about_factory {
    padding: 64px 0;
  }

  .anbo_about_factory_title {
    font-size: 44px;
  }

  .anbo_about_factory_desc {
    margin-top: 16px;
    font-size: 16px;
  }

  .anbo_about_factory_intro {
    --factory-panel-size: 400px;
  }

  .anbo_about_factory_item_title {
    font-size: 19px;
  }

  .anbo_about_factory_item_desc {
    font-size: 16px;
    line-height: 1.5;
  }

  .anbo_about_factory_image {
    padding: 20px 0;
  }

}

@media screen and (max-width: 1100px) {
  .anbo_about_factory_intro {
    --factory-panel-size: 360px;
  }
}

@media screen and (max-width: 991px) {
  .anbo_about_factory {
    padding: 56px 0;
  }

  .anbo_about_factory_title {
    font-size: 40px;
  }

  .anbo_about_factory_content {
    margin-top: 32px;
    gap: 20px;
  }

  .anbo_about_factory_intro {
    --factory-panel-size: 400px;
  }

  .anbo_about_factory_item_title {
    font-size: 17px;
  }

  .anbo_about_factory_item_desc {
    font-size: 16px;
  }

  .anbo_about_factory_arrow {
    width: 44px;
    height: 44px;
  }
}

@media screen and (max-width: 900px) {
  .anbo_about_factory_intro {
    --factory-panel-size: 350px;
  }
}

@media screen and (max-width: 820px) {
  .anbo_about_factory_intro {
    --factory-panel-size: 330px;
  }
}

@media screen and (max-width: 767px) {
  .anbo_about_factory {
    padding: 48px 0;
  }

  .anbo_about_factory_title {
    font-size: 34px;
  }

  .anbo_about_factory_desc {
    margin-top: 14px;
    font-size: 15px;
  }

  .anbo_about_factory_item_title {
    font-size: 16px;
  }

  .anbo_about_factory_item_desc {
    font-size: 15px;
  }

  .anbo_about_factory_intro {
    --factory-panel-size: 50vw;
  }

  .anbo_about_factory_panels {
    padding: 8%;
  }

  .anbo_about_factory_arrow {
    width: 36px;
    height: 36px;
  }

  .anbo_about_factory_image,
  .anbo_about_factory_slide.swiper-slide-active .anbo_about_factory_image {
    padding: 0;
  }
}

@media screen and (max-width: 575px) {
  .anbo_about_factory {
    padding: 40px 0;
  }

  .anbo_about_factory_title {
    font-size: 28px;
  }

  .anbo_about_factory_desc {
    margin-top: 12px;
    font-size: 12px;
  }

  .anbo_about_factory_content {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-top: 24px;
  }

  .anbo_about_factory_intro {
    width: 100%;
    height: auto;
  }

  .anbo_about_factory_nav {
    display: none;
  }

  .anbo_about_factory_panels {
    width: 100%;
    flex: 1 1 auto;
    height: auto;
  }

  .anbo_about_factory_gallery {
    width: 100%;
    flex: none;
    max-width: 320px;
  }

  .anbo_about_factory_controls {
    margin-top: 24px;
  }

  .anbo_about_factory_item_title {
    font-size: 15px;
  }

  .anbo_about_factory_item_desc {
    font-size: 14px;
  }

  .anbo_about_factory_controls {
    gap: 10px;
  }
}
