a.qk-event-img {
  width: 100%;
  padding-bottom: 65%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px 10px 0 0;
}

.qk-h2 {
  padding: 0 20px;
}
.qk-h2:before {
  border-top: 1px solid var(--heading);
  content: "";
  display: inline-block;
  position: absolute;
  width: 50px;
  height: 1px;
  left: -80px;
  top: 15px;
  transition: 0.3s;
}
.qk-h2:after {
  border-top: 1px solid var(--heading);
  content: "";
  display: inline-block;
  position: absolute;
  width: 50px;
  height: 1px;
  right: -80px;
  top: 15px;
  transition: 0.3s;
}
@media (max-width: 991px) {
  .qk-h2 {
    font-size: 20px;
  }
  .qk-h2:before {
    width: 35px;
    left: -35px;
    top: 11px;
  }
  .qk-h2:after {
    width: 35px;
    right: -35px;
    top: 11px;
  }
}




.index_event-caption {
  padding-bottom: 28%;
  border-radius: 0 0 10px 10px;
  position: relative;
}
.index_event-caption span {
  display: -webkit-box;
  display: block\0 ;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  line-height: 1.5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  padding: 0px 24px;
}

.main-slider {
  margin-bottom: 50px;
}
.main-slider .main_slider_custom_prev {
  margin-left: 24px;
}
.main-slider .main_slider_custom_next {
  margin-right: 24px;
}
.main-slider .img-flex {
  max-height: 432px;
}
.main-slider .img-flex img {
  width: 100vw !important;
  object-fit: cover;
}
@media (min-width: 581px) and (max-width: 991px) {
  .main-slider .img-flex {
    max-height: 320px;
  }
}
@media (max-width: 580px) {
  .main-slider .img-flex {
    max-height: 210px;
  }
}

.index_event_slider {
  padding: 48px 0px;
}
.index_event_slider .index_event_swiper_prev {
  margin-left: 24px;
}
.index_event_slider .index_event_swiper_next {
  margin-right: 24px;
}
.index_event_slider .swiper-container {
  margin: 32px auto 0;
}
@media (min-width: 581px) and (max-width: 991px) {
  .index_event_slider .swiper-container {
    margin-top: 24px;
  }
}
@media (max-width: 991px) {
  .index_event_slider {
    margin-bottom: 24px;
  }
  .index_event_slider .swiper-container {
    margin-top: 24px;
  }
}

.index_4_slider {
  margin-top: 48px;
}
.index_4_slider .qk-container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.index_4_slider .qk-container .swiper-container {
  border-radius: 10px;
  margin-top: 32px;
}
.index_4_slider .qk-container .swiper-container .index_4_swiper_prev {
  margin-left: 16px;
}
.index_4_slider .qk-container .swiper-container .index_4_swiper_next {
  margin-right: 16px;
}
.index_4_slider .qk-container .swiper-container a.qk-event-img {
  border-radius: 0%;
  padding-bottom: 100%;
}
@media (min-width: 581px) and (max-width: 991px) {
  .index_4_slider {
    margin-top: 32px;
  }
  .index_4_slider .container {
    padding: 0px;
  }
  .index_4_slider .container .swiper-container {
    border-radius: 0%;
    margin: 24px 0px 0px 0px;
    width: 100%;
  }
}
@media (max-width: 580px) {
  .index_4_slider .container {
    padding: 0px;
  }
  .index_4_slider .container .swiper-container {
    border-radius: 0%;
    width: 100%;
    margin: 24px 0px 0px 0px;
  }
}

.index_8_blocks {
  margin-bottom: 50px;
}
@media (max-width: 991px) {
  .index_8_blocks {
    margin-bottom: 24px;
  }
  .index_8_blocks .container {
    padding: 0px;
  }
}
@media (max-width: 580px) {
  .index_8_blocks {
    padding: 0px;
  }
}

.section-img {
  margin-top: 32px;
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1110px;
  grid-column-gap: 50px;
  grid-row-gap: 50px;
}
.section-img .product {
  max-width: 240px;
  display: inline-block;
  position: relative;
  text-align: center;
}
.section-img .product:hover .product_caption {
  opacity: 1;
  transition: opacity 0.3s;
}
@media (min-width: 581px) and (max-width: 991px) {
  .section-img {
    margin-top: 24px;
  }
  .section-img .product {
    margin: 10px;
  }
}
@media (max-width: 580px) {
  .section-img {
    margin-top: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 17px;
    grid-row-gap: 16px;
  }
  .section-img .product {
    max-width: 43.6vw;
  }
}

.product_image a {
  padding-bottom: 100%;
  border-radius: 15px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  align-items: start;
  display: flex;
  justify-content: center;
  vertical-align: text-top;
  display: block\0  !important;
  text-align: center\0 ;
}
.product_image a img {
  opacity: 0;
  max-height: 100%;
  max-width: 100%;
  transition: all linear 0.3s;
}
@media (max-width: 991px) {
  .product_image {
    max-height: none;
    overflow: hidden;
    transition: all 0.2s linear;
  }
}

.product_slogan {
  min-height: 35px;
  padding: 8px 16px;
  margin-top: 10px;
  border-radius: 10px;
}
.product_slogan span {
  display: -webkit-box;
  display: block\0 ;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  max-height: 19px;
  word-break: break-word;
  line-height: 1.5;
}

.product_caption {
  padding: 40px;
  transition: all 0.2s linear;
}
@media (max-width: 991px) {
  .product_caption {
    height: auto;
    opacity: 1;
    padding: 9px 0px;
    position: relative;
  }
}

.product_title {
  height: 3em;
}
.product_title a {
  display: -webkit-box;
  display: block\0 ;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  margin: 0 10%;
  line-height: 1.5em;
}
@media (max-width: 991px) {
  .product_title a {
    margin: 0%;
  }
}

.product_price {
  margin-top: 6px;
  white-space: nowrap;
}
.product_price del {
  white-space: normal;
}
.product_price ins {
  text-decoration: none;
}
.product_price ins.delete {
  margin-right: 0px;
}

.product_sold {
  margin-top: 6px;
  height: 18px;
  line-height: normal;
  letter-spacing: normal;
}

.product_btn {
  margin-top: 8px;
}
@media (max-width: 991px) {
  .product_btn {
    text-align: center;
    display: block;
  }
}

@media (max-width: 991px) {
  .btn-cart {
    width: 100%;
    cursor: pointer;
  }
  .btn-cart.btn-soldout {
    cursor: not-allowed;
  }
}

.index_4_blogs {
  padding: 20px 0;
  margin-bottom: 50px;
}
.index_4_blogs .form-group {
  margin-top: 32px;
}
.index_4_blogs .tab-content > .active {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 991px) {
  .index_4_blogs .form-group {
    margin-top: 24px;
  }
  .index_4_blogs .qk-container .form-blogs {
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    display: block;
    margin: 18px 0;
    border-radius: 0.25rem;
  }
  .index_4_blogs .qk-container .form-blogs:after {
    content: "";
    border: solid #e2e2e2;
    border-width: 5px 5px 0 0;
  }
  .index_4_blogs .qk-container .caption {
    position: relative;
    padding: 8px 12px 0 11px;
  }
}
@media (max-width: 991px) and (max-width: 580px) {
  .index_4_blogs .qk-container .caption {
    padding-top: 2%;
    width: 100%;
  }
}
@media (max-width: 991px) {
  .index_4_blogs .qk-container .tab-content > .active {
    display: inline;
  }
}

.tab-blogs {
  margin: 32px auto;
}
@media (max-width: 991px) {
  .tab-blogs {
    display: none;
  }
}

.blog-nav-link.active {
  color: var(--accent) !important;
}

.tab-pane {
  padding: 40px;
  border-radius: 10px;
  width: 100%;
}
@media (max-width: 991px) {
  .tab-pane {
    background: none;
    padding: 0px;
  }
}

.article {
  width: 100%;
  padding: 32px 11.5px;
}
@media (max-width: 991px) {
  .article {
    display: flex;
    margin: 9px 0;
    width: 100%;
    border-radius: 10px;
    padding: 0;
  }
}

.article-image a {
  padding-bottom: 75%;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 991px) {
  .article-image {
    flex: 0 0 40%;
    width: 0%;
    overflow: hidden;
  }
  .article-image a {
    border-radius: 10px 0px 0px 10px;
  }
}

.article-title {
  margin: 8px auto;
}
.article-title a {
  display: -webkit-box;
  display: block\0 ;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  height: 40px;
}
@media (max-width: 991px) {
  .article-title {
    margin-top: 10%;
  }
}
@media (max-width: 580px) {
  .article-title {
    margin-top: 0;
  }
}

.article_readmore a {
  height: 20px;
}
@media (max-width: 991px) {
  .article_readmore a {
    position: absolute;
    bottom: 10%;
    font-size: 13px;
  }
}

.index-product-banner {
  margin-bottom: 50px;
}
@media (max-width: 991px) {
  .index-product-banner {
    margin-bottom: 24px;
  }
}

.index-video-banner {
  margin-bottom: 50px;
}
.index-video-banner .embed-responsive {
  margin: 32px 0;
  padding-bottom: 58.5%;
}
@media (min-width: 581px) and (max-width: 991px) {
  .index-video-banner .embed-responsive {
    margin-top: 24px;
  }
}
@media (max-width: 991px) {
  .index-video-banner {
    margin: 32px 0;
  }
  .index-video-banner .embed-responsive {
    margin-top: 24px;
  }
}


/* FACB ASSET HERO SLIDER — 2026-07-21 */
body.facb-cyber-home .main-slider {
  position: relative;
  margin-bottom: 0 !important;
  overflow: hidden;
  background: var(--facb-hero-deep, #244665);
}

body.facb-cyber-home .main-slider,
body.facb-cyber-home .main-slider .swiper,
body.facb-cyber-home .main-slider .swiper-wrapper,
body.facb-cyber-home .main-slider .swiper-slide,
body.facb-cyber-home .main-slider .img-flex,
body.facb-cyber-home .main-slider picture {
  height: max(720px, 100svh) !important;
  min-height: 640px;
  max-height: none !important;
}

body.facb-cyber-home .main-slider .swiper-slide {
  position: relative;
  overflow: hidden;
}

body.facb-cyber-home .main-slider .img-flex,
body.facb-cyber-home .main-slider picture {
  position: relative;
  width: 100%;
  display: block;
}

body.facb-cyber-home .main-slider .swiper-slide picture img,
body.facb-cyber-home .main-slider .swiper-slide .img-flex > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  opacity: 1 !important;
  object-fit: cover !important;
  object-position: center;
}

/* Cyberbiz 原生輪播素材：依替代文字切換桌機圖片 */
body.facb-cyber-home img[alt="膠藝所水晶掛畫、圓鏡與吹浪肌理體驗課"] {
  content: url("https://cdn-general.cybassets.com/media/W1siZiIsIjMyNDU2L2F0dGFjaGVkX3Bob3Rvcy8xNzg0NjEwODIzX2hlcm8tZXhwZXJpZW5jZS53ZWJwLndlYnAiXV0.webp?sha=3e39945cb8b17fb7") !important;
}

body.facb-cyber-home img[alt="膠藝所兩日樹脂師資班八件作品"] {
  content: url("https://cdn-general.cybassets.com/media/W1siZiIsIjMyNDU2L2F0dGFjaGVkX3Bob3Rvcy8xNzg0NjEwODIyX2hlcm8tdGVhY2hlci53ZWJwLndlYnAiXV0.webp?sha=ab8897c8d793f40b") !important;
}

body.facb-cyber-home img[alt="台灣製低氣味無毒藝術膠與 SGS 檢驗"] {
  content: url("https://cdn-general.cybassets.com/media/W1siZiIsIjMyNDU2L2F0dGFjaGVkX3Bob3Rvcy8xNzg0NjEwODIzX2hlcm8tc2FmZXR5LndlYnAud2VicCJdXQ.webp?sha=9a1dbd923d409648") !important;
}

body.facb-cyber-home .main-slider .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 22, 34, .72) 0%, rgba(12, 33, 50, .38) 45%, rgba(9, 22, 34, .08) 77%),
    linear-gradient(0deg, rgba(9, 22, 34, .35), transparent 40%);
}

body.facb-cyber-home .main-slider .slider-infos-block.left {
  top: auto !important;
  bottom: clamp(130px, 17vh, 190px) !important;
  left: var(--facb-hero-gutter, clamp(22px, 5vw, 80px)) !important;
  z-index: 2;
  width: min(650px, calc(100vw - var(--facb-hero-gutter, 5vw) * 2));
  align-items: flex-start;
  gap: 22px;
  transform: none !important;
}

body.facb-cyber-home .main-slider .slider-text-title {
  max-width: 650px;
  color: #fff !important;
  font-family: "Noto Sans TC", "Songti TC", serif;
  font-size: clamp(48px, 5.6vw, 86px) !important;
  font-weight: 500 !important;
  line-height: 1.3;
  letter-spacing: .035em;
  text-wrap: balance;
}

body.facb-cyber-home .main-slider .slider-text-content {
  max-width: 600px;
  color: rgba(255, 255, 255, .92) !important;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  line-height: 1.8;
  letter-spacing: .035em;
  text-wrap: pretty;
}

