/* ============== Global start ============== */
/* @import "https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;500;600;700;900&display=swap"; */

@font-face {
  font-family: 'SourceHanSerif';
  src: url(../fonts/SourceHanSerifHK-Regular.otf);
  font-display: swap;
}

@font-face {
  font-family: 'SourceHanSerif';
  font-weight: 700;
  src: url(../fonts/SourceHanSerifHK-Bold.otf);
  font-display: swap;
}

@font-face {
  font-family: 'SourceHanSerif';
  font-weight: 900;
  src: url(../fonts/SourceHanSerifHK-Heavy.otf);
  font-display: swap;
}

@font-face {
  font-family: 'TandelleRg';
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/TandelleRgRegular.ttf);
}

@font-face {
  font-family: 'TandelleRg';
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/TandelleRgBold.ttf);
}

@font-face {
  font-family: 'theme-font';
  font-display: swap;
  src: url(../fonts/Roboto-Regular.woff2) format("woff2");
}

@font-face {
  font-family: 'theme-font-2';
  font-display: swap;
  src: url(../fonts/AmiriRegular.woff2) format("woff2");
}

@font-face {
  font-family: 'theme-font-2';
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/AmiriBold.woff2) format("woff2");
}

/* @font-face {
  font-family: 'Noto Sans TC';
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/NotoSansTC-Regular.ttf) format("truetype");
}

@font-face {
  font-family: 'Noto Sans FS';
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/NotoSansTC-Regular.ttf) format("truetype");
} */

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-size: 16px;
  font-family: "theme-font", "Noto Sans FS", var(--text-font);;
}

.theme-font {
  font-family: "theme-font", "Noto Sans FS", var(--text-font);;
}

.theme-font-2 {
  font-family: "theme-font-2", "theme-font", "Noto Sans FS", var(--text-font);
}

