/* Mieusey: Chooiin-style floating rounded fixed header. */
body.nav-fixed > header.header.header-layout-2.scroll-down-hide {
  box-sizing: border-box;
  left: 16px;
  right: 16px;
  top: 14px;
  width: auto;
  max-width: min(1500px, calc(100vw - 32px));
  margin-right: auto;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background: var(--header-bg);
  box-shadow: 0 12px 32px rgba(18, 20, 24, 0.12);
}

body.wp-child-theme-mieusey.nav-fixed {
  padding-top: 108px;
}

body.dark-theme.nav-fixed > header.header.header-layout-2.scroll-down-hide {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

body.nav-fixed > header.header.header-layout-2.scroll-down-hide .navbar {
  background: transparent;
}

body.scroll-down.nav-fixed > header.header.header-layout-2.scroll-down-hide {
  transform: translate3d(0, calc(-100% - 18px), 0);
}

/* Mieusey: floating rounded footer card matching the header width. */
body.wp-child-theme-mieusey > footer.footer {
  box-sizing: border-box;
  width: auto;
  max-width: min(1500px, calc(100vw - 32px));
  margin: 28px auto 18px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background: var(--header-bg, var(--footer-bg));
  box-shadow: 0 12px 32px rgba(18, 20, 24, 0.12);
  overflow: hidden;
}

body.dark-theme.wp-child-theme-mieusey > footer.footer {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

body.wp-child-theme-mieusey > footer.footer .container-footer {
  box-sizing: border-box;
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}

/* Mieusey: Chooiin-style slider tabs for product details. */
body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  white-space: nowrap;
}

body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav .tab-nav-theme {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: 14px;
  background: var(--muted-bg-color, rgba(127, 127, 127, 0.1));
  font-size: 14px;
  text-align: left;
  transition: background-color 0.3s;
}

body.dark-theme.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav .tab-nav-theme {
  background: rgba(255, 255, 255, 0.08);
}

body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav .tab-nav-theme li {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 !important;
  line-height: 1;
}

body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav .tab-nav-theme li::before {
  display: none !important;
}

body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav .tab-nav-theme li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 58px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--muted-color);
  font-size: 14px;
  line-height: 28px;
  white-space: nowrap;
  transform: translateZ(0);
  transition: color 0.26s ease, background-color 0.36s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.36s cubic-bezier(0.16, 1, 0.3, 1), transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav .tab-nav-theme li:not(.active) > a:hover {
  background: var(--main-bg-color);
  color: var(--main-color);
  transform: translateY(-1px);
}