body.facb-cyber-home .main-slider .slider-link-btn {
  min-height: 50px !important;
  padding: 12px 24px !important;
  color: var(--facb-hero-deep, #244665) !important;
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid #fff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 600;
  letter-spacing: .06em;
}

body.facb-cyber-home .main-slider .slider-link-btn:hover {
  color: #fff !important;
  background: var(--facb-hero-flow, #365f8d) !important;
  border-color: var(--facb-hero-flow, #365f8d) !important;
}

body.facb-cyber-home .main-slider .main_slider_custom_prev,
body.facb-cyber-home .main-slider .main_slider_custom_next {
  top: auto !important;
  bottom: 42px !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 5;
  color: #fff;
  background-color: rgba(10, 25, 38, .2) !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  outline: none;
  transform: none !important;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, border-color .2s ease !important;
}

body.facb-cyber-home .main-slider .main_slider_custom_prev:hover,
body.facb-cyber-home .main-slider .main_slider_custom_prev:active,
body.facb-cyber-home .main-slider .main_slider_custom_next:hover,
body.facb-cyber-home .main-slider .main_slider_custom_next:active {
  background-color: rgba(10, 25, 38, .62) !important;
  border-color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

body.facb-cyber-home .main-slider .main_slider_custom_prev:focus-visible,
body.facb-cyber-home .main-slider .main_slider_custom_next:focus-visible,
body.facb-cyber-home .facb-slider-pause:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: none !important;
}

body.facb-cyber-home .main-slider .main_slider_custom_prev {
  right: calc(var(--facb-hero-gutter, 5vw) + 347px) !important;
  left: auto !important;
}

body.facb-cyber-home .main-slider .main_slider_custom_next {
  right: calc(var(--facb-hero-gutter, 5vw) + 129px) !important;
  left: auto !important;
}

body.facb-cyber-home .main-slider .main_slider_pagination {
  position: absolute;
  top: auto !important;
  right: calc(var(--facb-hero-gutter, 5vw) + 186px) !important;
  bottom: 42px !important;
  left: auto !important;
  z-index: 5;
  width: auto !important;
  height: 46px !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin: 0 !important;
  line-height: 0;
}

body.facb-cyber-home .main-slider .swiper-pagination-bullet {
  width: 44px;
  height: 2px;
  margin: 0 !important;
  opacity: 1;
  background: rgba(255, 255, 255, .5);
  border-radius: 0;
}

body.facb-cyber-home .main-slider .swiper-pagination-bullet-active {
  background: #fff;
  transform: scaleY(2);
}

body.facb-cyber-home .facb-slider-pause {
  position: absolute;
  right: calc(var(--facb-hero-gutter, 5vw) + 72px);
  bottom: 42px;
  z-index: 5;
  width: 46px;
  height: 46px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(10, 25, 38, .2);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  box-shadow: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 991px) {
  body.facb-cyber-home .main-slider,
  body.facb-cyber-home .main-slider .swiper,
  body.facb-cyber-home .main-slider .swiper-wrapper,
  body.facb-cyber-home .main-slider .swiper-slide,
  body.facb-cyber-home .main-slider .img-flex,
  body.facb-cyber-home .main-slider picture {
    height: 100svh !important;
    min-height: 680px;
  }

  body.facb-cyber-home .main-slider .swiper-slide::after {
    background: linear-gradient(0deg, rgba(8, 24, 38, .8), rgba(8, 24, 38, .12) 75%);
  }

  body.facb-cyber-home .main-slider .slider-infos-block.left {
    bottom: 116px !important;
    gap: 16px;
  }

  body.facb-cyber-home .main-slider .slider-text-title {
    font-size: clamp(36px, 10vw, 50px) !important;
    line-height: 1.28;
    letter-spacing: .025em;
  }

  body.facb-cyber-home .main-slider .slider-text-content {
    font-size: 15px !important;
  }

  body.facb-cyber-home .main-slider .main_slider_custom_prev,
  body.facb-cyber-home .main-slider .main_slider_custom_next,
  body.facb-cyber-home .facb-slider-pause {
    display: none !important;
  }

  body.facb-cyber-home .main-slider .main_slider_pagination {
    right: auto !important;
    bottom: 34px !important;
    left: 22px !important;
  }
}

@media (max-width: 640px) {
  body.facb-cyber-home img[alt="膠藝所水晶掛畫、圓鏡與吹浪肌理體驗課"] {
    content: url("https://cdn-general.cybassets.com/media/W1siZiIsIjMyNDU2L2F0dGFjaGVkX3Bob3Rvcy8xNzg0NjEwODIzX2hlcm8tZXhwZXJpZW5jZS1tb2JpbGUud2VicC53ZWJwIl1d.webp?sha=1eaf142c1e486dfa") !important;
  }

  body.facb-cyber-home img[alt="膠藝所兩日樹脂師資班八件作品"] {
    content: url("https://cdn-general.cybassets.com/media/W1siZiIsIjMyNDU2L2F0dGFjaGVkX3Bob3Rvcy8xNzg0NjEwODIyX2hlcm8tdGVhY2hlci1tb2JpbGUud2VicC53ZWJwIl1d.webp?sha=676d2824916f5a40") !important;
  }

  body.facb-cyber-home img[alt="台灣製低氣味無毒藝術膠與 SGS 檢驗"] {
    content: url("https://cdn-general.cybassets.com/media/W1siZiIsIjMyNDU2L2F0dGFjaGVkX3Bob3Rvcy8xNzg0NjEwODIzX2hlcm8tc2FmZXR5LW1vYmlsZS53ZWJwLndlYnAiXV0.webp?sha=f8c78e7f7aaa5bd9") !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.facb-cyber-home .main-slider,
  body.facb-cyber-home .main-slider * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* FACB slider text visibility fix */
body.facb-cyber-home .main-slider .slider-infos-block,
body.facb-cyber-home .main-slider .slider-text-title,
body.facb-cyber-home .main-slider .slider-text-content {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.facb-cyber-home .main-slider .slider-text-title,
body.facb-cyber-home .main-slider .slider-text-content {
  display: block !important;
  max-height: none !important;
}


/* FACB slider content flow fix */
body.facb-cyber-home .main-slider .slider-infos-block.left {
  height: auto !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
}


/* FACB native slider nested link reset */
body.facb-cyber-home .main-slider .slider-infos-block .img-flex {
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: contents !important;
}


/* Cyberbiz native carousel does not expose a pause API */
body.facb-cyber-home .facb-slider-pause {
  display: none !important;
}


/* FACB pagination pseudo-circle removal — 2026-07-21 */
body.facb-cyber-home .main-slider .swiper-pagination-bullet::before,
body.facb-cyber-home .main-slider .swiper-pagination-bullet::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* FACB: restore Cyberbiz-managed carousel images — 2026-07-21 */
body.facb-cyber-home .main-slider img[alt] {
  content: normal !important;
}


/* FACB: responsive carousel controls for 4+ slides — 2026-07-21 */
@media (min-width: 768px) {
  body.facb-cyber-home .main-slider {
    --facb-carousel-edge: clamp(24px, 5vw, 80px);
    --facb-carousel-arrow: 46px;
    --facb-carousel-gap: 11px;
    --facb-carousel-pagination: clamp(180px, 22vw, 280px);
  }

  body.facb-cyber-home .main-slider .main_slider_custom_next {
    right: var(--facb-carousel-edge) !important;
    left: auto !important;
  }

  body.facb-cyber-home .main-slider .main_slider_pagination {
    right: calc(var(--facb-carousel-edge) + var(--facb-carousel-arrow) + var(--facb-carousel-gap)) !important;
    left: auto !important;
    width: var(--facb-carousel-pagination) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 9px !important;
  }

  body.facb-cyber-home .main-slider .main_slider_custom_prev {
    right: calc(var(--facb-carousel-edge) + var(--facb-carousel-arrow) + var(--facb-carousel-gap) + var(--facb-carousel-pagination) + var(--facb-carousel-gap)) !important;
    left: auto !important;
  }

  body.facb-cyber-home .main-slider .main_slider_pagination .swiper-pagination-bullet {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }
}


/* FACB: ABC Cooking-inspired NEWS section — 2026-07-21 */
body.facb-cyber-home .index_4_blogs {
  margin: 0 !important;
  padding: clamp(76px, 8vw, 120px) 0 !important;
  background: #f5f8fb !important;
}

body.facb-cyber-home .index_4_blogs > .container {
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-inline: clamp(22px, 5vw, 64px) !important;
}

body.facb-cyber-home .index_4_blogs .tab-blogs {
  width: 100% !important;
  margin: 0 0 clamp(34px, 4vw, 52px) !important;
  justify-content: flex-start !important;
}

body.facb-cyber-home .index_4_blogs .tab-blogs .nav-item {
  width: auto !important;
}

body.facb-cyber-home .index_4_blogs .blog-nav-link {
  display: block !important;
  padding: 0 !important;
  color: #244665 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-align: left !important;
}

body.facb-cyber-home .index_4_blogs .blog-nav-link::before {
  content: "NEWS";
  display: block;
  font-family: "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
}

body.facb-cyber-home .index_4_blogs .blog-nav-link::after {
  content: "媒體報導";
  display: block;
  margin-top: 14px;
  color: #61707d;
  font-family: "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .12em;
}

body.facb-cyber-home .index_4_blogs .tab-content {
  width: 100% !important;
}

body.facb-cyber-home .index_4_blogs .tab-pane {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 clamp(28px, 4vw, 56px) !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.facb-cyber-home .index_4_blogs .article {
  width: auto !important;
  min-width: 0 !important;
  min-height: 224px;
  display: grid !important;
  grid-template-columns: clamp(136px, 13vw, 180px) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
  margin: 0 !important;
  padding: 30px 0 !important;
  border-top: 1px solid rgba(36, 70, 101, .18);
}

body.facb-cyber-home .index_4_blogs .article-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eef3f8;
}

body.facb-cyber-home .index_4_blogs .article-image > a {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  padding: 0 !important;
  background-position: center !important;
  background-size: cover !important;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

body.facb-cyber-home .index_4_blogs .article:hover .article-image > a {
  transform: scale(1.035);
}

body.facb-cyber-home .index_4_blogs .caption {
  min-width: 0;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  padding: 6px 0;
}

body.facb-cyber-home .index_4_blogs .article-title {
  margin: 0 !important;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(36, 70, 101, .18);
}

body.facb-cyber-home .index_4_blogs .article-title > a {
  display: -webkit-box !important;
  overflow: hidden;
  color: #16202a !important;
  font-family: "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: clamp(16px, 1.4vw, 19px) !important;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-wrap: pretty;
}

body.facb-cyber-home .index_4_blogs .article_readmore {
  margin-top: auto;
  padding-top: 18px;
  text-align: right;
}

body.facb-cyber-home .index_4_blogs .article_readmore > a {
  width: 44px;
  height: 44px;
  display: inline-grid !important;
  place-items: center;
  color: #244665 !important;
  border: 1px solid rgba(36, 70, 101, .42);
  border-radius: 50%;
  font-size: 0 !important;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

body.facb-cyber-home .index_4_blogs .article_readmore > a::after {
  content: "↗";
  font-size: 17px;
  line-height: 1;
}

body.facb-cyber-home .index_4_blogs .article_readmore > a:hover,
body.facb-cyber-home .index_4_blogs .article_readmore > a:focus-visible {
  color: #fff !important;
  background: #244665;
  border-color: #244665;
  transform: translateY(-2px);
}

body.facb-cyber-home .index_4_blogs .btn-seemore {
  width: fit-content !important;
  min-height: 44px;
  margin: 42px auto 0 !important;
  display: flex !important;
  align-items: center;
  gap: 18px;
  color: #244665 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .08em;
  border-bottom: 1px solid rgba(36, 70, 101, .45);
}

body.facb-cyber-home .index_4_blogs .btn-seemore::after {
  content: "→";
  font-size: 17px;
  transition: transform .2s ease;
}

body.facb-cyber-home .index_4_blogs .btn-seemore:hover::after {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  body.facb-cyber-home .index_4_blogs {
    padding: 64px 0 !important;
  }

  body.facb-cyber-home .index_4_blogs .tab-blogs {
    margin-bottom: 26px !important;
  }

  body.facb-cyber-home .index_4_blogs .tab-pane {
    grid-template-columns: 1fr !important;
  }

  body.facb-cyber-home .index_4_blogs .article {
    min-height: 0;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0 !important;
  }

  body.facb-cyber-home .index_4_blogs .caption {
    padding: 0;
  }

  body.facb-cyber-home .index_4_blogs .article-title {
    padding-bottom: 12px;
  }

  body.facb-cyber-home .index_4_blogs .article-title > a {
    font-size: 15px !important;
    line-height: 1.55;
    -webkit-line-clamp: 3;
  }

  body.facb-cyber-home .index_4_blogs .article_readmore {
    padding-top: 10px;
  }

  body.facb-cyber-home .index_4_blogs .article_readmore > a {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.facb-cyber-home .index_4_blogs .article-image > a,
  body.facb-cyber-home .index_4_blogs .article_readmore > a,
  body.facb-cyber-home .index_4_blogs .btn-seemore::after {
    transition: none !important;
  }
}


/* Keep the NEWS preview balanced; full archive remains under 查看更多. */
body.facb-cyber-home .index_4_blogs .tab-pane > .article:nth-child(n + 5) {
  display: none !important;
}


/* FACB NEWS title height fix 2026-07-22 */
body.facb-cyber-home .index_4_blogs .article-title { height: auto !important; overflow: hidden !important; padding-bottom: 14px !important; }
body.facb-cyber-home .index_4_blogs .article-title > a { display: block !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: hidden !important; line-height: 1.6 !important; }


/* FACB NEWS card polish 2026-07-22 */
body.facb-cyber-home .index_4_blogs .article { border-top: 0 !important; }
body.facb-cyber-home .index_4_blogs .article-title { border-bottom: 0 !important; }
body.facb-cyber-home .index_4_blogs .article-image { height: auto !important; aspect-ratio: 1 / 1 !important; }
body.facb-cyber-home .index_4_blogs .article_readmore { display: flex !important; align-items: center !important; justify-content: flex-end !important; }
body.facb-cyber-home .index_4_blogs .article_readmore > a { box-sizing: border-box !important; width: 44px !important; height: 44px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; overflow: hidden !important; color: #244665 !important; background: rgba(255, 255, 255, .56) !important; border: 1px solid rgba(36, 70, 101, .42) !important; border-radius: 50% !important; line-height: 1 !important; text-decoration: none !important; }
body.facb-cyber-home .index_4_blogs .article_readmore > a::after { content: "↗" !important; display: block !important; font-family: Arial, sans-serif !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1 !important; transform: translate(-.5px, .5px); }
body.facb-cyber-home .index_4_blogs .article_readmore > a:hover, body.facb-cyber-home .index_4_blogs .article_readmore > a:focus-visible { color: #fff !important; background: #244665 !important; border-color: #244665 !important; }

body.facb-cyber-home .index_4_blogs .article-image { align-self: start !important; }


/* FACB NEWS hover and 5x4 image ratio 2026-07-22 */
body.facb-cyber-home .index_4_blogs .article-image { height: auto !important; aspect-ratio: 5 / 4 !important; align-self: start !important; overflow: hidden !important; border-radius: 12px !important; transform: scale(1); transform-origin: center; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
body.facb-cyber-home .index_4_blogs .article-image > a { border-radius: inherit !important; transform: scale(1) !important; }
body.facb-cyber-home .index_4_blogs .article:hover .article-image { border-radius: 12px !important; transform: scale(1.012); }
body.facb-cyber-home .index_4_blogs .article:hover .article-image > a { border-radius: inherit !important; transform: scale(1.02) !important; }
body.facb-cyber-home .index_4_blogs .article_readmore > a { border-radius: 50% !important; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .25s ease !important; }
body.facb-cyber-home .index_4_blogs .article_readmore > a:hover, body.facb-cyber-home .index_4_blogs .article_readmore > a:focus-visible { border-radius: 50% !important; transform: translateY(-1px) scale(1.04) !important; }
@media (prefers-reduced-motion: reduce) { body.facb-cyber-home .index_4_blogs .article-image, body.facb-cyber-home .index_4_blogs .article-image > a, body.facb-cyber-home .index_4_blogs .article_readmore > a { transition: none !important; transform: none !important; } }


/* FACB NEWS publish date 2026-07-22 */
body.facb-cyber-home .index_4_blogs .facb-news-date { display: block; margin-top: 12px; color: #61707d; font-family: "Noto Sans TC", "PingFang TC", sans-serif; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .08em; }
@media (max-width: 767px) { body.facb-cyber-home .index_4_blogs .facb-news-date { margin-top: 8px; font-size: 11px; } }


/* FACB LESSON STYLE to experience section spacing 2026-07-22 */
body.facb-cyber-home .facb-lesson-style { padding-bottom: 56px !important; }
body.facb-cyber-home #experience.facb-section { padding-top: 72px !important; }
@media (max-width: 820px) { body.facb-cyber-home .facb-lesson-style { padding-bottom: 32px !important; } body.facb-cyber-home #experience.facb-section { padding-top: 44px !important; } }


/* FACB experience title size bridge 2026-07-22 */
body.facb-cyber-home #facb-experience-title {
  font-size: var(--facb-experience-title-size, clamp(28px, 4vw, 32px)) !important;
}




/* FACB carousel title typography 2026-07-22 */
html body.facb-cyber-home .main-slider .slider-text-title {
  font-family: "Noto Serif TC", "Songti TC", serif !important;
  font-size: clamp(2.75rem, 5vw, 4.75rem) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: .035em !important;
  text-wrap: balance;
}

@media (max-width: 991px) {
  html body.facb-cyber-home .main-slider .slider-text-title {
    font-size: clamp(2.125rem, 9vw, 2.875rem) !important;
    line-height: 1.28 !important;
  }
  
  
}

/* FACB | Match non-home header to the repaired homepage header
   + related product thumbnail fix
   Paste into Cyberbiz theme asset: css/index.css */

:root {
  --facb-hero-gutter: clamp(22px, 5vw, 80px);
  --facb-hero-deep: #244665;
  --facb-hero-flow: #365f8d;
  --facb-header-bg: #ffffff;
  --facb-header-line: rgba(36, 70, 101, 0.16);
}

body:not(.facb-cyber-home) #header {
  height: 112px !important;
  color: var(--facb-hero-deep);
  background: var(--facb-header-bg) !important;
  border-bottom: 0;
  z-index: 30;
  --nav_menu_icon: var(--facb-hero-deep);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body:not(.facb-cyber-home) #header .computer_nav {
  position: relative;
  height: 112px;
  background: transparent !important;
}

body:not(.facb-cyber-home) #header .header_logo,
body:not(.facb-cyber-home) #header .header_nav {
  position: absolute;
  inset: 0;
  background: transparent !important;
}

body:not(.facb-cyber-home) #header .header_logo {
  z-index: 2;
  pointer-events: none;
}

body:not(.facb-cyber-home) #header .header_logo > .qk-pos--rel,
body:not(.facb-cyber-home) #header .header_logo .qk-text--center {
  height: 100%;
}

body:not(.facb-cyber-home) #header .logo {
  position: absolute;
  top: 11px;
  left: var(--facb-hero-gutter);
  width: 120px;
  height: 90px;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center;
  overflow: visible;
  background: transparent !important;
  border-radius: 0;
  pointer-events: auto;
}

body:not(.facb-cyber-home) #header .logo img {
  width: auto !important;
  height: 72px !important;
  max-width: 92px !important;
  max-height: 72px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
}

body:not(.facb-cyber-home) #header .tool-nav {
  position: absolute !important;
  top: 50%;
  right: var(--facb-hero-gutter);
  width: 128px !important;
  height: 40px !important;
  transform: translateY(-50%);
  pointer-events: auto;
  z-index: 3;
}

body:not(.facb-cyber-home) #header .tool-nav .link_shelf_top {
  position: static !important;
  width: 128px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
}

body:not(.facb-cyber-home) #header .tool-nav .link_shelf_top > li {
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body:not(.facb-cyber-home) #header .header_nav {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

body:not(.facb-cyber-home) #header .header_nav > .qk-pd_x--15,
body:not(.facb-cyber-home) #header .header_nav .center,
body:not(.facb-cyber-home) #header .main_nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

body:not(.facb-cyber-home) #header .main_nav > ul {
  width: auto !important;
  max-width: 820px !important;
  flex-wrap: nowrap !important;
  gap: clamp(12px, 1.6vw, 26px);
}

body:not(.facb-cyber-home) #header .main_nav > ul > span {
  width: auto !important;
  flex: 0 0 auto !important;
}

body:not(.facb-cyber-home) #header .main_nav > ul > span > li {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:not(.facb-cyber-home) #header .main_nav > ul > span > li > a {
  position: relative;
  padding: 12px 0;
  color: var(--facb-hero-deep) !important;
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

body:not(.facb-cyber-home) #header .main_nav > ul > span > li > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

body:not(.facb-cyber-home) #header .main_nav > ul > span > li > a:hover::after,
body:not(.facb-cyber-home) #header .main_nav > ul > span > li > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* FACB | Other-page dropdown matches homepage sharp flyout — 2026-07-27 */
@media (min-width: 992px) {
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu {
    left: 50% !important;
    width: 270px !important;
    min-width: 270px !important;
    max-width: min(570px, calc(100vw - 32px)) !important;
    margin-left: -135px;
    padding: 8px 0 !important;
    align-items: flex-start;
    gap: 0 !important;
    color: var(--facb-hero-deep) !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transform-origin: top left;
  }

  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu:has(> ul:nth-child(2)) {
    width: min(570px, calc(100vw - 32px)) !important;
    min-width: min(570px, calc(100vw - 32px)) !important;
    max-width: min(570px, calc(100vw - 32px)) !important;
    padding: 8px 0 !important;
    align-items: stretch;
    gap: 0 !important;
  }

  body:not(.facb-cyber-home) #header .main_nav > ul > span > li:hover > .three-dimension-menu,
  body:not(.facb-cyber-home) #header .main_nav > ul > span > li:focus-within > .three-dimension-menu,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu:hover {
    animation: facb-flyout-in .16s cubic-bezier(.22, 1, .36, 1) both;
  }

  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu > ul,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu:has(> ul:nth-child(2)) > ul:first-child {
    flex: 0 0 270px;
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
    max-height: calc(100vh - 128px);
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #fff;
    border-radius: 0 !important;
  }

  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu > ul:nth-child(2),
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu:has(> ul:nth-child(2)) > ul:nth-child(2) {
    flex: 1 1 300px;
    width: 300px !important;
    min-width: 0 !important;
    max-width: 300px !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: inset 1px 0 rgba(36, 70, 101, .14) !important;
  }

  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .second-level-item,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu > ul:nth-child(2) > li,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .third-level-item {
    min-height: 41px;
    margin: 0 !important;
    padding: 0 !important;
    color: #586b7b !important;
    background: transparent !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
    transition: color .15s ease !important;
  }

  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .second-level-item + .second-level-item,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu > ul:nth-child(2) > li + li,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .third-level-item + .third-level-item {
    margin-top: 0 !important;
  }

  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .second-level-item:hover,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .second-level-item:focus-within,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .second-level-item.active,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .second-level-item.is-active,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu > ul:nth-child(2) > li:hover,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu > ul:nth-child(2) > li:focus-within,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .third-level-item:hover,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .third-level-item:focus-within {
    color: var(--facb-hero-flow) !important;
    background: transparent !important;
    font-weight: 500 !important;
  }

  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .second-level-item > a,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu > ul:nth-child(2) > li a,
  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .third-level-item a {
    width: 100%;
    min-width: 0;
    min-height: 41px;
    padding: 10px 36px 10px 16px !important;
    color: inherit !important;
    font-size: 13px;
    font-weight: inherit !important;
    line-height: 1.62;
    letter-spacing: .08em;
    overflow-wrap: anywhere;
    text-decoration: none;
  }

  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu .arrow {
    position: absolute;
    right: 15px;
    margin: 0 !important;
    color: currentColor;
    opacity: .62;
  }

  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu a:focus-visible {
    outline: 1px solid var(--facb-hero-flow);
    outline-offset: -3px;
    border-radius: 0;
  }
}

@keyframes facb-flyout-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  body:not(.facb-cyber-home) #header {
    height: 84px !important;
    background: #ffffff !important;
  }

  body:not(.facb-cyber-home) #header .mobile-nav {
    height: 84px !important;
    color: var(--facb-hero-deep);
    background: transparent !important;
    border-bottom: 1px solid var(--facb-header-line);
    --nav_menu_icon: var(--facb-hero-deep);
  }

  body:not(.facb-cyber-home) #header .mobile-nav > ul {
    position: relative;
    width: 100%;
    height: 84px !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body:not(.facb-cyber-home) #header .mobile-nav .logo {
    position: absolute !important;
    top: 9px;
    left: 50% !important;
    width: 92px;
    height: 66px;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center;
    transform: translateX(-50%) !important;
  }

  body:not(.facb-cyber-home) #header .mobile-nav .logo a {
    width: 55px !important;
    height: 66px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body:not(.facb-cyber-home) #header .mobile-nav .logo img {
    width: auto !important;
    height: 48px !important;
    max-width: 55px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    filter: none !important;
  }

  body:not(.facb-cyber-home) #header .mobile-nav .sidebar-menu-icon,
  body:not(.facb-cyber-home) #header .mobile-nav .search {
    width: 46px !important;
    height: 84px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body:not(.facb-cyber-home) #header .mobile-nav .sidebar-menu-icon .svg-wrapper,
  body:not(.facb-cyber-home) #header .mobile-nav .search .svg-wrapper {
    width: 26px !important;
    height: 26px !important;
  }

  body:not(.facb-cyber-home) #header .mobile-nav .sidebar-menu-icon .svg-wrapper svg,
  body:not(.facb-cyber-home) #header .mobile-nav .search .svg-wrapper svg {
    width: 26px !important;
    height: 26px !important;
  }
}

