/* v2：完全直角 0 */
/* ── Banners 共享基礎 — 被各版本 vN.less 引用 ── */
.banner-section {
  width: 100%;
  margin-bottom: 60px;
}
@media screen and (max-width: 1024px) {
  .banner-section {
    margin-bottom: 10px;
  }
}
.banner-section .banner-viewport {
  overflow: hidden;
  width: 100%;
  padding: 30px 0;
  box-sizing: border-box;
  opacity: 0;
}
.banner-section.is-visible .banner-viewport,
.banner-section.banner--swiper.is-visible {
  opacity: 1;
  transition: opacity 1s ease;
}
.banner-section.banner--swiper {
  overflow: hidden;
  padding: 30px 0;
  box-sizing: border-box;
}
.banner-section.banner--swiper .swiper-wrapper.homebanner {
  display: flex;
  align-items: stretch;
}
.banner-section.banner--swiper .swiper-slide {
  width: auto;
  height: auto;
  flex-shrink: 0;
}
.banner-section.banner--swiper .banner {
  display: block;
}
.banner-section .homebanner {
  display: flex;
  gap: 15px;
  will-change: transform;
  transition: transform 1s ease;
}
.banner-section .banner {
  position: relative;
  width: 600px;
  height: 272px;
  flex-shrink: 0;
  background-color: #f7f7f7;
  overflow: visible;
  border: none;
  box-sizing: border-box;
}
.banner-section .banner > a,
.banner-section .banner > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  overflow: hidden;
}
.banner-section .banner > a {
  border-radius: inherit;
}
@media screen and (max-width: 768px) {
  .banner-section .banner {
    width: 300px;
    height: 136px;
  }
}
.banner-section .banner .contact {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 10px;
}
@media screen and (max-width: 768px) {
  .banner-section .banner .contact {
    bottom: 2px;
    left: 6px;
  }
}
.banner-section .banner .contact .qrcode-box {
  width: 90px;
  height: 90px;
  padding: 4px;
  background-color: #fff;
  border-radius: 10px;
}
.banner-section .banner .contact .qrcode-box img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .banner-section .banner .contact .qrcode-box {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    padding: 2px;
  }
}
.banner-section .banner .contact .line {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
@media screen and (max-width: 768px) {
  .banner-section .banner .contact .line {
    font-size: 16px;
  }
}
/* Preview bar shared */
.theme-preview-stack {
  position: sticky;
  top: 0;
  z-index: 201;
}
.theme-preview-stack .header-preview-bar,
.theme-preview-stack .banner-preview-bar,
.theme-preview-stack .filter-preview-bar {
  position: relative;
  top: auto;
  z-index: auto;
}
.banner-preview-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 12px;
  background: #1e3a5f;
  color: #e2e8f0;
  font-size: 13px;
  border-bottom: 2px solid #ffcb00;
}
.banner-preview-bar__title {
  margin: 0;
  font-weight: 700;
  color: #fff;
}
.banner-preview-bar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.banner-preview-bar__link {
  padding: 4px 10px;
  border-radius: 6px;
  background: #2d4a6f;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
}
.banner-preview-bar__link.is-active {
  background: #ffcb00;
  color: #111;
}
.banner--v2 .banner {
  border-radius: 0;
  border: 4px solid #111;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