:root {
  --text-font: Helvetica, arial, 'microsoft jhenghei', sans-serif;
  --header-height: 68px;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.d-block-pc {
  display: block;
}

.d-block-mb {
  display: none;
}

.block-wrapper {
  margin-top: 60px;
}

@media not all and (min-width: 768px) {
  .d-block-pc {
    display: none;
  }

  .d-block-mb {
    display: block;
  }

  .block-wrapper {
    margin-top: 40px;
  }
}

/* Swiper 统一配置 */
:root {
  --swiper-navigation-color: #4e4e4e;
  --swiper-navigation-size: 30px;
}

.swiper-pagination {
  bottom: 2vw;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background-color: white;
  opacity: 1;
  transition: all .3s ease;
  margin: 5px 7px 0 !important;
  border-radius: 5px;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: black !important;
  width: 30px;
  height: 5px;
}

/* tips 温馨提示 */
.promotion_message {
  display: flex;
  background-color: var(--tips-Bgcolor);
  color: var(--tips-color);
  height: var(--promotion-message-height);
  line-height: 16px;
  font-size: 16px;
  z-index: 51;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  text-align: center;
  margin-top: var(--admin-height);
}

.promotion_message .promotion_bar {
  height: auto;
  display: block;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  width: 100%;
  padding: 10px 30px;
  line-height: 1.3;
  position: absolute;
  left: 0;
  cursor: pointer;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.promotion_message .promotion_bar.active {
  position: relative;
  visibility: visible;
  opacity: 1;
}

.promotion_message .promo-bar-ctl-prev,
.promotion_message .promo-bar-ctl-next {
  cursor: pointer;
  height: auto;
  margin-top: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block !important;
}

.promo-bar-ctl-prev {
  left: 10px;
}

.promo-bar-ctl-next {
  right: 10px;
}

.promo-bar-ctl-prev::after {
  content: 'prev';
}

.promo-bar-ctl-next::after {
  content: 'next';
}

.promo-bar-ctl-prev::after,
.promo-bar-ctl-next::after {
  font-family: swiper-icons;
}

/* ============== Global end ============== */

/* ============== header start ============== */
.header {
  transition: all .5s cubic-bezier(0.25, 0.1, 0.25, 1);
  margin-top: calc(var(--promotion-message-height) + var(--admin-height));
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  position: fixed !important;
  background-color: var(--header-bgColor);
  color: var(--header-color);
  padding: 10px 0;
}

.header:not(.fixed) {
  /* opacity: 1; */
  transform: translateY(0);
}

.header-nav-item {
  color: #4e4e4e;
}

.group .nav-hover {
  border-top: 1px solid #d8d8d8;
}

/* .group .nav-link::before {
  content: '';
  width: 10px;
  height: 10px;
  border-style: solid;
  border-width: 1px;
  border-color: #d8d8d8 #d8d8d8 transparent transparent;
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  transform: rotate(-45deg);
  background-color: #fff;
  z-index: 100;
  opacity: 0;
}

.group:hover .nav-link::before {
  opacity: 1;
} */

.nav-bottom {
  border-top: 1px solid #d8d8d8;
  width: 100%;
}

.nav-bottom-item-link:hover .col div {
  color: #000;
}

.group .search {
  color: #4e4e4e;
  background-color: #f7f6f7;
  margin-bottom: -30px;
  transform: translateY(-10px);
  border: 1px solid transparent;
}

.group .search input {
  width: 120px;
  background-color: #f7f6f7;
  padding: 10px 15px;
}

.group .search input::placeholder {
  color: #4e4e4e;
  white-space: nowrap;
  overflow: hidden;
}

.group .search button {
  padding-right: 5px;
}

.search:hover input::placeholder {
  color: #ce0058;
}

.search:hover button {
  color: #ce0058;
}

.search:hover {
  border-color: #ce0058;
}

.header .cart .cart-count {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50px;
  text-align: center;
  right: -15px;
  transform: translate(0, -50%);
}

.header .cart .cart-count::before {
  content: '(';
}

.header .cart .cart-count::after {
  content: ')';
}

.header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid #d8d8d8;
  /* opacity: 0; */
  transform: translateY(-54px);
  animation: fadeInDown 0.5s forwards;
}

@keyframes fadeInDown {
  to {
    /* opacity: 1; */
    transform: translateY(0);
  }
}

.header.fixed .logo img {
  max-width: 100% !important;
}

.header:not(.fixed) .like {
  padding-left: 16px;
}

.header .lang span.border-r {
  border-color: #fff !important;
}

.header .lang-select {
  width: 80px;
}

.header.fixed .lang {
  display: none;
}

.header.fixed .site {
  display: none;
}

.header.fixed .searchBtn {
  display: block;
}

.header.fixed .cart .cart-text {
  display: none;
}

.header.fixed .cart .cart-count {
  top: 2px;
  right: -2px;
  font-size: 11px;
  background-color: #000;
  color: #fff;
}

.header.fixed .cart:hover .cart-count {
  background-color: #ce0058;
}

.header.fixed .cart .cart-count::before {
  display: none;
}

.header.fixed .cart .cart-count::after {
  display: none;
}

.header.fixed .second-nav .second-search {
  display: none;
}

.header.fixed .second-nav {
  margin-top: -30px;
}

.m-lang a:first-child {
  border-right: 1px solid #000;
}

@media not all and (min-width:1280px) {
  .header {
    position: fixed !important;
  }

  .site {
    display: block !important;
    margin-left: unset !important;
  }

  .site span {
    display: none !important;
  }

  .mb-site {
    display: none !important;
  }

  header.header .container {
    max-width: 100% !important;
  }

  /* .logo,
  .header.fixed .logo {
    left: -85px !important;
    transform: translateY(-50%) !important;
  } */

  .logo img {
    width: 100% !important;
    max-width: unset !important;
  }

  .header .cart .cart-count {
    top: 2px;
    right: -2px;
    font-size: 11px;
    background-color: #000;
    color: #fff;
  }

  .header .cart:hover .cart-count {
    background-color: #ce0058;
  }

  .header .cart .cart-count::before {
    display: none;
  }

  .header .cart .cart-count::after {
    display: none;
  }
}

#menuBtn svg {
  filter: invert(1);
}

#mobileMenu {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

#mobileMenu .bg-white {
  box-sizing: border-box;
  overflow: hidden;
}

#mobileMenu .m-lang {
  margin-top: auto;
  padding-bottom: 1rem;
}

@media (max-width: 1279.98px) {
  #mobileMenu {
    z-index: 9999;
  }

  .main {
    z-index: 1;
  }
}

@media (min-width:1280px) {
  .header_lang {
    display: block;
  }

  .header_lang .lang_item.active {
    text-decoration: underline;
  }

  .header_icons .header_left .header_link {
    margin-left: 30px;
  }
}