@media (min-width: 992px) and (max-width: 1279px) {
  body:not(.facb-cyber-home) #header .main_nav > ul > span:nth-child(4),
  body:not(.facb-cyber-home) #header .main_nav > ul > span:nth-child(5),
  body:not(.facb-cyber-home) #header .main_nav > ul > span:nth-child(6) {
    display: none;
  }
}

/* FACB related products thumbnail fix */
#related-products .product_image {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto !important;
  overflow: hidden;
  background: #eef3f8;
}

#related-products .product_image .productClick.img-flex {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#related-products .product_image img.feature-image,
#related-products .product_image img.swiper-lazy {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
}

#related-products .swiper_products,
#related-products .swiper_products .swiper-wrapper {
  align-items: flex-start;
}

#related-products .swiper-lazy-preloader-white {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #header *,
  #header *::before,
  #header *::after,
  #related-products *,
  #related-products *::before,
  #related-products *::after {
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   FACB UNIVERSAL PRODUCT PAGE — 2026-07-27
   ========================================================= */
#template #product{--facb-product-ink:#243443;--facb-product-deep:#244665;--facb-product-flow:#365f8d;--facb-product-muted:#637384;--facb-product-line:#dbe4ec;--facb-product-mist:#f3f7fa;--facb-product-pale:#eaf0f5;--facb-product-white:#fff;color:var(--facb-product-ink);font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif}
#template #product>.qk-container{width:min(100%,1240px);max-width:1240px;margin-right:auto;margin-left:auto}
#template #product_info{align-items:start}
#template #variant_photos,#template #product_content{min-width:0}
#template #variant_photos .product_img_swiper{aspect-ratio:1/1;overflow:hidden;background:var(--facb-product-mist)}
#template #variant_photos .product_img_swiper .swiper-wrapper,#template #variant_photos .product_img_swiper .product_photo{height:100%!important}
#template #variant_photos .product_img_swiper .product_photo{display:flex!important;align-items:center;justify-content:center;background:var(--facb-product-mist)}
#template #variant_photos .product_img_swiper .product_photo img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;display:block!important;object-fit:contain!important;object-position:center!important}
#template #variant_photos .photo-swiper-prev,#template #variant_photos .photo-swiper-next{width:42px;height:42px;color:var(--facb-product-deep);background:rgba(255,255,255,.92);border:1px solid rgba(36,70,101,.18);border-radius:0;box-shadow:none}
#template #variant_photos .thumb{margin-top:14px}
#template #variant_photos .thumb-container{gap:10px}
#template #variant_photos .thumb-container>li{width:76px!important;min-width:76px;height:76px!important;margin:0!important;padding:0!important;background:var(--facb-product-mist);border:1px solid var(--facb-product-line)!important;border-radius:0!important;opacity:.82;transition:border-color .2s ease,opacity .2s ease}
#template #variant_photos .thumb-container>li:hover,#template #variant_photos .thumb-container>li.active{border-color:var(--facb-product-flow)!important;opacity:1}
#template #variant_photos .thumb-container>li img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center!important}
#template #product_content{display:flex!important;flex-direction:column;align-items:stretch;color:var(--facb-product-ink)}
#template #product_content>.product_title{order:1}#template #product_content>.product_brief{order:2}#template #product_content>.product_price{order:3}#template #product_content>.product_inventory_policy{order:4}#template #product_content>.variant_options{order:5}#template #product_content>.product_variant_quantity{order:6}#template #product_content>.product_others{order:7}#template #product_content>.product_button{order:8}#template #product_content>.product_button_mobile{order:9}
#template #product_content>.product_vendor_slogan{display:none!important}
#template #product_content .product_title h1{margin:0;color:var(--facb-product-deep)!important;font-size:clamp(24px,1.8vw,28px)!important;font-weight:600!important;line-height:1.25!important;letter-spacing:-.025em;text-wrap:balance}
#template #product_content .product_brief{max-width:42em;margin:18px 0 0!important;color:var(--facb-product-muted)!important;font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif!important;font-size:15px!important;line-height:1.9!important;text-wrap:pretty}
#template #product_content .product_brief>:first-child{margin-top:0}#template #product_content .product_brief>:last-child{margin-bottom:0}
#template #product_content #price_title{margin:26px 0 0!important;padding-top:20px;color:var(--facb-product-flow)!important;border-top:1px solid var(--facb-product-line);font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif!important;font-size:28px!important;font-weight:500!important;line-height:1.35!important;letter-spacing:.01em}
#template #product_content .product_inventory_policy{margin:8px 0 0!important;color:#4f705c!important;font-size:13px!important;font-weight:400!important;line-height:1.6!important}
#template #product_content #variant_options{margin:26px 0 0!important}
#template #product_content #variant_options .product-variant-option{margin:0 0 18px!important}
#template #product_content #variant_options .advance{display:flex!important;flex-wrap:wrap;gap:8px}
#template #product_content #variant_options .option_title{flex:1 0 100%;margin:0 0 2px;color:var(--facb-product-ink)!important;font-size:14px!important;font-weight:600!important;line-height:1.6}
#template #product_content #variant_options .option{width:auto!important;min-width:0;min-height:44px;height:auto!important;margin:0!important;padding:9px 14px!important;display:inline-flex!important;align-items:center;justify-content:center;color:#4d6071!important;background:#fff!important;border:1px solid #b8c5d1!important;border-radius:2px!important;box-shadow:none!important;font-size:13px!important;font-weight:400!important;line-height:1.45!important;white-space:normal;text-align:center;overflow-wrap:anywhere;transition:color .2s ease,background-color .2s ease,border-color .2s ease}
#template #product_content #variant_options .option:hover,#template #product_content #variant_options .option.active,#template #product_content #variant_options .option.selected,#template #product_content #variant_options .option.is-selected{color:var(--facb-product-deep)!important;background:var(--facb-product-pale)!important;border-color:var(--facb-product-flow)!important}
#template #product_content>.product_variant_quantity{width:100%;margin:2px 0 0!important}
#template #product_content>.product_variant_quantity:before{content:"數量";margin-bottom:8px;display:block;color:var(--facb-product-ink);font-size:14px;font-weight:600;line-height:1.6}
#template #product_content>.product_variant_quantity .product_quantity,#template #product_content>.product_variant_quantity .btn-group{width:100%;display:flex!important}
#template #product_content>.product_variant_quantity .btn-group{height:48px}
#template #product_content>.product_variant_quantity .btn-group>.btn{height:48px!important;margin:0!important;color:var(--facb-product-deep)!important;background:#fff!important;border-color:#b8c5d1!important;border-radius:0!important;box-shadow:none!important}
#template #product_content>.product_variant_quantity .add-down,#template #product_content>.product_variant_quantity .add-up{flex:0 0 52px;width:52px!important}
#template #product_content>.product_variant_quantity .item-quantity{flex:1 1 auto;width:auto!important;min-width:0;text-align:center}
#template #product_content .product_others{margin:18px 0 0!important;gap:0!important}
#template #product_content .product_love{margin:0!important}
#template #product_content .btn_love{min-height:34px;padding:0!important;color:var(--facb-product-deep)!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:14px!important}
#template #product_content .btn_love svg{color:currentColor!important}
#template #product_content>.product_button{margin:24px 0 0!important;gap:12px!important}
#template #product_content>.product_button .btn{min-width:0;min-height:54px;height:54px!important;margin:0!important;padding:0 18px!important;border:1px solid var(--facb-product-flow)!important;border-radius:2px!important;box-shadow:none!important;font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif!important;font-size:15px!important;font-weight:600!important;letter-spacing:.04em;transition:color .22s ease,background-color .22s ease,transform .22s cubic-bezier(.22,1,.36,1)}
#template #product_content>.product_button .btn:hover{transform:translateY(-2px)}
#template #product_content>.product_button .btn_to_cart{color:var(--facb-product-flow)!important;background:#fff!important}
#template #product_content>.product_button .btn-quick_buy{color:#fff!important;background:var(--facb-product-flow)!important}
#template #product_description{margin-top:84px;color:var(--facb-product-ink)}
#template #product_description .desc_sections>ul{justify-content:flex-start;background:#fff!important;border-width:1px 0 0!important;border-color:var(--facb-product-line)!important}
#template #product_description .desc_sections>ul>li{flex:0 1 180px!important;border:0!important}
#template #product_description .desc_sections>ul>li>a{padding:18px 14px!important;color:var(--facb-product-muted)!important;border-bottom:1px solid transparent;font-size:14px!important}
#template #product_description .desc_sections>ul>li:first-child>a,#template #product_description .desc_sections>ul>li>a:hover{color:var(--facb-product-deep)!important;border-bottom-color:var(--facb-product-flow)}
@media(min-width:992px){#template #product{margin-top:clamp(48px,5vw,72px)!important}#template #product>.qk-container{padding-right:36px!important;padding-left:36px!important}#template #product_info{grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)!important;column-gap:clamp(56px,6vw,88px)!important}#template #variant_photos,#template #product_content{width:auto!important}#template #product_content{position:sticky;top:28px}}
@media(max-width:991px){#template #product{margin-top:24px!important}#template #product>.qk-container{padding-right:20px!important;padding-left:20px!important}#template #product_info{display:block!important}#template #variant_photos,#template #product_content{width:100%!important}#template #product_content{padding-top:32px}#template #product_content .product_title h1{font-size:clamp(22px,6vw,26px)!important}#template #product_content .product_brief{font-size:14px!important;line-height:1.85!important}#template #product_content #price_title{font-size:26px!important}#template #product_content #variant_options .option{flex:1 1 calc(50% - 8px)}#template #product_description{margin-top:64px}#template #product_description .desc_sections{overflow-x:auto}#template #product_description .desc_sections>ul{min-width:460px}#template #product_content>.product_button_mobile{padding:10px 16px max(10px,env(safe-area-inset-bottom))!important;gap:8px!important;background:#fff!important;border-top:1px solid var(--facb-product-line);box-shadow:none!important}#template #product_content>.product_button_mobile .btn{min-height:48px;border-radius:2px!important;box-shadow:none!important;font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif!important;font-size:14px!important;font-weight:600!important}}
@media(max-width:520px){#template #product_content #variant_options .option{flex-basis:100%}#template #variant_photos .product_img_swiper{margin-right:-20px;margin-left:-20px;width:calc(100% + 40px)}}
@media(prefers-reduced-motion:reduce){#template #product *,#template #product *:before,#template #product *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* =========================================================
   FACB PRODUCT CAROUSEL — 2026-07-27
   Single-image carousel with clickable dot navigation.
   Keeps Cyberbiz product data and purchase functions intact.
   ========================================================= */

/* Remove the product breadcrumb/path bar. */
#template #site_path {
  display: none !important;
}

/* Keep only the duplicated vendor slogan out of the product summary. */
#template #product_content > .product_vendor_slogan {
  display: none !important;
}

/* Restore the theme's inherited title font. */
#template #product_content .product_title h1 {
  font-family: inherit !important;
}

/* Keep long-form content readable without forcing a font family. */
#template #product_description .desc_body {
  width: 100%;
  max-width: none;
  margin: 40px 0 0;
}