body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav .tab-nav-theme li.active > a {
  background: var(--focus-color, var(--theme-color));
  color: #fff;
  box-shadow: 0 6px 16px rgba(242, 151, 163, 0.28);
  animation: mieusey-tab-glide-forward 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav .tab-nav-theme li:first-child.active > a {
  animation-name: mieusey-tab-glide-back;
}

@keyframes mieusey-tab-glide-forward {
  0% {
    opacity: 0.72;
    transform: translateX(-8px) scale(0.94);
  }

  68% {
    opacity: 1;
    transform: translateX(1px) scale(1.025);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes mieusey-tab-glide-back {
  0% {
    opacity: 0.72;
    transform: translateX(8px) scale(0.94);
  }

  68% {
    opacity: 1;
    transform: translateX(-1px) scale(1.025);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Mieusey: theme-colored shop action buttons. */
body.wp-child-theme-mieusey.shop .shop-paybtn-group > .but {
  font-weight: 600;
  text-shadow: none;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

body.wp-child-theme-mieusey.shop .shop-paybtn-group > .but:hover,
body.wp-child-theme-mieusey.shop .shop-paybtn-group > .but:focus {
  opacity: 1;
  filter: saturate(1.04) brightness(1.02);
}

body.wp-child-theme-mieusey.shop .shop-paybtn-group > .but:active {
  transform: translateY(1px);
}

body.wp-child-theme-mieusey.shop .shop-paybtn-group > .but:first-child,
body.wp-child-theme-mieusey.shop .shop-paybtn-group > .shop-add-cart-btn {
  --this-color: var(--focus-color, var(--theme-color));
  --this-border: var(--focus-color-opacity3);
  --this-bg: linear-gradient(135deg, var(--focus-color-opacity1), var(--focus-color-opacity05));
  border: 1px solid var(--this-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

body.wp-child-theme-mieusey.shop .shop-paybtn-group > .but:last-child,
body.wp-child-theme-mieusey.shop .shop-paybtn-group > .shop-buy-btn {
  --this-color: #fff;
  --this-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 42%), var(--focus-color, var(--theme-color));
  box-shadow: 0 10px 24px rgba(242, 151, 163, 0.3);
}

body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-paybtn-group {
  gap: 10px;
}

body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-paybtn-group > .but {
  min-height: 42px;
  padding: 10px 24px;
  border-radius: 12px !important;
}

body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-paybtn-group > .but:hover,
body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-paybtn-group > .but:focus {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav .tab-nav-theme li > a,
  body.wp-child-theme-mieusey.shop .shop-paybtn-group > .but {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: compact card product detail header. */
body.wp-child-theme-mieusey.shop .single-product-header {
  background: transparent;
}

@media (min-width: 768px) {
  body.wp-child-theme-mieusey.shop .single-product-header {
    margin-top: 0;
    margin-bottom: 24px;
    padding-top: 0;
  }

  body.wp-child-theme-mieusey.shop .single-product-header > .container {
    box-sizing: border-box;
    padding: 22px 24px 24px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 18px;
    background: var(--main-bg-color);
    box-shadow: 0 14px 36px rgba(18, 20, 24, 0.1);
    overflow: hidden;
  }

  body.wp-child-theme-mieusey.shop .single-product-header .breadcrumb {
    box-sizing: border-box;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.dark-theme.wp-child-theme-mieusey.shop .single-product-header > .container {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  }

  body.wp-child-theme-mieusey.shop .single-header-box {
    --gap: 32px;
    box-sizing: border-box;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.wp-child-theme-mieusey.shop .single-header-box > * {
    top: 118px;
  }

  body.wp-child-theme-mieusey.shop .single-product-detail-box > .v-shop-detail {
    padding-top: 4px;
  }

  body.wp-child-theme-mieusey.shop .single-product-cover-box .product-cover-slider,
  body.wp-child-theme-mieusey.shop .single-product-cover-box .swiper-container,
  body.wp-child-theme-mieusey.shop .single-product-cover-box .swiper-slide,
  body.wp-child-theme-mieusey.shop .single-product-cover-box img {
    border-radius: 14px;
  }

  body.wp-child-theme-mieusey.shop .single-product-cover-box .product-cover-slider,
  body.wp-child-theme-mieusey.shop .single-product-cover-box .swiper-container,
  body.wp-child-theme-mieusey.shop .single-product-cover-box .swiper-slide {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  body.wp-child-theme-mieusey.nav-fixed {
    padding-top: 88px;
  }

  body.nav-fixed > header.header.header-layout-2.scroll-down-hide {
    left: 10px;
    right: 10px;
    top: 8px;
    max-width: calc(100vw - 20px);
    border-radius: 14px;
  }

  body.scroll-down.nav-fixed > header.header.header-layout-2.scroll-down-hide {
    transform: translate3d(0, calc(-100% - 12px), 0);
  }

  body.wp-child-theme-mieusey.mobile-navbar-show .mobile-navbar {
    z-index: 1002;
  }

  body.wp-child-theme-mieusey.mobile-navbar-show .mobile-navbar + .fixed-body {
    z-index: 1001;
  }

  body.wp-child-theme-mieusey.mobile-navbar-show > header.header.header-layout-2.scroll-down-hide {
    z-index: 995;
    pointer-events: none;
  }

  body.wp-child-theme-mieusey .footer-tabbar {
    box-sizing: border-box;
    left: 10px;
    right: 10px;
    bottom: 8px;
    bottom: calc(8px + constant(safe-area-inset-bottom));
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: auto;
    min-height: 58px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 18px;
    background: var(--header-bg);
    box-shadow: 0 14px 34px rgba(18, 20, 24, 0.16), 0 3px 12px rgba(18, 20, 24, 0.08);
    -webkit-backdrop-filter: saturate(5) blur(20px);
    backdrop-filter: saturate(5) blur(20px);
    transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, opacity 0.24s ease;
  }

  body.dark-theme.wp-child-theme-mieusey .footer-tabbar {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  }

  body.wp-child-theme-mieusey .footer-tabbar .tabbar-item a,
  body.wp-child-theme-mieusey .footer-tabbar .tabbar-item {
    min-height: 46px;
    padding: 4px 0;
    border-radius: 14px;
    transition: color 0.24s ease, background-color 0.24s ease, transform 0.24s ease;
  }

  body.wp-child-theme-mieusey .footer-tabbar .tabbar-item:active {
    transform: translateY(1px) scale(0.98);
  }

  body.wp-child-theme-mieusey .footer-tabbar .tabbar-item.actived,
  body.wp-child-theme-mieusey .footer-tabbar .tabbar-item.active {
    background: var(--focus-color-opacity1, rgba(240, 68, 148, 0.1));
    color: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey .footer-tabbar .single-pay-tabbar {
    min-height: 42px;
    margin-right: 8px;
    margin-left: 8px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(242, 151, 163, 0.24);
  }

  body.wp-child-theme-mieusey .footer-tabbar-placeholder {
    height: 78px;
    height: calc(78px + constant(safe-area-inset-bottom));
    height: calc(78px + env(safe-area-inset-bottom));
    background: transparent;
  }

  body.wp-child-theme-mieusey.scroll-down .scroll-down-hide.footer-tabbar,
  body.wp-child-theme-mieusey.scroll-ing .scrolling-hide.footer-tabbar {
    transform: translate3d(0, calc(100% + 18px + env(safe-area-inset-bottom)), 0);
    opacity: 0.98;
    -webkit-backdrop-filter: saturate(5) blur(20px);
    backdrop-filter: saturate(5) blur(20px);
  }

  body.wp-child-theme-mieusey.mobile-navbar-show .footer-tabbar {
    z-index: 995;
    pointer-events: none;
  }

  body.wp-child-theme-mieusey > footer.footer {
    max-width: calc(100vw - 20px);
    margin-top: 20px;
    margin-bottom: 12px;
    margin-bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 18px 14px;
    border-radius: 14px;
  }

  body.wp-child-theme-mieusey.shop .single-product-header {
    margin-bottom: 16px;
  }

  body.wp-child-theme-mieusey.shop [data-drawer="show"][drawer-selector=".comment-drawer"].zib-widget {
    margin-top: 12px;
  }

  body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav {
    justify-content: flex-start;
    margin-bottom: 12px;
    overflow-x: auto;
  }

  body.wp-child-theme-mieusey.shop .product-single-tab .single-tab-nav .tab-nav-theme {
    max-width: none;
  }

  body.wp-child-theme-mieusey.shop .single-product-header > .container {
    box-sizing: border-box;
    width: auto;
    padding-right: 15px;
    padding-left: 15px;
  }

  body.wp-child-theme-mieusey.shop .single-header-box {
    box-sizing: border-box;
    margin: 0;
    padding: 10px;
    border-radius: 16px;
    background: var(--main-bg-color);
    box-shadow: 0 10px 28px rgba(18, 20, 24, 0.08);
  }

  body.wp-child-theme-mieusey.shop .single-product-cover-box .new-swiper,
  body.wp-child-theme-mieusey.shop .single-product-cover-box .swiper-container,
  body.wp-child-theme-mieusey.shop .single-product-cover-box .swiper-slide,
  body.wp-child-theme-mieusey.shop .single-product-cover-box img {
    border-radius: 14px;
  }

  body.wp-child-theme-mieusey.shop .single-product-cover-box .new-swiper,
  body.wp-child-theme-mieusey.shop .single-product-cover-box .swiper-container {
    overflow: hidden;
  }
}

/* Mieusey: Douyin purchase button and prompt modal. */
body.shop .shop-paybtn-group > .mieusey-dy-buy-btn {
  --this-color: #fff;
  --this-bg: linear-gradient(135deg, #1b1d24 0%, #282b35 54%, var(--focus-color, var(--theme-color)) 145%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--this-color);
  background: var(--this-bg);
  box-shadow: 0 10px 24px rgba(24, 26, 34, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.shop .shop-paybtn-group > .mieusey-dy-buy-btn:hover,
body.shop .shop-paybtn-group > .mieusey-dy-buy-btn:focus {
  color: #fff;
  box-shadow: 0 12px 28px rgba(24, 26, 34, 0.22), 0 0 0 3px var(--focus-color-opacity1, rgba(242, 151, 163, 0.16));
}

body.shop .shop-paybtn-group > .mieusey-dy-buy-btn .fa {
  font-size: 15px;
}

body.shop .product-pay-button-box .shop-paybtn-group > .mieusey-dy-buy-btn {
  min-width: 118px;
}

body.mieusey-dy-modal-open {
  overflow: hidden;
}

.mieusey-dy-modal {
  position: fixed;
  inset: 0;
  z-index: 100100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0.28s ease, opacity 0.28s ease;
}

.mieusey-dy-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mieusey-dy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 24, 0.48);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
}

.mieusey-dy-dialog {
  position: relative;
  width: min(430px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background: var(--main-bg-color);
  box-shadow: 0 24px 70px rgba(18, 20, 24, 0.22);
  overflow: hidden;
  transform: translateY(18px) scale(0.96);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.34s ease;
}

.mieusey-dy-modal.is-open .mieusey-dy-dialog {
  transform: translateY(0) scale(1);
}

body.dark-theme .mieusey-dy-dialog {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
}

.mieusey-dy-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted-color);
  background: var(--muted-bg-color);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.mieusey-dy-close:hover,
.mieusey-dy-close:focus {
  color: var(--focus-color, var(--theme-color));
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  transform: rotate(90deg);
}

.mieusey-dy-body {
  position: relative;
  min-height: 386px;
}

.mieusey-dy-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateX(0) scale(1);
  transition: opacity 0.32s ease, transform 0.36s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease;
}

.mieusey-dy-dialog:not(.is-qr) .mieusey-dy-step-qr,
.mieusey-dy-dialog.is-qr .mieusey-dy-step-intro {
  opacity: 0;
  pointer-events: none;
}

.mieusey-dy-dialog:not(.is-qr) .mieusey-dy-step-qr {
  transform: translateX(26px) scale(0.98);
}

.mieusey-dy-dialog.is-qr .mieusey-dy-step-intro {
  transform: translateX(-26px) scale(0.98);
}

.mieusey-dy-dialog.is-switching .mieusey-dy-step {
  filter: blur(2px);
}

.mieusey-dy-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 42px);
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  border-radius: 999px;
  color: var(--focus-color, var(--theme-color));
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  font-size: 13px;
  font-weight: 700;
}

.mieusey-dy-step h3 {
  margin: 18px 42px 8px 0;
  color: var(--key-color);
  font-size: 24px;
  line-height: 1.25;
}

.mieusey-dy-step p {
  margin: 0;
  color: var(--muted-color);
  font-size: 14px;
  line-height: 1.8;
}

.mieusey-dy-note {
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid var(--main-border-color);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--focus-color-opacity1, rgba(242, 151, 163, 0.12)), var(--muted-bg-color));
}

.mieusey-dy-note strong,
.mieusey-dy-note span {
  display: block;
}

.mieusey-dy-note strong {
  color: var(--main-color);
  font-size: 15px;
}

.mieusey-dy-note span {
  margin-top: 4px;
  color: var(--muted-color);
  font-size: 13px;
}

.mieusey-dy-qr-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 176px;
  margin: 18px auto 0;
  padding: 14px;
  border: 1px solid var(--main-border-color);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 20, 24, 0.1);
}

.mieusey-dy-qr-box img {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.mieusey-dy-direct-link {
  display: none;
  align-items: center;
  justify-content: center;
  width: 176px;
  min-height: 40px;
  margin: 12px auto 0;
  border-radius: 12px !important;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(242, 151, 163, 0.22);
}

.mieusey-dy-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.mieusey-dy-actions .but {
  flex: 1 1 0;
  min-width: 0;
  min-height: 42px;
  border-radius: 12px !important;
  font-weight: 700;
  white-space: nowrap;
}

.mieusey-dy-continue-btn {
  --this-color: #fff;
  --this-bg: linear-gradient(135deg, #1b1d24, var(--focus-color, var(--theme-color)) 155%);
  color: var(--this-color);
  background: var(--this-bg);
  box-shadow: 0 10px 24px rgba(24, 26, 34, 0.18);
}

@media (max-width: 767px) {
  body.shop .footer-tabbar .shop-paybtn-group.mieusey-dy-pay-group {
    flex: 1 0 58%;
    gap: 0;
    margin-right: 0;
    margin-left: 4px;
    padding: 5px;
  }

  body.shop .footer-tabbar .shop-paybtn-group.mieusey-dy-pay-group > .but {
    flex: 1 1 33.333%;
    width: 33.333%;
    min-width: 0;
    padding: 7px 2px;
    border-radius: 0 !important;
    font-size: 12px;
    white-space: nowrap;
  }

  body.shop .footer-tabbar .shop-paybtn-group.mieusey-dy-pay-group > .but:first-of-type {
    border-radius: 100px 0 0 100px !important;
  }

  body.shop .footer-tabbar .shop-paybtn-group.mieusey-dy-pay-group > .but:last-of-type {
    border-radius: 0 100px 100px 0 !important;
  }

  body.shop .footer-tabbar .shop-paybtn-group.mieusey-dy-pay-group > .mieusey-dy-footer-buy-btn {
    letter-spacing: 0;
  }

  .mieusey-dy-modal {
    align-items: flex-end;
    padding: 10px 10px calc(86px + constant(safe-area-inset-bottom));
    padding: 10px 10px calc(86px + env(safe-area-inset-bottom));
  }

  .mieusey-dy-dialog {
    width: 100%;
    padding: 20px;
    border-radius: 20px;
  }

  .mieusey-dy-body {
    min-height: 386px;
  }

  .mieusey-dy-step h3 {
    margin-top: 14px;
    font-size: 21px;
  }

  .mieusey-dy-qr-box {
    width: 160px;
    height: 160px;
  }

  .mieusey-dy-direct-link {
    display: flex;
    width: 160px;
  }

  .mieusey-dy-actions {
    gap: 8px;
  }

  .mieusey-dy-actions .but {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 13px;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .mieusey-dy-body {
    min-height: 424px;
  }

  .mieusey-dy-direct-link {
    display: flex;
  }
}

/* Mieusey: refined floating mobile tabbar. */
@media (max-width: 767px) {
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide {
    left: 8px;
    right: 8px;
    bottom: 10px;
    bottom: calc(10px + constant(safe-area-inset-bottom));
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex;
    gap: 4px;
    width: auto;
    max-width: min(540px, calc(100vw - 16px));
    min-height: 64px;
    margin-right: auto;
    margin-left: auto;
    padding: 7px 8px;
    border-radius: 22px;
    overflow: hidden;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 58%);
    pointer-events: none;
  }

  body.dark-theme.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 58%);
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide > * {
    position: relative;
    z-index: 1;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide > .tabbar-item {
    flex: 0 0 44px;
    min-width: 40px;
    min-height: 48px;
    padding: 4px 0;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide .tabbar-item:hover,
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide .tabbar-item:focus {
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide .tabbar-item > icon,
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide .tabbar-item > svg,
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide .tabbar-item svg.icon {
    font-size: 21px;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide text {
    margin-top: 2px;
    font-size: 12px;
    transform: scale(0.78);
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group {
    flex: 1 1 auto;
    min-width: 190px;
    max-width: 246px;
    min-height: 48px;
    margin: 0 0 0 2px;
    padding: 4px;
    border-radius: 999px;
    background: var(--muted-bg-color, rgba(127, 127, 127, 0.1));
    box-shadow: inset 0 0 0 1px var(--main-border-color);
    overflow: hidden;
  }

  body.dark-theme.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .but {
    min-height: 40px;
    padding: 0 4px;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none;
    font-size: 12px;
    line-height: 40px;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .but + .but {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .but:first-of-type {
    border-radius: 999px 0 0 999px !important;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .but:last-of-type {
    border-radius: 0 999px 999px 0 !important;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .mieusey-dy-footer-buy-btn {
    background: linear-gradient(135deg, #1b1d24, var(--focus-color, var(--theme-color)) 160%);
  }

  body.wp-child-theme-mieusey .footer-tabbar-placeholder {
    height: 84px;
    height: calc(84px + constant(safe-area-inset-bottom));
    height: calc(84px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide {
    left: 6px;
    right: 6px;
    max-width: calc(100vw - 12px);
    padding-right: 6px;
    padding-left: 6px;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide > .tabbar-item {
    flex-basis: 39px;
    min-width: 36px;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group {
    min-width: 176px;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .but {
    font-size: 11px;
  }
}

/* Mieusey: cleaner mobile product action pills. */
@media (max-width: 767px) {
  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 186px;
    max-width: 218px;
    min-height: 48px;
    margin: 0 0 0 2px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  body.dark-theme.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group {
    background: transparent;
    box-shadow: none;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .but {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 16px !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 44px;
    white-space: nowrap;
    box-shadow: none;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .but + .but {
    border-left: 0;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .mieusey-footer-cart-btn {
    flex-basis: 48px;
    color: var(--focus-color, var(--theme-color));
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
    box-shadow: inset 0 0 0 1px var(--focus-color-opacity3, rgba(242, 151, 163, 0.28));
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .mieusey-footer-buy-btn {
    flex-basis: 76px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 44%), var(--focus-color, var(--theme-color));
    box-shadow: 0 9px 20px rgba(242, 151, 163, 0.28);
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .mieusey-dy-footer-buy-btn {
    flex-basis: 50px;
    color: #fff;
    background: linear-gradient(135deg, #242631 0%, #11131a 68%, var(--focus-color, var(--theme-color)) 190%);
    box-shadow: 0 9px 20px rgba(17, 19, 26, 0.18);
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .but:active {
    transform: translateY(1px) scale(0.98);
  }
}

@media (max-width: 380px) {
  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group {
    min-width: 170px;
    max-width: 188px;
    gap: 5px;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .but {
    min-height: 42px;
    padding-right: 8px;
    padding-left: 8px;
    border-radius: 14px !important;
    font-size: 12px;
    line-height: 42px;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .mieusey-footer-cart-btn {
    flex-basis: 44px;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .mieusey-footer-buy-btn {
    flex-basis: 68px;
  }

  body.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group.mieusey-dy-pay-group > .mieusey-dy-footer-buy-btn {
    flex-basis: 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mieusey-dy-modal,
  .mieusey-dy-dialog,
  .mieusey-dy-step,
  .mieusey-dy-close,
  body.shop .shop-paybtn-group > .mieusey-dy-buy-btn {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: place product discount badges inside the product image. */
body.wp-child-theme-mieusey .product-item.card {
  position: relative;
  overflow: hidden;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

body.wp-child-theme-mieusey .product-item.card .item-thumbnail {
  overflow: hidden;
}

body.wp-child-theme-mieusey .product-item.card .item-thumbnail img {
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

body.wp-child-theme-mieusey .product-item.card .item-discount-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 24px);
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

body.wp-child-theme-mieusey .product-item.card .item-discount-badge:empty {
  display: none;
}

body.wp-child-theme-mieusey .product-item.card .item-discount-badge .badge-discount {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  margin: 0;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 7px 7px 7px 2px;
  background: var(--focus-color, var(--theme-color));
  color: #fff;
  box-shadow: 0 7px 18px rgba(28, 30, 36, 0.2);
  font-size: 12px;
  font-weight: 700;
  line-height: 23px;
  text-shadow: none;
  white-space: nowrap;
}

body.wp-child-theme-mieusey .product-item.card.style-small .item-discount-badge {
  top: 11px;
  left: 11px;
  max-width: 82px;
}

body.wp-child-theme-mieusey .product-item.card.style-small .item-discount-badge .badge-discount {
  min-height: 20px;
  padding: 0 6px;
  border-radius: 6px 6px 6px 2px;
  font-size: 10px;
  line-height: 18px;
}

@media (hover: hover) and (pointer: fine) {
  body.wp-child-theme-mieusey .product-item.card:hover {
    border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.28));
    box-shadow: 0 14px 32px rgba(24, 26, 32, 0.1);
    transform: translateY(-3px);
  }

  body.wp-child-theme-mieusey .product-item.card:hover .item-thumbnail img {
    transform: scale(1.025);
  }
}

@media (max-width: 767px) {
  body.wp-child-theme-mieusey .product-item.card:not(.style-small) .item-discount-badge {
    top: 9px;
    left: 9px;
    max-width: calc(100% - 18px);
  }

  body.wp-child-theme-mieusey .product-item.card:not(.style-small) .item-discount-badge .badge-discount {
    min-height: 22px;
    padding: 0 7px;
    font-size: 11px;
    line-height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-child-theme-mieusey .product-item.card,
  body.wp-child-theme-mieusey .product-item.card .item-thumbnail img {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: two-button mobile product actions when Douyin purchase is disabled. */
@media (max-width: 767px) {
  body.mieusey-douyin-buy-disabled.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-width: 176px;
    max-width: 232px;
    min-height: 48px;
    margin: 0 0 0 3px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  body.mieusey-douyin-buy-disabled.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group > .but {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 9px;
    border: 0;
    border-radius: 16px !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 44px;
    white-space: nowrap;
  }

  body.mieusey-douyin-buy-disabled.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group > .but:first-child {
    color: var(--focus-color, var(--theme-color));
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
    box-shadow: inset 0 0 0 1px var(--focus-color-opacity3, rgba(242, 151, 163, 0.28));
  }

  body.mieusey-douyin-buy-disabled.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group > .but:last-child {
    color: #fff;
    background: var(--focus-color, var(--theme-color));
    box-shadow: 0 9px 20px rgba(242, 151, 163, 0.26);
  }

  body.mieusey-douyin-buy-disabled.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group > .but:active {
    transform: translateY(1px) scale(0.98);
  }
}

@media (max-width: 380px) {
  body.mieusey-douyin-buy-disabled.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group {
    gap: 5px;
    min-width: 158px;
    max-width: 194px;
  }

  body.mieusey-douyin-buy-disabled.shop .footer-tabbar.scroll-down-hide .shop-paybtn-group > .but {
    min-height: 42px;
    padding-right: 6px;
    padding-left: 6px;
    border-radius: 14px !important;
    font-size: 11px;
    line-height: 42px;
  }
}

/* Mieusey: shop customer-service modal with private message as primary contact. */
.mieusey-service-modal {
  margin: -15px;
  overflow: hidden;
  border-radius: var(--main-radius);
  color: var(--main-color);
  background: var(--main-bg-color);
}

.mieusey-service-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--main-border-color);
}

.mieusey-service-header-icon {
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  color: var(--focus-color, var(--theme-color));
  font-size: 20px;
}

.mieusey-service-header-copy,
.mieusey-service-primary-copy,
.mieusey-service-item-copy {
  min-width: 0;
}

.mieusey-service-header-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 34px;
}

.mieusey-service-header-copy strong {
  font-size: 17px;
  line-height: 1.35;
}

.mieusey-service-header-copy small {
  color: var(--muted-2-color);
  font-size: 12px;
  line-height: 1.45;
}

.mieusey-service-close.close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  background: var(--muted-bg-color, rgba(127, 127, 127, 0.1));
  color: var(--muted-color);
  font-size: 13px;
  line-height: 1;
  margin: 0;
  opacity: 1;
}

.mieusey-service-close.close:hover,
.mieusey-service-close.close:focus {
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  color: var(--focus-color, var(--theme-color));
}

.mieusey-service-body {
  max-height: min(560px, 70vh);
  padding: 18px 20px 20px;
}

.mieusey-service-primary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--focus-color, var(--theme-color));
  color: #fff;
  box-shadow: 0 12px 26px rgba(242, 151, 163, 0.24);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

a.mieusey-service-primary:hover,
a.mieusey-service-primary:focus {
  color: #fff;
  box-shadow: 0 15px 30px rgba(242, 151, 163, 0.3);
  transform: translateY(-2px);
}

.mieusey-service-primary.is-disabled {
  background: var(--muted-bg-color, rgba(127, 127, 127, 0.1));
  color: var(--muted-color);
  box-shadow: none;
}

.mieusey-service-primary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 20px;
}

.mieusey-service-primary.is-disabled .mieusey-service-primary-icon {
  background: var(--main-bg-color);
}

.mieusey-service-primary-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mieusey-service-primary-copy strong {
  font-size: 16px;
  line-height: 1.35;
}

.mieusey-service-primary-copy small {
  color: inherit;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.82;
}

.mieusey-service-primary-side {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.mieusey-service-primary-side b {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 10px;
  font-weight: 600;
}

.mieusey-service-primary.is-disabled .mieusey-service-primary-side b {
  background: var(--main-bg-color);
}

.mieusey-service-secondary {
  margin-top: 20px;
}

.mieusey-service-section-title {
  padding: 0 2px 7px;
  color: var(--muted-2-color);
  font-size: 12px;
  font-weight: 600;
}

.mieusey-service-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 11px 2px;
  border-top: 1px solid var(--main-border-color);
  color: var(--main-color);
  transition: color 0.18s ease, background-color 0.18s ease;
}

a.mieusey-service-item:hover,
a.mieusey-service-item:focus {
  color: var(--focus-color, var(--theme-color));
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.06));
}

.mieusey-service-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--muted-bg-color, rgba(127, 127, 127, 0.1));
  color: var(--muted-color);
  font-size: 17px;
}

a.mieusey-service-item:hover .mieusey-service-item-icon,
a.mieusey-service-item:focus .mieusey-service-item-icon {
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  color: var(--focus-color, var(--theme-color));
}

.mieusey-service-item-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mieusey-service-item-copy strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mieusey-service-item-copy small {
  overflow: hidden;
  color: var(--muted-2-color);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mieusey-service-item-arrow {
  padding-right: 5px;
  color: var(--muted-3-color, var(--muted-2-color));
  font-size: 15px;
}

.mieusey-service-item-image {
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
}

.mieusey-service-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .mieusey-service-header {
    padding: 16px;
  }

  .mieusey-service-body {
    max-height: min(520px, 68vh);
    padding: 14px;
  }

  .mieusey-service-primary {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 68px;
    padding: 12px;
  }

  .mieusey-service-primary-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .mieusey-service-primary-side b {
    display: none;
  }

  .mieusey-service-secondary {
    margin-top: 16px;
  }

  .mieusey-service-item {
    min-height: 58px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mieusey-service-primary,
  .mieusey-service-item {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: balanced desktop product container and separated action rows. */
@media (min-width: 768px) {
  body.wp-child-theme-mieusey.shop .single-product-header > .container {
    padding: 18px 20px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(18, 20, 24, 0.08);
  }

  body.dark-theme.wp-child-theme-mieusey.shop .single-product-header > .container {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  }

  body.wp-child-theme-mieusey.shop .single-product-header .breadcrumb {
    margin-bottom: 16px;
    padding: 0 2px;
  }

  body.wp-child-theme-mieusey.shop .single-header-box {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
    gap: 32px;
  }

  body.wp-child-theme-mieusey.shop .single-header-box > *,
  body.wp-child-theme-mieusey.shop .single-header-box > .single-product-cover-box {
    position: relative;
    top: auto;
    display: block;
    width: auto;
    min-width: 0;
    margin: 0;
  }

  body.wp-child-theme-mieusey.shop .single-product-detail-box > .v-shop-detail {
    padding: 2px 2px 0;
  }

  body.wp-child-theme-mieusey.shop .single-product-detail-box .single-product-title {
    padding-right: 46px;
  }

  body.wp-child-theme-mieusey.shop .single-product-detail-box .p-d-mb {
    margin-bottom: 16px;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--main-border-color);
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box > .flex {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-paybtn-group {
    display: flex;
    width: 100%;
    gap: 10px;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-paybtn-group > .but {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 14px;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 30px;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 0;
    min-height: 38px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--muted-bg-color, rgba(127, 127, 127, 0.08));
    color: var(--muted-color);
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a + a {
    margin-left: 0;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a:hover,
  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a:focus {
    border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.28));
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
    transform: translateY(-1px);
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a:not(.btn-favorite):not(.btn-share) {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 30px;
    padding: 4px 10px;
    border-color: transparent;
    background: transparent;
    color: var(--muted-color);
    font-weight: 500;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a:not(.btn-favorite):not(.btn-share):hover,
  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a:not(.btn-favorite):not(.btn-share):focus {
    border-color: transparent;
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a:not(.btn-favorite):not(.btn-share) text {
    font-size: 0;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a:not(.btn-favorite):not(.btn-share) text::after {
    content: "在线客服";
    font-size: 12px;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a:not(.btn-favorite):not(.btn-share) .icon {
    color: var(--focus-color, var(--theme-color));
    opacity: 0.85;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > .btn-share {
    flex: 0 0 30px;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    border-color: transparent;
    background: transparent;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > .btn-share text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > .btn-favorite {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 2px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    background: var(--main-bg-color);
    color: var(--muted-2-color);
    box-shadow: 0 5px 16px rgba(18, 20, 24, 0.08);
  }

  body.dark-theme.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > .btn-favorite {
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > .btn-favorite.active {
    border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > .btn-favorite text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns .icon {
    margin: 0;
    font-size: 17px;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns text {
    font-size: 12px;
    line-height: 1;
    opacity: 0.9;
  }
}

@media (min-width: 768px) and (max-width: 1050px) {
  body.wp-child-theme-mieusey.shop .single-product-header > .container {
    padding: 16px;
  }

  body.wp-child-theme-mieusey.shop .single-header-box {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 20px;
  }

  body.wp-child-theme-mieusey.shop .single-product-title .article-title {
    font-size: 22px;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-paybtn-group {
    gap: 7px;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns {
    gap: 6px;
  }

  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a {
    padding-right: 7px;
    padding-left: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-child-theme-mieusey.shop .product-pay-button-box .shop-pay-action-btns > a {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: explicit desktop navigation for multi-image product galleries. */
@media (min-width: 768px) {
  body.wp-child-theme-mieusey.shop .single-product-cover-box.mieusey-has-gallery > .zib-slider {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  body.wp-child-theme-mieusey.shop .single-product-cover-box.mieusey-has-gallery .product-cover-slider .swiper-pagination-fraction {
    display: none;
  }

  body.wp-child-theme-mieusey.shop .single-product-cover-box.mieusey-has-gallery .product-cover-slider .swiper-button-prev,
  body.wp-child-theme-mieusey.shop .single-product-cover-box.mieusey-has-gallery .product-cover-slider .swiper-button-next {
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(22, 24, 30, 0.62);
    color: #fff;
    box-shadow: 0 8px 20px rgba(18, 20, 24, 0.2);
    opacity: 1;
    text-shadow: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  body.wp-child-theme-mieusey.shop .single-product-cover-box.mieusey-has-gallery .product-cover-slider .swiper-button-prev {
    left: 12px;
  }

  body.wp-child-theme-mieusey.shop .single-product-cover-box.mieusey-has-gallery .product-cover-slider .swiper-button-next {
    right: 12px;
  }

  body.wp-child-theme-mieusey.shop .single-product-cover-box.mieusey-has-gallery .product-cover-slider .swiper-button-prev:hover,
  body.wp-child-theme-mieusey.shop .single-product-cover-box.mieusey-has-gallery .product-cover-slider .swiper-button-next:hover {
    background: var(--focus-color, var(--theme-color));
    opacity: 1;
  }

  body.wp-child-theme-mieusey.shop .mieusey-gallery-count {
    position: absolute;
    z-index: 12;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(22, 24, 30, 0.66);
    color: #fff;
    box-shadow: 0 6px 18px rgba(18, 20, 24, 0.16);
    font-size: 12px;
    line-height: 26px;
    pointer-events: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  body.wp-child-theme-mieusey.shop .mieusey-gallery-count .fa {
    font-size: 13px;
  }

  body.wp-child-theme-mieusey.shop .mieusey-product-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 74px;
    padding: 3px 2px 5px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body.wp-child-theme-mieusey.shop .mieusey-product-thumbs::-webkit-scrollbar {
    display: none;
  }

  body.wp-child-theme-mieusey.shop .mieusey-product-thumb {
    position: relative;
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--muted-bg-color, rgba(127, 127, 127, 0.08));
    box-shadow: none;
    cursor: pointer;
    opacity: 0.72;
    scroll-snap-align: start;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
  }

  body.wp-child-theme-mieusey.shop .mieusey-product-thumb:hover,
  body.wp-child-theme-mieusey.shop .mieusey-product-thumb:focus-visible {
    border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.32));
    opacity: 1;
    transform: translateY(-1px);
  }

  body.wp-child-theme-mieusey.shop .mieusey-product-thumb.is-active {
    border-color: var(--focus-color, var(--theme-color));
    box-shadow: 0 0 0 2px var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
    opacity: 1;
  }

  body.wp-child-theme-mieusey.shop .mieusey-product-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
  }

  body.wp-child-theme-mieusey.shop .mieusey-product-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    color: var(--muted-color);
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  body.wp-child-theme-mieusey.shop .mieusey-product-thumbs,
  body.wp-child-theme-mieusey.shop .mieusey-gallery-count {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-child-theme-mieusey.shop .mieusey-product-thumb {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: category entry below AJAX-loaded product tab lists. */
.widget-tab-product .product-lists-row > .mieusey-category-more.ajax-pag {
  clear: both;
  width: calc(100% - 16px);
  margin: 20px 8px 4px;
  text-align: center;
}

.widget-tab-product .mieusey-category-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 196px;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--main-bg-color);
  color: var(--muted-color);
  box-shadow: 0 6px 18px rgba(18, 20, 24, 0.06);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dark-theme .widget-tab-product .mieusey-category-more-link {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.widget-tab-product .mieusey-category-more-link:hover,
.widget-tab-product .mieusey-category-more-link:focus {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
  box-shadow: 0 8px 22px var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  transform: translateY(-1px);
}

.widget-tab-product .mieusey-category-more-link .fa {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.widget-tab-product .mieusey-category-more-link:hover .fa,
.widget-tab-product .mieusey-category-more-link:focus .fa {
  transform: translateX(2px);
}

@media (max-width: 767px) {
  .widget-tab-product .product-lists-row > .mieusey-category-more.ajax-pag {
    width: calc(100% - 10px);
    margin: 16px 5px 2px;
  }

  .widget-tab-product .mieusey-category-more-link {
    width: 100%;
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .widget-tab-product .mieusey-category-more-link,
  .widget-tab-product .mieusey-category-more-link .fa {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: structured homepage widget sections without nested outer cards. */
body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap {
  position: relative;
  margin: 0;
  padding: 26px 0 30px;
}

body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap:first-child {
  padding-top: 10px;
}

body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap:last-child {
  padding-bottom: 12px;
}

body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap > .widget-container > div > .box-body.notop {
  padding: 0 8px 16px;
}

body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap .title-theme {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0 0 14px;
  color: var(--main-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap .title-theme::before {
  top: 50%;
  bottom: auto;
  left: 0;
  width: 4px;
  height: 20px;
  border-radius: 4px;
  background: var(--focus-color, var(--theme-color));
  box-shadow: none;
  transform: translateY(-50%);
}

body.home.wp-child-theme-mieusey .widget-tab-product > .index-tab.rectangular {
  width: fit-content;
  max-width: calc(100% - 16px);
  margin: 0 8px 20px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
}

body.home.wp-child-theme-mieusey .widget-tab-product > .index-tab.rectangular > ul {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

body.home.wp-child-theme-mieusey .widget-tab-product > .index-tab.rectangular > ul > li {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border-radius: 6px;
  background: transparent;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

body.home.wp-child-theme-mieusey .widget-tab-product > .index-tab.rectangular > ul > li > a {
  display: block;
  padding: 7px 14px;
  color: var(--muted-color);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

body.home.wp-child-theme-mieusey .widget-tab-product > .index-tab.rectangular > ul > li.active {
  background: var(--focus-color, var(--theme-color));
  box-shadow: 0 5px 14px var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
}

body.home.wp-child-theme-mieusey .widget-tab-product > .index-tab.rectangular > ul > li.active > a {
  color: #fff !important;
}

body.home.wp-child-theme-mieusey .widget-tab-product > .index-tab.rectangular.mieusey-tab-indicator-ready > ul > li.active {
  background: transparent;
  box-shadow: none;
}

body.home.wp-child-theme-mieusey .mieusey-index-tab-indicator {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  display: block;
  border-radius: 6px;
  background: var(--focus-color, var(--theme-color));
  box-shadow: 0 5px 14px var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  pointer-events: none;
  transition: width 0.36s cubic-bezier(0.16, 1, 0.3, 1), height 0.36s cubic-bezier(0.16, 1, 0.3, 1), transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width, height, transform;
}

body.home.wp-child-theme-mieusey .mieusey-index-tab-indicator.is-static {
  transition: none !important;
}

body.home.wp-child-theme-mieusey .widget-tab-product .tab-pane.mieusey-tab-content-enter {
  animation: mieusey-widget-tab-enter 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes mieusey-widget-tab-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child {
  margin-bottom: 26px;
}

body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .zib-slider {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: var(--main-bg-color);
  box-shadow: 0 12px 30px rgba(18, 20, 24, 0.08);
}

body.dark-theme.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .zib-slider {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget {
  margin-bottom: 0;
}

body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget,
body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget .swiper-slide,
body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget img {
  border-radius: 15px;
}

/* Mieusey: compact, theme-aligned homepage FAQ. */
body.home.wp-child-theme-mieusey .produck-faq-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  align-items: start;
  gap: 20px;
}

body.home.wp-child-theme-mieusey .produck-faq-main.produck-faq-main--full {
  grid-template-columns: minmax(0, 1fr);
}

body.home.wp-child-theme-mieusey .produck-faq-list-col {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

body.home.wp-child-theme-mieusey .produck-faq-summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 17px 18px;
  overflow: hidden;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--main-bg-color);
  box-shadow: 0 5px 18px rgba(18, 20, 24, 0.05);
  cursor: pointer;
  transition: border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

body.dark-theme.home.wp-child-theme-mieusey .produck-faq-summary {
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.14);
}

body.home.wp-child-theme-mieusey .produck-faq-summary:hover,
body.home.wp-child-theme-mieusey .produck-faq-summary:focus-visible,
body.home.wp-child-theme-mieusey .produck-faq-summary.is-open {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
  box-shadow: 0 8px 24px var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
}

body.home.wp-child-theme-mieusey .produck-faq-summary:hover {
  transform: translateY(-1px);
}

body.home.wp-child-theme-mieusey .produck-faq-badge,
body.home.wp-child-theme-mieusey .produck-faq-badge--purple,
body.home.wp-child-theme-mieusey .produck-faq-badge--pink,
body.home.wp-child-theme-mieusey .produck-faq-badge--green,
body.home.wp-child-theme-mieusey .produck-faq-badge--orange,
body.home.wp-child-theme-mieusey .produck-faq-badge--blue {
  min-width: 30px;
  height: 30px;
  border: 1px solid var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  border-radius: 7px;
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
  font-size: 12px;
  font-weight: 700;
  line-height: 28px;
}

body.home.wp-child-theme-mieusey .produck-faq-qblock {
  gap: 0;
  padding-top: 3px;
}

body.home.wp-child-theme-mieusey .produck-faq-q {
  padding-right: 28px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

body.home.wp-child-theme-mieusey .produck-faq-preview {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.75;
}

body.home.wp-child-theme-mieusey .produck-wid-faq-block.mieusey-faq-ready .produck-faq-preview {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.28s ease, opacity 0.24s ease;
}

body.home.wp-child-theme-mieusey .produck-wid-faq-block.mieusey-faq-ready .produck-faq-summary.is-open .produck-faq-preview {
  margin-top: 9px;
  opacity: 1;
}

body.home.wp-child-theme-mieusey .produck-wid-faq-block.mieusey-faq-ready .produck-faq-summary .produck-faq-chevron {
  position: absolute;
  top: 20px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
  color: var(--muted-2-color);
  font-size: 13px;
  transition: background-color 0.24s ease, color 0.24s ease, transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

body.home.wp-child-theme-mieusey .produck-wid-faq-block.mieusey-faq-ready .produck-faq-summary.is-open .produck-faq-chevron {
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
  transform: rotate(180deg);
}

body.home.wp-child-theme-mieusey .produck-faq-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

body.home.wp-child-theme-mieusey .produck-faq-doc-card.zib-widget {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(18, 20, 24, 0.05);
}

body.dark-theme.home.wp-child-theme-mieusey .produck-faq-doc-card.zib-widget {
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.14);
}

body.home.wp-child-theme-mieusey .produck-faq-doc-head {
  gap: 10px;
  margin-bottom: 12px;
}

body.home.wp-child-theme-mieusey .produck-faq-doc-head-ico {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
  font-size: 18px;
}

body.home.wp-child-theme-mieusey .produck-faq-doc-title {
  margin: 0;
  font-size: 15px;
}

body.home.wp-child-theme-mieusey .produck-faq-doc-list {
  margin-bottom: -6px;
}

body.home.wp-child-theme-mieusey .produck-faq-doc-a {
  gap: 9px;
  margin: 0 -7px;
  padding: 10px 7px;
  border-radius: 7px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.home.wp-child-theme-mieusey .produck-faq-doc-li:first-child .produck-faq-doc-a {
  border-top-color: transparent;
}

body.home.wp-child-theme-mieusey .produck-faq-doc-a:hover,
body.home.wp-child-theme-mieusey .produck-faq-doc-a:focus {
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
  color: var(--focus-color, var(--theme-color));
}

body.home.wp-child-theme-mieusey .produck-faq-doc-li-ico {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
  color: var(--muted-color);
}

body.home.wp-child-theme-mieusey .produck-faq-doc-a:hover .produck-faq-doc-li-ico,
body.home.wp-child-theme-mieusey .produck-faq-doc-a:focus .produck-faq-doc-li-ico {
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
}

body.home.wp-child-theme-mieusey .produck-faq-help-card {
  padding: 18px;
  border-radius: 8px;
  background: var(--focus-color, var(--theme-color));
  box-shadow: 0 10px 26px var(--focus-color-opacity1, rgba(242, 151, 163, 0.16));
}

body.home.wp-child-theme-mieusey .produck-faq-help-inner {
  gap: 12px;
}

body.home.wp-child-theme-mieusey .produck-faq-help-ico {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 19px;
}

body.home.wp-child-theme-mieusey .produck-faq-help-btn {
  padding: 9px 14px;
  border-radius: 7px;
  color: var(--focus-color, var(--theme-color));
}

@media (max-width: 991px) {
  body.home.wp-child-theme-mieusey .produck-faq-main {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home.wp-child-theme-mieusey .produck-faq-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap {
    padding: 19px 0 23px;
  }

  body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap:first-child {
    padding-top: 6px;
  }

  body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap:last-child {
    padding-bottom: 8px;
  }

  body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap > .widget-container > div > .box-body.notop {
    padding: 0 5px 13px;
  }

  body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap .title-theme {
    min-height: 26px;
    padding-left: 12px;
    font-size: 18px;
  }

  body.home.wp-child-theme-mieusey .content-layout > .zib-widget-wrap .title-theme::before {
    height: 17px;
  }

  body.home.wp-child-theme-mieusey .widget-tab-product > .index-tab.rectangular {
    width: calc(100% - 10px);
    max-width: none;
    margin: 0 5px 16px;
    overflow-x: auto;
  }

  body.home.wp-child-theme-mieusey .widget-tab-product > .index-tab.rectangular > ul > li > a {
    padding: 7px 12px;
  }

  body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child {
    margin-bottom: 18px;
  }

  body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .zib-slider,
  body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget,
  body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget .swiper-slide,
  body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget img {
    border-radius: 12px;
  }

  body.home.wp-child-theme-mieusey .produck-faq-main {
    gap: 14px;
  }

  body.home.wp-child-theme-mieusey .produck-faq-summary {
    min-height: 58px;
    padding: 14px;
  }

  body.home.wp-child-theme-mieusey .produck-faq-badge,
  body.home.wp-child-theme-mieusey .produck-faq-badge--purple,
  body.home.wp-child-theme-mieusey .produck-faq-badge--pink,
  body.home.wp-child-theme-mieusey .produck-faq-badge--green,
  body.home.wp-child-theme-mieusey .produck-faq-badge--orange,
  body.home.wp-child-theme-mieusey .produck-faq-badge--blue {
    min-width: 28px;
    height: 28px;
    line-height: 26px;
  }

  body.home.wp-child-theme-mieusey .produck-faq-q {
    padding-right: 24px;
    font-size: 14px;
  }

  body.home.wp-child-theme-mieusey .produck-wid-faq-block.mieusey-faq-ready .produck-faq-summary .produck-faq-chevron {
    top: 16px;
    right: 14px;
  }

  body.home.wp-child-theme-mieusey .produck-faq-aside {
    display: flex;
  }

  body.home.wp-child-theme-mieusey .produck-faq-doc-card.zib-widget,
  body.home.wp-child-theme-mieusey .produck-faq-help-card {
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home.wp-child-theme-mieusey .widget-tab-product > .index-tab.rectangular > ul > li,
  body.home.wp-child-theme-mieusey .mieusey-index-tab-indicator,
  body.home.wp-child-theme-mieusey .produck-faq-summary,
  body.home.wp-child-theme-mieusey .produck-faq-preview,
  body.home.wp-child-theme-mieusey .produck-faq-chevron {
    transition-duration: 0.01ms !important;
  }

  body.home.wp-child-theme-mieusey .widget-tab-product .tab-pane.mieusey-tab-content-enter {
    animation-duration: 0.01ms !important;
  }
}

/* Mieusey: theme-aligned VIP entry, dropdown, floating button and modal. */
body.wp-child-theme-mieusey header.header .pay-vip.but.payvip-icon,
body.wp-child-theme-mieusey header.header .signin-loader.but.payvip-icon {
  --this-color: #fff;
  --this-bg: var(--focus-color, var(--theme-color));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 14px;
  overflow: hidden;
  border: 1px solid var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  border-radius: 10px !important;
  background: var(--this-bg);
  color: var(--this-color);
  box-shadow: 0 8px 20px var(--focus-color-opacity3, rgba(242, 151, 163, 0.24)), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.wp-child-theme-mieusey header.header .pay-vip.but.payvip-icon::before,
body.wp-child-theme-mieusey header.header .signin-loader.but.payvip-icon::before {
  display: none;
}

body.wp-child-theme-mieusey header.header .pay-vip.but.payvip-icon .mr3,
body.wp-child-theme-mieusey header.header .signin-loader.but.payvip-icon .mr3 {
  margin-right: 0;
}

body.wp-child-theme-mieusey header.header .pay-vip.but.payvip-icon:hover,
body.wp-child-theme-mieusey header.header .pay-vip.but.payvip-icon:focus,
body.wp-child-theme-mieusey header.header .signin-loader.but.payvip-icon:hover,
body.wp-child-theme-mieusey header.header .signin-loader.but.payvip-icon:focus {
  color: #fff;
  box-shadow: 0 11px 24px var(--focus-color-opacity3, rgba(242, 151, 163, 0.3)), 0 0 0 3px var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  transform: translateY(-1px);
}

body.wp-child-theme-mieusey header.header .sub-menu.hover-show-con.sub-vip-card {
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(500px, calc(100vw - 24px));
  padding: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.52) !important;
  border-radius: 14px !important;
  background: var(--main-bg-color) !important;
  box-shadow: 0 18px 46px rgba(18, 20, 24, 0.16) !important;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  transition: visibility 0.28s ease, opacity 0.24s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

body.wp-child-theme-mieusey header.header .hover-show:hover > .sub-vip-card,
body.wp-child-theme-mieusey header.header .hover-show:hover .sub-vip-card {
  transform: translateY(0) scale(1);
}

body.dark-theme.wp-child-theme-mieusey header.header .sub-menu.hover-show-con.sub-vip-card {
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36) !important;
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-card {
  width: auto;
  min-width: 0;
  min-height: 154px;
  margin: 0;
  padding: 15px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
  color: var(--main-color);
  box-shadow: none;
  transition: border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-card.level-1 {
  border-color: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-card:hover {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  background: var(--main-bg-color);
  box-shadow: 0 10px 24px var(--main-shadow, rgba(18, 20, 24, 0.08));
  transform: translateY(-2px);
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-baicon.abs-center {
  left: auto;
  right: -18px;
  font-size: 9em;
  opacity: 0.04;
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-name {
  margin-bottom: 8px;
  color: var(--key-color);
  font-size: 15px;
  font-weight: 700;
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-name img {
  max-width: 22px;
  max-height: 22px;
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-card ul {
  min-height: 44px;
  margin-bottom: 10px;
  padding-left: 17px;
  color: var(--muted-color);
  line-height: 1.75;
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-card li::marker {
  color: var(--focus-color, var(--theme-color));
}

body.wp-child-theme-mieusey header.header .sub-vip-card .payvip-button {
  --this-color: #fff;
  --this-bg: var(--focus-color, var(--theme-color));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 0 !important;
  padding: 6px 12px !important;
  border: 0;
  border-radius: 7px !important;
  background: var(--this-bg);
  color: var(--this-color);
  box-shadow: none;
  font-weight: 600;
}

body.wp-child-theme-mieusey header.header .sub-vip-card .payvip-button:hover,
body.wp-child-theme-mieusey header.header .sub-vip-card .payvip-button:focus {
  color: #fff;
  box-shadow: 0 7px 18px var(--focus-color-opacity3, rgba(242, 151, 163, 0.24));
}

body.wp-child-theme-mieusey .float-right.round > .float-btn.pay-vip,
body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[title*="会员"],
body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[data-original-title*="会员"] {
  width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px !important;
  background: var(--focus-color, var(--theme-color)) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px var(--focus-color-opacity3, rgba(242, 151, 163, 0.26));
  font-size: 18px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.wp-child-theme-mieusey .float-right.round > .float-btn.pay-vip:hover,
body.wp-child-theme-mieusey .float-right.round > .float-btn.pay-vip:focus-visible,
body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[title*="会员"]:hover,
body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[title*="会员"]:focus-visible,
body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[data-original-title*="会员"]:hover,
body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[data-original-title*="会员"]:focus-visible {
  border-color: rgba(255, 255, 255, 0.54);
  box-shadow: 0 13px 28px var(--focus-color-opacity3, rgba(242, 151, 163, 0.34)), 0 0 0 3px var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  transform: translateY(-2px);
}

@media (min-width: 641px) {
  body.wp-child-theme-mieusey .modal .modal-dialog.full-sm {
    width: 740px;
    max-width: calc(100vw - 32px);
    margin-right: auto;
    margin-left: auto;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip.modal.fade .modal-dialog.full-sm {
    transform: translateY(14px) scale(0.97);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s ease;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip.modal.in .modal-dialog.full-sm {
    transform: translateY(0) scale(1);
  }
}

body.wp-child-theme-mieusey .modal .modal-dialog.full-sm .modal-content {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 16px;
  background: var(--main-bg-color);
  box-shadow: 0 24px 68px rgba(18, 20, 24, 0.22);
}

body.dark-theme.wp-child-theme-mieusey .modal .modal-dialog.full-sm .modal-content {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.46);
}

body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal {
  position: relative;
  padding: 22px;
  color: var(--main-color);
  background: var(--main-bg-color);
}

body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal > .close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--muted-bg-color);
  color: var(--muted-color);
  opacity: 1;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.26s ease;
}

body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal > .close:hover,
body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal > .close:focus {
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
  transform: rotate(90deg);
}

body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal > .user-box {
  min-height: 48px;
  margin: 0;
  padding-right: 44px;
}

body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal > .user-box .avatar-img,
body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal > .user-box .avatar-img img {
  width: 44px;
  height: 44px;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardminis {
  gap: 10px;
  margin: 16px 0 18px;
  padding: 0;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardminis > li {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardminis > li > a {
  display: block;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
  color: var(--main-color);
  box-shadow: none;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardminis > li.active .vip-cardmini {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
  box-shadow: 0 8px 22px var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .vip-baicon.abs-center {
  left: auto;
  right: -12px;
  font-size: 6em;
  opacity: 0.035;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .v-iconbox {
  position: relative;
  z-index: 1;
  flex-direction: row;
  width: 100%;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .v-icon {
  flex: 0 0 40px;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .v-icon img {
  max-width: 28px;
  max-height: 28px;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .v-name {
  color: var(--key-color);
  font-size: 15px;
  font-weight: 700;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .v-desc {
  margin-top: 3px;
  color: var(--muted-2-color);
  font-size: 12px;
  line-height: 1.4;
  opacity: 1;
}

body.wp-child-theme-mieusey #modal_pay_uservip .active-icon.abs-right {
  top: 9px;
  right: 9px;
  color: var(--focus-color, var(--theme-color));
  font-size: 17px;
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-form-row,
body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-form-products {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  margin: 0;
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-info {
  min-width: 0;
  margin: 0;
  padding: 20px 16px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
  color: var(--main-color);
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-info .v-iconbox {
  position: relative;
  z-index: 1;
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-info .v-icon {
  color: var(--focus-color, var(--theme-color));
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-info .v-name {
  color: var(--key-color);
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-info .v-desc {
  color: var(--muted-2-color);
  opacity: 1;
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-info .vip-baicon {
  opacity: 0.035;
}

body.wp-child-theme-mieusey #modal_pay_uservip .v-equity {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  padding: 0;
  color: var(--muted-color);
  text-align: left;
  line-height: 1.7;
}

body.wp-child-theme-mieusey #modal_pay_uservip .v-equity > li {
  position: relative;
  padding: 4px 0 4px 20px;
  list-style: none;
}

body.wp-child-theme-mieusey #modal_pay_uservip .v-equity > li::before {
  content: '\f00c';
  position: absolute;
  top: 8px;
  left: 0;
  color: var(--focus-color, var(--theme-color));
  font: normal normal normal 11px/1 FontAwesome;
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-products {
  min-width: 0;
}

body.wp-child-theme-mieusey #modal_pay_uservip .charge-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-right: 0;
  margin-left: 0;
}

body.wp-child-theme-mieusey #modal_pay_uservip .charge-box > label {
  display: block;
  min-width: 0;
  margin: 0;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-product {
  width: 100%;
  min-width: 0;
  min-height: 94px;
  margin: 0;
  padding: 14px 10px 10px;
  overflow: hidden;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--main-bg-color);
  box-shadow: 0 4px 14px var(--main-shadow, rgba(18, 20, 24, 0.05));
  transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-product:hover {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  box-shadow: 0 8px 20px var(--main-shadow, rgba(18, 20, 24, 0.08));
  transform: translateY(-1px);
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-product-input:checked ~ .vip-product {
  border-color: var(--focus-color, var(--theme-color));
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
  box-shadow: 0 0 0 2px var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-product-input:checked ~ .vip-product::before {
  top: 8px;
  left: 8px;
  color: var(--focus-color, var(--theme-color));
  font-size: 16px;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-product .product-price,
body.wp-child-theme-mieusey #modal_pay_uservip .vip-product .product-price.c-red {
  color: var(--focus-color, var(--theme-color));
  font-size: 24px;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-product .vip-tag {
  top: 7px;
  right: 7px;
  left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  transform: none;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-product .badg.c-blue {
  background: var(--muted-bg-color);
  color: var(--muted-color);
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-products > .muted-box,
body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-products .muted-box {
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-products .initiate-pay {
  --this-color: #fff;
  --this-bg: var(--focus-color, var(--theme-color));
  min-height: 42px;
  border-radius: 8px !important;
  background: var(--this-bg);
  color: var(--this-color);
  box-shadow: 0 9px 22px var(--focus-color-opacity3, rgba(242, 151, 163, 0.24));
  font-weight: 700;
}

body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-products .initiate-pay:hover,
body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-products .initiate-pay:focus {
  color: #fff;
  box-shadow: 0 12px 26px var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  body.wp-child-theme-mieusey .modal .modal-dialog.full-sm {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  body.wp-child-theme-mieusey .modal.bottom .modal-dialog.full-sm .modal-content {
    max-height: calc(100vh - 12px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal {
    padding: 16px 14px 14px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal > .close {
    top: 12px;
    right: 12px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal > .user-box {
    padding-right: 38px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardminis {
    gap: 8px;
    margin: 14px 0;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini {
    min-height: 72px;
    padding: 11px 10px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .v-iconbox {
    gap: 8px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .v-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .v-icon img {
    max-width: 24px;
    max-height: 24px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .v-name {
    font-size: 13px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .vip-cardmini .v-desc {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-form-row,
  body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-form-products {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-info {
    display: none;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .charge-box {
    gap: 8px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .vip-product {
    min-height: 84px;
    padding: 12px 6px 9px;
  }

  body.wp-child-theme-mieusey #modal_pay_uservip .vip-product .product-price,
  body.wp-child-theme-mieusey #modal_pay_uservip .vip-product .product-price.c-red {
    font-size: 21px;
  }
}

@media (max-width: 520px) {
  body.wp-child-theme-mieusey header.header .sub-menu.hover-show-con.sub-vip-card {
    grid-template-columns: minmax(0, 1fr);
    width: min(260px, calc(100vw - 20px));
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }

  body.wp-child-theme-mieusey header.header .sub-vip-card .vip-card {
    min-height: 142px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-child-theme-mieusey header.header .pay-vip.but.payvip-icon,
  body.wp-child-theme-mieusey header.header .signin-loader.but.payvip-icon,
  body.wp-child-theme-mieusey header.header .sub-menu.hover-show-con.sub-vip-card,
  body.wp-child-theme-mieusey header.header .sub-vip-card .vip-card,
  body.wp-child-theme-mieusey .float-right.round > .float-btn.pay-vip,
  body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[title*="会员"],
  body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[data-original-title*="会员"],
  body.wp-child-theme-mieusey #modal_pay_uservip .modal-dialog.full-sm,
  body.wp-child-theme-mieusey #modal_pay_uservip .payvip-modal > .close,
  body.wp-child-theme-mieusey #modal_pay_uservip .vip-product,
  body.wp-child-theme-mieusey #modal_pay_uservip .pay-vip-products .initiate-pay {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: cleaner VIP mark and a consistently aligned floating header. */
body.wp-child-theme-mieusey a.payvip-icon > svg:first-child {
  display: none !important;
}

body.wp-child-theme-mieusey a.payvip-icon::before {
  content: '\f219';
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
  font: normal normal normal 11px/1 FontAwesome;
  opacity: 1;
  transform: none !important;
}

body.wp-child-theme-mieusey header.header .pay-vip.but.payvip-icon,
body.wp-child-theme-mieusey header.header .signin-loader.but.payvip-icon {
  gap: 6px;
  margin: 0 !important;
  padding: 8px 14px !important;
}

body.wp-child-theme-mieusey header.header .pay-vip.but.payvip-icon::before,
body.wp-child-theme-mieusey header.header .signin-loader.but.payvip-icon::before {
  margin-right: 0;
}

body.wp-child-theme-mieusey .float-right.round > .float-btn.pay-vip > svg,
body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[title*="会员"] > svg,
body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[data-original-title*="会员"] > svg {
  display: none !important;
}

body.wp-child-theme-mieusey .float-right.round > .float-btn.pay-vip::before,
body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[title*="会员"]::before,
body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[data-original-title*="会员"]::before {
  content: '\f219';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font: normal normal normal 13px/1 FontAwesome;
}

@media (min-width: 992px) {
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .container-header,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-header,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .collapse.navbar-collapse {
    min-height: 56px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .container-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-brand {
    float: none;
    display: flex;
    align-items: center;
    height: 56px;
    margin-right: 10px;
    padding: 0 8px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-logo > img {
    display: block;
    width: auto;
    height: 36px;
    padding: 0;
    object-fit: contain;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .collapse.navbar-collapse {
    flex: 1 1 auto;
    display: flex !important;
    align-items: center;
    min-width: 0;
    height: 56px !important;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-nav {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    height: 56px;
    margin: 0 10px 0 4px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-nav > li {
    display: flex;
    align-items: center;
    height: 56px;
    max-height: none;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-nav > li::before {
    display: none;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-top .nav > li > a {
    height: 36px;
    max-height: none;
    padding: 0 10px !important;
    border-radius: 9px;
    line-height: 36px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-top .nav > li.current-menu-item > a,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-top .nav > li > a:hover,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-top .nav > li > a:focus {
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-form {
    float: none !important;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    height: 56px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 5px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left {
    margin-left: auto;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-form .form-group {
    margin: 0;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > input.search-input {
    width: 178px;
    height: 36px;
    min-height: 36px;
    border-radius: 10px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-but {
    padding-right: 4px;
    padding-left: 4px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-but > .hover-show {
    display: inline-flex;
    align-items: center;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-form .toggle-theme {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    vertical-align: middle;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-form .toggle-theme:hover,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-form .toggle-theme:focus {
    --this-bg: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
    transform: translateY(-1px);
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-text {
    gap: 0;
    margin: 0 !important;
    padding-right: 8px;
    padding-left: 8px;
    line-height: 1;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-text .list-inline {
    display: flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-text .list-inline > li {
    display: inline-flex;
    align-items: center;
    height: 34px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .container-header {
    padding-right: 9px;
    padding-left: 9px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-brand {
    margin-right: 4px;
    padding-right: 4px;
    padding-left: 4px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-logo > img {
    height: 32px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-nav {
    margin-right: 4px;
    margin-left: 2px;
    font-size: 14px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-top .nav > li > a {
    padding-right: 7px !important;
    padding-left: 7px !important;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-form {
    padding-right: 3px;
    padding-left: 3px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > input.search-input {
    width: 138px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-text {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .container-header,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-header {
    min-height: 54px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .container-header {
    padding-right: 10px;
    padding-left: 10px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-header {
    position: relative;
    height: 54px;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-top.center .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-logo > img {
    display: block;
    width: auto;
    height: 34px;
    padding: 0;
    object-fit: contain;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 0;
    border-radius: 10px;
    color: var(--main-color);
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-toggle:hover,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-toggle:focus {
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-toggle .css-icon,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-toggle > .icon {
    margin: 0;
    vertical-align: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-top .nav > li > a,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-form .toggle-theme,
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide .navbar-toggle {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: keep the remote search panel independent from the input field. */
body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .dropdown-menu .search-input {
  width: auto !important;
  max-width: none;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border-radius: 0;
  background: transparent !important;
}

body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .dropdown-menu {
  width: min(420px, calc(100vw - 24px));
  max-height: min(520px, calc(100vh - 90px));
  overflow: hidden;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--main-border-color);
  border-radius: 14px;
  background: var(--main-bg-color);
  box-shadow: 0 16px 40px rgba(18, 20, 24, 0.14);
  -webkit-overflow-scrolling: touch;
}

body.dark-theme.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .dropdown-menu {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .search-keywords > p,
body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .relates > p {
  margin-top: 0;
  margin-bottom: 9px;
}

body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .search_keywords {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 4px 9px;
  border: 1px solid var(--main-border-color);
  border-radius: 999px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
  color: var(--muted-color);
  line-height: 1.25;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .search_keywords:hover,
body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .search_keywords:focus {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
  transform: translateY(-1px);
}

body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .relates {
  padding: 12px 0 0;
}

body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .relates-thumb .swiper-container {
  overflow: hidden;
  border-radius: var(--main-radius, 8px);
}

body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .relates-thumb .graphic,
body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .relates-thumb .graphic img {
  border-radius: var(--main-radius, 8px);
}

@media (max-width: 991px) {
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .dropdown-menu {
    width: min(360px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
  }
}

/* Mieusey: match the homepage carousel radius to the product cards below. */
body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .zib-slider,
body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget,
body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget .swiper-container,
body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget .swiper-slide,
body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget img {
  border-radius: var(--main-radius, 8px);
}

body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget,
body.home.wp-child-theme-mieusey .fluid-widget-wrap > .zib-widget-wrap:first-child .slide-widget .swiper-container {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  body.wp-child-theme-mieusey > header.header.header-layout-2.scroll-down-hide form.navbar-form.navbar-left .form-group > .lazyload .search_keywords {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: privacy-first first-visit disclaimer modal. */
body.wp-child-theme-mieusey.mieusey-disclaimer-pending,
body.wp-child-theme-mieusey.mieusey-disclaimer-open {
  overflow: hidden;
}

body.wp-child-theme-mieusey.mieusey-disclaimer-pending::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: block;
  background: rgba(20, 20, 24, 0.96);
  pointer-events: auto;
}

html.mieusey-disclaimer-known body.wp-child-theme-mieusey.mieusey-disclaimer-pending {
  overflow: visible;
}

html.mieusey-disclaimer-known body.wp-child-theme-mieusey.mieusey-disclaimer-pending::before {
  display: none;
}

body.wp-child-theme-mieusey.mieusey-disclaimer-open > .modal-backdrop.in {
  background: rgba(20, 20, 24, 0.92);
  opacity: 1;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  body.wp-child-theme-mieusey.mieusey-disclaimer-pending::before {
    background: rgba(20, 20, 24, 0.62);
    -webkit-backdrop-filter: blur(30px) saturate(0.5) brightness(0.62);
    backdrop-filter: blur(30px) saturate(0.5) brightness(0.62);
  }

  body.wp-child-theme-mieusey.mieusey-disclaimer-open > .modal-backdrop.in {
    background: rgba(20, 20, 24, 0.56);
    -webkit-backdrop-filter: blur(30px) saturate(0.55) brightness(0.68);
    backdrop-filter: blur(30px) saturate(0.55) brightness(0.68);
  }
}

body.wp-child-theme-mieusey #modal-system-notice {
  align-items: center;
  justify-content: center;
  padding: 18px !important;
}

body.wp-child-theme-mieusey #modal-system-notice.in {
  display: flex !important;
}

body.wp-child-theme-mieusey #modal-system-notice .modal-dialog {
  align-self: center;
  flex: 0 1 520px;
  width: 520px;
  max-width: 100%;
  margin: 0 auto !important;
}

body.wp-child-theme-mieusey #modal-system-notice .modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 36px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  background: var(--main-bg-color);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

body.dark-theme.wp-child-theme-mieusey #modal-system-notice .modal-content {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
}

body.wp-child-theme-mieusey #modal-system-notice .modal-body {
  min-height: 0;
  overflow-y: auto;
  padding: 30px 32px 26px;
  color: var(--main-color);
  font-size: 14px;
  line-height: 1.85;
}

body.wp-child-theme-mieusey #modal-system-notice .modal-body > .close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: none;
}

body.wp-child-theme-mieusey #modal-system-notice .modal-body h4 + div > p:first-child {
  margin: 0 28px 20px;
  color: var(--focus-color, var(--theme-color)) !important;
  font-size: 20px !important;
  line-height: 1.45;
}

body.wp-child-theme-mieusey #modal-system-notice .modal-body h4 + div > p:not(:first-child) {
  margin: 0 0 14px;
}

body.wp-child-theme-mieusey #modal-system-notice .modal-body h4 + div > p:nth-child(3) {
  margin-top: 18px !important;
  margin-bottom: 0;
  padding: 13px 15px;
  border: 1px solid var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  border-radius: var(--main-radius, 8px);
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
  color: var(--muted-color);
  font-size: 13px;
}

body.wp-child-theme-mieusey #modal-system-notice .modal-buts {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 24px 22px;
  border-top: 1px solid var(--main-border-color);
  background: var(--muted-bg-2-color, var(--muted-bg-color));
  text-align: right;
}

body.wp-child-theme-mieusey #modal-system-notice .modal-buts > .but {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 42px;
  margin: 0;
  padding: 10px 18px;
  border-radius: 8px !important;
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.wp-child-theme-mieusey #modal-system-notice .modal-buts > .b-red {
  --this-color: var(--muted-color);
  --this-border: var(--main-border-color);
  --this-bg: var(--main-bg-color);
  border: 1px solid var(--main-border-color);
  background: var(--main-bg-color);
  color: var(--muted-color);
}

body.wp-child-theme-mieusey #modal-system-notice .modal-buts > .c-green {
  --this-color: #fff;
  --this-bg: var(--focus-color, var(--theme-color));
  border: 1px solid var(--focus-color, var(--theme-color));
  background: var(--focus-color, var(--theme-color));
  color: #fff;
  box-shadow: 0 9px 22px var(--focus-color-opacity3, rgba(242, 151, 163, 0.25));
}

body.wp-child-theme-mieusey #modal-system-notice .modal-buts > .but:hover,
body.wp-child-theme-mieusey #modal-system-notice .modal-buts > .but:focus {
  transform: translateY(-1px);
}

body.wp-child-theme-mieusey #modal-system-notice .modal-buts > .c-green:hover,
body.wp-child-theme-mieusey #modal-system-notice .modal-buts > .c-green:focus {
  color: #fff;
  box-shadow: 0 12px 27px var(--focus-color-opacity3, rgba(242, 151, 163, 0.32));
}

@media (max-width: 640px) {
  body.wp-child-theme-mieusey.mieusey-disclaimer-pending::before {
    -webkit-backdrop-filter: blur(24px) saturate(0.45) brightness(0.58);
    backdrop-filter: blur(24px) saturate(0.45) brightness(0.58);
  }

  body.wp-child-theme-mieusey.mieusey-disclaimer-open > .modal-backdrop.in {
    -webkit-backdrop-filter: blur(24px) saturate(0.5) brightness(0.64);
    backdrop-filter: blur(24px) saturate(0.5) brightness(0.64);
  }

  body.wp-child-theme-mieusey #modal-system-notice {
    padding: 12px !important;
  }

  body.wp-child-theme-mieusey #modal-system-notice .modal-dialog {
    width: 100%;
    margin: 0 auto !important;
  }

  body.wp-child-theme-mieusey #modal-system-notice .modal-content {
    max-height: calc(100vh - 24px);
    border-radius: 14px;
  }

  body.wp-child-theme-mieusey #modal-system-notice .modal-body {
    padding: 24px 20px 20px;
    font-size: 13px;
    line-height: 1.8;
  }

  body.wp-child-theme-mieusey #modal-system-notice .modal-body h4 + div > p:first-child {
    margin-right: 12px;
    margin-bottom: 16px;
    margin-left: 12px;
    font-size: 18px !important;
  }

  body.wp-child-theme-mieusey #modal-system-notice .modal-buts {
    gap: 8px;
    padding: 14px;
  }

  body.wp-child-theme-mieusey #modal-system-notice .modal-buts > .but {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-child-theme-mieusey #modal-system-notice .modal-buts > .but {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: navigation submenus and user-center surfaces. */
@media (min-width: 768px) {
  body.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card) {
    min-width: 188px;
    padding: 8px;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--main-bg-color);
    box-shadow: 0 18px 42px rgba(28, 30, 35, 0.14);
    transform: translateY(10px) scale(0.98);
    transform-origin: top center;
    transition: visibility 0.24s ease, opacity 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.wp-child-theme-mieusey header.header .navbar-top li:hover > .sub-menu:not(.senior-submenu):not(.sub-vip-card) {
    transform: translateY(0) scale(1);
  }

  body.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card) .sub-menu {
    top: -8px;
    left: calc(100% + 8px);
    transform-origin: left top;
  }

  body.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card) li > a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 7px;
    color: var(--muted-color);
    font-size: 13px;
    line-height: 1.45;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.24s ease;
  }

  body.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card) li > a:hover,
  body.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card) li.current-menu-item > a {
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
    transform: translateX(2px);
  }

  body.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card) li > a > .fa,
  body.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card) li > a > svg {
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
  }

  body.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card) .menu-item-has-children > a > .fa-angle-down {
    top: 50%;
    right: 11px;
    transform: translateY(-50%) rotate(-90deg);
  }

  body.dark-theme.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card) {
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.38);
  }
}

body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) {
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--main-bg-color);
  box-shadow: 0 10px 28px rgba(28, 30, 35, 0.07);
}

body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .page-cover {
  min-height: 168px;
  padding-bottom: min(24%, 220px);
  border-radius: 0;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
}

body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .page-cover .linear-mask {
  opacity: 0.58;
}

body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .header-content {
  padding: 18px 28px 20px;
}

body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .header-info > .header-avatar {
  margin-top: -64px;
  margin-right: 18px;
}

body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .avatar-img {
  --this-size: 112px;
}

body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .avatar-img .avatar {
  border: 4px solid var(--main-bg-color);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(28, 30, 35, 0.13);
}

body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .display-name {
  color: var(--main-color);
  font-size: 19px;
  line-height: 1.4;
}

body.wp-child-theme-mieusey .user-center {
  gap: 16px;
  align-items: flex-start;
  --mieusey-user-border: var(--main-border-color);
  --mieusey-user-muted: var(--muted-bg-2-color, var(--muted-bg-color));
  --mieusey-user-shadow: 0 9px 24px rgba(28, 30, 35, 0.055);
}

body.wp-child-theme-mieusey .user-center .user-center-sidebar {
  position: sticky;
  top: 92px;
  width: 296px;
}

body.wp-child-theme-mieusey .user-center .user-center-content {
  width: calc(100% - 312px);
  min-width: 0;
}

body.wp-child-theme-mieusey .user-center-sidebar > .zib-widget,
body.wp-child-theme-mieusey .user-center-sidebar > .flex > .zib-widget,
body.wp-child-theme-mieusey .user-center-sidebar > .flex > div > .zib-widget {
  border: 1px solid var(--mieusey-user-border);
  box-shadow: var(--mieusey-user-shadow);
}

body.wp-child-theme-mieusey .user-center-sidebar > .payvip-icon {
  min-height: 50px;
  margin-bottom: 12px;
  padding: 14px 46px 14px 15px !important;
  border: 1px solid var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  border-radius: 8px;
  background: var(--focus-color, var(--theme-color));
  color: #fff;
  box-shadow: 0 9px 22px var(--focus-color-opacity3, rgba(242, 151, 163, 0.22));
  font-weight: 600;
  line-height: 1.5;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

body.wp-child-theme-mieusey .user-center-sidebar > .payvip-icon::before {
  display: none;
}

body.wp-child-theme-mieusey .user-center-sidebar > .payvip-icon > svg {
  display: inline-block !important;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -4px;
}

body.wp-child-theme-mieusey .user-center-sidebar > .payvip-icon > .abs-right {
  right: 15px;
  color: rgba(255, 255, 255, 0.82);
}

body.wp-child-theme-mieusey .user-center-sidebar > .payvip-icon:hover {
  box-shadow: 0 12px 26px var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  transform: translateY(-1px);
}

body.wp-child-theme-mieusey .user-center-sidebar > .flex > .zib-widget,
body.wp-child-theme-mieusey .user-center-sidebar > .flex > div > .zib-widget {
  min-height: 82px;
  margin-bottom: 12px;
  padding: 14px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.wp-child-theme-mieusey .user-center-sidebar > .flex.pointer:hover > .zib-widget,
body.wp-child-theme-mieusey .user-center-sidebar > .flex.pointer:hover > div > .zib-widget {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  box-shadow: 0 11px 26px rgba(28, 30, 35, 0.08);
  transform: translateY(-1px);
}

body.wp-child-theme-mieusey .user-center-sidebar > .zib-widget.flex.jsa {
  gap: 5px;
  padding: 8px;
}

body.wp-child-theme-mieusey .user-center-sidebar .user-statistics-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 4px;
  border-radius: 7px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

body.wp-child-theme-mieusey .user-center-sidebar .user-statistics-item:hover {
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
}

body.wp-child-theme-mieusey .user-center-sidebar > .zib-widget.padding-6 {
  margin-bottom: 12px;
  padding: 9px;
}

body.wp-child-theme-mieusey .user-center-sidebar > .zib-widget.padding-6 > .padding-6 {
  padding: 5px 7px 9px;
  color: var(--muted-color);
  font-size: 12px;
  font-weight: 600;
}

body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box > item {
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 72px;
  margin: 0;
  padding: 9px 3px 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.22s ease;
}

body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box > item:hover,
body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box > item:focus-within {
  border-color: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
  color: var(--focus-color, var(--theme-color));
  transform: translateY(-1px);
}

body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box > item > div:first-child,
body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box > item > a > div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
}

body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box > item svg {
  width: 26px;
  height: 26px;
}

body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box > item .px12 {
  overflow: hidden;
  color: var(--muted-color);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.wp-child-theme-mieusey .user-center-content .zib-widget {
  border: 1px solid var(--mieusey-user-border);
  box-shadow: var(--mieusey-user-shadow);
}

body.wp-child-theme-mieusey .user-center-content > .zib-widget.flex.jc {
  border-color: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  background: var(--main-bg-color);
}

body.wp-child-theme-mieusey .user-center-content > .zib-widget.flex.jc > .box-body {
  width: min(100%, 430px);
  padding: 42px 24px;
}

body.wp-child-theme-mieusey .user-center-content .title-h-left {
  margin-bottom: 4px;
  padding-bottom: 10px;
  color: var(--main-color);
}

body.wp-child-theme-mieusey .user-center-content .title-h-left::before {
  width: 28px;
  height: 3px;
  bottom: 3px;
  background: var(--focus-color, var(--theme-color));
  box-shadow: none;
}

body.wp-child-theme-mieusey .user-center-content .form-control,
body.wp-child-theme-mieusey .user-center-content .line-form-input {
  min-height: 42px;
  border: 1px solid var(--main-border-color);
  border-radius: 7px;
  background: var(--body-bg-color);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body.wp-child-theme-mieusey .user-center-content .line-form-input {
  padding: 8px 11px;
}

body.wp-child-theme-mieusey .user-center-content .form-control:hover,
body.wp-child-theme-mieusey .user-center-content .line-form-input:hover {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  opacity: 1;
}

body.wp-child-theme-mieusey .user-center-content .form-control:focus,
body.wp-child-theme-mieusey .user-center-content .line-form-input:focus {
  border-color: var(--focus-color, var(--theme-color));
  background: var(--main-bg-color);
  box-shadow: 0 0 0 3px var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
}

body.wp-child-theme-mieusey .user-center-content .but.jb-blue,
body.wp-child-theme-mieusey .user-center-content .but.c-blue:not(.hollow) {
  --this-bg: var(--focus-color, var(--theme-color));
  --this-color: #fff;
  border-color: var(--focus-color, var(--theme-color));
  background: var(--focus-color, var(--theme-color));
  color: #fff;
  box-shadow: 0 7px 18px var(--focus-color-opacity3, rgba(242, 151, 163, 0.2));
}

body.wp-child-theme-mieusey .user-center-content .but {
  border-radius: 7px;
}

body.wp-child-theme-mieusey .user-center-content .but:hover {
  transform: translateY(-1px);
}

body.wp-child-theme-mieusey .user-center-content .tab-nav-theme,
body.wp-child-theme-mieusey .user-center-content .index-tab.rectangular > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  min-width: min-content;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--mieusey-user-muted);
}

body.wp-child-theme-mieusey .user-center-content .tab-nav-theme > li,
body.wp-child-theme-mieusey .user-center-content .index-tab.rectangular > ul > li {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

body.wp-child-theme-mieusey .user-center-content .tab-nav-theme > li::before,
body.wp-child-theme-mieusey .user-center-content .index-tab.rectangular > ul > li::before {
  display: none;
}

body.wp-child-theme-mieusey .user-center-content .tab-nav-theme > li > a,
body.wp-child-theme-mieusey .user-center-content .index-tab.rectangular > ul > li > a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--muted-color);
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.24s ease;
}

body.wp-child-theme-mieusey .user-center-content .tab-nav-theme > li.active > a,
body.wp-child-theme-mieusey .user-center-content .index-tab.rectangular > ul > li.active > a {
  background: var(--main-bg-color);
  color: var(--focus-color, var(--theme-color)) !important;
  box-shadow: 0 4px 12px rgba(28, 30, 35, 0.08);
  font-weight: 600;
}

body.wp-child-theme-mieusey .user-center-content .author-set-left {
  width: 18%;
  padding-top: 11px;
  color: var(--muted-color);
  font-size: 13px;
  font-weight: 600;
}

body.wp-child-theme-mieusey .user-center-content .author-set-right {
  width: calc(82% - 25px);
}

body.wp-child-theme-mieusey .user-center-content .account-set > .box-body + .box-body {
  border-top: 1px solid var(--main-border-color);
}

body.wp-child-theme-mieusey .user-center-content .oauth-bind-box > div {
  width: 100%;
  min-width: 0;
}

body.wp-child-theme-mieusey .user-center-content .oauth-bind-box .muted-box {
  min-height: 62px;
  padding: 11px 13px;
  border: 1px solid var(--main-border-color);
  background: var(--mieusey-user-muted);
}

body.wp-child-theme-mieusey .user-center-content .oauth-bind-box .type-logo {
  width: 122px;
}

body.wp-child-theme-mieusey .user-center-content .set-rewards-form .upload-preview,
body.wp-child-theme-mieusey .user-center-content .userdata-set .preview {
  overflow: hidden;
  border: 1px dashed var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  border-radius: 8px;
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.22s ease;
}

body.wp-child-theme-mieusey .user-center-content .set-rewards-form label:hover .upload-preview,
body.wp-child-theme-mieusey .user-center-content .userdata-set label:hover .preview {
  border-color: var(--focus-color, var(--theme-color));
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  transform: translateY(-2px);
}

body.wp-child-theme-mieusey .user-center-content .user-order-tabs > .index-tab {
  overflow-x: auto;
  margin-bottom: 14px;
  padding: 0;
  background: transparent;
}

body.wp-child-theme-mieusey .user-center-content .user-order-item {
  margin-bottom: 12px;
  padding: 16px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.wp-child-theme-mieusey .user-center-content .user-order-item:hover {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  box-shadow: 0 12px 28px rgba(28, 30, 35, 0.09);
  transform: translateY(-1px);
}

body.wp-child-theme-mieusey .user-center-content .user-order-item .order-thumb {
  width: 74px;
  height: 74px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--mieusey-user-muted);
}

body.wp-child-theme-mieusey .user-center-content .user-order-item .order-title {
  line-height: 1.55;
}

body.wp-child-theme-mieusey .user-center-content .user-order-item .order-footer {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--main-border-color);
}

body.wp-child-theme-mieusey .user-center-content .border-bottom.padding-h10,
body.wp-child-theme-mieusey .user-center-content .border-bottom.padding-h6 {
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--mieusey-user-muted);
}

body.wp-child-theme-mieusey .user-center-content .box-body.notop.nopw-sm > form > .border-bottom {
  margin: 8px 0;
  padding: 14px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--mieusey-user-muted);
}

body.wp-child-theme-mieusey .user-center-content .colorful-bg.c-blue {
  border-color: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
  color: var(--main-color);
}

body.wp-child-theme-mieusey .user-center-content .colorful-bg.c-blue .colorful-make {
  opacity: 0.1;
}

body.wp-child-theme-mieusey .user-center-content .row.gutters-10 .zib-widget.jb-red,
body.wp-child-theme-mieusey .user-center-content .row.gutters-10 .zib-widget.jb-blue {
  border: 1px solid var(--main-border-color);
  box-shadow: var(--mieusey-user-shadow);
}

body.wp-child-theme-mieusey .user-center-content .row.gutters-10 .zib-widget.jb-red {
  background: #fff2f4;
  color: #9f4754;
}

body.wp-child-theme-mieusey .user-center-content .row.gutters-10 .zib-widget.jb-blue {
  background: #f1f6fb;
  color: #3e678e;
}

body.wp-child-theme-mieusey .user-center-content .user-content-myvip {
  min-height: 126px;
  border-color: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
}

body.wp-child-theme-mieusey .user-center-content .user-content-myvip > .vip-img {
  right: -8px;
  color: var(--focus-color, var(--theme-color));
  opacity: 0.07;
}

body.wp-child-theme-mieusey .user-center-content .user-content-myvip + .flex .vip-card {
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(28, 30, 35, 0.1);
}

body.dark-theme.wp-child-theme-mieusey .user-center {
  --mieusey-user-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

body.dark-theme.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

body.dark-theme.wp-child-theme-mieusey .user-center-content .row.gutters-10 .zib-widget.jb-red {
  background: #3b292d;
  color: #f2b3bd;
}

body.dark-theme.wp-child-theme-mieusey .user-center-content .row.gutters-10 .zib-widget.jb-blue {
  background: #28343f;
  color: #b8d2ea;
}

@media (max-width: 991px) {
  body.wp-child-theme-mieusey .user-center .user-center-sidebar {
    width: 270px;
  }

  body.wp-child-theme-mieusey .user-center .user-center-content {
    width: calc(100% - 286px);
  }

  body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.wp-child-theme-mieusey .mobile-menus .sub-menu:not(.senior-submenu) {
    margin: 6px 0 8px;
    padding: 5px;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--muted-bg-2-color, var(--muted-bg-color));
  }

  body.wp-child-theme-mieusey .mobile-menus .sub-menu:not(.senior-submenu) li {
    margin: 0;
    padding: 0;
    border: 0;
  }

  body.wp-child-theme-mieusey .mobile-menus .sub-menu:not(.senior-submenu) li > a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 7px;
    color: var(--muted-color);
  }

  body.wp-child-theme-mieusey .mobile-menus .sub-menu:not(.senior-submenu) li.current-menu-item > a,
  body.wp-child-theme-mieusey .mobile-menus .sub-menu:not(.senior-submenu) li > a:active {
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey main .container > .author-header.full-widget-sm:has(+ .user-center) {
    margin: 0 0 14px;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(28, 30, 35, 0.07);
  }

  body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .page-cover {
    min-height: 136px;
    padding-bottom: 0;
    border-radius: 0;
  }

  body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .header-content {
    padding: 12px 15px 16px;
  }

  body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .header-info > .header-avatar {
    margin-top: -54px;
    margin-right: 12px;
    margin-bottom: 8px;
  }

  body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .avatar-img {
    --this-size: 88px;
  }

  body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .avatar-img .avatar {
    border-radius: 8px;
    border-width: 3px;
  }

  body.wp-child-theme-mieusey main .container > .author-header:has(+ .user-center) .display-name {
    font-size: 17px;
  }

  body.wp-child-theme-mieusey .user-center {
    display: block;
  }

  body.wp-child-theme-mieusey .user-center .user-center-sidebar,
  body.wp-child-theme-mieusey .user-center .user-center-content {
    width: 100%;
  }

  body.wp-child-theme-mieusey .user-center .user-center-sidebar {
    position: static;
  }

  body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.wp-child-theme-mieusey .user-center-content.drawer-sm {
    padding: 76px 10px 86px;
  }

  body.wp-child-theme-mieusey:has(.user-center) .drawer-header {
    height: 64px;
    padding: 0 18px;
    border-bottom: 1px solid var(--main-border-color);
    background: var(--main-bg-color);
    box-shadow: 0 6px 18px rgba(28, 30, 35, 0.08);
    font-size: 16px;
  }

  body.wp-child-theme-mieusey .user-center-content .zib-widget {
    margin-bottom: 12px;
  }

  body.wp-child-theme-mieusey .user-center-content .author-set-left,
  body.wp-child-theme-mieusey .user-center-content .author-set-right {
    display: block;
    width: 100%;
    margin-right: 0;
    text-align: left;
  }

  body.wp-child-theme-mieusey .user-center-content .author-set-left {
    padding: 0 0 7px;
  }

  body.wp-child-theme-mieusey .user-center-content .userdata-set > .zib-widget,
  body.wp-child-theme-mieusey .user-center-content .set-rewards-form {
    padding: 16px;
  }

  body.wp-child-theme-mieusey .user-center-content .oauth-bind-box .type-logo {
    width: auto;
    min-width: 92px;
  }

  body.wp-child-theme-mieusey .user-center-content .tab-nav-theme,
  body.wp-child-theme-mieusey .user-center-content .index-tab.rectangular > ul {
    max-width: 100%;
  }

  body.wp-child-theme-mieusey .user-center-content .user-order-item {
    padding: 13px;
  }

  body.wp-child-theme-mieusey .user-center-content .user-order-item .order-thumb {
    width: 62px;
    height: 62px;
  }

  body.wp-child-theme-mieusey .user-center-content .row.gutters-10 .zib-widget.jb-red,
  body.wp-child-theme-mieusey .user-center-content .row.gutters-10 .zib-widget.jb-blue {
    min-height: 124px;
  }
}

@media (max-width: 420px) {
  body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box > item {
    min-height: 68px;
    padding-right: 1px;
    padding-left: 1px;
  }

  body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box > item .px12 {
    font-size: 11px;
  }

  body.wp-child-theme-mieusey .user-center-content .box-body.notop.nopw-sm > form > .border-bottom label.flex {
    gap: 10px;
  }

  body.wp-child-theme-mieusey .user-center-content .user-order-item .order-content > .flex1 > .flex {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card),
  body.wp-child-theme-mieusey header.header .navbar-top .sub-menu:not(.senior-submenu):not(.sub-vip-card) li > a,
  body.wp-child-theme-mieusey .user-center-sidebar > .payvip-icon,
  body.wp-child-theme-mieusey .user-center-sidebar .user-statistics-item,
  body.wp-child-theme-mieusey .user-center-sidebar .user-icon-but-box > item,
  body.wp-child-theme-mieusey .user-center-content .form-control,
  body.wp-child-theme-mieusey .user-center-content .line-form-input,
  body.wp-child-theme-mieusey .user-center-content .but,
  body.wp-child-theme-mieusey .user-center-content .user-order-item {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: account, message and mobile navigation refinement. */
body.wp-child-theme-mieusey .mieusey-vip-diamond {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  color: currentColor;
  font-size: inherit;
  line-height: 1;
}

html.mieusey-site-ui-ready body.wp-child-theme-mieusey a.payvip-icon::before,
html.mieusey-site-ui-ready body.wp-child-theme-mieusey .float-right.round > .float-btn.pay-vip::before,
html.mieusey-site-ui-ready body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[title*="会员"]::before,
html.mieusey-site-ui-ready body.wp-child-theme-mieusey .float-right.round > .float-btn.signin-loader[data-original-title*="会员"]::before {
  display: none !important;
}

body.wp-child-theme-mieusey a.payvip-icon > .mieusey-vip-diamond,
body.wp-child-theme-mieusey .float-right.round > .float-btn > .mieusey-vip-diamond {
  position: relative;
  z-index: 1;
  margin-right: 6px;
}

body.wp-child-theme-mieusey .float-right.round > .float-btn > .mieusey-vip-diamond {
  width: 22px;
  height: 22px;
  margin-right: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
}

body.mieusey-user-center-page main.main-min-height > .container {
  max-width: 1180px;
}

body.mieusey-user-center-page main .container > .author-header {
  margin-bottom: 18px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(28, 30, 35, 0.075);
}

body.mieusey-user-center-page main .container > .author-header .page-cover {
  min-height: 176px;
  padding-bottom: 0;
  border-radius: 8px 8px 0 0;
}

body.mieusey-user-center-page main .container > .author-header .header-content {
  min-height: 84px;
  padding: 16px 24px 18px;
}

body.mieusey-user-center-page main .container > .author-header .header-info > .header-avatar {
  margin-top: -58px;
  margin-right: 16px;
}

body.mieusey-user-center-page main .container > .author-header .avatar-img {
  --this-size: 98px;
}

body.mieusey-user-center-page main .container > .author-header .avatar-img .avatar {
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(28, 30, 35, 0.14);
}

body.mieusey-user-center-page .user-center {
  display: grid;
  grid-template-columns: 324px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.mieusey-user-center-page .user-center .user-center-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: auto;
}

body.mieusey-user-center-page .user-center .user-center-content {
  width: auto;
  min-width: 0;
}

body.mieusey-user-center-page .user-center-sidebar > .sidebar-user,
body.mieusey-user-center-page .user-center-sidebar > .zib-widget,
body.mieusey-user-center-page .user-center-sidebar > .payvip-icon {
  grid-column: 1 / -1;
}

body.mieusey-user-center-page .user-center-sidebar > .sidebar-user:empty {
  display: none;
}

body.mieusey-user-center-page .user-center-sidebar > .zib-widget,
body.mieusey-user-center-page .user-center-sidebar > .flex,
body.mieusey-user-center-page .user-center-sidebar > .payvip-icon {
  margin: 0 !important;
}

body.mieusey-user-center-page .user-center-sidebar > .zib-widget,
body.mieusey-user-center-page .user-center-sidebar > .flex > .zib-widget,
body.mieusey-user-center-page .user-center-sidebar > .flex > div > .zib-widget {
  border: 1px solid var(--main-border-color);
  box-shadow: 0 8px 22px rgba(28, 30, 35, 0.055);
}

body.mieusey-user-center-page .user-center-sidebar > .zib-widget.flex.jsa {
  gap: 6px;
  padding: 8px;
}

body.mieusey-user-center-page .user-center-sidebar .user-statistics-item {
  padding: 10px 3px;
  border-radius: 7px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
}

body.mieusey-user-center-page .user-center-sidebar .user-statistics-item .em14 {
  color: var(--main-color);
  font-size: 16px;
  font-weight: 700;
}

body.mieusey-user-center-page .user-center-sidebar > .payvip-icon {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 13px 46px 13px 14px !important;
  border: 1px solid var(--focus-color-opacity3, rgba(242, 151, 163, 0.3));
  border-radius: 8px;
  background: #303238;
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 31, 35, 0.17);
}

body.mieusey-user-center-page .user-center-sidebar > .payvip-icon > svg {
  display: none !important;
}

body.mieusey-user-center-page .user-center-sidebar > .payvip-icon::before {
  content: '\f219';
  flex: 0 0 30px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 7px;
  background: var(--focus-color, var(--theme-color));
  color: #fff;
  font: normal normal normal 14px/1 FontAwesome;
  opacity: 1;
}

html.mieusey-site-ui-ready body.mieusey-user-center-page .user-center-sidebar > .payvip-icon::before {
  display: none !important;
}

body.mieusey-user-center-page .user-center-sidebar > .payvip-icon > .mieusey-vip-diamond {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 7px;
  background: var(--focus-color, var(--theme-color));
  color: #fff;
  font-size: 14px;
}

body.mieusey-user-center-page .user-center-sidebar > .payvip-icon > .abs-right {
  right: 15px;
}

body.mieusey-user-center-page .user-center-sidebar > .zib-widget.padding-6 {
  padding: 10px;
}

body.mieusey-user-center-page .user-center-sidebar > .zib-widget.padding-6 > .padding-6 {
  min-height: 30px;
  padding: 3px 4px 9px;
  color: var(--main-color);
  font-size: 13px;
  font-weight: 700;
}

body.mieusey-user-center-page .user-center-sidebar .user-order-tab-btn-box {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 0 !important;
}

body.mieusey-user-center-page .user-center-sidebar .shop-user-order-tab-btn {
  width: auto;
  min-width: 0;
  padding: 8px 1px 7px;
  border-radius: 7px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.22s ease;
}

body.mieusey-user-center-page .user-center-sidebar .shop-user-order-tab-btn > .em16 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
}

body.mieusey-user-center-page .user-center-sidebar .shop-user-order-tab-btn svg {
  width: 19px;
  height: 19px;
}

body.mieusey-user-center-page .user-center-sidebar .shop-user-order-tab-btn:hover {
  background: var(--muted-bg-2-color, var(--muted-bg-color));
  color: var(--focus-color, var(--theme-color));
  transform: translateY(-1px);
}

body.mieusey-user-center-page .user-center-sidebar .shop-user-order-tab-btn .px12 {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.mieusey-user-center-page .user-center-sidebar > .flex {
  min-width: 0;
}

body.mieusey-user-center-page .user-center-sidebar > .flex > .zib-widget,
body.mieusey-user-center-page .user-center-sidebar > .flex > div > .zib-widget {
  min-height: 104px;
  margin: 0;
  padding: 14px;
}

body.mieusey-user-center-page .user-center-sidebar > .flex .em12 {
  font-size: 18px;
}

body.mieusey-user-center-page .user-center-sidebar .user-icon-but-box {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.mieusey-user-center-page .user-center-sidebar .user-icon-but-box > item {
  min-height: 70px;
  padding-top: 8px;
}

body.mieusey-user-center-page .user-center-content .zib-widget {
  border: 1px solid var(--main-border-color);
  box-shadow: 0 8px 24px rgba(28, 30, 35, 0.055);
}

body.mieusey-user-center-page .user-center-content .user-content-myvip {
  min-height: 142px;
  padding: 20px;
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.25));
  background: var(--main-bg-color);
}

body.mieusey-user-center-page .user-center-content .user-content-myvip > .vip-img {
  right: 18px;
  top: 50%;
  color: var(--focus-color, var(--theme-color));
  font-size: 94px;
  opacity: 0.065;
}

body.mieusey-user-center-page .user-center-content .user-content-myvip > .vip-img > svg {
  display: none !important;
}

body.mieusey-user-center-page .user-center-content .user-content-myvip > .vip-img::before {
  content: '\f219';
  font: normal normal normal 1em/1 FontAwesome;
}

html.mieusey-site-ui-ready body.mieusey-user-center-page .user-center-content .user-content-myvip > .vip-img::before {
  display: none;
}

body.mieusey-user-center-page .user-center-content .user-content-myvip > .vip-img > .mieusey-vip-diamond {
  width: 1em;
  height: 1em;
}

body.mieusey-user-center-page .user-center-content .user-content-myvip + .flex {
  align-items: stretch;
  gap: 12px;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info {
  display: flex;
  flex-direction: column;
  min-height: 272px;
  padding: 20px;
  overflow: hidden;
  text-align: left !important;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info.level-1 {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.24));
  background: var(--focus-color-opacity05, rgba(242, 151, 163, 0.05));
}

body.mieusey-user-center-page .user-center-content .pay-vip-info.level-2 {
  border-color: #303238;
  background: #303238;
  color: #fff;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info > .relative {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .vip-baicon {
  left: auto;
  right: -18px;
  top: 74%;
  width: auto;
  color: currentColor;
  font-size: 128px;
  opacity: 0.045;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .vip-baicon img,
body.mieusey-user-center-page .user-center-content .pay-vip-info .v-icon img {
  display: none !important;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .vip-baicon::before,
body.mieusey-user-center-page .user-center-content .pay-vip-info .v-icon::before {
  content: '\f219';
  font: normal normal normal 1em/1 FontAwesome;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .v-iconbox {
  justify-content: flex-start;
  margin-bottom: 18px;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .v-icon {
  flex: 0 0 42px;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--focus-color, var(--theme-color));
  color: #fff;
  font-size: 18px;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info.level-2 .v-icon {
  background: rgba(255, 255, 255, 0.12);
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .v-name {
  font-size: 17px;
  font-weight: 700;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info.level-2 .v-desc,
body.mieusey-user-center-page .user-center-content .pay-vip-info.level-2 .v-equity {
  color: rgba(255, 255, 255, 0.68);
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .v-equity {
  flex: 1;
  margin: 0;
  padding: 0;
  color: var(--muted-color);
  list-style: none;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .v-equity > li {
  position: relative;
  margin: 0 0 9px;
  padding-left: 21px;
  line-height: 1.6;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .v-equity > li::before {
  content: '\f00c';
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--focus-color, var(--theme-color));
  font: normal normal normal 11px/1 FontAwesome;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .mt20 {
  margin-top: 16px;
}

body.mieusey-user-center-page .user-center-content .pay-vip-info .pay-vip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: 8px !important;
  background: var(--focus-color, var(--theme-color));
  color: #fff;
  box-shadow: 0 8px 20px var(--focus-color-opacity3, rgba(242, 151, 163, 0.24));
}

body.mieusey-user-center-page .user-center-content .pay-vip-info.level-2 .pay-vip {
  background: #fff;
  color: #303238;
  box-shadow: none;
}

body.mieusey-message-center-page main.main-min-height > .container {
  max-width: 1120px;
}

body.mieusey-message-center-page .mieusey-message-heading {
  min-height: 58px;
  margin-bottom: 14px;
  padding: 0 4px;
}

body.mieusey-message-center-page .mieusey-message-heading h1 {
  margin: 0;
  color: var(--main-color);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

body.mieusey-message-center-page .mieusey-message-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border-radius: 8px;
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
  font-size: 16px;
}

body.mieusey-message-center-page .mieusey-message-settings {
  min-height: 36px;
  padding: 8px 12px;
  border-color: var(--main-border-color);
  border-radius: 7px;
  color: var(--muted-color);
  background: var(--main-bg-color);
}

body.mieusey-message-center-page .msg-center {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
}

body.mieusey-message-center-page .msg-center::before,
body.mieusey-message-center-page .msg-center::after {
  content: none !important;
  display: none !important;
}

body.mieusey-message-center-page .msg-center > .col-sm-3,
body.mieusey-message-center-page .msg-center > .col-sm-9 {
  width: auto;
  min-width: 0;
  padding: 0;
}

body.mieusey-message-center-page .msg-center-nav {
  position: sticky;
  top: 92px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(28, 30, 35, 0.055);
}

body.mieusey-message-center-page .msg-center-nav .tab-nav-theme {
  display: grid;
  gap: 4px;
  margin: 0;
}

body.mieusey-message-center-page .msg-center-nav .tab-nav-theme > li {
  margin: 0;
  padding: 0;
  border: 0;
}

body.mieusey-message-center-page .msg-center-nav .tab-nav-theme > li::before {
  display: none;
}

body.mieusey-message-center-page .msg-center-nav .tab-nav-theme > li > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--muted-color);
  font-size: 13px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.22s ease;
}

body.mieusey-message-center-page .msg-center-nav .tab-nav-theme > li > a:hover {
  background: var(--muted-bg-2-color, var(--muted-bg-color));
  color: var(--main-color);
  transform: translateX(2px);
}

body.mieusey-message-center-page .msg-center-nav .tab-nav-theme > li.active > a {
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
  font-weight: 700;
}

body.mieusey-message-center-page .msg-center-nav li > a > img {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0 10px 0 0;
  border-radius: 7px;
}

body.mieusey-message-center-page .msg-center-nav li > a > badge {
  top: 7px;
  right: 7px;
}

body.mieusey-message-center-page .msg-center-content > .zib-widget {
  min-height: 510px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(28, 30, 35, 0.055);
}

body.mieusey-message-center-page .msg-center-content .tab-pane > .border-bottom,
body.mieusey-message-center-page .msg-center-content .post_ajax_loader > .border-bottom {
  margin-bottom: 7px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.22s ease;
}

body.mieusey-message-center-page .msg-center-content .tab-pane > .border-bottom:hover {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.26));
  background: var(--main-bg-color);
  transform: translateY(-1px);
}

body.mieusey-message-center-page .msg-center-content .msg-list {
  display: flex;
  align-items: center;
  margin: 0;
}

body.mieusey-message-center-page .msg-center-content .msg-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

body.mieusey-message-center-page .msg-center-content .msg-img img {
  border-radius: 8px;
}

body.mieusey-message-center-page .msg-center-content .msg-list > li + li {
  width: calc(100% - 58px);
}

body.mieusey-message-center-page .msg-center-content .text-center.ajax-item img[src*="null"] {
  width: 170px !important;
  max-width: 52%;
}

body.mieusey-message-center-page .msg-center-content .text-center.ajax-item .separator {
  margin-top: 24px !important;
}

body.mieusey-message-center-page .msg-private {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 490px;
  margin: 0;
}

body.mieusey-message-center-page .msg-private > .col-sm-4,
body.mieusey-message-center-page .msg-private > .col-sm-8,
body.mieusey-message-center-page .msg-private > .ajaxpager {
  width: auto;
  min-width: 0;
  padding: 0;
}

body.mieusey-message-center-page .msg-private > .col-sm-4,
body.mieusey-message-center-page .msg-private > [id="user_chat_lists"] {
  padding-right: 10px;
  border-right: 1px solid var(--main-border-color);
}

body.mieusey-message-center-page .msg-private > .col-sm-8,
body.mieusey-message-center-page .msg-private > [id="user_private_window"] {
  padding-left: 12px;
}

body.mieusey-message-center-page .chat-lists {
  margin-bottom: 5px;
  padding: 9px !important;
  border: 0;
  border-radius: 8px;
}

body.mieusey-message-center-page .chat-lists:hover,
body.mieusey-message-center-page .chat-lists.active {
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
}

body.mieusey-message-center-page .private-window {
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

body.mieusey-message-center-page .private-window-header {
  flex: 0 0 auto;
  min-height: 42px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--muted-bg-2-color, var(--muted-bg-color));
}

body.mieusey-message-center-page .private-window-content {
  flex: 1;
  min-height: 330px;
  padding: 12px;
  border-radius: 8px;
  background: var(--body-bg-color);
}

body.mieusey-message-center-page .private-window-footer {
  flex: 0 0 auto;
  padding-top: 10px;
}

body.mieusey-message-center-page .private-window-footer .form-control {
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--body-bg-color);
}

@media (max-width: 767px) {
  body.wp-child-theme-mieusey .mobile-navbar {
    width: min(310px, 88vw);
    padding: 14px 14px calc(86px + env(safe-area-inset-bottom));
    border-right: 1px solid var(--main-border-color);
    background: var(--main-bg-color);
    box-shadow: 18px 0 44px rgba(24, 26, 31, 0.16);
  }

  body.dark-theme.wp-child-theme-mieusey .mobile-navbar {
    border-right-color: rgba(255, 255, 255, 0.09);
    box-shadow: 18px 0 44px rgba(0, 0, 0, 0.36);
  }

  body.wp-child-theme-mieusey .mobile-navbar > .flex.jsb.ac.mb20 {
    position: sticky;
    top: -14px;
    z-index: 3;
    min-height: 58px;
    margin: -14px -4px 10px;
    padding: 10px 4px 8px;
    border-bottom: 1px solid var(--main-border-color);
    background: var(--main-bg-color);
  }

  body.wp-child-theme-mieusey .mobile-navbar .navbar-logo {
    display: flex;
    align-items: center;
    height: 38px;
    margin: 0;
  }

  body.wp-child-theme-mieusey .mobile-navbar .navbar-logo img {
    width: auto;
    max-width: 132px;
    height: 34px;
    object-fit: contain;
  }

  body.wp-child-theme-mieusey .mobile-navbar > .flex.jsb.ac.mb20 > .close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--muted-bg-2-color, var(--muted-bg-color));
    color: var(--muted-color);
    opacity: 1;
  }

  body.wp-child-theme-mieusey .mobile-navbar > .flex.ac.pull-right {
    position: absolute;
    top: 25px;
    right: 61px;
    z-index: 4;
    margin: 0 !important;
  }

  body.wp-child-theme-mieusey .mobile-navbar > .flex.ac.pull-right .toggle-radius {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--main-bg-color);
  }

  body.wp-child-theme-mieusey .mobile-menus {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
    padding: 0;
  }

  body.wp-child-theme-mieusey .mobile-menus > li {
    margin: 0;
  }

  body.wp-child-theme-mieusey .mobile-menus > li > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }

  body.wp-child-theme-mieusey .mobile-menus > li > a::before {
    display: none;
  }

  body.wp-child-theme-mieusey .mobile-menus > li > a:hover,
  body.wp-child-theme-mieusey .mobile-menus > li.current-menu-item > a,
  body.wp-child-theme-mieusey .mobile-menus > li.current-menu-parent > a,
  body.wp-child-theme-mieusey .mobile-menus > li.mieusey-mobile-current > a {
    border-color: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey .mobile-menus > li.current-menu-item > a::before,
  body.wp-child-theme-mieusey .mobile-menus > li.current-menu-parent > a::before,
  body.wp-child-theme-mieusey .mobile-menus > li.mieusey-mobile-current > a::before {
    content: '';
    display: block;
    flex: 0 0 3px;
    width: 3px;
    height: 18px;
    margin-right: 10px;
    border: 0;
    border-radius: 3px;
    background: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey .mobile-menus .sub-menu:not(.senior-submenu) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin: 5px 0 8px;
    padding: 6px;
  }

  body.wp-child-theme-mieusey .mobile-menus .sub-menu:not(.senior-submenu) li {
    display: block;
    width: auto;
  }

  body.wp-child-theme-mieusey .mobile-menus .sub-menu:not(.senior-submenu) li > a {
    min-height: 38px;
    margin: 0;
    padding: 8px;
    background: var(--main-bg-color);
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box {
    width: auto;
    margin: 8px 0 24px;
    padding-top: 14px;
    border-top: 1px solid var(--main-border-color);
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .payvip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0 0 10px !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    background: #303238;
    color: #fff;
    box-shadow: none;
  }

  body.wp-child-theme-mieusey .mobile-navbar .header-user-href {
    gap: 6px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .header-user-href > a {
    flex: 1 1 0;
    min-width: 0;
    padding: 9px 2px;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--muted-bg-2-color, var(--muted-bg-color));
  }

  body.wp-child-theme-mieusey .mobile-navbar .header-user-href .badg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 7px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .social_loginbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .social_loginbar > a {
    margin: 0;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) {
    left: 8px;
    right: 8px;
    bottom: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    display: flex;
    gap: 4px;
    width: auto;
    max-width: 440px;
    min-height: 64px;
    margin: 0 auto;
    padding: 6px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 16px;
    background: var(--header-bg);
    box-shadow: 0 12px 30px rgba(24, 26, 31, 0.16);
  }

  body.dark-theme.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) {
    border-color: rgba(255, 255, 255, 0.11);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group))::before {
    display: none;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) > .tabbar-item {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 50px;
    padding: 0;
    border-radius: 8px;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide .tabbar-ontop {
    position: relative;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide .tabbar-ontop > .tabbar-item,
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) > a.tabbar-item {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 5px 4px 4px;
    border-radius: 8px;
    color: var(--muted-color);
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 21px;
    line-height: 1;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) text {
    display: block;
    width: auto;
    margin-top: 3px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    transform: none;
    white-space: nowrap;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide .tabbar-item.mieusey-tabbar-active,
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide .tabbar-item.active,
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide .tabbar-item.actived {
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey .footer-tabbar-placeholder {
    height: 82px;
    height: calc(82px + env(safe-area-inset-bottom));
  }

  body.mieusey-user-center-page main .container > .author-header.full-widget-sm {
    margin: 0 0 12px;
  }

  body.mieusey-user-center-page main .container > .author-header .page-cover {
    min-height: 132px;
    border-radius: 8px 8px 0 0;
  }

  body.mieusey-user-center-page .user-center {
    display: block;
  }

  body.mieusey-user-center-page .user-center .user-center-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  body.mieusey-user-center-page .user-center .user-center-content {
    width: 100%;
  }

  body.mieusey-user-center-page .user-center-sidebar .user-order-tab-btn-box {
    gap: 2px;
  }

  body.mieusey-user-center-page .user-center-sidebar .shop-user-order-tab-btn > .em16 {
    width: 30px;
    height: 30px;
  }

  body.mieusey-user-center-page .user-center-content.drawer-sm {
    padding: 74px 10px 88px;
  }

  body.mieusey-user-center-page .user-center-content .user-content-myvip {
    min-height: 126px;
    padding: 16px;
  }

  body.mieusey-user-center-page .user-center-content .pay-vip-info {
    min-height: 250px;
    padding: 16px;
  }

  body.mieusey-message-center-page .mieusey-message-heading {
    min-height: 48px;
    margin-bottom: 10px;
  }

  body.mieusey-message-center-page .mieusey-message-heading h1 {
    font-size: 18px;
  }

  body.mieusey-message-center-page .mieusey-message-heading-icon {
    width: 34px;
    height: 34px;
  }

  body.mieusey-message-center-page .mieusey-message-settings {
    padding: 7px 9px;
    font-size: 12px;
  }

  body.mieusey-message-center-page .msg-center {
    display: block;
  }

  body.mieusey-message-center-page .msg-center-nav {
    position: sticky;
    top: 76px;
    z-index: 20;
    margin-bottom: 10px;
    padding: 6px;
    background: var(--main-bg-color);
  }

  body.mieusey-message-center-page .msg-center-nav .tab-nav-theme {
    display: flex;
    justify-content: flex-start;
    gap: 4px;
    overflow-x: auto;
  }

  body.mieusey-message-center-page .msg-center-nav .tab-nav-theme > li {
    flex: 0 0 76px;
  }

  body.mieusey-message-center-page .msg-center-nav .tab-nav-theme > li > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 62px;
    padding: 5px 3px;
    text-align: center;
    font-size: 11px;
  }

  body.mieusey-message-center-page .msg-center-nav li > a > img {
    width: 28px;
    height: 28px;
    margin: 0 0 4px;
  }

  body.mieusey-message-center-page .msg-center-content > .zib-widget {
    min-height: 430px;
    padding: 7px;
  }

  body.mieusey-message-center-page .msg-center-content .tab-pane > .border-bottom,
  body.mieusey-message-center-page .msg-center-content .post_ajax_loader > .border-bottom {
    padding: 10px;
  }

  body.mieusey-message-center-page .msg-center-content .msg-img {
    width: 40px;
    height: 40px;
  }

  body.mieusey-message-center-page .msg-private {
    display: block;
    min-height: 420px;
  }

  body.mieusey-message-center-page .msg-private > .col-sm-4,
  body.mieusey-message-center-page .msg-private > .col-sm-8,
  body.mieusey-message-center-page .msg-private > [id="user_chat_lists"],
  body.mieusey-message-center-page .msg-private > [id="user_private_window"] {
    width: 100%;
    padding: 0;
    border: 0;
  }

  body.mieusey-message-center-page .private-window {
    min-height: 410px;
  }
}

@media (max-width: 520px) {
  body.mieusey-user-center-page .user-center-content .user-content-myvip + .flex {
    flex-direction: column;
  }

  body.mieusey-user-center-page .user-center-content .pay-vip-info {
    min-height: 226px;
  }
}

@media (max-width: 380px) {
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) {
    left: 6px;
    right: 6px;
    padding: 5px;
  }

  body.mieusey-user-center-page .user-center-sidebar .shop-user-order-tab-btn .px12 {
    font-size: 9px;
  }

  body.mieusey-message-center-page .msg-center-nav .tab-nav-theme > li {
    flex-basis: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-child-theme-mieusey .mobile-menus > li > a,
  body.wp-child-theme-mieusey .footer-tabbar .tabbar-item,
  body.mieusey-user-center-page .user-center-sidebar .shop-user-order-tab-btn,
  body.mieusey-message-center-page .msg-center-nav .tab-nav-theme > li > a,
  body.mieusey-message-center-page .msg-center-content .tab-pane > .border-bottom {
    transition-duration: 0.01ms !important;
  }
}

/* Mieusey: use the diamond mark in every membership surface. */
body.wp-child-theme-mieusey header.header span.payvip-icon > img,
body.wp-child-theme-mieusey header.header .sub-vip-card .vip-name img,
body.wp-child-theme-mieusey header.header .sub-vip-card .vip-baicon img,
body.wp-child-theme-mieusey header.header .sub-vip-card .vip-img img,
body.wp-child-theme-mieusey #modal_pay_uservip .v-icon img,
body.wp-child-theme-mieusey #modal_pay_uservip .vip-baicon img {
  display: none !important;
}

body.wp-child-theme-mieusey header.header span.payvip-icon::before {
  content: '\f219';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
  font: normal normal normal 11px/1 FontAwesome;
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-name > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  color: var(--focus-color, var(--theme-color));
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-name > span:first-child::before,
body.wp-child-theme-mieusey header.header .sub-vip-card .vip-baicon::before,
body.wp-child-theme-mieusey #modal_pay_uservip .v-icon::before,
body.wp-child-theme-mieusey #modal_pay_uservip .vip-baicon::before {
  content: '\f219';
  font: normal normal normal 1em/1 FontAwesome;
}

body.wp-child-theme-mieusey header.header .sub-vip-card .vip-baicon {
  color: var(--focus-color, var(--theme-color));
}

body.wp-child-theme-mieusey #modal_pay_uservip .v-icon {
  color: #fff;
  font-size: 14px;
}

body.wp-child-theme-mieusey #modal_pay_uservip .vip-baicon {
  color: currentColor;
}

@media (max-width: 767px) {
  body.mieusey-message-center-page .msg-center-nav.lists-nav {
    display: block;
    box-sizing: border-box;
    width: 100%;
  }
}

/* Mieusey: final layout audit for account, messages and mobile navigation. */
body.mieusey-message-center-page .msg-center,
body.mieusey-message-center-page .msg-private {
  box-sizing: border-box;
}

body.mieusey-message-center-page .msg-private::before,
body.mieusey-message-center-page .msg-private::after {
  content: none !important;
  display: none !important;
}

body.mieusey-message-center-page .msg-center > .col-sm-3 {
  grid-column: 1;
}

body.mieusey-message-center-page .msg-center > .msg-center-content {
  grid-column: 2;
}

body.mieusey-message-center-page .msg-private > .col-sm-4,
body.mieusey-message-center-page .msg-private > #user_chat_lists {
  grid-column: 1;
}

body.mieusey-message-center-page .msg-private > .col-sm-8,
body.mieusey-message-center-page .msg-private > #user_private_window {
  grid-column: 2;
}

body.mieusey-message-center-page .msg-center > .col-sm-3,
body.mieusey-message-center-page .msg-center > .msg-center-content,
body.mieusey-message-center-page .msg-private > .col-sm-4,
body.mieusey-message-center-page .msg-private > .col-sm-8,
body.mieusey-message-center-page .msg-private > #user_chat_lists,
body.mieusey-message-center-page .msg-private > #user_private_window {
  float: none;
  min-width: 0;
}

body.mieusey-message-center-page .msg-private {
  grid-auto-flow: row;
  align-items: stretch;
  width: 100%;
}

body.mieusey-message-center-page .msg-private > #user_chat_lists {
  max-height: 520px !important;
  overflow-x: hidden;
  overflow-y: auto;
}

body.mieusey-message-center-page .msg-private > #user_private_window {
  min-height: 520px;
}

body.mieusey-message-center-page .msg-private .private-window {
  width: 100%;
  min-width: 0;
  min-height: 500px;
}

body.mieusey-message-center-page .msg-private .private-window-content {
  box-sizing: border-box;
  width: 100%;
  height: 388px;
  min-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
}

body.mieusey-message-center-page .msg-private .private-window-footer form::before,
body.mieusey-message-center-page .msg-private .private-window-footer form::after {
  content: none;
  display: none;
}

body.mieusey-message-center-page .msg-private .private-window-footer p {
  margin-bottom: 8px;
}

body.mieusey-message-center-page .msg-private .private-window-footer textarea.form-control {
  width: 100%;
  min-height: 70px;
  resize: vertical;
}

body.mieusey-message-center-page .msg-private .private-window-footer .but {
  min-height: 34px;
  border-radius: 7px;
}

body.mieusey-message-center-page .chat-lists > a {
  display: block;
  min-width: 0;
}

body.mieusey-message-center-page .chat-lists .msg-list {
  min-height: 48px;
}

body.mieusey-message-center-page .chat-lists .avatar-img {
  --this-size: 38px;
  flex: 0 0 38px;
}

body.mieusey-message-center-page .chat-lists .msg-list > .flex1 {
  min-width: 0;
}

body.mieusey-message-center-page .private-list {
  margin: 12px 0;
}

body.mieusey-message-center-page .private-content {
  max-width: min(76%, 440px);
  padding: 8px 11px;
  border: 1px solid var(--main-border-color);
  border-radius: 8px;
  background: var(--main-bg-color);
  line-height: 1.65;
}

body.mieusey-message-center-page .private-list.right .private-content {
  border-color: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
  background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
}

body.mieusey-message-center-page .private-content::before {
  background: inherit;
}

body.mieusey-message-center-page .msg-center-content > .zib-widget > .tab-content,
body.mieusey-message-center-page .msg-center-content > .zib-widget > .tab-content > .tab-pane {
  min-width: 0;
}

body.mieusey-message-center-page .msg-center-content .msg-list dt,
body.mieusey-message-center-page .msg-center-content .msg-list dd {
  overflow: hidden;
  text-overflow: ellipsis;
}

body.mieusey-message-center-page .msg-center-content .msg-list dt {
  color: var(--main-color);
  font-weight: 650;
  line-height: 1.5;
}

body.mieusey-message-center-page .msg-center-content .ajax-readed {
  border: 1px solid var(--main-border-color);
  background: var(--main-bg-color);
  color: var(--muted-color);
}

body.mieusey-user-center-page .user-center-content > .tab-content,
body.mieusey-user-center-page .user-center-content > .tab-content > .tab-pane,
body.mieusey-user-center-page .user-center-content .ajax-item {
  min-width: 0;
}

body.mieusey-user-center-page .user-center-content .ajax-item > .row {
  margin-right: -6px;
  margin-left: -6px;
}

body.mieusey-user-center-page .user-center-content .ajax-item > .row > [class*="col-"] {
  padding-right: 6px;
  padding-left: 6px;
}

body.mieusey-user-center-page .user-center-content .ajax-item > .row > [class*="col-"] > .zib-widget {
  height: calc(100% - 20px);
}

body.mieusey-user-center-page .user-center-content .account-set,
body.mieusey-user-center-page .user-center-content .userdata-set > .zib-widget,
body.mieusey-user-center-page .user-center-content .set-rewards-form {
  overflow: hidden;
}

body.mieusey-user-center-page .user-center-content .account-set > .box-body,
body.mieusey-user-center-page .user-center-content .userdata-set > .zib-widget,
body.mieusey-user-center-page .user-center-content .set-rewards-form {
  padding: 20px;
}

body.mieusey-user-center-page .user-center-content .account-set > .box-body + .box-body {
  margin-top: 0;
}

body.mieusey-user-center-page .user-center-content .oauth-bind-box {
  min-width: 0;
}

body.mieusey-user-center-page .user-center-content .oauth-bind-box .muted-box {
  gap: 10px;
}

body.mieusey-user-center-page .user-center-content .oauth-bind-box .type-logo {
  flex: 0 0 116px;
}

body.mieusey-user-center-page .user-center-content .set-rewards-form .flex.ac {
  gap: 14px;
}

body.mieusey-user-center-page .user-center-content .set-rewards-form label {
  min-width: 0;
}

body.mieusey-user-center-page .user-center-content .set-rewards-form .upload-preview {
  max-width: 100%;
}

body.mieusey-user-center-page .user-center-content .user-order-tabs .main-tab-content,
body.mieusey-user-center-page .user-center-content .user-order-tabs .ajaxpager {
  min-width: 0;
}

body.dark-theme.mieusey-message-center-page .private-list.right .private-content {
  border-color: var(--focus-color-opacity3, rgba(242, 151, 163, 0.24));
}

@media (max-width: 991px) and (min-width: 768px) {
  body.mieusey-user-center-page .user-center {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 14px;
  }

  body.mieusey-user-center-page .user-center .user-center-sidebar {
    gap: 9px;
  }

  body.mieusey-user-center-page .user-center-sidebar .user-order-tab-btn-box {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body.mieusey-user-center-page .user-center-sidebar .user-icon-but-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.mieusey-message-center-page .msg-center {
    grid-template-columns: 196px minmax(0, 1fr);
    gap: 12px;
  }

  body.mieusey-message-center-page .msg-private {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  body.mieusey-message-center-page .msg-center > .col-sm-3,
  body.mieusey-message-center-page .msg-center > .msg-center-content,
  body.mieusey-message-center-page .msg-private > .col-sm-4,
  body.mieusey-message-center-page .msg-private > .col-sm-8,
  body.mieusey-message-center-page .msg-private > #user_chat_lists,
  body.mieusey-message-center-page .msg-private > #user_private_window {
    grid-column: auto;
    width: 100%;
  }

  body.mieusey-message-center-page .msg-private > #user_chat_lists {
    max-height: none !important;
  }

  body.mieusey-message-center-page .msg-private > #user_private_window {
    min-height: 430px;
  }

  body.mieusey-message-center-page .msg-private .private-window {
    min-height: 420px;
  }

  body.mieusey-message-center-page .msg-private .private-window-content {
    height: calc(100vh - 356px);
    min-height: 260px;
    max-height: 440px;
  }

  body.mieusey-message-center-page .private-content {
    max-width: calc(88% - 42px);
  }

  body.mieusey-user-center-page .user-center-content .account-set > .box-body,
  body.mieusey-user-center-page .user-center-content .userdata-set > .zib-widget,
  body.mieusey-user-center-page .user-center-content .set-rewards-form {
    padding: 15px;
  }

  body.mieusey-user-center-page .user-center-content .oauth-bind-box .muted-box {
    align-items: center;
    min-height: 58px;
  }

  body.mieusey-user-center-page .user-center-content .oauth-bind-box .type-logo {
    flex-basis: 92px;
  }

  body.mieusey-user-center-page .user-center-content .set-rewards-form .flex.ac {
    align-items: flex-start;
    gap: 8px;
  }

  body.wp-child-theme-mieusey:not(.shop):not(.shop-cart-page) .footer-tabbar.scroll-down-hide:not(.cart-footer) {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    display: flex;
    gap: 4px;
    width: auto;
    max-width: 440px;
    min-height: 64px;
    margin: 0 auto;
    padding: 6px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 16px;
    background: var(--header-bg);
    box-shadow: 0 12px 30px rgba(24, 26, 31, 0.16);
  }

  body.wp-child-theme-mieusey:not(.shop):not(.shop-cart-page) .footer-tabbar .tabbar-ontop > .ontop {
    display: none !important;
  }

  body.wp-child-theme-mieusey:not(.shop):not(.shop-cart-page) .footer-tabbar .tabbar-ontop > .tabbar-home {
    position: static !important;
    transform: none !important;
  }

  body.wp-child-theme-mieusey:not(.shop):not(.shop-cart-page) .footer-tabbar > .tabbar-item,
  body.wp-child-theme-mieusey:not(.shop):not(.shop-cart-page) .footer-tabbar .tabbar-ontop > .tabbar-home {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .user-info {
    min-height: 58px;
    padding: 9px;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--muted-bg-2-color, var(--muted-bg-color));
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .user-info > a .avatar-img {
    --this-size: 42px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .user-right {
    min-width: 0;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .msg-news-icon {
    right: 9px;
    top: 10px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .msg-news-icon .toggle-radius {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--main-border-color);
    border-radius: 7px;
    background: var(--main-bg-color);
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .mt6 > .flex,
  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .mt6 .muted-box {
    width: 100%;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .mt6 .muted-box {
    min-height: 54px;
    padding: 9px 11px;
    border: 1px solid var(--main-border-color);
    background: var(--main-bg-color);
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .author-tag {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin: 9px 0 10px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .author-tag > * {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 31px;
    margin: 0;
    padding: 5px 3px;
    border-radius: 7px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .header-user-href + .header-user-href {
    margin-top: 6px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .header-user-href > a > div:last-child {
    overflow: hidden;
    color: var(--muted-color) !important;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Mieusey: restrained icon system for the regular mobile footer navigation. */
@media (max-width: 767px) {
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) a.tabbar-item > icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--muted-bg-2-color, var(--muted-bg-color));
    color: var(--muted-2-color, var(--muted-color));
    font-size: 15px !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(24, 26, 31, 0.04);
    transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) .mieusey-tabbar-icon {
    display: block;
    width: 1em;
    height: 1em;
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: 1;
    text-align: center;
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) .tabbar-item.mieusey-tabbar-active,
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) .tabbar-item.active,
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) .tabbar-item.actived {
    background: transparent;
    color: var(--focus-color, var(--theme-color));
  }

  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) .tabbar-item.mieusey-tabbar-active > icon,
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) .tabbar-item.active > icon,
  body.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) .tabbar-item.actived > icon {
    border-color: var(--focus-color, var(--theme-color));
    background: var(--focus-color, var(--theme-color));
    color: #fff;
    box-shadow: 0 6px 14px var(--focus-color-opacity3, rgba(242, 151, 163, 0.28));
    transform: translateY(-1px);
  }

  body.dark-theme.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) a.tabbar-item > icon {
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
  }

  body.dark-theme.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) .tabbar-item.mieusey-tabbar-active > icon,
  body.dark-theme.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) .tabbar-item.active > icon,
  body.dark-theme.wp-child-theme-mieusey .footer-tabbar.scroll-down-hide:not(.cart-footer):not(:has(.shop-paybtn-group)) .tabbar-item.actived > icon {
    border-color: var(--focus-color, var(--theme-color));
    background: var(--focus-color, var(--theme-color));
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
  }
}

/* Mieusey: cohesive mobile drawer and stacked cart navigation. */
@media (max-width: 767px) {
  body.wp-child-theme-mieusey .mobile-navbar {
    width: min(326px, 88vw);
    padding: 12px 12px calc(28px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  body.wp-child-theme-mieusey .mobile-navbar > .flex.jsb.ac.mb20 {
    top: -12px;
    min-height: 56px;
    margin: -12px -2px 8px;
    padding: 9px 2px 7px;
  }

  body.wp-child-theme-mieusey .mobile-navbar > .flex.ac.pull-right {
    top: 23px;
    right: 59px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .navbar-logo,
  body.wp-child-theme-mieusey .mobile-navbar .navbar-logo img {
    height: 32px;
  }

  body.wp-child-theme-mieusey .mobile-navbar > .flex.jsb.ac.mb20 > .close,
  body.wp-child-theme-mieusey .mobile-navbar > .flex.ac.pull-right .toggle-radius {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  body.wp-child-theme-mieusey .mobile-menus {
    gap: 2px;
    margin-bottom: 10px;
  }

  body.wp-child-theme-mieusey .mobile-menus > li > a {
    min-height: 42px;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--main-color);
    font-size: 13.5px;
    font-weight: 600;
  }

  body.wp-child-theme-mieusey .mobile-menus > li > a::before {
    display: none !important;
  }

  body.wp-child-theme-mieusey .mobile-menus > li > a::after {
    content: '\f105';
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--muted-3-color);
    font-family: FontAwesome;
    font-size: 12px;
    font-weight: 400;
  }

  body.wp-child-theme-mieusey .mobile-menus > li > a .menu-item-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.wp-child-theme-mieusey .mieusey-mobile-menu-icon {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 9px;
    border: 1px solid var(--main-border-color);
    border-radius: 7px;
    background: var(--muted-bg-2-color, var(--muted-bg-color));
    color: var(--muted-2-color, var(--muted-color));
    font-size: 13px;
  }

  body.wp-child-theme-mieusey .mobile-menus > li.current-menu-item > a,
  body.wp-child-theme-mieusey .mobile-menus > li.current-menu-parent > a,
  body.wp-child-theme-mieusey .mobile-menus > li.mieusey-mobile-current > a {
    border-color: var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
  }

  body.wp-child-theme-mieusey .mobile-menus > li.current-menu-item > a .mieusey-mobile-menu-icon,
  body.wp-child-theme-mieusey .mobile-menus > li.current-menu-parent > a .mieusey-mobile-menu-icon,
  body.wp-child-theme-mieusey .mobile-menus > li.mieusey-mobile-current > a .mieusey-mobile-menu-icon {
    border-color: var(--focus-color, var(--theme-color));
    background: var(--focus-color, var(--theme-color));
    color: #fff;
    box-shadow: 0 5px 12px var(--focus-color-opacity3, rgba(242, 151, 163, 0.24));
  }

  body.dark-theme.wp-child-theme-mieusey .mieusey-mobile-menu-icon {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
  }

  body.wp-child-theme-mieusey .mobile-navbar .posts-nav-box:empty {
    display: none;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box {
    margin: 6px 0 0;
    padding: 12px 2px 0;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .user-info {
    min-height: 56px;
    padding: 8px 9px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .user-info > a .avatar-img {
    --this-size: 40px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .msg-news-icon {
    right: 8px;
    top: 8px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .payvip-icon {
    min-height: 40px;
    margin-bottom: 8px !important;
    padding: 8px 11px !important;
    font-size: 12px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .mt6.em09 .but {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 12px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .mt6 .muted-box {
    min-height: 48px;
    padding: 7px 9px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .author-tag {
    gap: 4px;
    margin: 7px 0 8px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box .author-tag > * {
    min-height: 28px;
    padding: 4px 2px;
    font-size: 11px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .relative.opacity5 {
    display: none;
  }

  body.wp-child-theme-mieusey .mobile-navbar .sub-user-box > .mt10.text-center {
    margin-top: 8px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .header-user-href {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
    gap: 5px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .header-user-href > a,
  body.wp-child-theme-mieusey .mobile-navbar .header-user-href > .newadd-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 64px;
    padding: 6px 3px;
    border-radius: 8px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .header-user-href .badg {
    width: 28px;
    height: 28px;
    margin-bottom: 5px;
    border: 1px solid var(--focus-color-opacity1, rgba(242, 151, 163, 0.12));
    background: var(--focus-color-opacity1, rgba(242, 151, 163, 0.1));
    color: var(--focus-color, var(--theme-color));
    font-size: 13px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .header-user-href > a > div:last-child,
  body.wp-child-theme-mieusey .mobile-navbar .header-user-href > .newadd-btns > div:last-child {
    color: var(--muted-color) !important;
    font-size: 10.5px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .social-separator {
    margin: 12px 0 8px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .social_loginbar {
    gap: 5px;
  }

  body.wp-child-theme-mieusey .mobile-navbar .social_loginbar > a {
    width: 32px;
    height: 32px;
    border: 1px solid var(--main-border-color);
    background: var(--muted-bg-2-color, var(--muted-bg-color));
    box-shadow: none;
  }

  body.shop-cart-page .footer-tabbar.scroll-down-hide:not(.cart-footer) {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    max-width: 440px;
    margin: 0 auto;
  }

  body.shop-cart-page .footer-tabbar:not(.cart-footer) .tabbar-ontop > .ontop {
    display: none !important;
  }

  body.shop-cart-page .footer-tabbar:not(.cart-footer) .tabbar-ontop > .tabbar-home {
    position: static !important;
    transform: none !important;
  }

  body.shop-cart-page .footer-tabbar:not(.cart-footer) > .tabbar-item,
  body.shop-cart-page .footer-tabbar:not(.cart-footer) .tabbar-ontop > .tabbar-home {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  body.shop-cart-page.scroll-down .scroll-down-hide.footer-tabbar:not(.cart-footer),
  body.shop-cart-page.scroll-ing .scrolling-hide.footer-tabbar:not(.cart-footer) {
    opacity: 1;
    transform: none;
  }

  body.shop-cart-page .cart-list-item.cart-footer.footer-tabbar {
    left: 8px;
    right: 8px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: auto;
    max-width: 720px;
    min-height: 58px;
    margin: 0 auto;
    padding: 6px 10px;
    overflow: hidden;
    border: 1px solid var(--main-border-color);
    border-radius: 14px;
    background: var(--main-bg-color);
    box-shadow: 0 10px 26px rgba(24, 26, 31, 0.14);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.dark-theme.shop-cart-page .cart-list-item.cart-footer.footer-tabbar {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  }

  body.shop-cart-page .cart-list-item.cart-footer.footer-tabbar::before {
    display: none;
  }

  body.shop-cart-page .cart-list-item.cart-footer.footer-tabbar .cart-list-header {
    width: 100%;
    min-height: 44px;
  }

  body.shop-cart-page .cart-list-item.cart-footer.footer-tabbar .settle-btn {
    border-radius: 8px;
    background: var(--focus-color, var(--theme-color));
    box-shadow: 0 6px 14px var(--focus-color-opacity3, rgba(242, 151, 163, 0.24));
  }

  body.shop-cart-page .footer-tabbar-placeholder {
    height: calc(86px + env(safe-area-inset-bottom));
  }

  body.shop-cart-page footer::after {
    height: 0;
  }

  body.shop-cart-page:has(.cart-list-item.cart-footer.footer-tabbar) footer::after {
    height: calc(62px + env(safe-area-inset-bottom));
  }
}