.main {
  margin-top: calc(var(--promotion-message-height) + var(--header-height) + var(--admin-height));
}

/* ============== header end ============== */

/* ============== footer start ============== */
.footer {
  background-color: var(--footer-Bgcolor);
  color: var(--footer-color);
  padding-bottom: calc(var(--buys_hk-support-div-height) + var(--sticky-bottom-height) + var(--cookie-disclaimer-height)) !important;
  margin-top: 60px;
}

.footer .container {
  max-width: 1200px;
}

.footer_promotion_message {
  background-color: #000;
  color: #fff;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: 15px;
}

.footer_promotion_bar {
  text-align: center;
  flex: 1;
  padding: 8px 15px;
}

@media (min-width: 768px) {
  .footer .footer_promotion_message .footer_promotion_bar .d-inline-flex {
    /* flex-direction: column; */
    text-align: center;
  }

  .footer .footer_promotion_message .footer_promotion_bar img {
    max-height: 75px;
  }

  .info_button {
    padding: 15px 25px;
  }
}

.footer_nav {
  color: #fff;
  border-top: 1px solid #fff;
}

.footer_2_nav,
.footer_3_nav {
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer_content .footer_nav {
  color: #000;
  border-color: #d8d8d8;
}

/* .footer_content .footer_nav:first-child {
  border-top: 0;
} */

.footer_nav ul {
  flex-wrap: wrap;
  display: block;
}

.footer_nav ul.level_1 {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}

@media (min-width: 1280px) {
  .footer_1_nav ul.level_1 {
    justify-content: center;
  }

  .footer_nav.footer_1_nav .nav_item.level_1:not(:first-child) {
    position: relative;
    margin-left: 0;
    padding-left: 15px;
  }

  .footer_nav.footer_1_nav .nav_item.level_1:not(:first-child):before {
    content: '|';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .footer_1_nav ul.level_1 {
    position: relative;
  }

  .footer-payment-icons {
    position: absolute !important;
  }
}

.footer_nav .nav_item.level_1 {
  margin-left: 12px;
  margin-right: 12px;
  color: #fff;
}

.nav .subnav .container {
  padding-left: 0;
  padding-right: 0;
}

.footer_nav .nav_text.level_2,
.footer_nav .nav_text.level_1 {
  text-transform: uppercase;
}

.footer_nav .nav_text {
  white-space: nowrap;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 14px;
  display: inline-block;
  font-weight: normal !important;
}

/* .nav_item_row a:hover {
  color: #000;
} */

@media (min-width: 1280px) {

  .footer_3_nav .nav_text.level_1,
  .footer_3_nav .nav_text.level_2,
  .footer_2_nav .nav_text.level_1,
  .footer_2_nav .nav_text.level_2 {
    margin-bottom: 10px;
  }
}

.footer-social {
  margin-top: 15px;
  filter: invert(1);
}

.footer-social img {
  filter: invert(1);
}

.footer_nav .info_button {
  background: #fff;
  color: #000;
  transition-duration: 0.5s;
  transition-property: background, color, opacity !important;
  margin-top: 10px;
  font-size: inherit;
  min-width: 185px;
  line-height: 24px;
  width: auto;
  box-sizing: border-box;
  text-transform: uppercase;
  border-radius: .3125rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border: 1px solid #000;
  outline: 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* .footer_nav .info_button:hover {
  background: #ce0058;
  color: #fff;
  border-color: transparent;
} */

.footer-payment-icons .gateway-img {
  margin: 0 5px;
}

.gateway-img {
  max-width: 30px !important;
}

.footer_1_nav {
  padding-bottom: 60px;
  padding-top: 15px;
  font-size: .9em;
}

.footer-payment-icons:before {
  content: unset !important;
}

.footer-payment-icons .gateway-img {
  margin: 0 5px;
}

.footer_1_nav {
  padding-bottom: 60px;
}

/* more 更多 icon */
.footer_nav .nav_item .nav_icon {
  cursor: pointer;
  display: none;
}

.nav .nav_item .nav_icon:after {
  content: "next";
  transform-origin: 45%;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  font-family: swiper-icons;
  transition-duration: 0.2s;
  display: flex;
}

.hover-d-none {
  filter: invert(1);
}

@media (min-width: 992px) {
  .footer-payment-icons {
    left: 0;
    width: 100%;
    transform: translateY(100%);
  }
}

@media (max-width: 991.98px) {
  .footer-payment-icons {
    order: 99;
  }
}

.gateway-img {
  max-width: 30px !important;
}

@media (max-width:1279.98px) {
  .footer {
    padding-bottom: calc(var(--buys_hk-support-div-height) + var(--sticky-bottom-height) + var(--cookie-disclaimer-height) + var(--cookie-banner-height)) !important;
  }

  /* footer */
  .footer_content {
    padding-top: 0;
  }

  .footer_3_nav,
  .footer_2_nav {
    padding-top: 0;
    padding-bottom: 10px;
  }

  .nav {
    width: 100%;
    display: block;
    position: relative;
  }

  .nav ul {
    display: block;
  }

  .nav ul.level_1,
  .nav ul.level_2,
  .nav ul.level_3,
  .nav ul.level_4 {
    border: 0;
    margin: 0;
    padding: 0;
    display: block;
  }

  .footer_2_nav .container {
    padding-left: 0;
    padding-right: 0;
  }

  .footer_2_nav .nav_item.level_1 {
    margin-left: 0;
    margin-right: 0;
  }

  .nav .nav_item:first-child {
    border-top: 0;
  }

  .nav .nav_item {
    white-space: normal;
    margin: 0;
    position: relative;
  }

  .footer_2_nav .nav_item.level_4:before,
  .footer_2_nav .nav_item.level_3:before,
  .footer_2_nav .nav_item.level_2:before,
  .footer_2_nav .nav_item.level_1:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    border-top: 1px solid #d8d8d8;
  }

  .nav .subnav {
    overflow: hidden;
  }

  .nav.subnav.level_2 {
    left: unset;
    transform: unset;
    width: 100%;
    margin-top: 0;
    display: block;
    position: relative;
  }

  .nav .nav_item .nav_item_row {
    flex-wrap: nowrap;
    flex: 1;
    justify-content: space-between;
    display: flex;
    position: relative;
    transition: all .4s ease;
    transition-duration: 300;
  }

  .footer_nav .footer-contact .nav_item_row {
    justify-content: center;
    text-align: center;
  }

  .sub_nav_item_row {
    opacity: 0;
    overflow: hidden;
    max-height: 0;
    transition: opacity .3s ease, max-height .3s ease;
    visibility: hidden;
  }

  .sub_nav_item_row.is-expanded {
    opacity: 1;
    border-top: 1px solid #e5e7eb;
    max-height: 500px;
    visibility: visible;
  }

  .footer_2_nav .nav_text.level_4,
  .footer_2_nav .nav_text.level_3,
  .footer_2_nav .nav_text.level_2,
  .footer_2_nav .nav_text.level_1 {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .footer_2_nav .nav_item .nav_text {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer_nav .nav_item .nav_icon {
    right: 15px;
    z-index: 10;
    width: 50px;
    flex: 1 0 auto;
    justify-content: end;
    align-items: center;
    padding: 5px 0 5px 15px;
    display: flex;
    position: relative;
    top: 0;
  }

  .nav .nav_item .nav_icon:after {
    font-family: 'courier new', monospace;
    content: '＋';
    font-size: 25px;
  }

  .nav .nav_item.is-expanded>.nav_item_row>.nav_icon:after {
    content: '―';
    transform: unset;
  }

  .footer_nav .footer-contact .footer-social a {
    margin-left: 10px;
  }
}

@media (max-width:997.98px) {
  .footer_1_nav ul.level_1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer_1_nav ul.level_1:first-child .nav_item.level_1:first-child {
    order: 99;
    /* margin-top: 30px; */
  }

  .footer_1_nav .nav_item.level_1 {
    flex-basis: 50%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width:768px) {
  .footer {
    margin-top: 40px;
  }

  .footer .footer_promotion_message .footer_promotion_bar:nth-child(2n+1) {
    padding-right: 0;
  }

  .footer .footer_promotion_message .footer_promotion_bar {
    text-align: left;
  }

  .footer_promotion_message .footer_promotion_bar {
    flex-basis: 50%;
  }

  .footer .footer_promotion_message .footer_promotion_bar img {
    max-height: unset;
    width: 50px;
  }
}

/* ============== footer end ============== */

/* ============== sticky start ============== */
.sticky-bottom {
  position: fixed;
  width: 100%;
  bottom: 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  z-index: 99;
  background: var(--tips-Bgcolor);
  color: var(--tips-color);
  transition-duration: .4s;
  overflow: hidden;
  transition: all .4s ease;
  transform: translateY(calc(-1 * var(--cookie-disclaimer-height)));
}

.sticky-bottom a:hover {
  color: var(--tips-color);
}

@media (max-width:1199.98px) {
  .sticky-bottom.hide {
    height: 0;
    opacity: 0;
  }

  .buys_hk-support-div.show {
    transform: translateY(0);
  }
}

/* ============== sticky end ============== */

/* ============== support start ============== */
.buys_hk-support-div {
  width: 100%;
  font-size: 9px;
  transition-duration: .4s;
  position: fixed;
  text-align: center;
  bottom: 0;
  padding: 5px 15px;
  background: #fff;
  color: #000;
  border-top: 1px solid #000;
  text-transform: uppercase;
  font-weight: 700;
  transform: translateY(calc(-1 * (var(--sticky-bottom-height) + var(--cookie-disclaimer-height))));
  transition: transform .4s ease;
}

/* ============== support end ============== */


/* ============== back to top start ============== */
.btn-back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  cursor: pointer;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  justify-content: center;
  align-items: center;
  transition-property: background-color, color, opacity, transform;
  transition-duration: 0.5s;
  display: flex;
  position: fixed;
  bottom: 0;
  right: 15px;
  transform: translateY(calc(-1 * (var(--sticky-bottom-height) + var(--buys_hk-support-div-height) + var(--cookie-disclaimer-height)) - 65px));
}

@media not all and (min-width: 768px) {
  .btn-back-to-top {
    right: 0;
  }
}

/* .btn-back-to-top:hover {
  background-color: #ce0058;
} */

/* .btn-back-to-top:hover svg {
  fill: #fff;
} */

.btn-back-to-top svg,
.btn-back-to-top img {
  width: 23px;
  height: 23px;
  max-width: 75%;
  max-height: 75%;
}

/* ============== back to top end ============== */

/* ============== message start ============== */
.custom-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  z-index: 999;
  min-width: 400px;
}

.custom-alert-header {
  padding: 10px 15px;
  border-bottom: 1px solid #ce0058;
  color: #333;
  font-weight: bold;
}

.custom-alert-content {
  padding: 15px;
  color: #333;
  line-height: 1.6;
}

.custom-alert-close {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  color: #999;
  font-size: 24px;
  background: none;
  border: none;
}

.custom-alert-close:hover {
  color: #666;
}

/* ============== message end ============== */

/* ============== select3 start ============== */
.select3 {
  font-size: 12px;
}

.select3 .color-block {
  flex-grow: 0;
  width: 1.25rem;
  min-width: 1.25rem;
  height: 1.25rem;
  margin: 0 0.625rem 0 0;
  border-radius: 0 !important;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
}

.select3 .sold-out-block {
  display: none;
}

.select3 .select3-list {
  top: unset !important;
  bottom: 100% !important;
  transform: unset !important;
}

/* ============== select3 end ============== */

/* ============== mask start ============== */
.mask-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* ============== mask end ============== */

/* ============== float img start ============== */

.float-img-container {
  position: fixed;
  bottom: 0;
  transform: translateY(calc(-1 * (var(--sticky-bottom-height) + var(--buys_hk-support-div-height) + var(--cookie-disclaimer-height))));
  right: 0;
  color: #fff;
  line-height: 1.2;
  z-index: 9;
}

.float-img {
  /* transform: translateX(calc(100% - 65px)); */
  transition: .4s;
}

@media (hover:hover) {
  .float-img:hover {
    transform: translateX(0);
  }
}

.custom-div {
  background: #000;
  border-radius: .625rem 0 0 .625rem;
  border-radius: 50px 0 0 50px;
  padding: 10px 15px;
  transition-duration: 0.4s;
  transition-property: background;
}

.float-img-container img {
  max-width: 35px;
  height: 100%;
  margin-right: 20px;
}

@media not all and (min-width:768px) {
  .float-img {
    transform: unset !important;
  }

  .custom-div {
    border-radius: 100%;
    padding: 8px;
    color: transparent;
  }

  .custom-div .text-div {
    display: none;
  }

  .float-img-container img {
    margin-right: unset;
  }
}

/* ============== float img end ============== */

/* ============== block banner start ============== */
.block-banner {
  margin: 0;
}

.block-banner video,
.block-banner img {
  width: 100%;
  object-fit: cover;
}

.block-banner .banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.block-banner .video-player {
  position: relative;
}

.block-banner .video-player .video-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  gap: 8px;
  cursor: pointer;
}

.block-banner .video-player .video-controls .video-control-button {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 40px;
  border-radius: 9999px;
  color: #d5d5cb;
  background-color: #333;
  box-shadow: 0 0 4px 0 rgba(51 51 51 / 20%);
  cursor: pointer;
}

.block-banner .video-player .video-controls .mask-icon {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  filter: invert(1);
}

.icon-play,
.icon-speaker {
  display: none;
}

/* ============== block banner end ============== */

/* ============== block convenient nav start ============== */
.block-convenient-nav .nav-item {
  width: fit-content;
  border-radius: 50px;
  border: 1px solid #333;
  padding: 5px;
  padding-right: 15px;
  font-size: 14px;
}

.block-convenient-nav .circle-img {
  width: 35px;
  height: 35px;
  border-radius: 100%;
  overflow: hidden;
}

.block-convenient-nav .circle-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media not all and (min-width: 768px) {
  .block-convenient-nav .block-container {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ============== block convenient nav end ============== */

/* ============== block category banner end ============== */
.block-category-banner .slide-container {
  position: relative;
}

.block-category-banner .slide-container .text-container {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.block-category-banner .text-container .text-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.block-category-banner .text-container .title {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 15px;
}

.block-category-banner .text-container .subtitle {
  font-size: 20px;
}

.block-category-banner .text-container .desc {
  font-size: 16px;
  margin-bottom: 16px;
}

.block-category-banner .text-container .btn {
  border: 1px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 40px;
  max-width: 250px;
}

@media not all and (min-width: 768px) {
  .block-category-banner .slide-container::after {
    content: "";
    display: none;
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    background-image: linear-gradient(to bottom, transparent, #000);
  }

  .block-category-banner .text-container .title {
    font-size: 21px;
  }
}

/* ============== block category banner end ============== */

/* ============== block category start ============== */
.block-category .slide-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.block-category .product-img {
  width: 300px;
  height: 300px;
  overflow: hidden;
}

.block-category .product-name {
  margin: 15px 0;
  font-weight: 700;
  min-height: 48px;
  text-align: center;
}

.block-category .more-btn {
  background-color: #000;
  color: #fff;
  padding: 8px 25px;
  min-width: 185px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  font-size: 16px;
  transition: .5s ease;
  line-height: 24px;
  border: 1px solid #fff;
}

.block-category .swiper-container {
  position: relative;
  padding-bottom: 60px;
}

.block-category .category-swiper {
  position: unset;
}

.block-category .swiper-pagination {
  bottom: 0;
}

.block-category .swiper-pagination .swiper-pagination-bullet {
  background-color: #ddd;
}

.block-category .swiper-button-prev::after,
.block-category .swiper-button-next::after {
  font-size: 16px;
}

@media (hover:hover) {
  .block-category .more-btn:hover {
    background-color: #fff;
    border-color: #000;
    color: #000;
  }
}

@media not all and (min-width:768px) {
  .block-category .product-img {
    width: unset;
    height: unset;
  }

  .block-category .more-btn {
    min-width: unset;
  }

  .swiper-button-prev {
    left: 0 !important;
  }

  .swiper-button-next {
    right: 0 !important;
  }
}

/* ============== block category end ============== */

/* ============== breadcrumb start ============== */
.breadcrumb {
  font-size: 12px;
  margin-bottom: 60px;
}

@media not all and (min-width: 768px) {
  .breadcrumb {
    font-size: 10px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .block-photo-swiper .grid-title~div.text-primary {
    font-size: 14px !important;
  }
}

.breadcrumb .item:last-of-type .separator {
  display: none;
}

.product-price {
  display: var(--have-price);
  min-height: 24px;
  margin-bottom: 20px;
}

.product-size {
  display: var(--have-size);
  min-height: 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* ============== breadcrumb end ============== */