#template #product_description #ckeditor {
  color: #465a6b;
  font-size: 16px;
  line-height: 1.95;
}

#template #product_description #ckeditor p,
#template #product_description #ckeditor li,
#template #product_description #ckeditor blockquote {
  max-width: none;
}

#template #product_description #ckeditor h2,
#template #product_description #ckeditor h3,
#template #product_description #ckeditor h4,
#template #product_description #ckeditor h5 {
  color: #244665;
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
}

#template #product_description #ckeditor img {
  
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* One square image at a time. */
#template #variant_photos .product_photos,
#template #variant_photos .product_img_swiper {
  width: 100% !important;
}

#template #variant_photos .product_img_swiper {
  height: auto !important;
  aspect-ratio: 1 / 1;
  overflow: hidden !important;
  background: #f3f7fa;
}

#template #variant_photos .product_img_swiper .swiper-wrapper,
#template #variant_photos .product_img_swiper .product_photo {
  height: 100% !important;
}

#template #variant_photos .product_img_swiper .swiper-wrapper {
  display: flex !important;
  gap: 0 !important;
}

#template #variant_photos .product_img_swiper .product_photo {
  flex: 0 0 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  background: #f3f7fa;
}

#template #variant_photos .product_img_swiper .product_photo img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Replace arrows and numeric pagination with the native clickable thumbnails,
   visually reduced to circular dots. */
#template #variant_photos .photo-swiper-prev,
#template #variant_photos .photo-swiper-next,
#template #variant_photos .photo-pagination {
  display: none !important;
}

#template #variant_photos .thumb {
  width: 100%;
  margin: 18px 0 0 !important;
  display: block !important;
  overflow: visible !important;
}

#template #variant_photos .thumb-container {
  width: 100%;
  min-width: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#template #variant_photos .thumb-container > li {
  width: 10px !important;
  min-width: 10px !important;
  height: 10px !important;
  flex: 0 0 10px;
  margin: 0 !important;
  padding: 0 !important;
  background: #cbd6e0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  opacity: 1;
  overflow: hidden;
  transition:
    background-color 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

#template #variant_photos .thumb-container > li:hover,
#template #variant_photos .thumb-container > li.active {
  background: #365f8d !important;
  border: 0 !important;
  opacity: 1;
  transform: scale(1.2);
}

#template #variant_photos .thumb-container > li img {
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  pointer-events: none;
}

@media (min-width: 992px) {
  #template #product_info {
    grid-template-columns:
      minmax(0, 1.08fr)
      minmax(420px, 0.92fr) !important;
    column-gap: clamp(56px, 6vw, 88px) !important;
  }

  #template #product_content {
    position: sticky;
    top: 28px;
    align-self: start;
  }
}

@media (max-width: 991px) {
  #template #product_description .desc_body {
    margin-top: 28px;
  }

  #template #product_description #ckeditor {
    font-size: 15px;
    line-height: 1.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  #template #variant_photos .thumb-container > li {
    transition: none;
  }
}

/* =========================================================
   FACB PRODUCT MEDIA & QUANTITY FIX — 2026-07-27
   Removes the tinted media surface, hardens the mobile carousel,
   and centers the native quantity symbols.
   ========================================================= */

/* Let the product image stand on its own without a gray frame. */
#template #variant_photos,
#template #variant_photos .product_photos,
#template #variant_photos .product_img_swiper,
#template #variant_photos .product_img_swiper .product_photo {
  background: transparent !important;
}

#template #variant_photos .product_img_swiper {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Rebuild the native minus/plus marks so they stay centered. */
#template
  #product_content
  > .product_variant_quantity
  .btn-group {
  width: 100%;
  height: 48px;
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
}

#template
  #product_content
  > .product_variant_quantity
  .add-down,
#template
  #product_content
  > .product_variant_quantity
  .add-up {
  position: relative !important;
  width: 52px !important;
  min-width: 52px !important;
  height: 48px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  font-size: 0 !important;
}

#template
  #product_content
  > .product_variant_quantity
  .add-down::before,
#template
  #product_content
  > .product_variant_quantity
  .add-up::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 16px !important;
  height: 1px !important;
  display: block !important;
  background: currentColor !important;
  border: 0 !important;
  transform: translate(-50%, -50%) !important;
}

#template
  #product_content
  > .product_variant_quantity
  .add-down::after {
  content: none !important;
  display: none !important;
}

#template
  #product_content
  > .product_variant_quantity
  .add-up::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 1px !important;
  height: 16px !important;
  display: block !important;
  background: currentColor !important;
  border: 0 !important;
  transform: translate(-50%, -50%) !important;
}

#template
  #product_content
  > .product_variant_quantity
  .item-quantity {
  width: auto !important;
  min-width: 0;
  height: 48px !important;
  padding: 0 12px !important;
  text-align: center;
}

/* Keep the square carousel inside the phone viewport. */
@media (max-width: 991px) {
  #template #variant_photos,
  #template #variant_photos .product_photos {
    width: 100% !important;
    max-width: 100%;
    overflow: hidden;
  }

  #template #variant_photos .product_img_swiper {
    width: 100% !important;
    max-width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden !important;
  }

  #template
    #variant_photos
    .product_img_swiper
    .product_photo {
    width: 100% !important;
    min-width: 100% !important;
    flex: 0 0 100%;
  }

  #template
    #variant_photos
    .product_img_swiper
    .product_photo
    img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  #template #variant_photos .thumb {
    margin-top: 12px !important;
    padding: 0 4px;
  }

  #template #variant_photos .thumb-container {
    flex-wrap: wrap;
    gap: 8px;
  }

  #template
    #product_content
    > .product_variant_quantity
    .btn-group {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  #template
    #product_content
    > .product_variant_quantity
    .add-down,
  #template
    #product_content
    > .product_variant_quantity
    .add-up {
    width: 48px !important;
    min-width: 48px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #template
    #product_content
    > .product_variant_quantity
    .add-down,
  #template
    #product_content
    > .product_variant_quantity
    .add-up {
    transition: none !important;
  }
}

/* =========================================================
   FACB PRODUCT HOVER ARROWS — 2026-07-27
   Desktop pointer devices reveal carousel arrows on image hover.
   Touch devices continue to use the dot navigation.
   ========================================================= */

@media (hover: hover) and (pointer: fine) {
  #template #variant_photos .photo-swiper-prev,
  #template #variant_photos .photo-swiper-next {
    width: 44px !important;
    height: 44px !important;
    top: 50% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #244665 !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(36, 70, 101, 0.16) !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    z-index: 3;
    transition:
      opacity 180ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
      background-color 180ms ease;
  }

  #template #variant_photos .photo-swiper-prev {
    left: 16px !important;
    right: auto !important;
    transform: translate(-8px, -50%);
  }

  #template #variant_photos .photo-swiper-next {
    right: 16px !important;
    left: auto !important;
    transform: translate(8px, -50%);
  }

  #template
    #variant_photos
    .product_img_swiper:hover
    .photo-swiper-prev,
  #template
    #variant_photos
    .product_img_swiper:hover
    .photo-swiper-next,
  #template #variant_photos .photo-swiper-prev:focus-visible,
  #template #variant_photos .photo-swiper-next:focus-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
  }

  #template #variant_photos .photo-swiper-prev:hover,
  #template #variant_photos .photo-swiper-next:hover,
  #template #variant_photos .photo-swiper-prev:focus-visible,
  #template #variant_photos .photo-swiper-next:focus-visible {
    background: #ffffff !important;
    outline: 2px solid transparent;
    outline-offset: 2px;
  }

  #template #variant_photos .photo-swiper-prev::after,
  #template #variant_photos .photo-swiper-next::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 10px !important;
    height: 10px !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    border-top: 1.5px solid currentColor !important;
    border-right: 1.5px solid currentColor !important;
  }

  #template #variant_photos .photo-swiper-prev::after {
    transform: translate(-35%, -50%) rotate(-135deg) !important;
  }

  #template #variant_photos .photo-swiper-next::after {
    transform: translate(-65%, -50%) rotate(45deg) !important;
  }
}

@media (hover: none), (pointer: coarse) {
  #template #variant_photos .photo-swiper-prev,
  #template #variant_photos .photo-swiper-next {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #template #variant_photos .photo-swiper-prev,
  #template #variant_photos .photo-swiper-next {
    transition: none !important;
  }
}

/* =========================================================
   FACB PRODUCT THUMBNAIL GALLERY — 2026-07-27
   Replaces dot navigation with clickable product thumbnails.
   ========================================================= */

#template #variant_photos .thumb {
  width: 100%;
  margin: 14px 0 0 !important;
  padding: 0 0 4px;
  display: block !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

#template #variant_photos .thumb::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

#template #variant_photos .thumb-container {
  width: max-content !important;
  min-width: 100%;
  margin: 0 !important;
  padding: 2px 0 4px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 8px !important;
}

#template #variant_photos .thumb-container > li {
  width: 68px !important;
  min-width: 68px !important;
  height: 68px !important;
  flex: 0 0 68px !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
  border: 1px solid #dbe4ec !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  opacity: 0.68;
  overflow: hidden;
  transform: none !important;
  scroll-snap-align: start;
  transition:
    opacity 180ms ease,
    border-color 180ms ease;
}

#template #variant_photos .thumb-container > li:hover {
  background: transparent !important;
  border-color: rgba(54, 95, 141, 0.42) !important;
  opacity: 1;
  transform: none !important;
}

#template #variant_photos .thumb-container > li.active {
  background: transparent !important;
  border: 2px solid #365f8d !important;
  opacity: 1;
  transform: none !important;
}

#template #variant_photos .thumb-container > li:focus-visible {
  outline: 2px solid #365f8d;
  outline-offset: 2px;
}

#template #variant_photos .thumb-container > li img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
  pointer-events: none;
}

@media (max-width: 991px) {
  #template #variant_photos .thumb {
    margin-top: 10px !important;
    padding: 0 2px 4px;
  }

  #template #variant_photos .thumb-container {
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  #template #variant_photos .thumb-container > li {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    flex-basis: 56px !important;
    border-radius: 4px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #template #variant_photos .thumb-container > li {
    transition: none !important;
  }
}

/* =========================================================
   FACB PRODUCT MEDIA INSET — 2026-07-27
   Keeps the desktop gallery inside the product grid.
   Mobile layout remains unchanged.
   ========================================================= */

@media (min-width: 992px) {
  #template #product {
    overflow-x: clip;
  }

  #template #product_info #variant_photos {
    position: relative;
    z-index: 1;
    width: 100% !important;
    margin-left: 0 !important;
    transform: none;
  }

  #template #product_info #product_content {
    transform: translateX(clamp(12px, 2vw, 24px));
  }

  #template #variant_photos .product_img_swiper .product_photo {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

#template #variant_photos .thumb {
  padding-right: 0 !important;
  padding-left: 0 !important;
  box-sizing: border-box;
  scroll-padding-right: 0;
  scroll-padding-left: 0;
}

#template #variant_photos .thumb-container {
  justify-content: safe center !important;
}

/* =========================================================
   FACB PRODUCT ADD-BUY COMPACT GRID — 2026-09-10
   Only changes presentation. Product names, prices, limits and
   options continue to come from Cyberbiz backend data.
   ========================================================= */

