.main {
  display: none;
}

.main2-body {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main2-body .logo-img {
  width: 80%;
  height: auto;
  margin-bottom: 20px;
}

.main2-body .main2-name {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
}

/* Main Content */
.main-content {
  margin-top: 60px;
  padding: 20px 0;
}

/* Banner Section */
.banner-section {
  padding: 0 16px;
  margin-bottom: 30px;
}
.select-branch {
  display: flex;
  align-items: center;
  margin: 0 auto;
  background: #fafafa;
  width: fit-content;
  margin-bottom: 30px;
  height: 45px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: relative;
}

.select-branch img {
  width: 20px;
  height: 20px;
}

.select-branch #storeName {
  flex: 1;
  margin: 0 10px;
  width: 240px;
  font-size: 16px;
  font-weight: bold;
  color: #111111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branch-option-body {
  position: absolute;
  top: 55px;
  left: 0;
  width: 100%;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  z-index: 22;
  max-height: 250px;
  overflow-y: auto;
}
.branch-option-body .item {
  font-size: 15px;
  height: 45px;
  line-height: 45px;
  padding-left: 10px;
  color: #111;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.branch-option-body .item:last-child {
  border-bottom: none;
}
.banner-section .swiper {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
}

.swiper-slide {
  position: relative;
}

.swiper-slide .solign {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  color: #000000;
}
.w-h-20 {
  width: 16px;
  height: auto;
}
.swiper-left-icon,
.swiper-right-icon {
  width: 16px;
  height: 16px;
}

.banner-section .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  display: flex;
}

.about-card-image {
  width: 100%;
  height: 170px;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 10px;
}

.about-card-content {
  margin-top: 15px;
}

.about-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #14192b;
  margin-bottom: 8px;
}

.about-card-text {
  font-size: 14px;
  color: #888b94;
  line-height: 1.5;
}

/* Pricing Section */
.pricing-slider {
  width: 100%;

  margin-top: 30px;
  position: relative;
}

.pricing-navigation {
  display: flex;
  align-items: center;
  margin: 0 -16px;
}

.pricing-swiper {
  flex: 1;
  width: calc(100% - 60px);
  margin: 0 5px;
  height: auto;
}

.pricing-swiper .swiper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.pricing-swiper .swiper-slide {
  width: 33.33%;
  display: flex;
  justify-content: center;
}

.pricing-card {
  padding: 20px;
  width: 100%;
  height: 250px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-period {
  color: #999;
  font-size: 14px;
  text-align: left;
  font-weight: 400;
}

.pricing-card-price {
  color: #111;
  font-size: 20px;
  font-weight: 700;
  margin-top: 16px;
  margin: 5px 0 5px 0;
}

.pricing-card-features {
  font-size: 14px;
  color: #999;
  word-break: break-all;
}

/* Class Schedule Section */
.schedule-date-selector {
  display: flex;
  align-items: center;
  margin: 20px -20px 20px -20px;
  width: calc(100% + 40px);
}

.schedule-nav-btn {
  width: 25px;
  height: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: none;
  color: #666;
}

.pricing-nav-btn {
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none !important;
  color: #666;
  font-size: 18px;
  transition: color 0.3s ease;
}

.pricing-nav-btn:focus {
  outline: none;
}

.schedule-dates {
  flex: 1;
  display: flex;
  gap: 2px;
  margin: 0 0px;
}

.schedule-date-item {
  flex: 1;
  height: 50px;
  display: flex;
  font-size: 10px;
  color: #666;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 10px 10px 10px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
  position: relative;
  cursor: pointer;
}

.schedule-date-item.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.schedule-date-day {
  font-weight: bold;
  color: #111;
  font-size: 14px;
}

.schedule-date-item.active .schedule-date-day {
  color: #fff;
}

.schedule-date-count {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 16px;
  height: 16px;
  background-color: #f46060;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  z-index: 2;
}

.schedule-classes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.schedule-class-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e1e4eb;
  height: 60px;
  border-radius: 10px;
  padding: 0 15px;
}

.schedule-class-name-coach {
  display: flex;
  align-items: center;
  width: 100%;
}

.schedule-class-info {
  width: 100%;
}

.schedule-class-info h4 {
  color: #111;
  font-size: 14px;
  margin-bottom: 0;
  flex: 1;
  display: inline-block;
}

.schedule-class-time {
  font-size: 12px;
  color: #999;
}

.schedule-class-coach {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 12px;
  color: #14192b;
  width: 110px;
}
.schedule-class-coach img {
  margin-right: 5px;
  margin-bottom: 4px;
}
/* Contact Section */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 15px;
  margin-right: 0;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.contact-info {
  width: 100%;
  padding: 0;
}

.contact-info h3 {
  font-size: 16px;
  font-weight: bold;
  color: #14192b;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.contact-item img {
  margin-right: 10px;
  margin-top: 5px;
}
.contact-icon {
  width: 14px;
  height: 14px;
  margin-right: 10px;
  margin-top: 5px;
  color: #666;
}

.contact-details h4 {
  font-size: 14px;
  font-weight: bold;
  color: #14192b;
  margin-bottom: 5px;
}