#template #product_content > .add-buy-products-container {
  --facb-addbuy-deep: #244665;
  --facb-addbuy-accent: #365f8d;
  --facb-addbuy-soft: #f3f6f8;
  --facb-addbuy-line: rgba(54, 95, 141, 0.14);
  --facb-addbuy-shadow: 0 10px 30px rgba(36, 70, 101, 0.08);
  order: 8;
  width: 100%;
  min-width: 0;
  margin: 22px 0 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--facb-addbuy-soft);
  box-shadow: var(--facb-addbuy-shadow);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

#template #product_content > .add-buy-products-container[hidden] {
  display: none !important;
}

#template #product_content > .add-buy-products-container .add-buy-products {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#template #product_content > .add-buy-products-container .add-buy-products + .add-buy-products {
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--facb-addbuy-line) !important;
}

#template #product_content > .add-buy-products-container .titlebar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: "title title" "status limit" !important;
  gap: 3px 12px !important;
  align-items: baseline !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
}

#template #product_content > .add-buy-products-container .titlebar .title {
  grid-area: title !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--facb-addbuy-deep) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: 0.01em !important;
  white-space: normal !important;
}

#template #product_content > .add-buy-products-container .titlebar .title::before {
  display: none !important;
  content: none !important;
}

#template #product_content > .add-buy-products-container .titlebar .add-buy-status,
#template #product_content > .add-buy-products-container .titlebar .add-buy-quantity-limit {
  margin: 0 !important;
  color: #657789 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  white-space: normal !important;
}

#template #product_content > .add-buy-products-container .titlebar .add-buy-status {
  grid-area: status !important;
}

#template #product_content > .add-buy-products-container .titlebar .add-buy-quantity-limit {
  grid-area: limit !important;
  justify-self: end !important;
  text-align: right !important;
}

#template #product_content > .add-buy-products-container .add-buy-product-container,
#template #product_content > .add-buy-products-container .swiper,
#template #product_content > .add-buy-products-container .swiper-container {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

#template #product_content > .add-buy-products-container .swiper-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  height: auto !important;
  transform: none !important;
}

#template #product_content > .add-buy-products-container .swiper-wrapper:has(> .add-buy-product:nth-child(2)) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

#template #product_content > .add-buy-products-container .add-buy-product {
  display: grid !important;
  grid-template-columns: 22px 60px minmax(0, 1fr) !important;
  grid-template-rows: minmax(34px, auto) auto auto 36px !important;
  column-gap: 9px !important;
  row-gap: 3px !important;
  align-items: start !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 132px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 3px 14px rgba(36, 70, 101, 0.06) !important;
  transition: transform 180ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 180ms cubic-bezier(0.25, 1, 0.5, 1), background-color 180ms ease !important;
}

#template #product_content > .add-buy-products-container .add-buy-product.checked {
  background: #edf3f7 !important;
  box-shadow: inset 0 0 0 1px rgba(54, 95, 141, 0.38), 0 5px 16px rgba(36, 70, 101, 0.08) !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .add-cart-checkbox {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 5 !important;
  align-self: start !important;
  justify-self: center !important;
  width: 20px !important;
  height: 20px !important;
  margin: 1px 0 0 !important;
  border: 1px solid rgba(54, 95, 141, 0.42) !important;
  border-radius: 5px !important;
  background: #ffffff !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .add-buy-product-add-cart:checked + .add-cart-checkbox {
  border-color: var(--facb-addbuy-accent) !important;
  background-color: var(--facb-addbuy-accent) !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-image {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 3 !important;
  align-self: start !important;
  justify-self: stretch !important;
  width: 60px !important;
  height: 60px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1) !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-title {
  grid-column: 3 / 4 !important;
  grid-row: 1 / 2 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #24364b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow: visible !important;
  word-break: break-word !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-price {
  grid-column: 3 / 4 !important;
  grid-row: 2 / 3 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--facb-addbuy-accent) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-price .qk-text--price {
  color: var(--facb-addbuy-accent) !important;
  font-weight: 700 !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-price .del-text {
  color: #84909c !important;
  font-size: 11px !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-variant {
  grid-column: 2 / 4 !important;
  grid-row: 3 / 4 !important;
  min-width: 0 !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-quantity {
  grid-column: 2 / 4 !important;
  grid-row: 4 / 5 !important;
  align-self: end !important;
  justify-self: end !important;
  display: flex !important;
  width: 104px !important;
  min-width: 0 !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(54, 95, 141, 0.24) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-quantity .minus,
#template #product_content > .add-buy-products-container .add-buy-product .product-quantity .plus,
#template #product_content > .add-buy-products-container .add-buy-product .product-quantity .variants-quantity {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #36516e !important;
  line-height: 1 !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-quantity .minus,
#template #product_content > .add-buy-products-container .add-buy-product .product-quantity .plus {
  flex: 0 0 32px !important;
  width: 32px !important;
  border-radius: 50% !important;
}

#template #product_content > .add-buy-products-container .add-buy-product .product-quantity .variants-quantity {
  flex: 1 1 auto !important;
  width: 38px !important;
  min-width: 0 !important;
  text-align: center !important;
}

#template #product_content > .add-buy-products-container .qk-swiper_btn,
#template #product_content > .add-buy-products-container .swiper-pagination {
  display: none !important;
}

@media (hover: hover) {
  #template #product_content > .add-buy-products-container .add-buy-product:not(.checked):hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(36, 70, 101, 0.1) !important;
  }

  #template #product_content > .add-buy-products-container .add-buy-product:hover .product-image img {
    transform: scale(1.025) !important;
  }

  #template #product_content > .add-buy-products-container .add-buy-product .product-quantity .minus:hover,
  #template #product_content > .add-buy-products-container .add-buy-product .product-quantity .plus:hover {
    background: rgba(54, 95, 141, 0.08) !important;
  }
}

#template #product_content > .add-buy-products-container .add-buy-product-add-cart:focus-visible + .add-cart-checkbox,
#template #product_content > .add-buy-products-container .product-image:focus-visible,
#template #product_content > .add-buy-products-container .product-quantity :is(.minus, .plus, .variants-quantity):focus-visible {
  outline: 2px solid var(--facb-addbuy-accent) !important;
  outline-offset: 2px !important;
}

@media (max-width: 767px) {
  #template #product_content > .add-buy-products-container {
    margin-top: 18px;
    padding: 12px;
    border-radius: 12px;
  }

  #template #product_content > .add-buy-products-container .swiper-wrapper:has(> .add-buy-product:nth-child(2)) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #template #product_content > .add-buy-products-container .add-buy-product {
    grid-template-columns: 22px 58px minmax(0, 1fr) !important;
    grid-template-rows: minmax(32px, auto) auto auto 40px !important;
    min-height: 128px !important;
    padding: 9px !important;
  }

  #template #product_content > .add-buy-products-container .add-buy-product .product-image {
    width: 58px !important;
    height: 58px !important;
  }

  #template #product_content > .add-buy-products-container .add-buy-product .product-title {
    font-size: 13px !important;
  }

  #template #product_content > .add-buy-products-container .add-buy-product .product-quantity {
    width: 112px !important;
    height: 40px !important;
  }

  #template #product_content > .add-buy-products-container .add-buy-product .product-quantity .minus,
  #template #product_content > .add-buy-products-container .add-buy-product .product-quantity .plus,
  #template #product_content > .add-buy-products-container .add-buy-product .product-quantity .variants-quantity {
    height: 38px !important;
    min-height: 38px !important;
  }

  #template #product_content > .add-buy-products-container .add-buy-product .product-quantity .minus,
  #template #product_content > .add-buy-products-container .add-buy-product .product-quantity .plus {
    flex-basis: 38px !important;
    width: 38px !important;
  }
}

@media (max-width: 374px) {
  #template #product_content > .add-buy-products-container .titlebar {
    grid-template-columns: 1fr !important;
    grid-template-areas: "title" "status" "limit" !important;
  }

  #template #product_content > .add-buy-products-container .titlebar .add-buy-quantity-limit {
    justify-self: start !important;
    text-align: left !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #template #product_content > .add-buy-products-container .add-buy-product,
  #template #product_content > .add-buy-products-container .product-image img {
    transition: none !important;
  }
}

body.facb-product-preview-open {
  overflow: hidden !important;
}

body.facb-product-preview-open #gototop {
  visibility: hidden !important;
  pointer-events: none !important;
}

.facb-add-buy-preview-modal {
  --facb-z-product-preview: 1200;

  position: fixed !important;
  inset: 0 !important;
  z-index: var(--facb-z-product-preview) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  width: 100vw !important;
  height: 100dvh !important;
  padding: 32px !important;
  overflow: auto !important;
  background: rgba(18, 31, 46, 0.64) !important;
  animation: facb-preview-fade 180ms cubic-bezier(0.25, 1, 0.5, 1);
}

.facb-add-buy-preview-modal
  > .modal-content.only-description {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column;
  width: min(784px, 100%) !important;
  max-width: 784px !important;
  max-height: calc(100dvh - 64px) !important;
  margin: auto !important;
  overflow: hidden;
  transform: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 8px rgba(18, 31, 46, 0.2);
  animation: facb-preview-enter 180ms cubic-bezier(0.25, 1, 0.5, 1);
}

.facb-add-buy-preview-modal
  > .modal-content.only-description
  > .btn-close {
  top: 8px !important;
  right: 8px !important;
  width: 44px !important;
  height: 44px !important;
  box-sizing: border-box;
  border-color: rgba(54, 95, 141, 0.24) !important;
  background: #ffffff !important;
  transform: none !important;
}

.facb-add-buy-preview-modal
  > .modal-content.only-description
  > .btn-close:focus-visible {
  outline: 2px solid #365f8d;
  outline-offset: 2px;
}

.facb-add-buy-preview-modal
  > .modal-content.only-description
  > .modal-body {
  max-height: calc(100dvh - 64px) !important;
  overflow-y: auto !important;
}

.facb-add-buy-preview-modal
  > .modal-content.only-description
  > .modal-body
  p {
  text-wrap: pretty;
}

.facb-add-buy-preview-modal
  .modal-body
  .product-thumbnail {
  display: none !important;
}

@keyframes facb-preview-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes facb-preview-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 575px) {
  .facb-add-buy-preview-modal {
    padding: 16px !important;
  }

  .facb-add-buy-preview-modal
    > .modal-content.only-description {
    width: 100% !important;
    max-height: calc(100dvh - 32px) !important;
  }

  .facb-add-buy-preview-modal
    > .modal-content.only-description
    > .modal-body {
    max-height: calc(100dvh - 32px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #template
    #product_content
    > .add-buy-products-container
    .add-buy-product {
    transition: none;
  }

  .facb-add-buy-preview-modal,
  .facb-add-buy-preview-modal
    > .modal-content.only-description {
    animation: none;
  }
}

/* =========================================================
   FACB COLLECTION PAGE — 2026-07-29
   Scope: 商品分類頁內容區。
   安全限制：不選取 body、header、navbar、main_nav 或導覽圖示。
   ========================================================= */

#template #collection {
  --facb-collection-indigo: #365f8d;
  --facb-collection-deep: #244665;
  --facb-collection-ink: #16202a;
  --facb-collection-muted: #607285;
  --facb-collection-mist: #eef3f8;
  --facb-collection-line: #dce4eb;
  --facb-collection-canvas: #f8fafc;
  --facb-collection-surface: #fff;
  margin-top: 0;
  padding: 48px 0 64px;
  color: var(--facb-collection-ink);
  background: var(--facb-collection-canvas);
  font-family:
    "Helvetica Neue",
    Helvetica,
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    sans-serif;
}

#template #collection > .qk-container {
  width: min(1296px, calc(100% - 64px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

#template #collection > .qk-container > .row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Cyberbiz 後台分類名稱與分類說明 */
#template #collection > .qk-container > .row > .col-md-12 {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  padding: 16px 0 48px;
}

#template #collection .collection_description {
  margin: 0;
  color: var(--facb-collection-deep);
  background: var(--facb-collection-canvas);
}

#template #collection .collection_description .ckeditor {
  display: block;
  max-width: 72ch;
  color: #405a73;
  font-size: 16px;
  line-height: 1.8;
}

#template #collection .collection_description h1 {
  margin: 0 0 16px;
  color: var(--facb-collection-deep);
  font-family: inherit;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: .01em;
}

#template #collection .collection_description p {
  margin: 0 0 16px;
}

#template #collection .collection_description p:last-child {
  margin-bottom: 0;
}

#template #collection .collection_description strong {
  color: var(--facb-collection-deep);
  font-weight: 600;
}

/* 左側分類選單 */
#template #collection > .qk-container > .row > .col-md-3 {
  width: 224px;
  max-width: 224px;
  flex: 0 0 224px;
  margin-right: 32px;
  padding: 0;
}

#template #collection #collection_menu_shelf_top {
  margin: 0;
  padding: 0;
  color: var(--facb-collection-deep);
  border: 0 !important;
}

#template #collection #collection_menu_shelf_top::before {
  content: "商品分類";
  display: block;
  margin: 0 0 12px;
  color: var(--facb-collection-deep);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .02em;
}

#template #collection #collection_menu_shelf_top li {
  margin: 0 0 4px;
  border: 0;
}

#template #collection #collection_menu_shelf_top button,
#template #collection #collection_menu_shelf_top a {
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
}

#template #collection #collection_menu_shelf_top > li > button,
#template #collection #collection_menu_shelf_top > li > a {
  width: 100%;
  min-height: 48px;
  padding: 8px 12px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #405a73;
  background: transparent !important;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

#template #collection #collection_menu_shelf_top button.bt-toggle {
  position: relative;
  padding-right: 40px !important;
}

#template #collection #collection_menu_shelf_top button.bt-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  margin: -6px 0 0;
  border: 0;
  border-right: 1.5px solid var(--facb-collection-muted);
  border-bottom: 1.5px solid var(--facb-collection-muted);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

#template #collection #collection_menu_shelf_top button.bt-toggle:not(.collapsed)::after {
  margin-top: -2px;
  border-color: var(--facb-collection-deep);
  transform: rotate(225deg);
}

#template #collection #collection_menu_shelf_top > li > button:not(.collapsed) {
  color: var(--facb-collection-deep);
  background: var(--facb-collection-mist) !important;
  font-weight: 600;
}

#template #collection #collection_menu_shelf_top ul {
  padding: 8px 8px 12px !important;
  border: 0 !important;
}

#template #collection #collection_menu_shelf_top ul li {
  margin-bottom: 4px;
}

#template #collection #collection_menu_shelf_top ul a,
#template #collection #collection_menu_shelf_top ul button {
  min-height: 44px;
  padding: 8px 16px !important;
  display: flex;
  align-items: center;
  color: var(--facb-collection-muted);
  background: transparent !important;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

#template #collection #collection_menu_shelf_top ul button:not(.collapsed),
#template #collection #collection_menu_shelf_top ul a[aria-current="page"] {
  color: var(--facb-collection-deep);
  background: rgba(54, 95, 141, .06) !important;
  font-weight: 600;
}

/* 商品區 */
#template #collection #collection-content {
  width: calc(100% - 256px);
  max-width: none;
  min-width: 0;
  flex: 1 1 0;
  padding: 0;
}

#template #collection #collection-content > .collection-container {
  min-width: 0;
}

#template #collection #collection-content .section-heading {
  margin: 0 0 16px;
  padding: 0;
  color: var(--facb-collection-deep);
  border: 0;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .01em;
}

#template #collection #normal-filter {
  margin: 0 0 24px;
}

#template #collection #normal-filter .filters-actions {
  min-height: 44px;
  align-items: center;
  gap: 12px 16px;
}

#template #collection #normal-filter .filters {
  gap: 12px;
}

#template #collection #normal-filter .corona-select {
  min-width: max-content;
  margin: 0 !important;
}

#template #collection #normal-filter .vs__dropdown-toggle {
  min-height: 44px;
  padding: 0 16px 0 18px;
  color: #53687c;
  background: rgba(255, 255, 255, .96);
  border: 0;
  border-radius: 999px;
  box-shadow:
    0 5px 14px rgba(36, 70, 101, .09),
    inset 0 0 0 1px rgba(54, 95, 141, .08);
  transition:
    transform .25s cubic-bezier(.22, 1, .36, 1),
    box-shadow .25s cubic-bezier(.22, 1, .36, 1),
    background-color .25s ease;
}

#template #collection #normal-filter .vs__dropdown-toggle:hover,
#template #collection #normal-filter .vs__dropdown-toggle:focus-within {
  background: #fff;
  box-shadow:
    0 7px 16px rgba(36, 70, 101, .12),
    inset 0 0 0 1px rgba(54, 95, 141, .14);
  transform: translateY(-1px);
}

#template #collection #normal-filter .vs__selected-options {
  padding: 0;
  min-height: 44px;
  align-items: center;
}

#template #collection #normal-filter .vs__selected {
  position: static !important;
  min-height: 0;
  height: auto !important;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--facb-collection-deep);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

#template #collection #normal-filter .vs__search {
  min-height: 0;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

#template #collection #normal-filter .vs__actions {
  padding: 0 0 0 10px;
}

#template #collection #normal-filter .qk-arrow {
  width: 8px;
  height: 8px;
  border: 0;
  border-right: 1.5px solid var(--facb-collection-indigo);
  border-bottom: 1.5px solid var(--facb-collection-indigo);
  transform: rotate(45deg) translate(-1px, -1px);
  transform-origin: center;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

#template #collection #normal-filter [aria-expanded="true"] .qk-arrow {
  transform: rotate(225deg) translate(-1px, -1px);
}

#template #collection #normal-filter .v-select > [role="listbox"] {
  margin-top: 10px;
  padding: 8px;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(36, 70, 101, .14);
}

#template #collection #normal-filter .v-select > [role="listbox"] [role="option"] {
  min-height: 40px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  border-radius: 8px;
}

#template #collection #normal-filter .view-toggle {
  color: var(--facb-collection-deep);
}

#template #collection #collection-content .grid-view {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

#template #collection #collection-content .grid-view > .product {
  min-width: 0;
  padding: 0 !important;
  overflow: hidden;
  background: var(--facb-collection-surface);
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(36, 70, 101, .08);
  transition:
    transform .34s cubic-bezier(.22, 1, .36, 1),
    box-shadow .34s cubic-bezier(.22, 1, .36, 1);
}

#template #collection #collection-content .grid-view > .product:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 12px rgba(36, 70, 101, .12);
}

#template #collection #collection-content .product .hover-container {
  gap: 0 !important;
  overflow: hidden;
  background: transparent;
  border-radius: 14px;
  --hover-scale: 1.025 !important;
  --hover-shadow: none !important;
  --hover-border-radius: 14px !important;
  --hover-padding: 0px !important;
}

#template #collection #collection-content .product .productClick,
#template #collection #collection-content .product .hover-image-container,
#template #collection #collection-content .product .image-container {
  width: 100%;
}

#template #collection #collection-content .product .image-container {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f1f4f6;
  border-radius: 14px 14px 0 0 !important;
}

#template #collection #collection-content .product .image-container img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#template #collection #collection-content .product .product-bottom-container {
  min-height: 96px;
  padding: 16px;
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  background: var(--facb-collection-surface);
}

#template #collection #collection-content .product .product-bottom-container .title {
  margin: 0;
  text-align: left !important;
}

#template #collection #collection-content .product .product-bottom-container .title a {
  color: var(--facb-collection-ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

#template #collection #collection-content .product .price-block {
  margin-top: auto;
  justify-content: flex-start !important;
  color: var(--facb-collection-deep);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

#template #collection #collection-content .product .money_tag {
  color: var(--facb-collection-deep);
}

@media (min-width: 901px) and (max-width: 1279px) {
  #template #collection #collection-content .grid-view {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  #template #collection {
    padding: 48px 0 64px;
  }

  #template #collection > .qk-container {
    width: min(720px, calc(100% - 48px));
  }

  #template #collection > .qk-container > .row > .col-md-12 {
    padding: 8px 0 32px;
  }

  #template #collection > .qk-container > .row > .col-md-3 {
    display: none !important;
  }

  #template #collection #collection-content {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
  }

  #template #collection #collection-content .grid-view {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 639px) {
  #template #collection #collection-content .grid-view {
    grid-template-columns: repeat(2, minmax(0, 220px)) !important;
    justify-content: center;
    gap: 12px !important;
  }
}

@media (max-width: 560px) {
  #template #collection > .qk-container {
    width: calc(100% - 48px);
  }

  #template #collection .collection_description .ckeditor {
    font-size: 15px;
    line-height: 1.75;
  }

  #template #collection .collection_description h1 {
    font-size: 28px;
  }

  #template #collection #normal-filter .filters-actions {
    align-items: flex-start;
  }

  #template #collection #collection-content .product .product-bottom-container {
    min-height: 92px;
    padding: 12px;
  }

  #template #collection #collection-content .product .product-bottom-container .title a,
  #template #collection #collection-content .product .price-block {
    font-size: 14px;
  }
}

@media (max-width: 379px) {
  #template #collection #collection-content .grid-view {
    grid-template-columns: minmax(0, 280px) !important;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #template #collection #collection-content .grid-view > .product {
    transition: none;
  }
}


/* FACB COLLECTION NAME + WHITE BG FIX — 2026-07-29 */
#template #collection {
  --facb-collection-canvas: #fff !important;
  background: #fff !important;
}
#template #collection .collection_description {
  background: #fff !important;
}
#template #collection #collection-content .product .product-bottom-container .title {
  min-height: 3.1em !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
#template #collection #collection-content .product .product-bottom-container .title a {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}


/* FACB HOME RESIN PRODUCT CARDS — 2026-07-29 */
body.facb-cyber-home [id="1785303578913_2"] .scrollable-product-wrapper { padding: 4px 0 12px; }
body.facb-cyber-home [id="1785303578913_2"] .scrollable-product-tag {
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(36, 70, 101, .08);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), box-shadow .34s cubic-bezier(.22, 1, .36, 1);
}
body.facb-cyber-home [id="1785303578913_2"] .scrollable-product-tag:hover { transform: translateY(-3px); box-shadow: 0 7px 12px rgba(36, 70, 101, .12); }
body.facb-cyber-home [id="1785303578913_2"] .product-image-container,
body.facb-cyber-home [id="1785303578913_2"] .product-image {
  overflow: hidden;
  background-color: #f1f4f6;
  border-radius: 14px 14px 0 0 !important;
}
body.facb-cyber-home [id="1785303578913_2"] .product-caption {
  min-height: 158px;
  padding: 16px !important;
  gap: 12px !important;
  background: #fff;
  text-align: left;
}
body.facb-cyber-home [id="1785303578913_2"] .product-title {
  min-height: 3.1em;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  text-align: left !important;
}
body.facb-cyber-home [id="1785303578913_2"] .product-title a {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  color: #16202a;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  text-align: left !important;
  text-overflow: clip !important;
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}
body.facb-cyber-home [id="1785303578913_2"] .product-price {
  justify-content: flex-start !important;
  color: #244665;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  text-align: left !important;
}
body.facb-cyber-home [id="1785303578913_2"] .product-group-btn { margin-top: auto; }
body.facb-cyber-home [id="1785303578913_2"] .cart-button {
  min-height: 40px;
  padding: 9px 14px !important;
  color: #fff !important;
  background: #365f8d !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 14px;
  line-height: 1.5 !important;
  font-weight: 500;
  transition: background-color .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
}
body.facb-cyber-home [id="1785303578913_2"] .cart-button:hover { background: #244665 !important; transform: translateY(-1px); }
@media (max-width: 560px) {
  body.facb-cyber-home [id="1785303578913_2"] .product-caption { min-height: 150px; padding: 12px !important; }
  body.facb-cyber-home [id="1785303578913_2"] .product-title a,
  body.facb-cyber-home [id="1785303578913_2"] .product-price { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.facb-cyber-home [id="1785303578913_2"] .scrollable-product-tag,
  body.facb-cyber-home [id="1785303578913_2"] .cart-button { transition: none; }
}


/* =========================================================
   FACB HOME DESKTOP CARDS + COPYRIGHT BAR — 2026-07-29
   ========================================================= */
body.facb-cyber-home [id="1785303578913_2"] .swiper-product-container {
  padding: 4px 4px 12px;
}
body.facb-cyber-home [id="1785303578913_2"] .swiper-product-container .swiper-wrapper {
  align-items: stretch;
}
body.facb-cyber-home [id="1785303578913_2"] .swiper-product-tag {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(36, 70, 101, .08);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), box-shadow .34s cubic-bezier(.22, 1, .36, 1);
}
body.facb-cyber-home [id="1785303578913_2"] .swiper-product-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 12px rgba(36, 70, 101, .12);
}
#footer .copyright {
  width: 100%;
  margin-top: 28px;
  padding: 15px 0 !important;
  color: #fff !important;
  background: #244665 !important;
  border-top: 0 !important;
  text-align: center !important;
}
#footer .copyright .qk-container {
  width: 100%;
  max-width: none;
  padding-right: 24px;
  padding-left: 24px;
  color: inherit !important;
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: .02em;
  text-align: center !important;
}
#footer .copyright a {
  color: #fff !important;
  text-decoration: none;
  transition: opacity .2s ease;
}
#footer .copyright a:hover {
  color: #fff !important;
  opacity: .78;
}
@media (max-width: 560px) {
  #footer .copyright {
    margin-top: 22px;
    padding: 13px 0 !important;
  }
  #footer .copyright .qk-container {
    padding-right: 18px;
    padding-left: 18px;
    font-size: 11px;
    line-height: 1.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.facb-cyber-home [id="1785303578913_2"] .swiper-product-tag,
  #footer .copyright a {
    transition: none;
  }
}


/* FACB FOOTER GAP + HORIZONTAL OVERFLOW FIX — 2026-07-29 */
#footer {
  padding-bottom: 0 !important;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}
#header,
#mobile-bottom-bar {
  width: 100% !important;
  max-width: 100% !important;
  right: 0;
}


/* FACB PRODUCT DESCRIPTION HEADING — 2026-07-29 */
#product_description #desc_section_1 > .section-heading,
#product_description #desc_section_2 > .section-heading,
#product_description #desc_section_3 > .section-heading {
  padding-left: 0 !important;
  border-left: 0 !important;
}


#related-products > .section-heading {
  padding-left: 0 !important;
  border-left: 0 !important;
}


/* FACB HOME HERO HEIGHT + BOTTOM RADIUS — 2026-07-29 */
body.facb-cyber-home .main-slider {
  height: min(680px, calc(100vh - 150px)) !important;
  min-height: 560px !important;
  overflow: hidden !important;
  border-radius: 0 0 48px 48px !important;
}
@supports (height: 100svh) {
  body.facb-cyber-home .main-slider {
    height: min(680px, calc(100svh - 150px)) !important;
  }
}
body.facb-cyber-home .main-slider > .swiper,
body.facb-cyber-home .main-slider .swiper-wrapper,
body.facb-cyber-home .main-slider .swiper-slide {
  height: 100% !important;
  min-height: 0 !important;
}
body.facb-cyber-home .main-slider .swiper-slide picture,
body.facb-cyber-home .main-slider .swiper-slide img {
  height: 100% !important;
  min-height: 0 !important;
}
body.facb-cyber-home .main-slider .swiper-slide img {
  object-fit: cover !important;
}
@media (max-width: 767px) {
  body.facb-cyber-home .main-slider {
    height: clamp(540px, calc(100vh - 124px), 620px) !important;
    min-height: 0 !important;
    border-radius: 0 0 20px 20px !important;
  }
  @supports (height: 100svh) {
    body.facb-cyber-home .main-slider {
      height: clamp(540px, calc(100svh - 124px), 620px) !important;
    }
  }
}


/* FACB HOME HERO INSET FRAME — 2026-07-29 */
body.facb-cyber-home .main-slider {
  --facb-hero-side-gap: clamp(12px, 1.25vw, 18px);
  --facb-hero-bottom-gap: clamp(16px, 1.6vw, 24px);
  width: auto !important;
  margin: 0 var(--facb-hero-side-gap) var(--facb-hero-bottom-gap) !important;
  box-sizing: border-box;
}


/* FACB HOME HERO FULL ROUND FRAME — 2026-07-29 */
body.facb-cyber-home .main-slider {
  margin: var(--facb-hero-side-gap) var(--facb-hero-side-gap) var(--facb-hero-bottom-gap) !important;
  border-radius: 28px !important;
}
@media (max-width: 767px) {
  body.facb-cyber-home .main-slider {
    border-radius: 20px !important;
  }
}


/* FACB HOME HEADER SEAMLESS — 2026-07-29 */
body.facb-cyber-home #header,
body.facb-cyber-home #header.facb-header--scrolled {
  border-bottom: 0 !important;
  box-shadow: none !important;
}
body.facb-cyber-home #header::before,
body.facb-cyber-home #header::after,
body.facb-cyber-home #header .computer_nav,
body.facb-cyber-home #header .mobile-nav {
  border-bottom: 0 !important;
  box-shadow: none !important;
}


/* FACB HOME HEADER COMPOSITING SEAM COVER — 2026-07-29 */
body.facb-cyber-home #header::after {
  content: "" !important;
  position: absolute !important;
  z-index: 4;
  right: 0;
  bottom: -3px;
  left: 0;
  display: block !important;
  height: 4px !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none;
}


/* FACB HOME HEADER TWO STATES — 2026-07-29 */
body.facb-cyber-home #header:not(.facb-header--elevated) {
  border-bottom: 0 !important;
  box-shadow: none !important;
}
body.facb-cyber-home #header:not(.facb-header--elevated)::after {
  content: "" !important;
  position: absolute !important;
  z-index: 4;
  right: 0;
  bottom: calc(-1 * clamp(12px, 1.25vw, 18px));
  left: 0;
  display: block !important;
  height: calc(clamp(12px, 1.25vw, 18px) + 1px) !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none;
}
body.facb-cyber-home #header.facb-header--elevated {
  border-bottom: 0 !important;
  box-shadow: 0 8px 24px rgba(36, 70, 101, .14) !important;
}
body.facb-cyber-home #header.facb-header--elevated::after {
  display: none !important;
}