.contact-details p {
  font-size: 14px;
  color: var(--primary-color);
  margin: 0;
}

.contact-details a {
  font-size: 14px;
  color: var(--primary-color);
  margin: 0;
  text-decoration: none;
}

.time-show-mobile {
  display: inline-block;
}

.time-show-pc {
  display: none;
}

.header-title {
  font-size: 18px;
  font-weight: bold;
}

/* Desktop Responsive */
@media (min-width: 768px) {
  .main-content {
    margin-top: 80px;
    padding: 30px 0;
  }

  .banner-section {
    padding: 0;
  }

  .banner-section .swiper {
    height: 600px;
  }

  /* About Section Desktop */
  .about-cards {
    gap: 40px;
  }

  .about-card {
    flex-direction: row;
  }

  .main2-body .logo-img {
    width: 420px;
  }

  /* .about-card:nth-child(even) {
    flex-direction: row-reverse;
  } */

  .about-card-image {
    width: 50%;
    height: 300px;
  }

  .about-card-content {
    width: 50%;
    margin-top: 0;
    padding: 0 30px;
  }

  .swiper-slide .solign {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 65px;
    font-weight: bold;
    color: #000000;
  }

  .about-card-title {
    font-size: 24px;
  }

  .about-card-text {
    font-size: 16px;
  }

  /* Pricing Section Desktop */
  .pricing-navigation {
    display: flex;
  }

  .pricing-swiper {
    margin: 0;
  }

  .pricing-swiper .swiper {
    padding: 20px 0;
  }

  .pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }

  .pricing-card {
    padding: 30px;
  }

  .pricing-card-period {
    font-size: 20px;
    color: #888b94;
    line-height: 28px;
  }

  .pricing-card-price {
    font-weight: 500;
    font-size: 40px;
    color: #14192b;
    line-height: 44px;
  }

  .pricing-card-features {
    font-size: 16px;
    color: #888b94;
    line-height: 28px;
    margin-top: 5px;
  }

  .schedule-classes {
    max-width: 1050px;
    margin: 50px auto 0 auto;
    gap: 26px;
  }

  .schedule-class-item {
    height: 90px;
    border-radius: 15px 15px 15px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
  }
  .schedule-class-info {
    width: auto;
  }
  .schedule-class-info h4 {
    font-weight: 500;
    font-size: 24px;
    color: #14192b;
    width: 500px;
    display: inline-block;
  }
  .schedule-class-name-coach {
    display: inline;
  }
  .schedule-class-time {
    font-weight: 400;
    font-size: 20px;
    color: #666666;
    width: 200px;
  }
  .schedule-date-day {
    font-size: 18px;
    font-weight: bold;
  }

  /* PC端显示7天 */
  .schedule-dates {
    gap: 20px;
    justify-content: center;
  }

  .schedule-date-item {
    max-width: 130px;
    /* 7天平均分配 */
    font-size: 14px;
    height: 80px;
    color: #000000;
  }
  .schedule-date-selector {
    width: 1131px;
    margin: 0 auto;
  }
  .schedule-date-count {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: #f46060;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
  }
  .schedule-class-coach {
    width: 300px;
    padding-left: 80px;
    font-size: 20px;
  }
  .schedule-class-coach span {
    margin-left: 10px;
  }

  .contact-item img {
    margin-top: 5px;
    margin-right: 5px;
  }

  /* Contact Section Desktop */
  .contact-cards {
    gap: 40px;
  }

  .contact-card {
    flex-direction: row;
    align-items: center;
  }

  .contact-card:nth-child(even) {
    flex-direction: row-reverse;
  }

  .contact-map {
    width: 670px;
    height: 550px;
    margin-right: 100px;
  }

  .contact-card:nth-child(even) .contact-map {
    margin-right: 0;
    margin-left: 40px;
  }

  .contact-info {
    width: 50%;
    padding: 0 30px;
  }

  .contact-info h3 {
    font-weight: bold;
    font-size: 24px;
    color: #14192b;
    line-height: 46px;
  }

  .contact-details h4 {
    font-weight: bold;
    font-size: 20px;
    color: #14192b;
  }

  .contact-details p {
    font-weight: 500;
    font-size: 17px;
  }

  .contact-details a {
    font-weight: 500;
    font-size: 17px;
  }

  .time-show-mobile {
    display: inline-block;
  }

  .time-show-pc {
    display: none;
  }
  .swiper-left-icon,
  .swiper-right-icon {
    width: 20px;
    height: 20px;
  }
  .w-h-20 {
    width: 20px;
    height: auto;
  }
}

/* 手机端隐藏第6、7个日期项 */
@media (max-width: 767px) {
  .schedule-date-item:nth-child(6),
  .schedule-date-item:nth-child(7) {
    display: none;
  }

  .schedule-dates {
    gap: 8px;
  }

  .schedule-date-item {
    height: 50px;
  }

  .time-show-mobile {
    display: none;
  }

  .time-show-pc {
    display: inline-block;
  }

  .about-card-image {
    margin-top: 0;
  }
}

/* Utility Classes */
.hidden {
  display: none;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

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

.text-center {
  text-align: center;
}