/* FACB HOME HERO FULL FIRST VIEW — 2026-07-29 */
body.facb-cyber-home .main-slider {
  height: min(645px, calc(100vh - 150px)) !important;
  min-height: 0 !important;
}
@supports (height: 100svh) {
  body.facb-cyber-home .main-slider {
    height: min(645px, calc(100svh - 150px)) !important;
  }
}
@media (max-width: 767px) {
  body.facb-cyber-home .main-slider {
    height: min(600px, calc(100vh - 152px)) !important;
    min-height: 0 !important;
  }
  @supports (height: 100svh) {
    body.facb-cyber-home .main-slider {
      height: min(600px, calc(100svh - 152px)) !important;
    }
  }
}
/* FACB HOME HERO REMOVE BOTTOM GAP — 2026-07-29 */
body.facb-cyber-home .main-slider {
  --facb-hero-bottom-gap: 0px;
  margin-bottom: 0 !important;
}
/* FACB HOME HERO BALANCED GAP + SCROLL ROOT FIX — 2026-07-29 */
body.facb-cyber-home .main-slider {
  --facb-hero-bottom-gap: var(--facb-hero-side-gap);
  margin-bottom: var(--facb-hero-side-gap) !important;
}

html:has(body.facb-cyber-home) {
  overflow-y: auto !important;
}

body.facb-cyber-home {
  height: auto !important;
  min-height: 100%;
  overflow-y: visible !important;
}
/* FACB HOME HERO VISUAL GAP CORRECTION — 2026-07-29 */
body.facb-cyber-home .main-slider {
  --facb-hero-bottom-gap: 0px;
  margin-bottom: 0 !important;
}

body.facb-cyber-home .facb-lesson-style {
  padding-top: clamp(12px, 1.25vw, 18px) !important;
}
/* FACB HOME LESSON TOP GAP SPECIFICITY FIX — 2026-07-29 */
html body.facb-cyber-home #template .index
  > section[id="1784686285442_7"]
  > section.facb-lesson-style {
  padding-top: clamp(12px, 1.25vw, 18px) !important;
}
/* FACB HOME HERO TO COURSE RHYTHM — 2026-07-29 */
html body.facb-cyber-home #template .index
  > section[id="1784686285442_7"]
  > section.facb-lesson-style {
  padding-top: clamp(32px, 4vw, 56px) !important;
}
/* FACB CART OVERLAY + HERO MOTION — 2026-07-29 */
body.facb-cyber-home #header:has(.cart .dropdown.show)::after,
body.facb-cyber-home #header:has(.cart .dropdown-menu.show)::after {
  display: none !important;
}

@keyframes facb-hero-zoom-out {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

body.facb-cyber-home .main-slider .swiper-slide img {
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform;
}

body.facb-cyber-home .main-slider .swiper-slide-active img {
  animation: facb-hero-zoom-out 7.2s linear both !important;
}

@media (prefers-reduced-motion: reduce) {
  body.facb-cyber-home .main-slider .swiper-slide img,
  body.facb-cyber-home .main-slider .swiper-slide-active img {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
}
/* FACB CART OPEN REMOVE HERO TOP BAND — 2026-07-29 */
body.facb-cyber-home:has(#header .cart .dropdown.show) .main-slider,
body.facb-cyber-home:has(#header .cart .dropdown-menu.show) .main-slider {
  margin-top: 0 !important;
}
/* FACB HEADER PANELS SEAMLESS + NATIVE HERO MOTION — 2026-07-29 */
body.facb-cyber-home #header:has(.cart .show)::after,
body.facb-cyber-home #header:has(.search .show)::after,
body.facb-cyber-home #header:has(.customer_account .show)::after {
  display: none !important;
}

body.facb-cyber-home:has(#header .cart .show) .main-slider,
body.facb-cyber-home:has(#header .search .show) .main-slider,
body.facb-cyber-home:has(#header .customer_account .show) .main-slider {
  margin-top: 0 !important;
}

@keyframes facb-hero-zoom-out {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
/* FACB HEADER NATURAL SEAM + PANEL SHADOW STATE — 2026-07-29 */
body.facb-cyber-home #header::after {
  content: none !important;
  display: none !important;
  height: 0 !important;
  background: transparent !important;
}

body.facb-cyber-home #header:not(.facb-header--elevated),
body.facb-cyber-home #header:has(.cart .show),
body.facb-cyber-home #header:has(.search .show),
body.facb-cyber-home #header:has(.customer_account .show) {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.facb-cyber-home #header:has(.cart .show) .computer_nav,
body.facb-cyber-home #header:has(.search .show) .computer_nav,
body.facb-cyber-home #header:has(.customer_account .show) .computer_nav,
body.facb-cyber-home #header:has(.cart .show) .mobile-nav,
body.facb-cyber-home #header:has(.search .show) .mobile-nav,
body.facb-cyber-home #header:has(.customer_account .show) .mobile-nav {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

html body.facb-cyber-home:has(#header .cart .show) .main-slider,
html body.facb-cyber-home:has(#header .search .show) .main-slider,
html body.facb-cyber-home:has(#header .customer_account .show) .main-slider {
  margin-top: var(--facb-hero-side-gap) !important;
}
/* FACB HEADER REMOVE LEGACY SEAM PSEUDO — 2026-07-29 */
html body.facb-cyber-home #header#header::after {
  content: none !important;
  display: none !important;
  height: 0 !important;
  background: transparent !important;
}
/* FACB CART RESTORE NATURAL HERO GAP — 2026-07-29 */
html body.facb-cyber-home:has(#header .cart .dropdown.show) .main-slider,
html body.facb-cyber-home:has(#header .cart .dropdown-menu.show) .main-slider {
  margin-top: var(--facb-hero-side-gap) !important;
}
/* FACB REMOVE CYBERBIZ INNER HEADER SHADOW — 2026-07-29 */
body.facb-cyber-home #header .header_nav {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* FACB HIDE ADD-BUY RETAIL PRICE — 2026-08-01 */
#template #product_content > .add-buy-products-container
.add-buy-product .product-price > .del-text {
  display: none !important;
}

/* FACB CHECKOUT VISIBILITY FIX — 2026-08-01 */
#checkout-v3 #step-scroller .step.active{color:#fff!important;background:#244665!important;border-color:#244665!important}
#checkout-v3 #step-scroller .step:not(.active){color:#405161!important;background:#fff!important}
#checkout-v3 #add-buy-products [data-translate-keys=add-buy-price]{color:#405161!important;font-weight:500!important}
#checkout-v3 #add-buy-products .color.oran{color:#244665!important;font-weight:600!important}
#checkout-v3 #add-buy-products [data-testid=add-buy-button]{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:8px 18px!important;color:#fff!important;background:#365f8d!important;border:1px solid #365f8d!important;border-radius:4px!important;font-weight:600!important;opacity:1!important;visibility:visible!important;cursor:pointer!important}
#checkout-v3 #add-buy-products [data-testid=add-buy-button]:hover{background:#244665!important;border-color:#244665!important}
#checkout-v3 #add-buy-products [data-testid=add-buy-button]:focus-visible{outline:3px solid rgba(54,95,141,.28)!important;outline-offset:2px!important}

/* FACB CHECKOUT TOTAL EMPHASIS — 2026-08-01 */
#checkout-v3 #cart-detail-list>.detail-list-title:not(.bottom){color:#244665!important;font-size:17px!important;font-weight:600!important}
#checkout-v3 #cart-detail-list .list-row .price{color:#405161!important;font-weight:500!important}
#checkout-v3 #cart-detail-list .list-row .price.high{color:#365f8d!important;font-weight:600!important}
#checkout-v3 #cart-detail-list .total-should-pay{box-sizing:border-box!important;width:100%!important;min-height:58px!important;margin-top:10px!important;padding:12px 10px!important;gap:8px!important;align-items:center!important;justify-content:space-between!important;background:#eef3f8!important;border-radius:6px!important}
#checkout-v3 #cart-detail-list .total-should-pay .detail-list-title.bottom{flex:0 0 auto!important;color:#244665!important;font-size:14px!important;font-weight:600!important;white-space:nowrap!important}
#checkout-v3 #cart-detail-list .total-should-pay .total-price{flex:0 1 auto!important;min-width:0!important;color:#244665!important;font-size:14px!important;font-weight:600!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
#checkout-v3 #cart-detail-list .total-should-pay .total-price [data-money-format]:last-child{color:#244665!important;font-size:24px!important;line-height:1!important;font-weight:700!important}

/* FACB CHECKOUT ONE-COLUMN FLOW — 2026-08-01 */
#checkout-v3.facb-checkout-one-column #cart{box-sizing:border-box!important;width:100%!important;max-width:880px!important;margin:24px auto 0!important}
#checkout-v3.facb-checkout-one-column #main-content{box-sizing:border-box!important;width:100%!important;max-width:880px!important;margin-left:0!important;margin-right:0!important}
#checkout-v3.facb-checkout-one-column #cart-content{width:100%!important;margin-bottom:0!important}
#checkout-v3.facb-checkout-one-column #add-buy-products{width:100%!important}
#checkout-v3.facb-checkout-one-column #cart-detail,
#checkout-v3.facb-checkout-one-column #cart-detail.at-top,
#checkout-v3.facb-checkout-one-column #cart-detail.at-bottom{box-sizing:border-box!important;position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;transform:none!important;z-index:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;height:auto!important;margin:28px 0 48px!important;padding:0!important;gap:16px!important}
#checkout-v3.facb-checkout-one-column #cart-detail-list,
#checkout-v3.facb-checkout-one-column #line-item-list,
#checkout-v3.facb-checkout-one-column #bonus-detail-list{box-sizing:border-box!important;position:static!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;margin:0!important;padding:24px!important;overflow:visible!important;z-index:auto!important;color:#405161!important;background:#fff!important;border:1px solid rgba(54,95,141,.16)!important;border-radius:8px!important;box-shadow:none!important}
#checkout-v3.facb-checkout-one-column #cart-detail-list>.detail-list-title.hidden-title{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:44px!important}
#checkout-v3.facb-checkout-one-column #cart-detail-list>.detail-list-title,
#checkout-v3.facb-checkout-one-column #line-item-list>.list-title,
#checkout-v3.facb-checkout-one-column #bonus-detail-list>.bonus-list-title{color:#244665!important;font-size:18px!important;font-weight:600!important}
#checkout-v3.facb-checkout-one-column #line-item-list .line-item-row .sub-row{display:flex!important;flex-wrap:wrap!important;gap:8px 24px!important}
#checkout-v3.facb-checkout-one-column #cart-detail hr{margin:12px 0!important;border-color:rgba(54,95,141,.12)!important}
@media(max-width:767px){
  #checkout-v3.facb-checkout-one-column #cart{max-width:none!important;margin-top:20px!important}
  #checkout-v3.facb-checkout-one-column #cart-detail,
  #checkout-v3.facb-checkout-one-column #cart-detail.at-top,
  #checkout-v3.facb-checkout-one-column #cart-detail.at-bottom{margin:20px 0 32px!important;gap:12px!important}
  #checkout-v3.facb-checkout-one-column #cart-detail-list,
  #checkout-v3.facb-checkout-one-column #line-item-list,
  #checkout-v3.facb-checkout-one-column #bonus-detail-list{padding:16px!important}
}

/* FACB CHECKOUT MOBILE SUMMARY BRIDGE — 2026-08-01 */
#checkout-v3.facb-checkout-one-column #facb-checkout-summary-flow{
  box-sizing:border-box!important;
  position:static!important;
  inset:auto!important;
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  margin:28px 0 48px!important;
  padding:0!important;
  gap:16px!important;
}
#checkout-v3.facb-checkout-one-column #facb-checkout-summary-flow hr{
  margin:12px 0!important;
  border-color:rgba(54,95,141,.12)!important;
}
@media(max-width:767px){
  #checkout-v3.facb-checkout-one-column #facb-checkout-summary-flow{
    margin:20px 0 32px!important;
    gap:12px!important;
  }
}

/* FACB CHECKOUT MOBILE ADAPTATION V2 — 2026-08-01 */
@media (max-width: 767px) {
  html.facb-checkout-one-column-page,
  html.facb-checkout-one-column-page body {
    max-width: 100%;
  }

  #checkout-v3.facb-checkout-one-column {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #checkout-v3.facb-checkout-one-column #cart {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  #checkout-v3.facb-checkout-one-column #main-content {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 16px 0 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: max(32px, env(safe-area-inset-bottom)) !important;
  }

  #checkout-v3.facb-checkout-one-column #cart-content,
  #checkout-v3.facb-checkout-one-column #add-buy-products,
  #checkout-v3.facb-checkout-one-column #facb-checkout-summary-flow {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #checkout-v3.facb-checkout-one-column #facb-checkout-summary-flow {
    margin: 20px 0 32px !important;
    gap: 12px !important;
    scroll-margin-top: 96px;
  }

  #checkout-v3.facb-checkout-one-column #cart-detail-list,
  #checkout-v3.facb-checkout-one-column #line-item-list,
  #checkout-v3.facb-checkout-one-column #bonus-detail-list {
    box-sizing: border-box !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 16px !important;
    overflow: visible !important;
    color: #405161 !important;
    background: #ffffff !important;
    border: 1px solid rgba(54, 95, 141, 0.16) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
  }

  #checkout-v3.facb-checkout-one-column #cart-detail-list .cart-includes,
  #checkout-v3.facb-checkout-one-column #cart-detail-list .primary-button,
  #checkout-v3.facb-checkout-one-column #cart-detail-list > .detail-list-title > div {
    display: none !important;
  }

  #checkout-v3.facb-checkout-one-column #cart-detail-list > .collapse,
  #checkout-v3.facb-checkout-one-column #line-item-list > .collapse,
  #checkout-v3.facb-checkout-one-column #bonus-detail-list > .collapse {
    display: block !important;
    height: auto !important;
  }

  #checkout-v3.facb-checkout-one-column #cart-detail-list > .detail-list-title {
    min-height: 32px !important;
    pointer-events: none !important;
    cursor: default !important;
  }

  #checkout-v3.facb-checkout-one-column #cart-detail-list > .detail-list-title,
  #checkout-v3.facb-checkout-one-column #line-item-list > .list-title,
  #checkout-v3.facb-checkout-one-column #bonus-detail-list > .bonus-list-title {
    color: #244665 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
  }

  #checkout-v3.facb-checkout-one-column #cart-detail-list .total-should-pay {
    min-height: 56px !important;
    padding: 12px !important;
    gap: 12px !important;
  }

  #checkout-v3.facb-checkout-one-column #cart-detail-list .total-should-pay .total-price [data-money-format]:last-child {
    font-size: 22px !important;
  }

  #checkout-v3.facb-checkout-one-column #line-item-list .line-item-row p {
    margin-bottom: 8px !important;
    color: #405161 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    overflow-wrap: anywhere;
  }

  #checkout-v3.facb-checkout-one-column #line-item-list .line-item-row .sub-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 8px 12px !important;
  }

  #checkout-v3.facb-checkout-one-column #line-item-list .variant-name {
    min-width: 0 !important;
    color: #667482 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
  }

  #checkout-v3.facb-checkout-one-column #line-item-list .variant-quantity {
    color: #405161 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  #checkout-v3.facb-checkout-one-column #line-item-list .total-count,
  #checkout-v3.facb-checkout-one-column #bonus-detail-list .description {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  #checkout-v3.facb-checkout-one-column #cart-detail-footer {
    display: none !important;
  }

  #checkout-v3 #add-buy-products [data-testid="add-buy-button"] {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 16px !important;
  }

  #checkout-v3 #main-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  #checkout-v3 #main-content select {
    min-height: 44px !important;
  }

  #checkout-v3 #main-content textarea {
    min-height: 96px !important;
  }

  #checkout-v3 #checkout-button {
    min-height: 52px !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
  }

  #checkout-v3 #checkout-button > h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  #checkout-v3 #checkout-button-block {
    margin-bottom: max(20px, env(safe-area-inset-bottom)) !important;
  }

  html.facb-checkout-one-column-page #mobile-step-scroller {
    border-top: 1px solid rgba(54, 95, 141, 0.12) !important;
    background: #ffffff !important;
  }

  html.facb-checkout-one-column-page #mobile-step-scroller .step {
    box-sizing: border-box !important;
    min-height: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    color: #405161 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    background: #ffffff !important;
  }

  html.facb-checkout-one-column-page #mobile-step-scroller .step.last {
    background: #ffffff !important;
  }

  html.facb-checkout-one-column-page #mobile-step-scroller .step.active {
    color: #244665 !important;
    font-weight: 600 !important;
  }

  html.facb-checkout-one-column-page #mobile-step-scroller .step.last .total-label,
  html.facb-checkout-one-column-page #mobile-step-scroller .backdrop {
    display: none !important;
  }
}

@media (max-width: 359px) {
  #checkout-v3.facb-checkout-one-column #main-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  html.facb-checkout-one-column-page #mobile-step-scroller .step {
    font-size: 12px !important;
  }

  #checkout-v3.facb-checkout-one-column #cart-detail-list,
  #checkout-v3.facb-checkout-one-column #line-item-list,
  #checkout-v3.facb-checkout-one-column #bonus-detail-list {
    padding: 14px !important;
  }
}

/* FACB HIDE DUPLICATE TEXT-ONLY CART SUMMARY — 2026-08-02 */
#checkout-v3.facb-checkout-one-column #line-item-list {
  display: none !important;
}



/* FACB｜Hahow-inspired 首頁排程跑馬燈 — 2026-09-10 */
body.facb-cyber-home [id="1787712581880_5"] {
  --facb-hero-gutter: clamp(24px, 6vw, 88px);
  --facb-hero-radius: 14px;
  --facb-hero-ink: #244665;
  --facb-hero-muted: #b8c3ce;
  box-sizing: border-box !important;
  margin-bottom: clamp(26px, 3vw, 42px) !important;
  padding: clamp(10px, 1.4vw, 18px) 0 30px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}
body.facb-cyber-home [id="1787712581880_5"],
body.facb-cyber-home [id="1787712581880_5"] * { box-sizing: border-box; }
body.facb-cyber-home [id="1787712581880_5"] .block.carousel,
body.facb-cyber-home [id="1787712581880_5"] [id^="carousel-"],
body.facb-cyber-home [id="1787712581880_5"] [id^="carousel-"] > .carousel {
  width: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
}
body.facb-cyber-home [id="1787712581880_5"] .carousel-container {
  width: min(calc(100% - (var(--facb-hero-gutter) * 2)), 1180px) !important;
  max-width: none !important;
  margin-inline: auto !important;
  overflow: visible !important;
  border-radius: var(--facb-hero-radius) !important;
}
body.facb-cyber-home [id="1787712581880_5"] .swiper-wrapper { align-items: center; }
body.facb-cyber-home [id="1787712581880_5"] .carousel-slide {
  overflow: hidden !important;
  border-radius: var(--facb-hero-radius) !important;
  background: #eef2f5;
  opacity: 0.5;
  transform: scale(0.94);
  transform-origin: center;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
body.facb-cyber-home [id="1787712581880_5"] .carousel-slide.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
body.facb-cyber-home [id="1787712581880_5"] .carousel-slide > a,
body.facb-cyber-home [id="1787712581880_5"] .carousel-slide img {
  display: block !important;
  width: 100% !important;
  border-radius: inherit !important;
}
body.facb-cyber-home [id="1787712581880_5"] .carousel-prev,
body.facb-cyber-home [id="1787712581880_5"] .carousel-next {
  top: 50% !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: var(--facb-hero-ink) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 3px 8px rgba(21, 45, 66, 0.16) !important;
  transform: translateY(-50%) !important;
  transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease !important;
}
body.facb-cyber-home [id="1787712581880_5"] .carousel-prev { left: max(12px, calc(var(--facb-hero-gutter) - 22px)) !important; }
body.facb-cyber-home [id="1787712581880_5"] .carousel-next { right: max(12px, calc(var(--facb-hero-gutter) - 22px)) !important; }
body.facb-cyber-home [id="1787712581880_5"] .carousel-prev:hover,
body.facb-cyber-home [id="1787712581880_5"] .carousel-next:hover {
  color: #ffffff !important;
  background: var(--facb-hero-ink) !important;
  transform: translateY(-50%) scale(1.04) !important;
}
body.facb-cyber-home [id="1787712581880_5"] .carousel-pagination {
  bottom: -20px !important;
  height: 8px !important;
  line-height: 0 !important;
}
body.facb-cyber-home [id="1787712581880_5"] .swiper-pagination-bullet {
  width: 14px !important;
  height: 3px !important;
  margin: 0 4px !important;
  border-radius: 999px !important;
  background: var(--facb-hero-muted) !important;
  opacity: 1 !important;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease !important;
}
body.facb-cyber-home [id="1787712581880_5"] .swiper-pagination-bullet-active {
  width: 34px !important;
  background: var(--facb-hero-ink) !important;
}
body.facb-cyber-home [id="1787712581880_5"] .carousel-prev:focus-visible,
body.facb-cyber-home [id="1787712581880_5"] .carousel-next:focus-visible,
body.facb-cyber-home [id="1787712581880_5"] .swiper-pagination-bullet:focus-visible {
  outline: 3px solid rgba(54, 95, 141, 0.42) !important;
  outline-offset: 3px !important;
}
@media (max-width: 767px) {
  body.facb-cyber-home [id="1787712581880_5"] {
    --facb-hero-gutter: 18px;
    --facb-hero-radius: 12px;
    margin-bottom: 22px !important;
    padding: 8px 0 26px !important;
  }
  body.facb-cyber-home [id="1787712581880_5"] .carousel-container {
    width: calc(100% - (var(--facb-hero-gutter) * 2)) !important;
  }
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide {
    opacity: 0.68;
    transform: scale(0.98);
  }
  body.facb-cyber-home [id="1787712581880_5"] .carousel-prev,
  body.facb-cyber-home [id="1787712581880_5"] .carousel-next { display: none !important; }
  body.facb-cyber-home [id="1787712581880_5"] .carousel-pagination { bottom: -16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide,
  body.facb-cyber-home [id="1787712581880_5"] .carousel-prev,
  body.facb-cyber-home [id="1787712581880_5"] .carousel-next,
  body.facb-cyber-home [id="1787712581880_5"] .swiper-pagination-bullet { transition: none !important; }
}


/* FACB｜首頁跑馬燈響應式圖片顯示修正 — 2026-09-10 */
@media (min-width: 992px) {
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide img.qk-visible-lg { display: block !important; }
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide img.qk-visible-md,
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide img.qk-visible-sm { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide img.qk-visible-md { display: block !important; }
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide img.qk-visible-lg,
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide img.qk-visible-sm { display: none !important; }
}
@media (max-width: 767px) {
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide img.qk-visible-sm { display: block !important; }
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide img.qk-visible-lg,
  body.facb-cyber-home [id="1787712581880_5"] .carousel-slide img.qk-visible-md { display: none !important; }
}

/* FACB｜首頁跑馬燈箭頭完整移出主 Banner — 2026-09-10 */
@media (min-width: 768px) {
  body.facb-cyber-home [id="1787712581880_5"] .carousel-prev {
    left: max(8px, calc(var(--facb-hero-gutter) - 58px)) !important;
  }

  body.facb-cyber-home [id="1787712581880_5"] .carousel-next {
    right: max(8px, calc(var(--facb-hero-gutter) - 58px)) !important;
  }
}

/* FACB | Seamless non-home header + grounded dropdown */
@media (min-width: 992px) {
  body:not(.facb-cyber-home) #header .computer_nav {
    background: #fff !important;
  }

  body:not(.facb-cyber-home) #header .header_nav {
    box-shadow: none !important;
  }

  body:not(.facb-cyber-home) #header .main_nav .three-dimension-menu {
    background: #fff !important;
    box-shadow: 0 8px 12px -8px rgba(36, 70, 101, 0.28) !important;
  }
}

/* FACB RELATED PRODUCT CARDS — 2026-11-09
   Match collection cards; scoped to product recommendations only. */
#template #related-products #swiper_products .swiper_products {
  padding-top: 4px;
  padding-bottom: 16px;
}
#template #related-products #swiper_products .swiper-wrapper {
  align-items: stretch;
}
#template #related-products #swiper_products .swiper-slide.product {
  box-sizing: border-box;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(36,70,101,.08);
  text-align: left;
  font-family: Helvetica, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  transition: transform .34s cubic-bezier(.22,1,.36,1), box-shadow .34s cubic-bezier(.22,1,.36,1);
}
#template #related-products #swiper_products .product .product_image {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #f1f4f6;
}
#template #related-products #swiper_products .product .product_title {
  flex: 0 0 auto;
  min-height: 3.1em;
  height: auto !important;
  max-height: none !important;
  margin: 16px 16px 12px;
  padding: 0;
  overflow: visible !important;
  text-align: left;
}
#template #related-products #swiper_products .product .product_title a {
  display: block;
  height: auto;
  max-height: none;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  overflow-wrap: anywhere;
  color: #16202a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}
#template #related-products #swiper_products .product .product_price {
  margin: auto 16px 14px;
  color: #244665;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
#template #related-products #swiper_products .product .money_tag {
  color: #244665;
}
#template #related-products #swiper_products .product .product_btn {
  padding: 0 16px 16px;
  text-align: left;
}
#template #related-products #swiper_products .product .product_btn .qk-btn {
  border-radius: 999px;
  min-height: 40px;
  font-size: 13px;
}
@media (hover: hover) and (pointer: fine) {
  #template #related-products #swiper_products .swiper-slide.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 12px rgba(36,70,101,.12);
  }
}
@media (max-width: 767px) {
  #template #related-products #swiper_products .product .product_title {
    margin: 12px 12px 10px;
  }
  #template #related-products #swiper_products .product .product_title a,
  #template #related-products #swiper_products .product .product_price {
    font-size: 14px;
  }
  #template #related-products #swiper_products .product .product_price {
    margin-right: 12px;
    margin-left: 12px;
  }
  #template #related-products #swiper_products .product .product_btn {
    padding: 0 12px 12px;
  }
  #template #related-products #swiper_products .product .product_btn .qk-btn {
    min-width: 0;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  #template #related-products #swiper_products .swiper-slide.product {
    transition: none;
  }
  #template #related-products #swiper_products .swiper-slide.product:hover {
    transform: none;
  }
}

/* FACB UNIFIED OPEN PRODUCT TILES — 2026-11-09
   Collection, homepage product sections and related products only.
   Preserve backend content, colors, native controls and slide widths. */
#template #collection #collection-content .grid-view > .product,
#template #collection #collection-content .product .hover-container,
body.facb-cyber-home #template .index_8_blocks .product-tag,
#template #related-products #swiper_products .swiper-slide.product {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}
#template #collection #collection-content .product .hover-container {
  padding: 0 !important;
  gap: 0 !important;
  --hover-scale: 1 !important;
  --hover-shadow: none !important;
  --hover-padding: 0px !important;
  --hover-border-radius: 0px !important;
}
#template #collection #collection-content .product .image-container,
body.facb-cyber-home #template .index_8_blocks .product-image-container,
#template #related-products #swiper_products .product .product_image {
  position: relative;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fff;
  box-shadow: none !important;
}
#template #collection #collection-content .product .image-container::after,
body.facb-cyber-home #template .index_8_blocks .product-image-container::after,
#template #related-products #swiper_products .product .product_image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(36,70,101,.07), inset 0 0 3px rgba(36,70,101,.04);
  pointer-events: none;
  z-index: 2;
}
#template #collection #collection-content .product .image-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
body.facb-cyber-home #template .index_8_blocks .product-image {
  display: block !important;
  width: 100%;
  height: auto !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 12px !important;
}
body.facb-cyber-home #template .index_8_blocks .product-image .img-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
body.facb-cyber-home #template .index_8_blocks .product-image .img-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
#template #collection #collection-content .product .product-bottom-container,
body.facb-cyber-home #template .index_8_blocks .product-caption {
  position: static !important;
  min-height: 0 !important;
  padding: 16px 0 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  gap: 10px !important;
  text-align: left !important;
}
body.facb-cyber-home #template .index_8_blocks .facb-home-product-info {
  gap: 8px;
}
#template #collection #collection-content .product .product-bottom-container .title,
body.facb-cyber-home #template .index_8_blocks .product-title,
#template #related-products #swiper_products .product .product_title {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 3.1em !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  text-align: left !important;
}
#template #related-products #swiper_products .product .product_title {
  margin-top: 16px !important;
  margin-bottom: 10px !important;
}
#template #collection #collection-content .product .title a,
body.facb-cyber-home #template .index_8_blocks .product-title a,
#template #related-products #swiper_products .product .product_title a {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  text-align: left !important;
  line-height: 1.55 !important;
}
#template #collection #collection-content .product .price-block,
body.facb-cyber-home #template .index_8_blocks .product-price,
#template #related-products #swiper_products .product .product_price {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 4px 10px !important;
  text-align: left !important;
  line-height: 1.5;
}
#template #related-products #swiper_products .product .product_price {
  margin: auto 0 12px !important;
}
#template #collection #collection-content .product .price-block > del,
body.facb-cyber-home #template .index_8_blocks .product-price > del,
#template #related-products #swiper_products .product .product_price > del {
  order: 2;
  margin: 0 !important;
  font-size: .75em !important;
  font-weight: 400 !important;
  white-space: nowrap;
  text-decoration: line-through;
}
#template #collection #collection-content .product .price-block > del .money_tag,
body.facb-cyber-home #template .index_8_blocks .product-price > del .money_tag,
#template #related-products #swiper_products .product .product_price > del .money_tag {
  font-size: inherit !important;
  font-weight: inherit !important;
}
#template #related-products #swiper_products .product .product_btn {
  padding: 0 0 4px !important;
}
@media (max-width: 767px) {
  #template #collection #collection-content .product .product-bottom-container,
  body.facb-cyber-home #template .index_8_blocks .product-caption {
    padding-top: 12px !important;
  }
  #template #related-products #swiper_products .product .product_title {
    margin-top: 12px !important;
  }
  #template #collection #collection-content .product .price-block,
  body.facb-cyber-home #template .index_8_blocks .product-price,
  #template #related-products #swiper_products .product .product_price {
    gap: 4px 8px !important;
  }
}
/* END FACB UNIFIED OPEN PRODUCT TILES */

/* FACB RELATED PRODUCTS NATURAL TYPE — 2026-11-09
   Related products only: natural titles, nearby prices, no cart row. */
#template #related-products #swiper_products .swiper-slide.product {
  height: auto !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}
#template #related-products #swiper_products .product .product_title {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  text-align: left !important;
}
#template #related-products #swiper_products .product .product_title a {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  word-break: normal !important;
  overflow-wrap: anywhere;
  text-align: left !important;
  line-height: 1.55 !important;
}
#template #related-products #swiper_products .product .product_price {
  width: 100% !important;
  min-height: 0 !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
}
#template #related-products #swiper_products .product .product_btn {
  display: none !important;
}
@media (max-width: 767px) {
  #template #related-products #swiper_products .product .product_title {
    margin-top: 12px !important;
  }
}
/* END FACB RELATED PRODUCTS NATURAL TYPE */
