@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Mono&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC&family=Roboto:wght@400;700&display=swap");
.bg-main {
  background-color: #E56600 !important;
}

.bg-match {
  background-color: rgb(178, 79.2838427948, 0) !important;
}

.bg-ice {
  background-color: #3af !important;
}

.badge-cold {
  background-color: #26c !important;
  color: #fff;
}

.badge-ice {
  background-color: #3af !important;
  color: #fff;
}

.color-fb {
  color: #1877F2 !important;
}

.mw-400 {
  max-width: 400px;
}

.row-sm {
  margin-left: -5px;
  margin-right: -5px;
}
.row-sm > [class*=col-], .row-sm > .col {
  padding-left: 5px;
  padding-right: 5px;
}

.g-2 {
  gap: 0.5rem;
}

.title-lg {
  font-size: 20px;
  margin-bottom: 4px;
}
.title-lg small {
  margin-left: 0.5rem;
  font-size: 18px;
}

.title-sm {
  font-size: 16px;
  color: #C25700;
}

.title-product {
  font-size: 21px;
  font-weight: normal;
  color: #C25700;
  margin-bottom: 1rem;
  text-align: center;
}

.text-lg {
  font-size: 21px !important;
}

.text-md {
  font-size: 18px !important;
}

.text-sm {
  font-size: 14px !important;
}

.text-xs {
  font-size: 12px !important;
}

.text-main {
  color: #C25700;
}

.text-white {
  color: #ffffff;
}

.icon-sm {
  font-size: 18px;
}

.icon-lg {
  font-size: 30px;
}

.icon-huge {
  font-size: 60px;
}

.file-show {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}
.file-show img, .file-show video {
  max-width: 70% !important;
  max-height: 70% !important;
  object-fit: contain !important;
}

#img-show.file-show img {
  max-width: 70% !important;
  max-height: 70% !important;
  object-fit: contain !important;
}

.youtube-preview-show {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
}
.youtube-preview-show .youtube-preview-inner {
  width: min(90vw, 800px);
  display: flex;
  flex-direction: column;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.8);
}
.youtube-preview-show .youtube-preview-inner .youtube-preview-header {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #c00;
  color: #fff;
  font-size: 14px;
}
.youtube-preview-show .youtube-preview-inner .youtube-preview-header .youtube-preview-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.youtube-preview-show .youtube-preview-inner .youtube-preview-header .youtube-preview-close .material-symbols-rounded {
  font-size: 22px;
}
.youtube-preview-show .youtube-preview-inner iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.badge {
  padding: 4px 6px;
  font-size: 12px;
  border-radius: 2px;
  font-weight: normal;
}
.badge.active {
  background-color: #E56600;
  color: #fff;
}

.badge-lg {
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 2px;
}

.badge-main {
  background-color: #E56600;
  color: #fff;
  border-radius: 10px;
}

.badge-ice {
  background-color: #3af;
  color: #fff;
}

.badge-new {
  background-color: #E56600;
  color: #fff;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
}
#loading div {
  padding: 2rem;
  background-color: #fff;
  color: #C25700;
  font-size: 18px;
}

#page-loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
#page-loading img.logo {
  width: 200px;
  height: 200px;
  margin-bottom: 2rem;
  object-fit: contain;
}
#page-loading .loading-text {
  color: #333333;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#page-loading .loading-text .loading-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
#page-loading .loading-text .loading-dots .dot {
  width: 8px;
  height: 8px;
  background-color: #E56600;
  border-radius: 50%;
  animation: dot-bounce 1.4s infinite ease-in-out;
}
#page-loading .loading-text .loading-dots .dot:nth-child(1) {
  animation-delay: 0s;
}
#page-loading .loading-text .loading-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}
#page-loading .loading-text .loading-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}
#page-loading .loading-copyright {
  position: absolute;
  bottom: 2rem;
  color: #999999;
  font-size: 0.875rem;
  text-align: center;
}

@keyframes dot-bounce {
  0%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
}
.nav-loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  vertical-align: middle;
}
.nav-loading-dots .dot {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: dot-wave 1.4s infinite ease-in-out;
}
.nav-loading-dots .dot:nth-child(1) {
  animation-delay: 0s;
}
.nav-loading-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}
.nav-loading-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot-wave {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.4;
  }
  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}
.nav-progress-bar {
  display: flex;
  align-items: center;
  width: 40px;
  height: 48px;
  margin: 0 12px;
}

.nav-progress-bar-inner {
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.nav-progress-bar-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  animation: progress-slide 5s ease-in-out infinite;
}

@keyframes progress-slide {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.color {
  width: 40px;
  height: 40px;
}

.page-count {
  display: flex;
  margin-left: auto;
  align-items: center;
  font-size: 15px;
}
.page-count span {
  white-space: nowrap;
}
.page-count input {
  width: 56px;
  height: 35px;
  font-size: 12px;
  margin: 0 0.25rem;
}

.switch {
  position: relative;
  width: 40px;
  height: 17.6px;
}
.switch input {
  visibility: hidden;
}
.switch input:checked + label {
  background-color: #28a745;
}
.switch input:checked + label:hover {
  background-color: rgb(30.1449275362, 125.8550724638, 52);
}
.switch input:checked + label:after {
  left: 21.2px;
}
.switch label {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 17.6px;
  background-color: rgba(0, 0, 0, 0.12);
  border-radius: 40px;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}
.switch label:hover {
  background-color: rgba(0, 0, 0, 0.24);
}
.switch label:after {
  display: block;
  content: "";
  position: absolute;
  left: -1.2px;
  top: -1.2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: 0.2s ease-in;
}

.box-sort {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.box-sort b {
  margin-bottom: 0.5rem;
  width: 100%;
  text-align: center;
}
.box-sort span {
  color: #ccc;
  cursor: pointer;
  transition: 0.4s;
}
.box-sort span:hover {
  color: #e44;
}

[v-cloak] {
  display: none !important;
}

.noty_body {
  font-size: 15px !important;
  padding: 1rem 2rem 1rem 1.5rem !important;
}

.noty_close_button {
  right: 8px !important;
}

.noty_effects_open {
  opacity: 0;
  transform: translateY(-100%);
  animation: noty_anim_in 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.noty_effects_close {
  animation: noty_anim_out 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes noty_anim_in {
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes noty_anim_out {
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}
.modal-open {
  overflow: auto !important;
}

@media (min-width: 1440px) {
  .modal-xxl {
    max-width: 1400px;
  }
}

@media (min-width: 768px) {
  #modalEditProduct .row > .col-form-label {
    text-align: right;
  }
}

#modalEditSpec select.form-control, #modalEditSpec input[type=date].form-control {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.box-chart {
  max-width: 500px;
}

.spec-group-header {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background-color: #475569;
  letter-spacing: 0.5px;
  border: 1px solid #334155;
  border-bottom: none;
  border-radius: 7px 7px 0 0;
  margin-top: 12px;
}
.spec-group-header .spec-group-toggle {
  background: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.spec-group-header .spec-group-toggle:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.spec-group-header .spec-group-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(226, 232, 240, 0.4);
}

.group-band-odd {
  background-color: #fff;
  border-left: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  border-bottom: 1px solid #eef2f6;
  margin-left: 0;
  margin-right: 0;
}

.group-band-even {
  background-color: #f1f5f9;
  border-left: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  border-bottom: 1px solid #eef2f6;
  margin-left: 0;
  margin-right: 0;
}

.group-row-last {
  border-bottom: 1px solid #cbd5e1 !important;
  border-radius: 0 0 7px 7px;
  margin-bottom: 6px;
}

.spec-group-empty {
  font-size: 11.5px;
  color: #64748b;
  background-color: #f8fafc;
  padding: 7px 12px;
  border: 1px solid #cbd5e1;
  border-top: none;
  border-radius: 0 0 7px 7px;
  margin-bottom: 6px;
}

.transfer-suggestion-panel {
  margin-top: 12px;
  padding: 10px 12px;
  background-color: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  font-size: 13px;
}
.transfer-suggestion-panel__title {
  font-weight: 600;
  color: #e65100;
  margin-bottom: 6px;
}
.transfer-suggestion-panel__deficit {
  margin-bottom: 6px;
}
.transfer-suggestion-panel__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.transfer-suggestion-panel__item {
  display: flex;
  align-items: center;
  gap: 2px;
}
.transfer-suggestion-panel__item .transfer-arrow {
  color: #e65100;
  margin-right: 4px;
}
.transfer-suggestion-panel__unmet {
  margin-top: 6px;
  font-size: 12px;
}
.transfer-suggestion-panel__action {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.transfer-suggestion-panel__action .btn-warning {
  font-size: 13px;
}

.hover-bg:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.noty_body {
  white-space: pre-line;
}

.modal-dialog-bottom {
  position: absolute;
  bottom: 0;
  left: calc(50% - 0.5rem);
  translate: -50% 0;
  width: calc(100% - 1rem);
}

.card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.15s ease-in-out;
}
.card.border-left-primary {
  border-left: 4px solid #E56600;
}
.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 1.25rem;
}

.member-header h4 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
}

.member-status .badge {
  font-size: 12px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
}

.member-detail .small {
  font-size: 13px;
}

.member-balance {
  background-color: rgba(229, 102, 0, 0.15);
  padding: 12px;
  border-radius: 4px;
  border-left: 3px solid #E56600;
}

.member-barcode-card {
  background-color: rgba(23, 162, 184, 0.2);
  padding: 12px;
  border-radius: 4px;
  border-left: 3px solid #17a2b8;
  font-size: 14px;
  line-height: 1.6;
}

.member-taxnumber-card {
  background-color: rgba(255, 193, 7, 0.25);
  padding: 12px;
  border-radius: 4px;
  border-left: 3px solid #ffc107;
  font-size: 14px;
  line-height: 1.6;
}

.member-prepick-card {
  background-color: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-radius: 6px;
  padding: 12px;
  transition: all 0.2s ease;
}
.member-prepick-card:hover {
  background-color: rgba(255, 152, 0, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.member-prepick-card .prepick-info {
  flex-grow: 1;
}
.member-prepick-card .prepick-details {
  margin-top: 4px;
  line-height: 1.4;
}
.member-prepick-card .prepick-action {
  flex-shrink: 0;
}
.member-prepick-card .btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
  padding: 6px 12px;
}
.member-prepick-card .btn-outline-danger:hover {
  background-color: #dc3545;
  color: white;
}

.myCoupons-section {
  min-height: 400px;
}

.myCoupons-empty-state {
  padding: 60px 20px;
}

.myCoupons-loading-state {
  padding: 60px 20px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.myCoupons-header {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: white;
  padding-top: 1rem;
  padding-bottom: 0;
  margin-bottom: 1rem !important;
}

.myCoupons-tabs-container {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  gap: 4px;
}

.myCoupons-tab-item {
  padding: 14px 24px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  user-select: none;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
  text-align: center;
}
.myCoupons-tab-item:not(.active) {
  color: #999;
  background: #f8f8f8;
  font-weight: 400;
  border: 1px solid #e0e0e0;
  border-bottom: 3px solid #ccc;
  border-radius: 8px 8px 0 0;
  margin-bottom: -2px;
}
.myCoupons-tab-item:not(.active):hover {
  color: #666;
  background: #f0f0f0;
}
.myCoupons-tab-item.active {
  color: #C25700;
  font-weight: 600;
  background: rgba(229, 102, 0, 0.08);
  border: 1px solid #E56600;
  border-bottom: 3px solid #E56600;
  border-radius: 8px 8px 0 0;
  margin-bottom: -2px;
}
.myCoupons-tab-item .tab-text {
  font-size: 16px;
  font-weight: inherit;
}

@media (max-width: 576px) {
  .myCoupons-header {
    top: 50px;
  }
  .myCoupons-tab-item {
    padding: 12px 8px;
  }
  .myCoupons-tab-item .tab-text {
    font-size: 14px;
  }
}
.text-warning {
  color: #b45309 !important;
}

.btn-warning {
  background-color: #f59e0b;
  border-color: #e08e00;
  color: #1f2937;
  font-weight: 600;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
  background-color: #d97706;
  border-color: #b45309;
  color: #1f2937;
}

.btn-outline-warning {
  color: #b45309;
  border-color: #f59e0b;
  font-weight: 600;
}
.btn-outline-warning:hover, .btn-outline-warning:focus, .btn-outline-warning:active {
  background-color: #f59e0b;
  border-color: #e08e00;
  color: #1f2937;
}

.pt-num-line {
  white-space: normal;
  line-height: 1.3;
}
.pt-num-line span + span {
  word-break: break-all;
  font-size: 12px;
}

.btn {
  white-space: nowrap;
  border-radius: 2px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-lg {
  font-size: 18px;
  height: 48px;
  padding: 0 20px;
}

.btn-sm {
  font-size: 14px;
  height: 30px;
  padding: 0 12px;
}

.btn-xs {
  font-size: 12px;
  height: 24px;
  padding: 0 10px;
}

.btn-line {
  background-color: #06c755;
  color: #fff;
  padding-left: 8px;
}
.btn-line:hover {
  color: #fff;
}
.btn-line img {
  margin-right: 0.5rem;
}

.btn-line-arrow {
  font-size: 40px;
  color: rgba(0, 0, 0, 0.2);
  animation: moveLeft infinite alternate 0.6s;
  position: relative;
  left: 16px;
  opacity: 0.2;
}

@keyframes moveLeft {
  0% {
    left: 16px;
    opacity: 0.2;
  }
  100% {
    left: 4px;
    opacity: 1;
  }
}
.btn-fb {
  background-color: #1877F2;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}
.btn-fb:hover {
  color: #fff;
}
.btn-fb img {
  margin-right: 0.5rem;
}

.btn-main {
  background-color: #E56600;
  color: #fff;
}
.btn-main:hover {
  background-color: rgb(178, 79.2838427948, 0);
  color: #fff;
}

.btn-secondary {
  background-color: #808080;
  border-color: #808080;
}

.btn-text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #808080;
  padding: 0.5rem;
}
.btn-text span {
  margin-left: 0.25rem;
}

.btn-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-actions {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0 0 1rem;
  gap: 0.5rem;
}
.product-actions li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-actions li a {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  color: #808080;
  padding: 6px 12px 6px 10px;
  border-radius: 20px;
  transition: 0.4s;
}
.product-actions li a span {
  color: #ccc;
  transition: 0.4s;
}
.product-actions li a svg {
  fill: #ccc;
  transition: 0.4s;
}
.product-actions li a:hover {
  color: #333;
  border-color: #333;
}
.product-actions li a:hover span {
  color: #808080;
}
.product-actions li a:hover svg {
  fill: #808080;
}
.product-actions li a.active {
  background-color: #E56600;
  color: #fff;
  border-color: #E56600;
}
.product-actions li a.active b span {
  display: inline;
  color: #fff;
}
.product-actions li a.active svg {
  fill: #fff;
}
.product-actions li a b {
  margin-left: 8px;
  font-size: 16px;
  font-weight: normal;
}
.product-actions li a b span {
  display: none;
}
.product-actions li p {
  font-size: 13px;
  margin: 0;
}
.product-actions li .fb-bonus-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-left: 4px;
  background: #1877f2;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
}
.product-actions li .fb-bonus-help:active {
  background: #0f5fd0;
}

/* LINE 分享按鈕 */
.btn-line-share {
  background-color: #06C755 !important;
  border-color: #06C755 !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  min-width: 120px;
  white-space: nowrap;
}
.btn-line-share:hover:not(:disabled) {
  background-color: #05A847 !important;
  border-color: #05A847 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
}
.btn-line-share:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(6, 199, 85, 0.2);
}
.btn-line-share:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-line-share i {
  font-size: 20px;
}
.btn-line-share .badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: normal;
}

/* 產品操作按鈕 */
.btn-product-action {
  background-color: #E56600 !important;
  border-color: #E56600 !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  width: 120px;
  white-space: nowrap;
}
.btn-product-action:hover:not(:disabled) {
  background-color: rgb(178, 79.2838427948, 0) !important;
  border-color: rgb(178, 79.2838427948, 0) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(229, 102, 0, 0.3);
}
.btn-product-action:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(229, 102, 0, 0.2);
}
.btn-product-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-product-action .material-symbols-rounded {
  font-size: 20px;
}

.btn-product-fb {
  background-color: #1877f2 !important;
  border-color: #1877f2 !important;
  color: #fff !important;
  text-decoration: none !important;
}
.btn-product-fb svg {
  flex: 0 0 auto;
}
.btn-product-fb:hover:not(:disabled) {
  background-color: #0f5fd0 !important;
  border-color: #0f5fd0 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.35);
}
.btn-product-fb:active:not(:disabled) {
  box-shadow: 0 1px 4px rgba(24, 119, 242, 0.25);
}

.btn-product-wish {
  background-color: #fff3fa !important;
  border-color: #E56600 !important;
  color: #C25700 !important;
}
.btn-product-wish:hover:not(:disabled) {
  background-color: #E56600 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.wish-toast {
  position: fixed;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
  animation: wishFadeInOut 3s ease;
}
@keyframes wishFadeInOut {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
  }
  8% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

* {
  -webkit-touch-callout: none;
}

input, textarea, [contenteditable] {
  -webkit-user-select: text;
  user-select: text;
}

body, pre, input {
  font-family: "Oxygen", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #666;
}

body {
  padding: 48px 0 61px;
  font-size: 14px;
}
@media (min-width: 576px) {
  body {
    font-size: 16px;
  }
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: inherit;
}

.font-mono {
  font-family: "Noto Sans Mono", monospace;
}

.material-symbols-rounded {
  user-select: none;
}

.form-control, .custom-select {
  border-color: #ccc;
  border-radius: 2px;
}
.form-control:hover, .custom-select:hover {
  border-color: #aaa;
}
.form-control:focus, .custom-select:focus {
  border-color: #333;
  outline: none;
  box-shadow: none;
}

.box-print-func {
  display: flex;
  justify-content: center;
  background-color: #eee;
  margin-bottom: 2rem;
  padding: 1rem;
}
.box-print-func input {
  padding: 8px 16px;
  font-size: 18px;
  margin: 0 0.5rem;
  border: 0;
  border-radius: 4px;
  transition: 0.4s;
  color: #399;
}
.box-print-func input:focus {
  outline: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.box-clear-input {
  position: relative;
}
.box-clear-input .clear {
  position: absolute;
  right: 60px;
  top: 7px;
  cursor: pointer;
  color: #ccc;
  transition: 0.2s;
}
.box-clear-input .clear:hover {
  color: #333;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.form-oneline-reset {
  display: flex;
}
.form-oneline-reset input {
  width: auto;
  margin-right: 0.5rem;
  flex-grow: 1;
}

label sup {
  color: #C25700;
  margin-left: 0.25rem;
}

.box-birth {
  display: flex;
  gap: 0.5rem;
}

.table {
  font-size: 14px;
  background-color: #fff;
  color: #666;
}
.table thead th {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.table thead .filter-input {
  margin-bottom: 4px;
}
.table thead .filter-input .clear {
  right: 1px;
  top: 1px;
}
.table thead input {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 2px;
  transition: 0.2s;
}
.table thead input:hover {
  border-color: rgba(0, 0, 0, 0.5);
}
.table thead input:focus {
  outline: 0;
}
.table tr.is-over {
  opacity: 0.7;
}

#copyText {
  position: fixed;
  top: -100px;
  left: -100px;
  width: 1px;
  height: 1px;
}

.filter-input, .clear-input {
  position: relative;
}
.filter-input .clear, .clear-input .clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background-color: #ccc;
  border-radius: 50%;
  transition: 0.2s;
}
.filter-input .clear:hover, .clear-input .clear:hover {
  background-color: #E56600;
}

.filter-select {
  font-size: 12px;
  padding: 2px 6px;
}

.copy-icon {
  transition: all 0.2s ease;
}
.copy-icon:hover {
  color: #007bff !important;
  transform: scale(1.15);
}

.tr-second {
  border-bottom: 2px solid #999;
}

.tableFixHead {
  overflow: auto;
  height: 100px;
}
.tableFixHead thead {
  position: sticky;
  top: 48px;
  z-index: 1;
}

.table-scroll-x {
  overflow-x: auto;
}
.table-scroll-x > .table {
  width: max-content;
  min-width: 100%;
  margin-bottom: 0;
  table-layout: fixed;
}
.table-scroll-x > .table th, .table-scroll-x > .table td {
  padding: 0.35rem 0.5rem;
}
.table-scroll-x > .table th {
  width: 110px;
}
.table-scroll-x > .table th.w-day {
  width: 74px;
}
.table-scroll-x > .table th.w-money {
  width: 80px;
}
.table-scroll-x > .table th.w-money-lg {
  width: 96px;
}
.table-scroll-x > .table th.w-rate {
  width: 62px;
}
.table-scroll-x > .table th.w-count {
  width: 64px;
}
.table-scroll-x > .table th.w-pair {
  width: 98px;
}
.table-scroll-x > .table th.w-pair-lg {
  width: 116px;
}
.table-scroll-x > .table thead th {
  font-size: 12px;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
  vertical-align: bottom;
}

.scroll-x-proxy {
  display: none;
  position: fixed;
  bottom: 0;
  z-index: 1020;
  height: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
}
.scroll-x-proxy > div {
  height: 1px;
}

.list-names {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 88px;
}
.list-names li {
  margin: 0 0.5rem 0.5rem 0;
  background-color: rgba(0, 0, 0, 0.075);
  padding: 2px 4px;
  line-height: 1.2;
  border-radius: 2px;
  display: inline-block;
}

.list-products {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-products li input {
  margin-right: 0.25rem;
  position: relative;
  top: 2px;
}
.list-products li h3 {
  font-size: 14px;
}
.list-products li h4 {
  font-size: 14px;
  margin: 0.5rem 0 0.25rem;
}
.list-products li ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-products li hr {
  margin: 1rem 0;
}

.list-data {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.list-btns {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.list-btns li {
  margin: 0 4px 4px 0;
}
.list-btns li .btn {
  height: 50px;
  padding: 0 12px;
  font-size: 16px;
  line-height: 48px;
  border-radius: 3px;
}
.list-btns.list-btns-sm li {
  margin: 0 0.25rem 0.25rem 0;
}
.list-btns.list-btns-sm li .btn {
  height: 28px;
  padding: 0 8px;
  font-size: 13px;
  line-height: 26px;
}
.list-btns.flex-column li {
  margin: 0 0 0.5rem 0;
}
.list-btns .orders-update-toast .toast-content {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(238, 90, 90, 0.4);
  animation: toast-pulse 2s infinite;
  transition: all 0.2s ease;
}
.list-btns .orders-update-toast .toast-content:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(238, 90, 90, 0.5);
}
.list-btns .orders-update-toast .toast-content .toast-close {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  line-height: 1;
  padding: 0 0 0 0.5rem;
  cursor: pointer;
  opacity: 0.8;
}
.list-btns .orders-update-toast .toast-content .toast-close:hover {
  opacity: 1;
}

@keyframes toast-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}
.list-side {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 0;
}
.list-side li a {
  display: block;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #808080;
  transition: 0.2s;
}
.list-side li a:hover {
  background-color: #eee;
}

.list-prize {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-prize li {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}
.list-prize li span {
  font-size: 18px;
}
.list-prize li label {
  margin: 0 0 0 2px;
  white-space: nowrap;
  font-size: 12px;
}
.list-prize li div.text-xs {
  margin-left: 2px;
  white-space: nowrap;
}

.list-toggle {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-itmes: center;
}
.list-toggle li {
  margin: 0 0.25rem 0.25rem 0;
  padding: 4px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: 0.2s;
  cursor: pointer;
  border-radius: 2px;
  font-size: 14px;
}
.list-toggle li:hover {
  background-color: rgba(0, 0, 0, 0.08);
}
.list-toggle li.active {
  background-color: #E56600;
  color: #fff;
}

.list-toggle-remove {
  margin-top: 6px;
}
.list-toggle-remove li {
  position: relative;
  color: #fff;
}
.list-toggle-remove li .tag-remove-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: #dc3545;
  color: #fff;
  box-shadow: 0 0 0 2px #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-toggle-remove li .tag-remove-badge .material-symbols-rounded {
  font-size: 13px;
  line-height: 1;
}
.list-toggle-remove li:hover {
  opacity: 0.85;
}
.list-toggle-remove li.marked {
  background-color: #fdecea;
  border-style: dashed;
  border-color: #dc3545;
  opacity: 0.7;
}
.list-toggle-remove li.marked .tag-text {
  text-decoration: line-through;
  color: #dc3545;
}
.list-toggle-remove li.marked .tag-remove-badge {
  background-color: #6c757d;
}

.list-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.list-specs.list-specs-btn {
  font-size: 14px;
  margin-bottom: 0.5rem;
}
.list-specs.list-specs-btn > div {
  background-color: rgba(0, 0, 0, 0.08);
  padding: 0.25rem;
  transition: 0.2s;
  margin-bottom: 0.25rem;
  cursor: pointer;
  border-radius: 4px;
}
.list-specs.list-specs-btn > div:hover {
  background-color: rgba(0, 0, 0, 0.16);
}
.list-specs > div {
  display: flex;
  margin-bottom: 0.25rem;
  position: relative;
}
.list-specs > div div {
  white-space: nowrap;
  padding: 2px 6px;
  color: #fff;
  border-radius: 2px;
  margin-right: 0.25rem;
}
.list-specs > div div.product {
  background-color: #96c;
}
.list-specs > div div.info {
  background-color: #17a2b8;
}
.list-specs > div div.warning {
  background-color: #ffc107;
  color: #333;
}
.list-specs > div div.gray-dark {
  background-color: #333;
}
.list-specs > div div.success {
  background-color: #28a745;
}
.list-specs > div div.danger {
  background-color: #e44;
}
.list-specs > div .material-symbols-rounded {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.1);
}

.list-specs-border {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.list-specs-border li {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4px 12px;
  margin: 0 0.5rem 0.5rem 0;
  border-radius: 2px;
}

.list-page {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.list-page li {
  height: 44px;
  line-height: 44px;
  background-color: #f3f3f3;
  transition: 0.2s;
  margin: 0 4px 4px 0;
  padding: 0 10px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 3px;
}
.list-page li:hover {
  background-color: #ddd;
  color: #333;
}
.list-page li.active {
  background-color: #E56600;
  color: #fff;
}

.list-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.list-badges li {
  margin-right: 0.25rem;
}

.list-radio {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 10px 10px 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  overflow: hidden;
  font-size: 14px;
}
.list-radio li {
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: 0.2s;
}
.list-radio li.grow {
  flex-grow: 1;
  text-align: center;
}
.list-radio li:hover {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.3);
}
.list-radio li.active {
  background-color: #E56600;
  color: #fff;
}

.list-logs {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.list-logs > li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 8px;
  padding-bottom: 8px;
}
.list-logs > li h4 {
  font-size: 16px;
  margin: 0;
}
.list-logs > li h4 label {
  font-size: 13px;
  letter-spacing: 1px;
  margin: 0 6px 0 0;
}

.list-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.list-icons li {
  margin: 0 2px 2px 0;
}
.list-icons li a, .list-icons li span {
  display: block;
}

.list-select {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-select li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
.list-select li h3 {
  font-size: 18px;
  margin: 0;
}

.header-main {
  padding: 0 1rem;
  display: flex;
  align-items: center;
  color: #fff;
  transition: 0.4s;
  background-color: #E56600;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 48px;
}
@media (max-width: 992px) {
  .header-main {
    padding: 0 0.5rem;
  }
}
.line .header-main {
  background-color: #06c755;
}
.print .header-main {
  background-color: #399;
}
.header-main h1 {
  font-size: 21px;
  margin: 0 3rem 0 0;
}
@media (max-width: 1200px) {
  .header-main h1 {
    margin: 0 1.5rem 0 0;
  }
}
@media (max-width: 992px) {
  .header-main h1 {
    margin: 0 1rem 0 0;
    font-size: 18px;
  }
}
.header-main a {
  color: #fff;
}
.header-main a span {
  font-weight: normal;
  margin-right: 6px;
}

.app-link {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
}
.app-link:hover {
  color: #fff;
}
.app-link .btn-close {
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 4px;
  font-size: 16px;
}
.app-link .center {
  display: flex;
  gap: 0.75rem;
}
.app-link .center img {
  width: 48px;
  border-radius: 8px;
}
.app-link .center h3 {
  font-size: 16px;
  margin: 0;
}
.app-link .center h3 b {
  display: block;
  font-size: 20px;
}
.app-link h4 {
  font-size: 16px;
  border: 1px solid #fff;
  padding: 6px 12px;
  border-radius: 4px;
  margin: 0;
}

.nav-main {
  flex-grow: 1;
}
.nav-main > ul {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-main > ul > li {
  position: relative;
  flex-shrink: 0;
}
.nav-main > ul > li:not(:last-child) {
  margin-right: 0.5rem;
}
@media (max-width: 1200px) {
  .nav-main > ul > li:not(:last-child) {
    margin-right: 0.25rem;
  }
}
@media (max-width: 992px) {
  .nav-main > ul > li:not(:last-child) {
    margin-right: 0;
  }
}
.nav-main > ul > li:last-child ul {
  left: auto;
  right: 0;
}
@media (hover: hover) and (pointer: fine) {
  .nav-main > ul > li:hover > a, .nav-main > ul > li:hover > span {
    background-color: rgba(0, 0, 0, 0.1);
  }
  .nav-main > ul > li:hover ul {
    display: block;
  }
}
.nav-main > ul > li.submenu-open > a, .nav-main > ul > li.submenu-open > span {
  background-color: rgba(0, 0, 0, 0.1);
}
.nav-main > ul > li.submenu-open ul {
  display: block;
}
.nav-main > ul > li.active > a, .nav-main > ul > li.active > span {
  background-color: rgba(0, 0, 0, 0.2);
}
.nav-main > ul > li > a, .nav-main > ul > li > span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.4s;
  height: 48px;
  line-height: 48px;
}
@media (max-width: 1200px) {
  .nav-main > ul > li > a, .nav-main > ul > li > span {
    padding: 0 8px;
    font-size: 13px;
  }
}
@media (max-width: 992px) {
  .nav-main > ul > li > a, .nav-main > ul > li > span {
    padding: 0 6px;
    font-size: 12px;
  }
}
.nav-main > ul > li > a.router-link-active, .nav-main > ul > li > span.router-link-active {
  background-color: rgba(0, 0, 0, 0.2);
}
.nav-main > ul > li ul {
  display: none;
  position: absolute;
  top: 48px;
  left: 0;
  z-index: 1000;
  width: 180px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-main > ul > li ul li a {
  display: block;
  color: #808080;
  padding: 0.75rem 1.5rem;
  transition: 0.4s;
}
.nav-main > ul > li ul li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #333;
}
.nav-main > ul > li ul li.active a {
  color: #C25700;
}

.debug {
  background-color: #e44;
  color: #fff;
  padding: 0.25rem;
  font-size: 12px;
  text-align: center;
}

.header-page {
  padding: 20px 0;
}

.header-main-front {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 53px;
}
.header-main-front .bar {
  background-color: #E56600;
  color: #fff;
  display: flex;
  align-items: center;
  height: 53px;
  line-height: 53px;
  padding: 0;
  position: relative;
  z-index: 1001;
}
.header-main-front a {
  color: #fff;
}
.header-main-front .bar:has(.header-search-bar) h1 {
  display: none;
}
.header-main-front h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  font-size: 21px;
  line-height: 50px;
  margin: 0;
  overflow: hidden;
  height: 50px;
  display: flex;
  align-items: center;
}
.header-main-front h1 img {
  height: 38px;
  display: block;
}
.header-main-front .item {
  display: block;
  width: 53px;
  height: 53px;
  line-height: 53px;
  cursor: pointer;
  text-align: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.header-main-front .header-right-icons {
  flex-shrink: 0;
}
.header-main-front .search {
  margin-left: auto;
}
.header-main-front .header-search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 20px;
  height: 34px;
  padding: 0 12px;
  margin: 0 8px;
  max-width: calc(100% - 120px);
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  z-index: 2;
}
.header-main-front .header-search-bar .header-search-icon {
  color: #C25700;
  font-size: 18px;
  flex-shrink: 0;
}
.header-main-front .header-search-bar .header-search-placeholder {
  flex: 1;
  overflow: hidden;
  height: 20px;
  position: relative;
}
.header-main-front .header-search-bar .header-search-placeholder span {
  display: block;
  font-size: 13px;
  color: rgba(229, 102, 0, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 20px;
}
.header-main-front .search-carousel-enter-active, .header-main-front .search-carousel-leave-active {
  transition: all 0.35s ease;
}
.header-main-front .search-carousel-enter {
  transform: translateY(100%);
  opacity: 0;
}
.header-main-front .search-carousel-leave-to {
  transform: translateY(-100%);
  opacity: 0;
}
@media (max-width: 480px) {
  .header-main-front h1 img {
    height: 34px !important;
  }
  .header-main-front .item {
    width: 40px !important;
  }
  .header-main-front .header-right-icons {
    gap: 4px !important;
  }
  .header-main-front .header-right-icons .item {
    width: 30px !important;
    font-size: 20px !important;
  }
}

.nav-main-front {
  position: fixed;
  left: -100%;
  top: 0;
  padding-top: 53px;
  z-index: 1000;
  width: 82%;
  max-width: 340px;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border-right: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0 24px 24px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 0.5px rgba(0, 0, 0, 0.06), 0 12px 36px rgba(0, 0, 0, 0.22);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-main-front {
    background-color: #fff;
  }
}
.nav-main-front {
  transition: 0.4s;
  height: 100vh;
  overflow-y: auto;
}
.nav-main-front.open {
  left: 0;
}
.nav-main-front > ul {
  list-style: none;
  margin: 0;
  padding: 0 0 100px 0;
}
.nav-main-front > ul > li.open > a em {
  transform: rotate(180deg);
}
.nav-main-front > ul > li.open ul {
  max-height: 600px;
}
.nav-main-front > ul > li > a {
  display: flex;
  align-items: center;
  color: #808080;
  padding: 13px 26px;
  position: relative;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-main-front > ul > li > a i {
  margin-right: 0.35rem;
  font-style: normal;
}
.nav-main-front > ul > li > a em {
  position: absolute;
  right: 0;
  top: 0;
  width: 72px;
  height: 48px;
  padding: 0 12px;
  text-align: center;
  line-height: 48px;
  transition: 0.2s;
}
.nav-main-front > ul > li ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: 0.4s;
  background-color: rgba(120, 120, 128, 0.1);
}
.nav-main-front > ul > li ul li a {
  display: block;
  color: #808080;
  padding: 11px 26px;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-main-front > ul > li ul li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #C25700;
}
.nav-main-front > ul > li ul li a i {
  margin-right: 0.35rem;
  font-style: normal;
}

.footer-main {
  background-color: #f5f5f5;
  padding: 2rem 0;
}
@media (min-width: 992px) {
  .footer-main {
    padding: 4rem 0;
  }
}
.footer-main address {
  font-size: 12px;
  color: #808080;
  text-align: center;
  margin-bottom: 0.5rem;
}

.list-footer {
  list-style: none;
  padding: 0;
  color: #000;
  display: flex;
  flex-wrap: wrap;
}
.list-footer > li {
  margin-bottom: 3rem;
  display: flex;
  min-width: 100%;
}
@media (min-width: 992px) {
  .list-footer > li {
    min-width: 50%;
    margin-bottom: 6rem;
  }
}
.list-footer > li h3 {
  font-size: 18px;
  min-width: 32%;
  color: #808080;
}
.list-footer > li h4 {
  font-size: 17px;
  margin-bottom: 0.25rem;
}
.list-footer > li h5 {
  font-size: 12px;
}
.list-footer ul {
  margin: 0;
  font-size: 16px;
  list-style: none;
  padding: 0;
}
.list-footer ul li:not(:last-child) {
  margin-bottom: 0.5rem;
}
.list-footer ul li a {
  display: block;
  color: #000;
}
.list-footer ul li a:hover {
  color: #333;
}

.fixed-line {
  position: fixed;
  bottom: 96px;
  right: 1rem;
  z-index: 99;
}

.fixed-livechat {
  position: fixed;
  bottom: 152px;
  right: 1rem;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #E56600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
.fixed-livechat:hover, .fixed-livechat:focus {
  color: #fff;
}
.fixed-livechat .material-symbols-rounded {
  font-size: 30px;
}
.fixed-livechat .fixed-livechat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #fff;
  color: #dc3545;
  border: 1px solid #dc3545;
  font-size: 11px;
  font-weight: 600;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter {
  background-color: #f5f5f5;
  padding: 6px 0 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-family: verdana;
}
.filter .box-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.filter .box-filter input, .filter .box-filter select {
  padding: 4px 6px;
  margin: 0 4px 4px 0;
  width: 110px;
}
.filter .box-filter input.active, .filter .box-filter select.active {
  border-color: #E56600;
  background-color: rgba(229, 102, 0, 0.1);
  box-shadow: 0 0 0 2px rgba(229, 102, 0, 0.12);
}
.filter .box-filter input[type=datetime-local] {
  width: 240px;
  padding-right: 28px;
  height: 50px;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  font-size: 16px;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.filter .box-filter input[type=datetime-local]:focus {
  outline: 0;
  border-color: #bbb;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}
.filter .box-filter input[type=datetime-local].active {
  border-color: #E56600;
  box-shadow: 0 0 0 2px rgba(229, 102, 0, 0.15);
  color: #C25700;
  background-color: rgba(229, 102, 0, 0.1);
}
.filter .box-filter input[type=datetime-local].lg {
  width: 250px;
}
.filter .box-filter input[type=datetime-local].xl {
  width: 320px;
}
.filter .box-filter input[type=datetime-local].sm {
  width: 70px;
}
.filter .box-filter button {
  height: 50px;
  padding: 0 10px;
  margin: 0 4px 4px 0;
  font-size: 16px;
  border-radius: 3px;
  line-height: 48px;
}
.filter .box-filter button.active {
  background-color: #17a2b8 !important;
  border-color: #17a2b8 !important;
  color: #fff !important;
}
.filter .filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 2px 0;
  margin-right: 4px;
}
.filter .filter-btn-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0 4px 4px 0;
}
.filter .filter-btn-wrap .btn {
  margin: 0;
}
.filter .filter-input {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.filter .btn-clear-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  background-color: #E56600;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.15s;
  z-index: 1;
}
.filter .btn-clear-badge:hover {
  background-color: rgb(178, 79.2838427948, 0);
}
.filter .filter-group-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  margin: 0 4px 4px 0;
  border-radius: 2px;
  color: #fff;
  white-space: nowrap;
  line-height: 1.5;
}
.filter .filter-group-label.label-status {
  background-color: #17a2b8;
}
.filter .filter-group-label.label-member {
  background-color: #1a4789;
}
.filter .filter-group-label.label-product {
  background-color: #96c;
}
.filter .filter-group-label.label-ops {
  background-color: #28a745;
}
.filter .filter-group-label.label-time {
  background-color: #ffc107;
  color: #333;
}

.extra-data input, .extra-data textarea {
  border: 0;
  font-size: 14px;
}
.extra-data h6 {
  font-size: 12px;
  margin: 0 0 4px 6px;
  color: #808080;
  font-weight: normal;
}

break {
  flex-basis: 100%;
  width: 0;
  height: 0;
  overflow: hidden;
}

#print {
  display: none;
}

@page {
  margin: 0;
}
@media print {
  html, body {
    box-sizing: border-box;
    margin: 0;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    color: #000;
  }
  body {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
  }
  table {
    color: #000;
  }
  .header-main, .footer-main, .box-print-func, .no-print, .main-main .main-table, .getUsers, .filter {
    display: none !important;
  }
  .noty_layout {
    visibility: hidden;
  }
  .list-print-users > li {
    margin-bottom: 5mm;
  }
  body.printing-picking #print:not(.print-picking-list),
  body.printing-shipment #print:not(.print-shipment) {
    display: none !important;
  }
  #print {
    font-size: 14pt;
    display: block;
    font-weight: 400;
  }
  #print .page {
    page-break-before: always;
    border: 0;
    padding: 0;
  }
  #print .big-name {
    font-size: 48pt;
    line-height: 48pt;
    margin-bottom: 4mm;
  }
  #print .big {
    font-size: 18pt;
  }
  #print .header {
    display: flex;
    font-size: 9pt;
  }
  #print .header span {
    margin-right: 12pt;
  }
  #print .header em {
    margin-left: auto;
    font-style: normal;
  }
  #print h1 {
    text-align: center;
    font-size: 18pt;
    font-weight: 400;
  }
  #print h2 {
    font-size: 18pt;
    font-weight: 400;
  }
  #print ul {
    list-style: none;
    padding: 0;
    font-weight: 400;
  }
  #print .total {
    margin: 2mm 0;
    font-size: 18pt;
  }
  #print .notice {
    margin-bottom: 4mm;
  }
  .list-shipment-orders-print {
    line-height: 16pt;
  }
  .list-shipment-orders-print > li {
    margin-bottom: 2mm;
    padding-bottom: 2mm;
    border-bottom: 1pt solid #000;
  }
  .list-shipment-orders-print > li .row .col {
    text-align: right;
  }
  .list-shipment-orders-print > li .row .col:last-child {
    max-width: 40pt;
  }
}
.table-picking-list {
  font-size: 14pt;
  width: 100%;
}
.table-picking-list th, .table-picking-list td {
  border: 1px solid #000 !important;
  color: #000 !important;
}
.table-picking-list th.name-column div, .table-picking-list td.name-column div {
  width: 55mm;
}
.table-picking-list th {
  white-space: nowrap;
}

.list-shipment-marketing {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-shipment-marketing .page {
  padding-bottom: 4mm;
  margin-bottom: 4mm;
}
.list-shipment-marketing .page img {
  width: 100%;
  margin-bottom: 2mm;
}
.list-shipment-marketing .page pre {
  color: #000;
  border: 0;
  margin-bottom: 2mm;
}

.shipment-marketing-section {
  margin-bottom: 4mm;
}
.shipment-marketing-section img {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2mm;
}
.shipment-marketing-section pre {
  color: #000;
  border: 0;
  margin-bottom: 2mm;
}

.modal-wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-box {
  width: 600px;
  padding: 1.5rem;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.modal-box h2 {
  font-size: 21px;
}

.modal-delete .modal-footer {
  border: 0;
}

#modalBackorderDispose .modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}
#modalBackorderDispose .bo-body {
  padding: 22px 26px;
  background: #f8fafc;
}
#modalBackorderDispose .bo-intro {
  font-size: 16.5px;
  color: #334155;
}
#modalBackorderDispose .bo-grp {
  font-size: 14px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  margin: 18px 2px 10px;
}
#modalBackorderDispose .bo-grp:first-of-type {
  margin-top: 6px;
}
#modalBackorderDispose .bo-opt {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-left-width: 6px;
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  margin-bottom: 12px;
  transition: box-shadow 0.12s, transform 0.12s;
}
#modalBackorderDispose .bo-opt:hover {
  box-shadow: 0 5px 16px rgba(16, 24, 40, 0.13);
  transform: translateY(-1px);
}
#modalBackorderDispose .bo-opt.disabled {
  opacity: 0.55;
  pointer-events: none;
}
#modalBackorderDispose .bo-opt .bo-letter {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  font-weight: 800;
  color: #fff;
  margin-top: 1px;
}
#modalBackorderDispose .bo-opt .bo-main {
  flex: 1 1 auto;
  min-width: 0;
}
#modalBackorderDispose .bo-opt .t {
  font-weight: 700;
  font-size: 18.5px;
  color: #1e293b;
  line-height: 1.35;
}
#modalBackorderDispose .bo-opt .t .tag {
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
#modalBackorderDispose .bo-opt .d {
  font-size: 15px;
  color: #556070;
  line-height: 1.65;
  margin-top: 5px;
}
#modalBackorderDispose .bo-a {
  border-left-color: #dc3545;
}
#modalBackorderDispose .bo-a .bo-letter {
  background: #dc3545;
}
#modalBackorderDispose .bo-a .tag {
  background: #fde8e8;
  color: #b02a37;
}
#modalBackorderDispose .bo-b {
  border-left-color: #2563eb;
}
#modalBackorderDispose .bo-b .bo-letter {
  background: #2563eb;
}
#modalBackorderDispose .bo-b .tag {
  background: #e0edff;
  color: #1d4ed8;
}
#modalBackorderDispose .bo-c {
  border-left-color: #f59e0b;
}
#modalBackorderDispose .bo-c .bo-letter {
  background: #f59e0b;
}
#modalBackorderDispose .bo-c .tag {
  background: #fef0d9;
  color: #b45309;
}
#modalBackorderDispose .bo-d {
  border-left-color: #16a34a;
}
#modalBackorderDispose .bo-d .bo-letter {
  background: #16a34a;
}
#modalBackorderDispose .bo-d .tag {
  background: #dcfce7;
  color: #15803d;
}
#modalBackorderDispose .bo-warn {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 11px;
  padding: 13px 16px;
  margin: 8px 0 16px;
  font-size: 14.5px;
  color: #991b1b;
  line-height: 1.65;
}
#modalBackorderDispose .bo-warn b {
  font-size: 15.5px;
}
#modalBackorderDispose .tag-lock {
  background: #fee2e2 !important;
  color: #991b1b !important;
}
#modalBackorderDispose .bo-tno {
  font-weight: 800;
  color: #7f1d1d;
  margin: 0 2px;
  white-space: nowrap;
}
#modalBackorderDispose .bo-copy {
  margin-left: 5px;
  cursor: pointer;
  opacity: 0.75;
  font-size: 13px;
}
#modalBackorderDispose .bo-copy:hover {
  opacity: 1;
  color: #b91c1c;
}

#matchUsers {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem;
}

.list-select-users {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.list-select-users > li {
  padding: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
}
.list-select-users > li.active {
  background-color: #ffeeba;
}
.list-select-users > li img {
  margin-right: 0.5rem;
}
.list-select-users > li > ul {
  list-style: none;
  padding: 0;
  margin-left: 0.5rem;
  font-size: 13px;
}
.list-select-users > li button {
  margin-left: auto;
}

.list-cvs {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}
.list-cvs li {
  margin-bottom: 0.5rem;
  padding: 6px 12px;
  background-color: #eee;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  border-radius: 4px;
  transition: 0.2s;
}
.list-cvs li:hover {
  background-color: #ddd;
}
.list-cvs li span {
  margin-right: 1rem;
}

.user-fb img {
  margin-bottom: 0.25rem;
}
.user-fb div {
  white-space: nowrap;
}

.fbuid-confirmed {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  color: #2e7d32;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 4px;
  padding: 1px 5px;
  gap: 2px;
  margin-top: 2px;
}
.fbuid-confirmed .material-symbols-rounded {
  font-size: 0.85rem;
}

.avatar {
  width: 50px;
  height: 50px;
}

.main-table {
  padding: 4px 0;
  display: block !important;
}

.product-img-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-img {
  position: relative;
  overflow: hidden;
}
.product-img:hover .remove {
  right: 0;
}
.product-img:hover button {
  bottom: 4px;
}
.product-img:hover .product-img-buttons {
  bottom: 4px;
}
.product-img .small-video {
  height: 140px;
  width: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eee;
  border-radius: 2px;
}
.product-img .small-video span {
  font-size: 48px;
  color: #aaa;
}
.product-img img {
  max-width: 140px;
  height: 140px;
  border-radius: 2px;
}
.product-img .remove {
  position: absolute;
  right: -40px;
  top: 0;
  cursor: pointer;
  transition: 0.2s;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ccc;
  border-radius: 2px;
  transition: 0.4s;
}
.product-img .remove:hover {
  background-color: #e44;
  color: #fff;
}
.product-img button {
  position: absolute;
  left: 4px;
  bottom: -40px;
  font-size: 11px;
  background-color: #17a2b8;
  color: #fff;
  line-height: 1;
  padding: 5px 7px;
  border-radius: 2px;
  border: 0;
  transition: 0.4s;
}
.product-img .product-img-buttons {
  position: absolute;
  left: 4px;
  bottom: -70px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: 0.4s;
}
.product-img .product-img-buttons button {
  position: static;
  font-size: 10px;
  padding: 4px 6px;
  white-space: nowrap;
}
.product-img .product-img-buttons .btn-edit-image {
  background-color: #6c757d;
}
.product-img .product-img-buttons .btn-edit-image:hover {
  background-color: #5a6268;
}
.product-img .product-img-buttons .btn-set-cover {
  background-color: #17a2b8;
}
.product-img .product-img-buttons .btn-set-cover:hover {
  background-color: rgb(17.3333333333, 122.0869565217, 138.6666666667);
}
.product-img .product-img-buttons .btn-set-youtube-time {
  background-color: #c00;
  color: #fff;
}
.product-img .product-img-buttons .btn-set-youtube-time:hover {
  background-color: #a00;
}
.product-img .product-img-buttons .btn-set-youtube-time {
  padding: 3px 5px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img .product-img-buttons .btn-set-youtube-time .material-symbols-rounded {
  font-size: 14px;
}
.product-img .product-img-buttons .btn-set-youtube-time:hover {
  background-color: #5a6268;
}
.product-img .product-img-buttons .btn-set-youtube-time.is-hidden {
  background-color: #dc3545;
}
.product-img .product-img-buttons .btn-set-youtube-time.is-hidden:hover {
  background-color: #c82333;
}
.product-img label {
  position: absolute;
  left: 4px;
  top: 4px;
  font-size: 12px;
  background-color: #17a2b8;
  color: #fff;
  line-height: 1;
  padding: 8px;
  border-radius: 2px;
  border: 0;
}
.product-img label.label-hidden {
  left: auto;
  right: 4px;
  background-color: #dc3545;
}
.product-img label.label-yt-time {
  left: auto;
  right: 4px;
  top: auto;
  bottom: 24px;
  background-color: rgba(160, 0, 0, 0.85);
  font-size: 9px;
  padding: 2px 5px;
  white-space: nowrap;
}
.product-img label.size-label {
  top: auto;
  bottom: 4px;
  right: 4px;
  left: auto;
  background-color: rgba(0, 0, 0, 0.6);
  font-size: 10px;
  padding: 4px 6px;
}

.price-sold {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-sold .sold {
  font-size: 12px;
}

.price {
  color: #C25700;
  font-size: 19px;
  font-weight: 700;
}
.price small {
  margin-right: 2px;
  font-size: 14px;
}

.product-actions li.fb-order-cta-item {
  display: block;
  width: 100%;
}

.fb-order-cta {
  margin: 0 0 0.5rem;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fb-order-cta__text {
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.fb-order-cta__text .fb-order-cta__fb {
  display: block;
  flex: 0 0 auto;
}
.fb-order-cta__title {
  display: block;
  color: #b45309;
  font-weight: 700;
}
.fb-order-cta__note {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
}
.fb-order-cta__link {
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  vertical-align: middle;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.fb-order-cta__ext {
  color: #1877f2 !important;
  font-size: 16px;
  line-height: 1;
}

.list-spec-buy {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
}
.list-spec-buy li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.list-spec-buy li:not(.is-sold-out):hover {
  background-color: #f5f5f5;
}
.list-spec-buy li.is-sold-out {
  color: #aaa;
}
.list-spec-buy li.is-sold-out .price {
  color: #aaa;
}
.list-spec-buy li .spec-info {
  flex: 1 1 0;
  min-width: 0;
  margin-right: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
}
.list-spec-buy li .spec-right-col {
  flex: 0 0 auto;
}
.list-spec-buy li h5 {
  flex-basis: 100%;
  margin: 0;
  font-size: 14px;
}
.list-spec-buy li .price {
  font-size: 16px;
}
.list-spec-buy li .price small {
  font-size: 12px;
}
.list-spec-buy li .spec-bonus-points {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 6px;
  font-size: 12px;
  font-weight: bold;
  background-color: #b45309;
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
}
.list-spec-buy li .spec-bonus-points .material-symbols-rounded {
  font-size: 14px;
}
.list-spec-buy li .spec-bonus-points .spec-bonus-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: #fff;
  color: #b45309;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 400px) {
  .list-spec-buy li {
    padding: 0.5rem 0.35rem;
  }
  .list-spec-buy li .spec-info {
    margin-right: 0.35rem;
    gap: 2px 4px;
  }
  .list-spec-buy li .price {
    font-size: 15px;
  }
  .list-spec-buy li .spec-bonus-points {
    padding: 1px 5px;
    font-size: 11px;
  }
  .list-spec-buy li .spec-bonus-points .material-symbols-rounded {
    font-size: 12px;
  }
  .list-spec-buy li .spec-bonus-points .spec-bonus-help {
    width: 13px;
    height: 13px;
    font-size: 10px;
  }
  .list-spec-buy .input-quantity span {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 16px;
  }
  .list-spec-buy .input-quantity input {
    width: 34px;
    height: 28px;
  }
}
.list-spec-buy .store-stocks-list {
  flex-basis: 100%;
  list-style: none;
  padding: 4px 0 0 0;
  margin: 4px 0 0 0;
  font-size: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.list-spec-buy .store-stocks-list li {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  color: #808080;
}
.list-spec-buy .store-stocks-list li.store-stock-ok .store-qty {
  color: #28a745;
  font-weight: 500;
}
.list-spec-buy .store-stocks-list li.store-stock-reorder .store-qty-reorder {
  color: #ffc107;
}
.list-spec-buy .store-stocks-list .store-name {
  min-width: 60px;
}

.input-quantity {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.input-quantity.input-quantity-lg span {
  width: 38px;
  height: 38px;
  line-height: 38px;
}
.input-quantity.input-quantity-lg input {
  height: 38px;
  font-size: 16px;
}
.input-quantity span {
  background-color: #f5f5f5;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  color: #808080;
  font-size: 18px;
}
.input-quantity span:hover {
  background-color: #ddd;
  color: #333;
}
.input-quantity span:first-child {
  border-right: 1px solid #ddd;
}
.input-quantity span:last-child {
  border-left: 1px solid #ddd;
}
.input-quantity input {
  font-size: 14px;
  width: 40px;
  height: 32px;
  padding: 0;
  border-radius: 0;
  border: 0;
  text-align: center;
}

#modalAddOrder .input-quantity input {
  width: 60px;
}

.preorder-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  text-align: center;
  margin-left: 0.5rem;
  border-radius: 2px;
}

.product-name {
  color: #000;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) {
  .product-name {
    font-size: 36px;
  }
}

.product-sold {
  font-size: 13px;
  color: #999;
}

.note-editable img, .desc img {
  float: none !important;
  display: block !important;
  max-width: 100%;
  height: auto;
}
.note-editable img[style*=float], .desc img[style*=float] {
  float: none !important;
}

.note-editor {
  max-width: 400px !important;
  margin: 0 auto;
}
.note-editor .dropdown-style h1 {
  font-size: 20px !important;
}
.note-editor .note-editable {
  min-height: 500px !important;
  max-width: 400px !important;
}
.note-editor .note-editable h1 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
  line-height: 1.2;
}
.note-editor .note-editable img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.note-editor .note-editable img[src*=firebasestorage] {
  min-height: 50px;
  min-width: 50px;
  background: #f5f5f5;
  border: 1px dashed #ccc;
}
.note-editor .note-editable img[src*=firebasestorage].loaded {
  background: none;
  border: none;
}

img[style*=float] {
  float: none !important;
  display: block !important;
}

@media (min-width: 769px) {
  .desc img:not(.note-editable img) {
    margin: 5px 0 5px 0 !important;
  }
  .product-desc img, .product-description img {
    margin: 5px 0 5px 0 !important;
  }
}
@media (max-width: 768px) {
  .note-editable img:not([style*=margin]), .desc img:not([style*=margin]) {
    margin: 5px auto;
  }
}
.big-img {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eee;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}
.big-img .big-img-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  will-change: transform;
}
.big-img .big-img-slider .big-img-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.big-img .img-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 4px 6px;
  z-index: 2;
}
.big-img .img-dots .img-dots-track {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
}
.big-img .img-dots .img-dots-track span {
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
}
.big-img .img-dots .img-dots-track span.active {
  background-color: #fff;
}
.big-img .big-img-play {
  position: absolute;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 2;
}
.big-img .big-img-prev, .big-img .big-img-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.big-img .big-img-prev:hover, .big-img .big-img-next:hover {
  background: rgba(0, 0, 0, 0.6);
}
.big-img .big-img-prev.is-edge, .big-img .big-img-next.is-edge {
  background: rgba(0, 0, 0, 0.15);
  cursor: default;
}
.big-img .big-img-prev.is-edge:hover, .big-img .big-img-next.is-edge:hover {
  background: rgba(0, 0, 0, 0.15);
}
.big-img .big-img-prev .material-symbols-rounded, .big-img .big-img-next .material-symbols-rounded {
  font-size: 28px;
}
.big-img .big-img-prev .big-img-dot, .big-img .big-img-next .big-img-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  display: block;
}
.big-img .big-img-prev {
  left: 8px;
}
.big-img .big-img-next {
  right: 8px;
}
.big-img .box-file {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.big-img .box-file img, .big-img .box-file video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.big-img .youtube-box {
  position: relative;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.big-img .youtube-box.is-short {
  justify-content: flex-start;
}
.big-img .youtube-box.youtube-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  touch-action: none;
  overscroll-behavior: none;
}
.big-img .youtube-box.youtube-fullscreen .youtube-ratio-box {
  flex: 1;
  height: auto;
  padding-bottom: 0;
  position: relative;
}
.big-img .youtube-box.youtube-fullscreen .youtube-ratio-box.is-short {
  width: 100%;
}
.big-img .youtube-box:fullscreen {
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.big-img .youtube-box:fullscreen .youtube-ratio-box {
  flex: 1;
  height: auto;
  padding-bottom: 0;
  position: relative;
}
.big-img .youtube-box:fullscreen .youtube-ratio-box.is-short {
  width: 100%;
}
.big-img .youtube-box:-webkit-full-screen {
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.big-img .youtube-box:-webkit-full-screen .youtube-ratio-box {
  flex: 1;
  height: auto;
  padding-bottom: 0;
  position: relative;
}
.big-img .youtube-box:-webkit-full-screen .youtube-ratio-box.is-short {
  width: 100%;
}
.big-img .youtube-ratio-box {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.big-img .youtube-ratio-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.big-img .youtube-ratio-box.is-short {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: none;
  padding-bottom: 0;
  margin: 0;
}
.big-img .youtube-ratio-box.is-short iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.big-img .youtube-controls {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  padding: 6px 8px;
}
.big-img .youtube-ctrl-info {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.big-img .youtube-ctrl-title {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.big-img .youtube-ctrl-channel {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.big-img .youtube-ctrl-disclaimer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.big-img .youtube-ctrl-btn {
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.big-img .youtube-ctrl-btn:hover {
  background-color: rgba(0, 0, 0, 0.85);
}
.big-img .youtube-ctrl-btn .material-symbols-rounded {
  font-size: 22px;
}
.big-img .badge {
  position: absolute;
  left: 8px;
  top: 8px;
}
.big-img .frame-inspect {
  position: absolute;
  right: 8px;
  top: 8px;
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.5);
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  transition: 0.4s;
}
.big-img .frame-inspect:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.big-img video::-webkit-media-controls {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.big-img video:hover::-webkit-media-controls {
  opacity: 1;
}

.list-small-imgs {
  list-style: none;
  margin: 0.5rem 0 0 0;
  padding: 0;
  display: flex;
  width: 100%;
  overflow: auto;
}
@media (min-width: 768px) {
  .list-small-imgs {
    flex-wrap: wrap;
  }
}
.list-small-imgs li {
  margin: 0 0.5rem 0.5rem 0;
  position: relative;
  cursor: pointer;
  background-color: #eee;
  text-align: center;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.list-small-imgs li:last-child {
  margin-right: 0;
}
.list-small-imgs li::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #E56600;
  width: 0;
  height: 3px;
  transition: 0.6s;
}
.list-small-imgs li.active::after {
  width: 100%;
}
.list-small-imgs li img {
  height: 60px;
  min-width: 40px;
}
.list-small-imgs li .small-video {
  min-width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.list-small-imgs li .small-video::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.list-small-imgs li .small-video span {
  font-size: 36px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.coupon {
  background-color: #e44;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#image-show {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
#image-show .box-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
#image-show .box-img img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  will-change: transform;
}
#image-show a {
  position: fixed;
  right: 1rem;
  top: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s;
}
#image-show a:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
#image-show .zoom-controls {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
}
#image-show .zoom-controls a {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
#image-show .zoom-controls a span {
  font-size: 26px;
}

.product-desc {
  white-space: pre-wrap;
  line-height: 1.6;
}
.product-desc strong, .product-desc b {
  font-weight: bold !important;
}
.product-desc em, .product-desc i {
  font-style: italic !important;
}
.product-desc u {
  text-decoration: underline !important;
}
.product-desc s, .product-desc strike, .product-desc del {
  text-decoration: line-through !important;
}
.product-desc h1, .product-desc h2, .product-desc h3, .product-desc h4, .product-desc h5, .product-desc h6 {
  font-weight: bold !important;
  margin: 1rem 0 0.5rem !important;
}
.product-desc h1 {
  font-size: 2rem !important;
}
.product-desc h2 {
  font-size: 1.5rem !important;
}
.product-desc h3 {
  font-size: 1.25rem !important;
}
.product-desc ul, .product-desc ol {
  margin: 1rem 0 !important;
  padding-left: 2rem !important;
}
.product-desc li {
  margin-bottom: 0.5rem !important;
}
.product-desc p {
  margin: 0.5rem 0 !important;
}
.product-desc img:not([style*=width]):not([style*=max-width]) {
  width: 50% !important;
  max-width: 400px !important;
}
.product-desc img:not([style*=height]) {
  height: auto !important;
}
.product-desc img {
  border-radius: 4px;
  display: block;
  margin: 1rem auto;
}
.product-description {
  white-space: pre-wrap;
  line-height: 1.6;
}
.product-description strong, .product-description b {
  font-weight: bold !important;
}
.product-description em, .product-description i {
  font-style: italic !important;
}
.product-description u {
  text-decoration: underline !important;
}
.product-description s, .product-description strike, .product-description del {
  text-decoration: line-through !important;
}
.product-description h1, .product-description h2, .product-description h3, .product-description h4, .product-description h5, .product-description h6 {
  font-weight: bold !important;
  margin: 1rem 0 0.5rem !important;
}
.product-description h1 {
  font-size: 2rem !important;
}
.product-description h2 {
  font-size: 1.5rem !important;
}
.product-description h3 {
  font-size: 1.25rem !important;
}
.product-description ul, .product-description ol {
  margin: 1rem 0 !important;
  padding-left: 2rem !important;
}
.product-description li {
  margin-bottom: 0.5rem !important;
}
.product-description p {
  margin: 0.5rem 0 !important;
}

body.youtube-fullscreen-active .header-main-front, body.youtube-fullscreen-active .header-main {
  display: none !important;
}

#cart {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  max-height: 150px;
  overflow: auto;
  padding: 0.5rem 1rem 4rem;
  background-color: #ffe;
  border-top: 2px solid #333;
  color: #333;
  font-size: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#cart ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
#cart button {
  padding: 8px 36px;
  border-radius: 100px;
  font-size: 14px;
}

.cart-promotion-hint {
  background: #FFF1E3;
  color: #C25700;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 6px;
  text-align: center;
  font-weight: 500;
}

@keyframes badgeNudge {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-3px);
  }
  40% {
    transform: translateX(3px);
  }
  60% {
    transform: translateX(-2px);
  }
  80% {
    transform: translateX(2px);
  }
}
.badge-nudge {
  animation: badgeNudge 0.45s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .badge-nudge {
    animation: none;
    box-shadow: 0 0 0 2px #ffd54f;
    transition: box-shadow 0.4s;
  }
}
.order-wrap {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.order-wrap .order-content {
  margin: 2rem;
  padding: 2rem;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.order-wrap .order-content img {
  max-width: 160px;
}

.list-orders-stat {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-orders-stat > li {
  margin-bottom: 2rem;
}
.list-orders-stat > li h3 {
  font-size: 18px;
}
.list-orders-stat > li table {
  font-size: 16px;
}
.list-orders-stat > li table thead {
  font-size: 14px;
}
.list-orders-stat > li table tfoot {
  font-weight: bold;
}

.table-orders {
  font-size: 15px;
  font-family: verdana;
  table-layout: fixed;
  width: 100%;
}
.table-orders td, .table-orders th {
  padding: 4px 6px !important;
  vertical-align: middle !important;
  overflow: hidden;
  word-break: break-word;
}
.table-orders thead th {
  background-color: #fff3cd !important;
  border-bottom: 2px solid #dea500 !important;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.table-orders th.col-check, .table-orders td.col-check {
  width: 30px;
}
.table-orders th.col-action, .table-orders td.col-action {
  width: 130px;
}
.table-orders th.col-member, .table-orders td.col-member {
  width: 120px;
}
.table-orders th.col-fb, .table-orders td.col-fb {
  width: 70px;
}
.table-orders th.col-product, .table-orders td.col-product {
  width: 200px;
}
.table-orders th.col-cost, .table-orders td.col-cost {
  width: 65px;
}
.table-orders th.col-cost {
  font-size: 11px;
  white-space: normal !important;
  line-height: 1.3;
}
.table-orders td.col-cost .cost-notax {
  font-size: 11px;
  color: #888;
}
.table-orders th.col-price, .table-orders td.col-price {
  width: 50px;
}
.table-orders th.col-qty, .table-orders td.col-qty {
  width: 40px;
}
.table-orders th.col-subtotal, .table-orders td.col-subtotal {
  width: 55px;
}
.table-orders th.col-delivery, .table-orders td.col-delivery {
  width: 65px;
}
.table-orders th.col-status, .table-orders td.col-status {
  width: 70px;
}
.table-orders th.col-status-inner, .table-orders td.col-status-inner {
  width: 65px;
}
.table-orders th.col-tags-inner, .table-orders td.col-tags-inner {
  width: 100px;
  overflow: visible;
}
.table-orders th.col-pt-number, .table-orders td.col-pt-number {
  width: 120px;
  overflow: visible;
}
.table-orders th.col-supplier, .table-orders td.col-supplier {
  width: 110px;
}
.table-orders th.col-info, .table-orders td.col-info {
  width: 70px;
}
.table-orders th.col-type, .table-orders td.col-type {
  width: 80px;
}
.table-orders th.col-time, .table-orders td.col-time {
  width: 120px;
}
.table-orders thead th.th-stacked {
  white-space: normal !important;
  line-height: 1.4;
}
.table-orders td.col-tags-inner .list-tags {
  flex-direction: column;
  align-items: flex-start;
}
.table-orders td.col-tags-inner .list-tags li {
  white-space: normal;
  word-break: break-all;
}
.table-orders td.col-member .list-tags li {
  white-space: normal;
  word-break: break-all;
}
.table-orders tbody tr:hover {
  background-color: rgba(229, 102, 0, 0.04) !important;
}

.td-order-time {
  border: 0 !important;
  padding: 6px !important;
  background-color: #f9f9f9;
}

.list-order-time {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-order-time > li {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  display: flex;
  background-color: #fff;
}
.list-order-time > li:not(:last-child) {
  margin-bottom: 6px;
}
.list-order-time > li span {
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  padding: 4px 6px;
  font-size: 14px;
  line-height: 14px;
}
.list-order-time > li b {
  padding: 4px 8px;
  font-size: 14px;
  line-height: 14px;
  font-weight: normal;
}
.list-order-time > li.level-1 {
  background-color: rgb(49.0797546012, 116.717791411, 215.9202453988);
  color: #fff;
}
.list-order-time > li.level-2 {
  background-color: #1a4789;
  color: #fff;
}
.list-order-time > li.level-3 {
  background-color: rgb(92.8405797101, 216.1594202899, 121);
  color: #fff;
}
.list-order-time > li.level-4 {
  background-color: #28a745;
  color: #fff;
}
.list-order-time > li.level-5 {
  background-color: #ffc107;
  color: #fff;
}
.list-order-time > li.level-6 {
  background-color: #e90;
  color: #fff;
}
.list-order-time > li.level-7 {
  background-color: #e44;
  color: #fff;
}
.list-order-time > li.level-8 {
  background-color: rgb(233.75, 21.25, 21.25);
  color: #fff;
}
.list-order-time > li.level-9 {
  background-color: #96c;
  color: #fff;
}
.list-order-time > li.level-10 {
  background-color: rgb(127.5, 63.75, 191.25);
  color: #fff;
}

.box-switch {
  display: flex;
  align-items: center;
  margin: 0 0.5rem;
}
.box-switch label {
  margin: 0 0.5rem 0 0;
}

#modalOrdersStat tbody tr.stat-group-even > td,
#modalOrdersStat tbody tr.stat-group-even:hover > td {
  background-color: #ffffff;
}
#modalOrdersStat tbody tr.stat-group-odd > td,
#modalOrdersStat tbody tr.stat-group-odd:hover > td {
  background-color: #eef2f7;
}

.orders-sticky-bar {
  position: sticky;
  top: 48px;
  z-index: 100;
  background-color: #fff;
  padding: 8px 0;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.15);
}
@media print {
  .orders-sticky-bar {
    position: static;
    box-shadow: none;
  }
}

.box-posts {
  padding: 1rem 0 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #f9f9f9;
}
.box-posts header {
  margin-bottom: 0.5rem;
}
.box-posts header:hover .toggle {
  color: #808080;
}
.box-posts header h2 {
  position: relative;
  margin: 0;
}
.box-posts header h2 .toggle {
  position: absolute;
  top: -5px;
  font-size: 36px;
  transition: 0.2s;
  color: #ccc;
  cursor: pointer;
}
.box-posts header h2 .toggle.open {
  transform: rotate(180deg);
}
.box-posts table {
  margin: 0;
}

.left-fixed {
  height: calc(100vh - 48px);
  overflow-y: auto;
}

.posts-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 200px;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  font-size: 1.1rem;
  color: #555;
  border-radius: 4px;
}

.comments-product {
  margin-bottom: 1rem;
  padding: 0.5rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.comments-product .list-specs-border {
  justify-content: center;
}

.img-circle {
  border-radius: 50%;
}

.list-tabs {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  background-color: #eee;
}
.list-tabs li {
  flex-grow: 1;
  border-bottom: 3px solid #ddd;
  transition: 0.4s;
}
.list-tabs li.active {
  border-color: #E56600;
}
.list-tabs li.active a {
  color: #C25700;
}
.list-tabs li a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  text-align: center;
  color: #888;
  font-size: 16px;
  font-weight: bold;
  transition: 0.4s;
}
.list-tabs li a:hover {
  color: #000;
}

.loader-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.loader {
  width: 28px;
  height: 28px;
  border: 4px solid #E56600;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#just-login {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.firebaseui-country-selector,
.firebaseui-phone-tos,
.firebaseui-card-header {
  display: none;
}

.mdl-card {
  min-height: auto;
}

.table-shipment h4 {
  font-size: 16px;
  margin: 0 0 0.5rem;
  font-weight: bold;
}
.table-shipment h5 {
  font-size: 14px;
  margin: 0;
}
.table-shipment thead th:first-child,
.table-shipment tbody td:first-child {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}
.table-shipment tbody td:first-child .list-btns li {
  width: 100%;
  margin-right: 0;
}
.table-shipment tbody td:first-child .list-btns .btn {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-shipment tbody td:first-child .list-btns .btn-lg {
  font-size: 14px;
  padding: 0.5rem 0.25rem;
}

.list-shipment-orders {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.list-shipment-orders .promo-split {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.list-shipment-orders .promo-split .promo-split-pop {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 4px;
  z-index: 1050;
  width: 230px;
}
.list-shipment-orders .promo-split:hover .promo-split-pop {
  display: block;
}
.list-shipment-orders .promo-split .promo-split-pop-inner {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  padding: 0.5rem;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
  white-space: normal;
}
.list-shipment-orders > li {
  margin-bottom: 0.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  color: #000;
  padding: 0.35rem 0.5rem;
  min-height: 40px;
  border-radius: 6px;
  transition: background-color 0.12s ease, box-shadow 0.12s ease;
}
.list-shipment-orders > li > .badge {
  flex: 0 0 auto;
  width: 26px;
  height: 20px;
  padding: 0;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  margin-top: 2px;
}
.list-shipment-orders > li > .order-label {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 1px;
}
.list-shipment-orders > li.coupon {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 0;
}
.list-shipment-orders > li.coupon em {
  font-style: normal;
  font-size: 12px;
  display: block;
}
.list-shipment-orders > li.coupon-valid {
  background-color: rgba(0, 0, 0, 0.05);
}
.list-shipment-orders > li.row-clickable {
  cursor: pointer;
}
.list-shipment-orders > li.row-clickable * {
  cursor: pointer;
}
.list-shipment-orders > li.selected {
  background-color: #f6cce0;
  box-shadow: inset 4px 0 0 #E56600;
  color: #7a2150;
}
.list-shipment-orders > li.selected .order-label {
  color: #7a2150;
}
.list-shipment-orders > li.selected::after {
  content: "✓";
  margin-left: auto;
  align-self: center;
  padding-left: 0.4rem;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #d10670;
}

.checkout-summary {
  background: linear-gradient(135deg, #fff5f9 0%, #fff 100%);
  border: 1px solid rgba(229, 102, 0, 0.25);
  border-left: 4px solid #E56600;
  border-radius: 6px;
  padding: 10px 14px;
}
.checkout-summary__main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.checkout-summary__primary {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.checkout-summary__primary-label {
  font-size: 15px;
  color: #888;
  font-weight: 600;
}
.checkout-summary__primary-value {
  font-size: 18px;
  color: #333;
  font-weight: 700;
}
.checkout-summary__payable {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.checkout-summary__label {
  font-size: 18px;
  color: #666;
  font-weight: 600;
}
.checkout-summary__amount {
  font-size: 28px;
  font-weight: 800;
  color: #C25700;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.checkout-summary__breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}
.checkout-summary__breakdown .summary-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 15px;
}
.checkout-summary__breakdown .summary-item__label {
  color: #888;
}
.checkout-summary__breakdown .summary-item__value {
  font-weight: 600;
  color: #333;
}
.checkout-summary__status {
  margin-top: 6px;
}
.checkout-summary__status .badge {
  font-size: 12px;
  padding: 0.35em 0.6em;
}

.discount-card {
  border: 1px solid #e0e0e0;
  border-left: 4px solid #bbb;
  border-radius: 6px;
  background: #fafafa;
  overflow: hidden;
}
.discount-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  cursor: pointer;
  user-select: none;
}
.discount-card__header:hover {
  filter: brightness(0.97);
}
.discount-card__title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
}
.discount-card__right {
  display: flex;
  align-items: center;
}
.discount-card__body {
  padding: 8px 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}
.discount-card--wallet {
  border-color: rgba(23, 162, 184, 0.35);
  border-left-color: #17a2b8;
  background: linear-gradient(135deg, #e6f7fa 0%, #f5fcfd 100%);
}
.discount-card--wallet .discount-card__title {
  color: #0c5460;
}

.discount-card--wallet .discount-card__header {
  align-items: baseline;
}

.wallet-balance-amount {
  font-size: 28px;
  font-weight: 800;
  color: #17a2b8;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.wallet-balance-amount--points {
  border-color: rgba(255, 193, 7, 0.4);
  border-left-color: #ffc107;
  background: linear-gradient(135deg, #fff8e1 0%, #fffdf5 100%);
}

.payment-card {
  border: 1px solid rgba(40, 167, 69, 0.4);
  border-left: 4px solid #28a745;
  border-radius: 6px;
  background: linear-gradient(135deg, #eafbef 0%, #f6fdf8 100%);
  overflow: hidden;
}
.payment-card .card-body {
  background: transparent;
}

.invoice-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  font-size: 28px;
  font-weight: 800;
  color: #17a2b8;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.invoice-info__item {
  display: inline-flex;
  align-items: baseline;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.member-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
}

.list-checkout {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-checkout h2 {
  font-size: 16px;
}

.checkout-loading-overlay, .table-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 200px;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.box-checkout-logs {
  padding: 2rem 2rem 1.5rem;
  position: fixed;
  left: 2rem;
  bottom: 2rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  z-index: 9999;
}
.box-checkout-logs .clear {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  color: #fff;
}
.box-checkout-logs .clear:hover {
  color: #ccc;
}

.list-checkout-logs {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-checkout-logs > li {
  margin-bottom: 0.25rem;
}

.list-front-tags {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
}
.list-front-tags li {
  margin: 0 0.25rem 0.25rem 0;
  white-space: nowrap;
  padding: 4px 8px;
  color: #fff;
  background-color: #999;
  border-radius: 2px;
}
.list-front-tags li.bordered-main {
  background-color: #fff;
  border: 1px solid #E56600;
  color: #C25700;
}

.list-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
}
.list-tags li {
  margin: 0 0.25rem 0.25rem 0;
  white-space: nowrap;
  padding: 4px 6px;
  line-height: 1;
  color: #fff;
  background-color: #555;
  border-radius: 2px;
}
.list-tags li.danger {
  background-color: #e44;
}
.list-tags li.warning {
  background-color: #ffc107;
  color: #000;
}
.list-tags li.info {
  background-color: #17a2b8;
}
.list-tags li.dark {
  background-color: #000;
}
.list-tags li.ice {
  background-color: #3af;
}

#index {
  overflow-x: clip;
}

.main-main {
  min-height: calc(100vh - 112px);
}

.title-f2e-lg {
  font-size: 21px;
  color: #C25700;
  text-decoration: underline;
  text-underline-offset: 8px;
  margin-bottom: 20px;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .title-f2e-lg {
    font-size: 24px;
  }
}

.title-f2e-md {
  font-size: 18px;
  color: #C25700;
}
.title-f2e-md span {
  font-size: 16px;
  font-weight: 400;
}

.home-title {
  font-size: 21px;
  color: #C25700;
  display: flex;
  align-items: center;
}
.home-title b {
  margin-left: 18px;
}
.home-title a {
  margin: 0 3px 0 auto;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
}

.home-tips {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #FFF8EF;
}
.home-tips .row > div:first-child {
  padding-right: 7px;
}
.home-tips .row > div:first-child a {
  background-color: #1a4789;
  color: #fff;
}
.home-tips .row > div:last-child {
  padding-left: 8px;
}
.home-tips .row > div:last-child a {
  background-color: #bbd2f4;
  color: #1a4789;
}
.home-tips .row a {
  display: block;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
}
.home-tips .row a > div {
  margin-bottom: 0.5rem;
}
.home-tips .row a b {
  display: block;
  font-size: 18px;
}
.home-tips .i-know-it {
  display: block;
  text-align: center;
  color: #1a4789;
  padding-top: 10px;
}

#home-latest-products {
  background-color: #FFF8EF;
  padding-top: 48px;
}

.home-banner-section {
  position: relative;
  background: #fff;
}

.home-banner-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-banner-scroll::-webkit-scrollbar {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .home-banner-scroll {
    cursor: grab;
  }
}
.home-banner-scroll.is-dragging iframe, .home-banner-scroll.is-dragging video {
  pointer-events: none;
}
.home-banner-scroll img, .home-banner-scroll a {
  -webkit-user-drag: none;
}
@media (min-width: 559px) {
  .home-banner-scroll:has(.home-banner-slide:nth-child(2)) {
    padding-left: calc(50% - 240px);
    padding-right: calc(50% - 240px);
  }
}

.home-banner-slide {
  flex: 0 0 86%;
  max-width: 480px;
  min-width: 0;
  scroll-snap-align: center;
  display: block;
  position: relative;
  line-height: 0;
  cursor: pointer;
  padding: 12px 8px 16px;
}
@media (min-width: 768px) {
  .home-banner-slide {
    flex-basis: 480px;
  }
}
.home-banner-slide:only-child {
  flex-basis: 100%;
  padding: 12px 12px 16px;
  margin: 0 auto;
}
.home-banner-slide img, .home-banner-slide video {
  width: 100%;
  max-height: 40vh;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28), 0 14px 32px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.home-banner-slide::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 8px;
  right: 8px;
  height: 46%;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.home-banner-slide:only-child::after {
  left: 12px;
  right: 12px;
}

.home-banner-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.home-banner-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

.home-banner-inline-frame {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28), 0 14px 32px rgba(0, 0, 0, 0.3);
}

.home-banner-yt-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}
.home-banner-yt-ratio iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.home-banner-yt-shield {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.home-banner-inline-frame.yt-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  touch-action: none;
  overscroll-behavior: none;
}
.home-banner-inline-frame.yt-fullscreen .home-banner-yt-ratio {
  aspect-ratio: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.home-banner-inline-frame.home-banner-frame-light {
  background: #f5f5f5;
}

.home-banner-slide .home-banner-inline-frame > video, .home-banner-slide .home-banner-inline-frame > img {
  width: 100%;
  aspect-ratio: 1/1;
  max-height: none;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.home-banner-link-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  color: #333;
  height: 54px;
  flex: 0 0 auto;
  padding: 0 12px;
  cursor: pointer;
  line-height: normal;
}

.home-banner-link-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #E56600, #FF8A2B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}
.home-banner-link-text.is-long {
  white-space: normal;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: clip;
}

.home-banner-link-icon {
  color: #C25700;
  font-size: 24px;
  flex: 0 0 auto;
}

.home-banner-slide.is-portrait {
  flex-basis: auto;
  max-width: none;
}
@media (min-width: 768px) {
  .home-banner-slide.is-portrait {
    flex-basis: auto;
  }
}

.home-banner-slide.is-portrait .home-banner-inline-frame > video {
  height: var(--banner-media-h, 320px);
  width: auto;
  aspect-ratio: auto;
  max-width: none;
}

.home-banner-slide.is-portrait .home-banner-inline-frame {
  width: fit-content;
}

.home-banner-slide.is-portrait .home-banner-link-bar {
  width: 0;
  min-width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .home-banner-scroll.is-single .home-banner-inline-frame > img {
    animation: home-banner-kenburns 12s ease-in-out infinite alternate;
  }
}
@keyframes home-banner-kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-1.5%, 1%);
  }
}
.home-banner-yt-warm {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.8s;
}
.home-banner-yt-warm.gone {
  opacity: 0;
}

.home-banner-yt-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  padding: 6px 8px;
  line-height: normal;
}

.home-banner-yt-texts {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.home-banner-yt-title {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-banner-yt-channel {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.home-banner-yt-disclaimer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.home-banner-inline-btn {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.home-banner-inline-btn .material-symbols-rounded {
  font-size: 20px;
}

.home-banner-vid-sound {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  transition: opacity 0.6s;
}
.home-banner-vid-sound.is-fading {
  opacity: 0;
  pointer-events: none;
}

.home-banner-link-bar ~ .home-banner-vid-sound {
  bottom: 62px;
}

.home-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.home-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8d8d8;
  pointer-events: auto;
  cursor: pointer;
  transition: background 0.2s;
}
.home-banner-dot.active {
  background: #E56600;
}

.recommend-section {
  background: #fff;
  padding: 12px 0 4px;
  border-bottom: 1px solid #f0f0f0;
}

.recommend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 10px;
}
.recommend-header .recommend-title {
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(90deg, #E56600, #FF8A2B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}
.recommend-header .recommend-more {
  font-size: 13px;
  color: #C25700;
  text-decoration: none;
}

.recommend-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 0 16px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.recommend-scroll::-webkit-scrollbar {
  display: none;
}

.recommend-card {
  flex: 0 0 130px;
  cursor: pointer;
}
.recommend-card-img {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}
.recommend-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recommend-card-name {
  font-size: 12px;
  color: #333;
  margin-top: 5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-card-price {
  font-size: 13px;
  color: #C25700;
  font-weight: 600;
  margin-top: 2px;
}

.rec-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #E56600;
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
}

.rec-bubble-container {
  position: fixed;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  width: 94%;
  max-width: 440px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  padding: 10px 14px 12px;
  border: 1.5px solid #f8bbd9;
}

.rec-bubble-close {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #C25700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s;
}
.rec-bubble-close:hover {
  transform: scale(1.15);
}

.rec-bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.rec-bubble-header .rec-bubble-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.rec-bubble-header .rec-bubble-more {
  font-size: 12px;
  color: #C25700;
  text-decoration: none;
}

.rec-bubble-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rec-bubble-scroll::-webkit-scrollbar {
  display: none;
}

.rec-bubble-card {
  flex: 0 0 80px;
  cursor: pointer;
}
.rec-bubble-card-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}
.rec-bubble-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rec-bubble-card-price {
  font-size: 12px;
  color: #C25700;
  font-weight: 600;
  margin-top: 3px;
  text-align: center;
}

.rec-bubble-enter-active, .rec-bubble-leave-active {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.rec-bubble-enter, .rec-bubble-leave-to {
  opacity: 0;
  transform: translateX(-50%) translateY(-18px);
}

.home-tabs {
  background-color: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.06);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home-tabs {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: none;
  }
}
.home-tabs {
  position: sticky;
  top: 48px;
  z-index: 100;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.home-tabs::-webkit-scrollbar {
  display: none;
}

.home-tabs-inner {
  display: flex;
  padding: 8px 12px;
  gap: 8px;
  min-width: max-content;
}

.home-tab {
  flex-shrink: 0;
  padding: 7px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background-color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.2s;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}
.home-tab.active {
  color: #fff;
  background-color: #E56600;
  border-color: #E56600;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(229, 102, 0, 0.3);
}
.home-tab:hover:not(.active) {
  border-color: #E56600;
  color: #C25700;
  background-color: rgba(229, 102, 0, 0.05);
}

.home-tab-content {
  min-height: calc(100vh - 100px);
  padding-top: 0.5rem;
}

.btn-scroll-top {
  position: fixed;
  top: 108px;
  right: 12px;
  z-index: 200;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: rgba(229, 102, 0, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  padding: 0;
}
.btn-scroll-top .material-symbols-rounded {
  font-size: 20px;
}

.scroll-top-fade-enter-active, .scroll-top-fade-leave-active {
  transition: opacity 0.25s, transform 0.25s;
}

.scroll-top-fade-enter, .scroll-top-fade-leave-to {
  opacity: 0;
  transform: translateY(-8px);
}

.page-products-list {
  background-color: #FFF8EF;
  padding: 1rem 0;
}
.page-products-list .title-product {
  background: linear-gradient(90deg, #E56600, #FF8A2B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 6px;
}
.page-products-list .title-product::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, #E56600, #FF8A2B);
  border-radius: 2px;
  margin: 6px auto 0;
}

.header-main-front .avatar {
  width: 36px;
  height: 36px;
  margin: 6px;
  display: block;
  border-radius: 50%;
}

.history-date-header {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  background: #f5f5f5;
  border-left: 3px solid #E56600;
  padding: 5px 10px;
  margin-bottom: 0;
  border-radius: 0 4px 4px 0;
}

.list-f2e-orders {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.list-f2e-orders > li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.list-f2e-orders > li h4 {
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 4px;
}
.list-f2e-orders > li h4 a {
  color: #1a4789;
  display: flex;
  align-items: center;
}
.list-f2e-orders > li h4 a span {
  margin-left: 0.25rem;
  font-size: 16px;
  opacity: 0.5;
}
.list-f2e-orders > li h5 {
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 4px;
  color: #000;
  font-family: "Noto Sans Mono", monospace;
}
.list-f2e-orders > li h6 {
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  font-family: "Noto Sans Mono", monospace;
}

.list-products-front {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}
.list-products-front li {
  margin-bottom: 12px;
  cursor: pointer;
  transition: 0.2s;
}
@media (min-width: 576px) {
  .list-products-front li {
    margin-bottom: 2rem;
  }
}
@media (max-width: 575px) {
  .list-products-front li:nth-child(2n+1) {
    padding-right: 6px;
  }
  .list-products-front li:nth-child(2n) {
    padding-left: 6px;
  }
  .list-products-front li.is-col-left {
    padding-left: 15px;
    padding-right: 6px;
  }
  .list-products-front li.is-col-right {
    padding-left: 6px;
    padding-right: 15px;
  }
  .list-products-front li.is-wide-item {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.list-products-front-scroll {
  list-style: none;
  padding: 0 7px 0 15px;
  margin-bottom: 1rem;
  display: flex;
  overflow: auto;
}
.list-products-front-scroll li {
  min-width: 160px;
  width: 40%;
  margin-right: 12px;
}
@media (min-width: 992px) {
  .list-products-front-scroll li {
    min-width: 240px;
    max-width: 240px;
    margin-right: 20px;
  }
}

.sale-live-badge {
  position: relative;
  overflow: hidden;
}
.sale-live-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: sale-shine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sale-shine {
  0% {
    left: -60%;
  }
  45% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sale-live-badge::after {
    animation: none;
  }
}
@keyframes sale-border-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-front-item.is-sale-card::before,
  .product-front-item.is-highlight-card::before {
    animation: none;
  }
}
.product-front-item {
  display: block;
  border-radius: 10px;
  height: 100%;
  background-color: #fff;
  padding: 6px 6px 6px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.product-front-item.is-sale-card, .product-front-item.is-highlight-card {
  position: relative;
  overflow: hidden;
  background-color: transparent;
}
.product-front-item.is-sale-card > *, .product-front-item.is-highlight-card > * {
  position: relative;
  z-index: 1;
}
.product-front-item.is-sale-card::before, .product-front-item.is-sale-card::after, .product-front-item.is-highlight-card::before, .product-front-item.is-highlight-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.product-front-item.is-sale-card::before, .product-front-item.is-highlight-card::before {
  top: 50%;
  left: 50%;
  width: 300%;
  padding-bottom: 300%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform;
  animation: sale-border-spin 2.5s linear infinite;
}
.product-front-item.is-sale-card::after, .product-front-item.is-highlight-card::after {
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 6px;
  z-index: 0;
}
.product-front-item.is-sale-card::before {
  background: conic-gradient(#E56600 0%, #FFC58F 20%, #E56600 40%, #FFC58F 60%, #E56600 80%, #FFC58F 100%);
}
.product-front-item.is-highlight-card::before {
  background: conic-gradient(#b45309 0%, #fbbf24 20%, #b45309 40%, #fbbf24 60%, #b45309 80%, #fbbf24 100%);
}
.product-front-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
}
.product-front-item .img {
  padding-top: 100%;
  position: relative;
  margin-bottom: 6px;
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.product-front-item .img > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  border-radius: 2px;
}
.product-front-item .img .img-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}
.product-front-item .img .img-slider .img-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.product-front-item .img .img-slider .img-slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  border-radius: 2px;
}
.product-front-item .img .no-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  background-color: #ccc;
}
.product-front-item .img .subtitle {
  position: absolute;
  right: 0;
  top: 0;
  padding: 2px 6px;
  font-size: 10px;
  background-color: #ffc107;
  color: #333;
  font-weight: bold;
}
.product-front-item .img .img-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 4px 6px;
  z-index: 2;
}
.product-front-item .img .img-dots .img-dots-track {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
}
.product-front-item .img .img-dots .img-dots-track span {
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
}
.product-front-item .img .img-dots .img-dots-track span.active {
  background-color: #fff;
}
.product-front-item .img .sale-below {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.product-front-item .img .sale-below > span {
  max-width: 100%;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top-left-radius: 4px;
}
.product-front-item .img .sale-below > span.sale-below-active {
  background-color: rgba(220, 53, 69, 0.75);
}
.product-front-item .img .sale-below > span.sale-below-coming {
  background-color: rgba(180, 83, 9, 0.75);
}
.product-front-item .img .sale-below > span.sale-below-highlight {
  background-color: rgba(146, 64, 14, 0.78);
}
.product-front-item .img.has-bottom-badge .img-dots {
  bottom: 32px;
}
.product-front-item .actions .box-tracking {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
}
.product-front-item .actions .box-tracking > a {
  display: block;
  transition: 0.4s;
  padding: 4px 2px 4px 0;
}
.product-front-item .actions .box-tracking > a svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}
.product-front-item .actions .box-tracking > b {
  font-size: 12px;
  color: #808080;
  font-weight: normal;
}
.product-front-item .actions .box-tracking .btn-wish {
  margin: 2px 0;
  padding: 4px 10px;
  font-size: 12px;
  background-color: #fff3fa;
  color: #C25700;
  border: 1px solid #E56600;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
  flex-shrink: 0;
}
.product-front-item .actions .box-tracking .btn-wish:active {
  background-color: #E56600;
  color: #fff;
}
.product-front-item .text {
  padding: 0 4px;
}
.product-front-item .text h3 {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 4px;
  line-height: 1.4;
  max-height: 2.8em;
  overflow: hidden;
}
.product-front-item .text h3 a {
  color: #000;
}
.product-front-item .text h3 .badge-instock {
  display: inline;
  background-color: #E56600;
  color: #fff;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 3px;
  margin-right: 2px;
  white-space: nowrap;
}
.product-front-item .text .subtitle span {
  background-color: rgba(255, 220, 50, 0.4);
  padding: 1px 4px;
  border-radius: 2px;
  color: #7a6000;
}
.product-front-item .text .promotion {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  background-color: #E56600;
  color: #fff;
  margin-top: 2px;
  border-radius: 10px;
}
.product-front-item .text .badge {
  font-size: 12px;
  font-weight: normal;
  border-radius: 2px;
  padding: 4px 6px;
}
.product-front-item .text .price-sold .sold {
  color: #aaa;
}
.product-front-item .text .price {
  font-size: 16px;
}
.product-front-item .text .price small {
  font-size: 12px;
}
.product-front-item .text .price .original-price {
  position: relative;
  color: #999;
  font-size: 14px;
}
.product-front-item .text .price .original-price::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background-color: #999;
  transform: translateY(-50%);
}
.product-front-item .text .price .original-price small {
  font-size: 11px;
}
.product-front-item .text .price .original-price span {
  font-size: 14px;
}
.product-front-item .text .price .member-price {
  color: #C25700;
  font-weight: bold;
  font-size: 16px;
}
.product-front-item .text .price .member-price small {
  font-size: 12px;
}
.product-front-item .text .price .member-price span {
  font-size: 18px;
}

.list-singup-process {
  font-size: 18px;
}
.list-singup-process li {
  margin-bottom: 2rem;
}
.list-singup-process li img {
  max-width: 100%;
  border: 1px solid #ccc;
}
.list-singup-process h3 {
  font-size: 18px;
}

.member-info dt, .member-info dd {
  margin-bottom: 1rem;
}
.member-info dd a {
  display: flex;
  align-items: center;
}
.member-info dd a span {
  margin-right: 0.5rem;
}

.list-catalogs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 4px;
  padding: 0;
}
.list-catalogs li {
  margin: 0 4px 4px 0;
}
.list-catalogs li a {
  display: block;
  background-color: #E56600;
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  transition: 0.4s;
}
.list-catalogs li a:hover {
  background-color: rgb(178, 79.2838427948, 0);
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
  font-size: 18px;
  color: #ccc;
}

.form-init-data .form-label {
  font-size: 18px;
  font-weight: bold;
  margin-left: 0.25rem;
}
.form-init-data .form-label .tip {
  font-size: 13px;
  font-weight: normal;
}
.form-init-data .form-control {
  font-size: 18px;
  height: 48px;
}

.init-data-delivery {
  list-style: none;
  padding: 0;
}
.init-data-delivery li {
  padding: 8px 12px 8px 40px;
  border: 1px solid #ccc;
  font-size: 14px;
  margin-bottom: 4px;
  transition: 0.2s;
  position: relative;
  cursor: pointer;
}
.init-data-delivery li::before {
  content: "";
  display: block;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #ccc;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.init-data-delivery li b {
  font-size: 18px;
  display: block;
}
.init-data-delivery li.active {
  border-color: #E56600;
  color: #C25700;
}
.init-data-delivery li.active::before {
  background-color: #E56600;
  border-color: #E56600;
}

.custom-control-label-lg {
  font-size: 18px;
  padding-left: 8px;
  line-height: 30px;
}
.custom-control-label-lg::before, .custom-control-label-lg::after {
  width: 24px;
  height: 24px;
}

.page-not-found {
  color: #808080;
}
.page-not-found h1 {
  font-size: 32px;
}
.page-not-found h2 {
  font-size: 15px;
  color: #ccc;
}

.nav-bottom {
  position: fixed;
  bottom: 10px;
  left: 12px;
  right: 12px;
  z-index: 999;
  background-color: rgba(249, 249, 251, 0.45);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 34px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), inset 0 -1px 1px rgba(0, 0, 0, 0.08), 0 0 0 0.5px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-bottom {
    background-color: rgba(249, 249, 251, 0.96);
  }
}
.nav-bottom ul {
  display: flex;
  list-style: none;
  padding: 0 6px;
  margin: 0;
}
.nav-bottom ul li {
  width: 20%;
  text-align: center;
  padding: 0 2px;
}
.nav-bottom ul li.active a {
  color: #C25700;
  background-color: rgba(229, 102, 0, 0.1);
}
.nav-bottom ul li a {
  display: block;
  font-size: 12px;
  color: #808080;
  padding: 4px 2px;
  margin: 6px 0;
  border-radius: 24px;
  transition: 0.4s;
}
.nav-bottom ul li a span {
  display: block;
  font-size: 30px;
}
.nav-bottom ul li a b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

body:has(.nav-bottom) {
  padding-bottom: 92px;
}

@media (max-width: 359px) {
  .nav-bottom ul li a {
    font-size: 10px;
    padding: 4px 1px;
  }
  .nav-bottom ul li a span {
    font-size: 26px;
  }
}
@media (min-width: 360px) and (max-width: 374px) {
  .nav-bottom ul li a {
    font-size: 11px;
    padding: 5px 2px;
  }
  .nav-bottom ul li a span {
    font-size: 28px;
  }
}
#noty_layout__bottomRight {
  bottom: 96px;
}

#noty_layout__topRight {
  top: 52px;
}

#qrcode img {
  margin: 0 auto;
  display: block;
}

body.is-live-chat-page .footer-main {
  display: none;
}
body.is-live-chat-page {
  padding-bottom: 0 !important;
}

.chat-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  touch-action: none;
  overscroll-behavior: contain;
}
.chat-lightbox .chat-lightbox-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  will-change: transform;
}
.chat-lightbox .chat-lightbox-slide {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-lightbox .chat-lightbox-img {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.chat-lightbox .chat-lightbox-counter {
  position: fixed;
  top: max(22px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  pointer-events: none;
}
.chat-lightbox .chat-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  cursor: pointer;
}
.chat-lightbox .chat-lightbox-nav-prev {
  left: 10px;
}
.chat-lightbox .chat-lightbox-nav-next {
  right: 10px;
}
.chat-lightbox .chat-lightbox-close {
  position: fixed;
  top: max(15px, env(safe-area-inset-top));
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  cursor: pointer;
}

.page-live-chat {
  min-height: calc(100vh - 60px - 60px);
  background: #f5f5f5;
  padding-top: 50px;
  padding-bottom: calc(70px + var(--keyboard-inset, 0px));
}
.page-live-chat .container {
  padding: 0 !important;
  max-width: 100% !important;
}
.page-live-chat .header-page {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: #fff;
  margin: 0;
  border: 1px solid #eee;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
.page-live-chat .header-page .title-product {
  margin: 0;
  font-size: 16px;
}
.page-live-chat .chat-container {
  background: #fff;
  min-height: calc(100vh - 60px - 60px - 50px - 70px);
}
.page-live-chat .connection-status {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: #fff3e0;
  padding: 8px 15px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}
.page-live-chat .connection-status.connected {
  background: #e8f5e9;
  color: #2e7d32;
}
.page-live-chat .connection-status.disconnected {
  background: #ffebee;
  color: #c62828;
}
.page-live-chat .connection-status.connecting {
  background: #fff3e0;
  color: #ef6c00;
}
.page-live-chat .messages-area {
  padding: 15px;
  background: #f5f5f5;
  min-height: 200px;
}
.page-live-chat .message-wrapper {
  display: flex;
  align-items: flex-end;
  margin-bottom: 12px;
  gap: 8px;
}
.page-live-chat .message-wrapper.from-me {
  justify-content: flex-end;
}
.page-live-chat .message-wrapper.from-staff {
  justify-content: flex-start;
}
.page-live-chat .staff-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E56600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.page-live-chat .staff-avatar .material-symbols-rounded {
  font-size: 20px;
}
.page-live-chat .message-media {
  max-width: 75%;
  position: relative;
}
.page-live-chat .message-media .chat-quote {
  background: rgba(0, 0, 0, 0.05);
  color: #555;
}
@media (min-width: 768px) {
  .page-live-chat .message-media {
    max-width: 50%;
  }
}
@media (min-width: 992px) {
  .page-live-chat .message-media {
    max-width: 40%;
  }
}
.page-live-chat .message-media img, .page-live-chat .message-media video {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  cursor: pointer;
}
.page-live-chat .message-media .chat-upload-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 4px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.page-live-chat .message-media.is-failed img, .page-live-chat .message-media.is-failed video, .page-live-chat .message-media.is-failed .chat-upload-placeholder {
  opacity: 0.35;
  border: 2px solid #e53935;
}
.page-live-chat .message-media .chat-upload-failed {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #c62828;
}
.page-live-chat .message-media .chat-upload-failed .material-symbols-rounded {
  font-size: 16px;
}
.page-live-chat .message-media .chat-upload-placeholder {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  background: #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
}
.page-live-chat .message-media .chat-upload-placeholder .material-symbols-rounded {
  font-size: 40px;
}
.page-live-chat .message-media .chat-upload-cancel {
  margin-left: 8px;
  padding: 0 6px;
  border: none;
  background: transparent;
  color: #C25700;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}
.page-live-chat .message-media .chat-upload-progress-bar {
  height: 100%;
  width: 0;
  background: #E56600;
  border-radius: 2px;
  transition: width 0.2s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.page-live-chat .message-media img:hover {
  transform: scale(1.02);
  transition: transform 0.2s;
}
.page-live-chat .message-media .message-time {
  font-size: 11px;
  opacity: 0.7;
  text-align: right;
  margin-top: 4px;
  color: #666;
  white-space: nowrap;
}
.page-live-chat .chat-date-divider {
  display: flex;
  justify-content: center;
  margin: 12px 0 8px;
}
.page-live-chat .chat-date-divider span {
  padding: 3px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  color: #888;
  font-size: 12px;
}
.page-live-chat .chat-new-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  color: #C25700;
  font-size: 12px;
}
.page-live-chat .chat-new-divider::before, .page-live-chat .chat-new-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(229, 102, 0, 0.35);
}
.page-live-chat .message-bubble {
  display: block;
  width: max-content;
  max-width: 75%;
  flex-shrink: 0;
  overflow-wrap: break-word;
  padding: 10px 15px;
  background: #fff;
  color: #333;
  border-radius: 18px 18px 18px 4px;
  border: 1px solid #e0e0e0;
}
@media (min-width: 768px) {
  .page-live-chat .message-bubble {
    max-width: 65%;
  }
}
@media (min-width: 992px) {
  .page-live-chat .message-bubble {
    max-width: 55%;
  }
}
.page-live-chat .message-bubble .message-content {
  display: block;
}
.page-live-chat .message-bubble .message-text {
  margin-bottom: 4px;
  line-height: 1.5;
  white-space: pre-wrap;
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}
.page-live-chat .message-bubble .message-text a {
  color: inherit;
  text-decoration: underline;
  word-break: break-all;
}
.page-live-chat .message-bubble .message-time {
  font-size: 11px;
  opacity: 0.7;
  text-align: right;
  white-space: nowrap;
}
.page-live-chat .message-bubble.is-failed {
  border: 1px solid #e53935;
}
.page-live-chat .message-bubble.is-failed .msg-failed {
  color: #c62828;
  margin-right: 4px;
}
.page-live-chat .message-bubble.from-me {
  background: #ffe4ef;
  color: #333;
  border: none;
  border-radius: 18px 18px 4px 18px;
}
.page-live-chat .message-bubble.from-me .message-time {
  color: #333;
}
.page-live-chat .message-bubble.from-staff {
  border-radius: 18px 18px 18px 4px;
}
.page-live-chat .empty-messages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
}
.page-live-chat .empty-messages .material-symbols-rounded {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.5;
}
.page-live-chat .typing-indicator {
  padding: 8px 15px;
  font-size: 13px;
  color: #666;
  font-style: italic;
  background: #fafafa;
  border-top: 1px solid #eee;
}
.page-live-chat .chat-annotator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111;
  display: flex;
  flex-direction: column;
  z-index: 100003;
  touch-action: none;
}
.page-live-chat .chat-annotator-toolbar, .page-live-chat .chat-annotator-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: #1c1c1c;
}
.page-live-chat .chat-annotator-toolbar button, .page-live-chat .chat-annotator-actions button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: none;
  border-radius: 18px;
  background: #333;
  color: #ddd;
  font-size: 13px;
  cursor: pointer;
}
.page-live-chat .chat-annotator-toolbar button.active, .page-live-chat .chat-annotator-actions button.active {
  background: #E56600;
  color: #fff;
}
.page-live-chat .chat-annotator-toolbar button:disabled, .page-live-chat .chat-annotator-actions button:disabled {
  opacity: 0.4;
}
.page-live-chat .chat-annotator-toolbar button .material-symbols-rounded, .page-live-chat .chat-annotator-actions button .material-symbols-rounded {
  font-size: 18px;
}
.page-live-chat .chat-annotator-actions {
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.page-live-chat .chat-annotator-actions button.is-primary {
  background: #E56600;
  color: #fff;
}
.page-live-chat .chat-annotator-canvas-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-live-chat .chat-annotator-canvas-wrap canvas {
  max-width: 100%;
  max-height: 100%;
  touch-action: none;
}
.page-live-chat .chat-sheet-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  z-index: 100002;
}
.page-live-chat .chat-sheet {
  width: 100%;
  background: #fff;
  border-radius: 14px 14px 0 0;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.page-live-chat .chat-sheet button {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #333;
  cursor: pointer;
}
.page-live-chat .chat-sheet button:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}
.page-live-chat .chat-sheet .chat-sheet-cancel {
  color: #888;
  margin-top: 6px;
  border-top: 6px solid #f5f5f5;
}
.page-live-chat .chat-sheet .chat-sheet-danger {
  color: #d32f2f;
}
.page-live-chat .message-bubble.is-recalled {
  background: transparent !important;
  border: 1px dashed #d8d8d8 !important;
  color: #999 !important;
}
.page-live-chat .message-bubble.is-recalled .message-time {
  color: #bbb;
}
.page-live-chat .message-recalled {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-style: italic;
  color: #999;
}
.page-live-chat .message-recalled .material-symbols-rounded {
  font-size: 16px;
}
.page-live-chat .message-wrapper {
  will-change: transform;
}
.page-live-chat .chat-quote {
  margin-bottom: 6px;
  padding: 5px 8px;
  border-left: 3px solid rgba(0, 0, 0, 0.25);
  border-radius: 0 6px 6px 0;
  background: rgba(0, 0, 0, 0.07);
  cursor: pointer;
}
.page-live-chat .chat-quote .chat-quote-head {
  display: flex;
  align-items: center;
  gap: 5px;
}
.page-live-chat .chat-quote .chat-quote-avatar {
  font-size: 14px;
  opacity: 0.7;
}
.page-live-chat .chat-quote .chat-quote-avatar-img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.page-live-chat .chat-quote .chat-quote-who {
  font-size: 11px;
  font-weight: 600;
  color: inherit;
  opacity: 0.75;
}
.page-live-chat .chat-quote .chat-quote-text {
  font-size: 12px;
  color: inherit;
  opacity: 0.65;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.page-live-chat .message-wrapper.is-highlighted .message-bubble,
.page-live-chat .message-wrapper.is-highlighted .message-media {
  animation: chat-quote-flash 3s ease-out;
}
.page-live-chat .chat-reply-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
}
.page-live-chat .chat-reply-bar .chat-reply-body {
  flex: 1;
  min-width: 0;
  border-left: 3px solid #E56600;
  padding-left: 8px;
}
.page-live-chat .chat-reply-bar .chat-reply-who {
  font-size: 11px;
  font-weight: 600;
  color: #C25700;
}
.page-live-chat .chat-reply-bar .chat-reply-text {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-live-chat .chat-reply-bar .chat-reply-cancel {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: #eee;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.page-live-chat .chat-reply-bar .chat-reply-cancel .material-symbols-rounded {
  font-size: 16px;
}
.page-live-chat .chat-attachment-row {
  display: flex;
  gap: 8px;
  padding: 0 0 8px;
}
.page-live-chat .chat-attachment {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  cursor: pointer;
}
.page-live-chat .chat-attachment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eee;
}
.page-live-chat .chat-attachment-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.page-live-chat .chat-attachment-remove .material-symbols-rounded {
  font-size: 15px;
}
.page-live-chat .input-area {
  position: fixed;
  bottom: var(--keyboard-inset, 0px);
  left: 0;
  right: 0;
  display: block;
}
.page-live-chat .input-area .input-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.page-live-chat .input-area .input-row textarea {
  margin: 0 6px;
}
.page-live-chat .input-area {
  padding: 12px 15px;
  background: #fff;
  border-top: 1px solid #eee;
  gap: 10px;
  z-index: 100;
}
.page-live-chat .input-area textarea {
  flex: 1;
  min-width: 0;
  border: 1px solid transparent;
  background: #f2f2f2;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 15px;
  resize: none;
  max-height: 100px;
  line-height: 1.4;
  transition: background 0.15s, border-color 0.15s;
}
.page-live-chat .input-area textarea:focus {
  outline: none;
  background: #fff;
  border-color: #E56600;
}
.page-live-chat .input-area .btn-upload-wrapper {
  position: relative;
  width: 40px;
  height: 44px;
  background: transparent;
  color: #8b8b8b;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s;
  flex-shrink: 0;
}
.page-live-chat .input-area .btn-upload-wrapper:hover {
  color: #C25700;
}
.page-live-chat .input-area .btn-upload-wrapper.disabled {
  color: #d5d5d5;
  cursor: not-allowed;
}
.page-live-chat .input-area .btn-upload-wrapper.disabled .file-input-overlay {
  pointer-events: none;
}
.page-live-chat .input-area .btn-upload-wrapper .material-symbols-rounded {
  font-size: 26px;
  pointer-events: none;
}
.page-live-chat .input-area .btn-upload-wrapper .file-input-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}
.page-live-chat .input-area .btn-upload {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.page-live-chat .input-area .btn-upload:hover {
  background: #e0e0e0;
  color: #333;
}
.page-live-chat .input-area .btn-upload:disabled, .page-live-chat .input-area .btn-upload.disabled {
  background: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}
.page-live-chat .input-area .btn-upload .material-symbols-rounded {
  font-size: 22px;
}
.page-live-chat .input-area .btn-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E56600;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.page-live-chat .input-area .btn-send:hover {
  background: rgb(178, 79.2838427948, 0);
}
.page-live-chat .input-area .btn-send:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.page-live-chat .input-area .btn-send .material-symbols-rounded {
  font-size: 22px;
}
.page-live-chat .login-prompt {
  text-align: center;
  padding: 40px 20px;
}
.page-live-chat .login-prompt .material-symbols-rounded {
  font-size: 64px;
  color: #ccc;
  margin-bottom: 15px;
}
.page-live-chat .login-prompt p {
  color: #666;
  margin-bottom: 20px;
}
.page-live-chat .login-prompt .btn {
  display: inline-block;
  padding: 12px 30px;
  background: #E56600;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
}
.page-live-chat .image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  cursor: pointer;
}
.page-live-chat .image-lightbox .lightbox-close {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 100001;
}
.page-live-chat .image-lightbox .lightbox-close:hover {
  background: rgba(255, 255, 255, 0.5);
}
.page-live-chat .image-lightbox .lightbox-close .material-symbols-rounded {
  font-size: 28px;
}
.page-live-chat .image-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
}

.message-bubble-container {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 90%;
  max-width: 360px;
  animation: bubble-slide-in 0.3s ease-out;
  touch-action: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}
.message-bubble-container.dragging {
  animation: none;
  transition: none;
}
.message-bubble-container.sliding-out {
  animation: bubble-slide-out 0.3s ease-in forwards;
  transition: none;
}

.message-bubble-container.from-livechat-fab {
  top: auto;
  left: auto;
  right: 1rem;
  bottom: 216px;
  transform: none;
  width: auto;
  max-width: min(320px, 100vw - 2rem);
  transform-origin: bottom right;
  animation: bubble-pop-from-fab 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.message-bubble-container.from-livechat-fab.sliding-out {
  animation: bubble-pop-out 0.22s ease-in forwards;
}

@keyframes bubble-pop-from-fab {
  from {
    opacity: 0;
    transform: scale(0.3) translate(20px, 20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
}
@keyframes bubble-pop-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.4) translate(20px, 20px);
  }
}
@keyframes bubble-slide-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes bubble-slide-out {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-40px);
  }
}
.message-bubble {
  background: #ffe4ef;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #f8bbd9;
}
.message-bubble:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.message-bubble:active {
  transform: scale(0.98);
}
.message-bubble .bubble-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #C25700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.message-bubble .bubble-close:hover {
  background: #FFF1E3;
  transform: scale(1.1);
}

.message-bubble-container.checkin-bubble-container {
  z-index: 10020;
}
.message-bubble-container.checkin-bubble-container.stacked-below {
  top: 140px;
}
.message-bubble-container.checkin-bubble-container .message-bubble {
  background: #fff8e1;
  border: 1px solid #ffd54f;
}
.message-bubble-container.checkin-bubble-container .message-bubble .bubble-icon {
  color: #ff9800;
  font-size: 28px;
}
.message-bubble-container.checkin-bubble-container .message-bubble .bubble-label {
  color: #e65100;
  font-weight: 700;
  font-size: 16px;
}
.message-bubble-container.checkin-bubble-container .message-bubble .bubble-text {
  font-size: 14.5px;
  line-height: 1.45;
  color: #5d4037;
}
.message-bubble-container.checkin-bubble-container .message-bubble .bubble-text.is-addon-used {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed #ffd54f;
  color: #b45309;
  font-weight: 700;
  font-size: 15px;
}

.message-bubble-container.bonus-bubble-container.stacked-below {
  top: 140px;
}
.message-bubble-container.bonus-bubble-container .message-bubble {
  background: #fff8e1;
  border: 1px solid #ffd54f;
  cursor: default;
}
.message-bubble-container.bonus-bubble-container .message-bubble:hover {
  transform: none;
}
.message-bubble-container.bonus-bubble-container .message-bubble .bubble-icon {
  color: #ff9800;
  font-size: 28px;
}
.message-bubble-container.bonus-bubble-container .message-bubble .bubble-label {
  color: #e65100;
  font-weight: 600;
  font-size: 13px;
}
.message-bubble-container.bonus-bubble-container .message-bubble .bubble-text {
  font-size: 13px;
  color: #5d4037;
}
.message-bubble-container.bonus-bubble-container .message-bubble .bubble-unlock-btn {
  margin-left: auto;
  padding: 8px 14px;
  background: linear-gradient(135deg, #FF8A2B, #E56600);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(229, 102, 0, 0.3);
}
.message-bubble-container.bonus-bubble-container .message-bubble .bubble-unlock-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(229, 102, 0, 0.45);
}
.message-bubble-container.bonus-bubble-container .message-bubble .bubble-unlock-btn:active:not(:disabled) {
  transform: scale(0.95);
}
.message-bubble-container.bonus-bubble-container .message-bubble .bubble-unlock-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.message-bubble-container.bonus-bubble-container.jackpot-glow .message-bubble {
  background: linear-gradient(135deg, #fff3cd, #ffe082);
  border: 2px solid #ffb300;
  animation: jackpot-pulse 1.2s ease-in-out infinite;
}
.message-bubble-container.bonus-bubble-container.jackpot-glow .message-bubble .bubble-icon {
  color: #ff6f00;
  animation: jackpot-bounce 0.6s ease-in-out infinite alternate;
}

@keyframes jackpot-pulse {
  0% {
    box-shadow: 0 4px 16px rgba(255, 179, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 24px rgba(255, 179, 0, 0.8);
  }
  100% {
    box-shadow: 0 4px 16px rgba(255, 179, 0, 0.4);
  }
}
@keyframes jackpot-bounce {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.15);
  }
}
.flex-order-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 16px;
  -webkit-user-select: none;
  user-select: none;
}
.flex-order-card .flex-order-header {
  color: white;
  padding: 10px 14px;
}
.flex-order-card .flex-order-header.arrival-header {
  background: linear-gradient(to right, #E56600, #FF8A2B);
}
.flex-order-card .flex-order-header.not-arrival-header {
  background: linear-gradient(to right, #f57c00, #ffb74d);
}
.flex-order-card .flex-order-title {
  font-weight: 600;
  font-size: 15px;
}
.flex-order-card .flex-order-subtitle {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}

.shipping-group {
  margin-bottom: 16px;
}

.shipping-group-header {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px 8px 0 0;
  padding: 10px 12px;
  border-bottom: none;
}
.shipping-group-header.shipping-group-header-pending {
  background: #fafafa;
  color: #757575;
}

.shipping-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.shipping-group-number {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.shipping-group-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  color: #fff;
}
.shipping-group-status.status-pending {
  background: #f57c00;
}
.shipping-group-status.status-ready {
  background: #0288d1;
}
.shipping-group-status.status-in_transit {
  background: #1976d2;
}
.shipping-group-status.status-arrived {
  background: #2e7d32;
}
.shipping-group-status.status-picked_up {
  background: #424242;
}

.shipping-progress-bar {
  display: flex;
  align-items: flex-start;
  padding: 4px 2px;
  overflow-x: auto;
}

.shipping-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  min-width: 56px;
}

.shipping-progress-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e0e0e0;
  border: 2px solid #e0e0e0;
  transition: all 0.2s;
}

.shipping-progress-label {
  font-size: 11px;
  color: #9e9e9e;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}

.shipping-progress-step.is-done .shipping-progress-dot {
  background: #4caf50;
  border-color: #4caf50;
}

.shipping-progress-step.is-done .shipping-progress-label {
  color: #4caf50;
}

.shipping-progress-step.is-current .shipping-progress-dot {
  background: #E56600;
  border-color: #E56600;
  box-shadow: 0 0 0 3px rgba(229, 102, 0, 0.2);
}

.shipping-progress-step.is-current .shipping-progress-label {
  color: #C25700;
  font-weight: 600;
}

.shipping-progress-line {
  flex: 1 1 auto;
  height: 2px;
  background: #e0e0e0;
  margin: 7px 2px 0;
  min-width: 12px;
}
.shipping-progress-line.is-done {
  background: #4caf50;
}

.shipping-group .flex-order-card {
  border-radius: 0 0 8px 8px;
  margin-top: -1px;
}

.flex-order-card .flex-order-cvs {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 14px;
  background: #fff8e1;
  border-bottom: 1px solid #ffe082;
  color: #5d4037;
  font-size: 13px;
}
.flex-order-card .flex-order-cvs .material-symbols-rounded {
  font-size: 18px;
  color: #f57c00;
  line-height: 1.4;
}
.flex-order-card .flex-order-cvs .flex-order-cvs-name {
  font-weight: 600;
}
.flex-order-card .flex-order-cvs .flex-order-cvs-id {
  font-weight: 400;
  color: #8d6e63;
  font-size: 12px;
}
.flex-order-card .flex-order-cvs .flex-order-cvs-addr {
  color: #8d6e63;
  font-size: 12px;
  margin-top: 1px;
}
.flex-order-card .flex-product-group {
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}
.flex-order-card .flex-product-group:last-child {
  border-bottom: none;
}
.flex-order-card .flex-product-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}
.flex-order-card .flex-product-title a {
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
}
.flex-order-card .flex-product-title a:hover {
  color: #C25700;
}
.flex-order-card .flex-product-title a .material-symbols-rounded {
  font-size: 14px;
  opacity: 0.4;
}
.flex-order-card .store-info-row {
  display: block;
  margin-top: 3px;
  line-height: 1.4;
}
.flex-order-card .store-expiry-single {
  font-size: 12px;
  color: #808080;
}
.flex-order-card .store-stocks-toggle {
  display: inline;
  font-size: 11px;
  color: #C25700;
  text-decoration: none;
  cursor: pointer;
}
.flex-order-card .store-stocks-toggle:hover {
  text-decoration: underline;
}
.flex-order-card .store-stocks-list {
  list-style: none;
  padding: 4px 0 0 0;
  margin: 4px 0 0 0;
  font-size: 12px;
  width: 100%;
  border-top: 1px solid #f3f3f3;
}
.flex-order-card .store-stocks-list li {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  color: #808080;
}
.flex-order-card .store-stocks-list li.store-stock-ok .store-qty {
  color: #28a745;
  font-weight: 500;
}
.flex-order-card .store-stocks-list li.store-stock-empty .store-qty {
  color: #ccc;
}
.flex-order-card .store-stocks-list li.store-stock-reorder .store-qty-reorder {
  font-size: 13px;
}
.flex-order-card .store-stocks-list li.store-stock-expiry-warn {
  background-color: #fffbe6;
  border-radius: 3px;
  padding: 2px 4px;
}
.flex-order-card .store-stocks-list li.store-stock-expiry-warn .store-expiry {
  color: #e90;
  font-weight: 500;
}
.flex-order-card .store-stocks-list .store-name {
  min-width: 60px;
}
.flex-order-card .store-stocks-list .store-expiry {
  color: #808080;
  white-space: nowrap;
}
.flex-order-card .flex-spec-row {
  display: grid;
  grid-template-columns: 1fr 30px 70px 36px;
  align-items: baseline;
  padding: 2px 0;
  column-gap: 4px;
}
.flex-order-card .flex-spec-row .flex-spec-name {
  color: #888;
  font-size: 12px;
  line-height: 1.4;
}
.flex-order-card .flex-spec-row .flex-spec-count {
  color: #666;
  font-size: 12px;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.flex-order-card .flex-spec-row .flex-spec-price {
  font-weight: 600;
  color: #C25700;
  font-size: 13px;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.flex-order-card .flex-order-body {
  padding: 0 14px;
}
.flex-order-card .flex-arrival-days {
  font-size: 10px;
  color: #aaa;
  white-space: nowrap;
  padding: 1px 6px;
  background: #f5f5f5;
  border-radius: 8px;
  flex-shrink: 0;
  margin-left: 2px;
  text-align: center;
}
.flex-order-card .flex-arrival-days-placeholder {
  display: block;
  width: 36px;
}
.flex-order-card .flex-order-footer {
  background: #fff5fb;
  border-top: 1px solid #f0d0e8;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-order-card .flex-order-footer .flex-order-footer-label {
  color: #888;
  font-size: 13px;
}
.flex-order-card .flex-order-footer .flex-order-total {
  font-size: 18px;
  font-weight: 700;
  color: #C25700;
}
.flex-order-card .bubble-icon {
  width: 40px;
  height: 40px;
  background: #E56600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flex-order-card .bubble-icon .material-symbols-rounded {
  color: #fff;
  font-size: 24px;
}
.flex-order-card .bubble-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flex-order-card .bubble-content .bubble-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 2px;
}
.flex-order-card .bubble-content .bubble-text {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.member-points-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 14px 32px;
}
.member-points-page .points-tx-pos {
  color: #1a9c62;
}
.member-points-page .points-tx-neg {
  color: #e0316b;
}
.member-points-page .points-rotating {
  animation: points-rotate 1s linear infinite;
}

@keyframes points-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.btn-3d {
  border: none;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18), 0 6px 14px rgba(0, 0, 0, 0.13);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn-3d:hover {
  filter: brightness(1.06);
}
.btn-3d:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.1);
}
.btn-3d:disabled, .btn-3d.disabled {
  opacity: 0.5;
  box-shadow: none;
  transform: none;
  filter: none;
}

.btn-3d-amber {
  background: linear-gradient(180deg, #d98324 0%, #b45309 55%, #94420a 100%);
  color: #fff;
}
.btn-3d-amber:hover, .btn-3d-amber:focus, .btn-3d-amber:active {
  color: #fff;
}

.btn-3d-main {
  background: linear-gradient(180deg, #FF8A2B 0%, #E56600 55%, #B25000 100%);
  color: #fff;
}
.btn-3d-main:hover, .btn-3d-main:focus, .btn-3d-main:active {
  color: #fff;
}

.btn-3d-ghost {
  background: linear-gradient(180deg, #ffffff 0%, #f1f3f5 100%);
  color: #495057;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.08);
}
.btn-3d-ghost:hover, .btn-3d-ghost:focus, .btn-3d-ghost:active {
  color: #212529;
}

.btn-pill-amber {
  display: inline-block;
  padding: 3px 11px;
  border: 1px solid #b45309;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #fff4e2 100%);
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(180, 83, 9, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-pill-amber:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(180, 83, 9, 0.18);
}

.daily-draw-fab {
  position: fixed;
  left: 14px;
  bottom: 86px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, #E56600, #ff6f43);
  color: #fff;
  font-size: 14px;
}
.daily-draw-fab .daily-draw-fab-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.daily-draw-fab .daily-draw-fab-label b {
  font-size: 14px;
  font-weight: 800;
}
.daily-draw-fab .daily-draw-fab-label i {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}
.daily-draw-fab {
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.4);
  cursor: move;
  user-select: none;
  animation: daily-fab-breathe 2.6s ease-in-out infinite;
}
.daily-draw-fab .material-symbols-rounded {
  font-size: 20px;
}
.daily-draw-fab .daily-draw-fab-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #C25700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  line-height: 1;
}

@keyframes daily-fab-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.4);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.55);
  }
}
@keyframes daily-draw-dot-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
  }
}
@keyframes daily-day-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(233, 30, 99, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
  }
}
body.checkin-login-stack .modal {
  z-index: 10030;
}
body.checkin-login-stack .modal-backdrop {
  z-index: 10020;
}

.daily-draw-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.daily-draw-modal {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: auto;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  animation: daily-draw-pop 0.25s ease-out;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.daily-draw-modal.jackpot {
  box-shadow: 0 0 0 3px #ffc107, 0 10px 40px rgba(255, 152, 0, 0.5);
}

@keyframes daily-draw-pop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.daily-draw-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}
.daily-draw-close:hover {
  color: #333;
}

.daily-draw-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.daily-draw-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.daily-draw-streak {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 12px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.daily-draw-streak.is-bonus {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #E56600);
  border: none;
}

.daily-draw-gift {
  font-size: 64px;
  line-height: 1.2;
  margin: 10px 0 16px;
}
.daily-draw-gift.is-drawing {
  animation: daily-draw-shake 0.4s ease-in-out infinite;
}

@keyframes daily-draw-shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-12deg) scale(1.06);
  }
  75% {
    transform: rotate(12deg) scale(1.06);
  }
}
.daily-draw-prize {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 2px 10px;
  margin: 12px 0 6px;
}
.daily-draw-prize .daily-draw-prize-face {
  font-size: 22px;
  font-weight: 700;
  color: #C25700;
}
.daily-draw-prize .daily-draw-prize-qty {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  flex-basis: 100%;
  text-align: center;
}
.daily-draw-prize .daily-draw-prize-order {
  font-size: 22px;
  font-weight: 700;
  color: #d97706;
}

.daily-draw-order-note {
  font-size: 13px;
  font-weight: 700;
  color: #d97706;
  margin-bottom: 4px;
}

.daily-draw-spin {
  width: 170px;
  height: 92px;
  margin: 18px auto 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2b0a3d, #4a1259);
  border: 3px solid #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.25), inset 0 6px 18px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: spin-shake 0.12s ease-in-out infinite;
}
.daily-draw-spin .daily-draw-spin-face {
  font-size: 40px;
  font-weight: 900;
  color: #fde68a;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.9);
  filter: blur(0.4px);
}

@keyframes spin-shake {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2px);
  }
}
.daily-draw-won {
  position: relative;
  margin: 10px auto 8px;
  padding: 6px 0;
}
.daily-draw-won .daily-draw-won-burst {
  position: absolute;
  inset: -30px;
  background: conic-gradient(from 0deg, rgba(251, 191, 36, 0.28) 0 14deg, transparent 14deg 28deg, rgba(251, 191, 36, 0.28) 28deg 42deg, transparent 42deg 56deg, rgba(251, 191, 36, 0.28) 56deg 70deg, transparent 70deg 84deg, rgba(251, 191, 36, 0.28) 84deg 98deg, transparent 98deg 112deg, rgba(251, 191, 36, 0.28) 112deg 126deg, transparent 126deg 140deg, rgba(251, 191, 36, 0.28) 140deg 154deg, transparent 154deg 168deg, rgba(251, 191, 36, 0.28) 168deg 182deg, transparent 182deg 196deg, rgba(251, 191, 36, 0.28) 196deg 210deg, transparent 210deg 224deg, rgba(251, 191, 36, 0.28) 224deg 238deg, transparent 238deg 252deg, rgba(251, 191, 36, 0.28) 252deg 266deg, transparent 266deg 280deg, rgba(251, 191, 36, 0.28) 280deg 294deg, transparent 294deg 308deg, rgba(251, 191, 36, 0.28) 308deg 322deg, transparent 322deg 336deg, rgba(251, 191, 36, 0.28) 336deg 350deg, transparent 350deg 360deg);
  border-radius: 50%;
  animation: won-burst-spin 6s linear infinite;
  pointer-events: none;
}
.daily-draw-won .daily-draw-won-card {
  position: relative;
  width: 230px;
  margin: 0 auto;
  padding: 14px 12px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24 55%, #f59e0b);
  border: 2px dashed rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.55);
  animation: won-pop 0.55s cubic-bezier(0.18, 1.6, 0.4, 1) both, won-glow 1.8s ease-in-out 0.55s infinite;
}
.daily-draw-won .daily-draw-won-card .won-card-label {
  font-size: 13px;
  font-weight: 700;
  color: #7c2d12;
}
.daily-draw-won .daily-draw-won-card .won-card-face {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(124, 45, 18, 0.45);
}
.daily-draw-won .daily-draw-won-card .won-card-cond {
  font-size: 15px;
  font-weight: 700;
  color: #7c2d12;
}
.daily-draw-won .daily-draw-won-card .won-card-valid {
  font-size: 11px;
  color: rgba(124, 45, 18, 0.8);
  margin-top: 4px;
}

@keyframes won-pop {
  from {
    transform: scale(0.3) rotate(-6deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}
@keyframes won-glow {
  0%, 100% {
    box-shadow: 0 8px 26px rgba(245, 158, 11, 0.55);
  }
  50% {
    box-shadow: 0 8px 38px rgba(245, 158, 11, 0.95);
  }
}
@keyframes won-burst-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.daily-draw-won .confetti-piece {
  position: absolute;
  top: -6px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0;
  animation: confetti-fall 1.8s ease-out 0.5s forwards;
  pointer-events: none;
}
.daily-draw-won .confetti-piece:nth-child(3n) {
  background: #E56600;
}
.daily-draw-won .confetti-piece:nth-child(3n+1) {
  background: #fbbf24;
}
.daily-draw-won .confetti-piece:nth-child(3n+2) {
  background: #7c3aed;
}
.daily-draw-won .confetti-piece:nth-child(1) {
  left: 4%;
  animation-delay: 0.5s;
}
.daily-draw-won .confetti-piece:nth-child(2) {
  left: 12%;
  animation-delay: 0.72s;
}
.daily-draw-won .confetti-piece:nth-child(3) {
  left: 21%;
  animation-delay: 0.58s;
}
.daily-draw-won .confetti-piece:nth-child(4) {
  left: 30%;
  animation-delay: 0.86s;
}
.daily-draw-won .confetti-piece:nth-child(5) {
  left: 39%;
  animation-delay: 0.52s;
}
.daily-draw-won .confetti-piece:nth-child(6) {
  left: 48%;
  animation-delay: 0.78s;
}
.daily-draw-won .confetti-piece:nth-child(7) {
  left: 57%;
  animation-delay: 0.62s;
}
.daily-draw-won .confetti-piece:nth-child(8) {
  left: 66%;
  animation-delay: 0.9s;
}
.daily-draw-won .confetti-piece:nth-child(9) {
  left: 75%;
  animation-delay: 0.55s;
}
.daily-draw-won .confetti-piece:nth-child(10) {
  left: 84%;
  animation-delay: 0.8s;
}
.daily-draw-won .confetti-piece:nth-child(11) {
  left: 92%;
  animation-delay: 0.66s;
}
.daily-draw-won .confetti-piece:nth-child(12) {
  left: 97%;
  animation-delay: 0.95s;
}

@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translateY(-10px) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(150px) rotate(320deg);
  }
}
.daily-draw-btn {
  width: 100%;
  border: none;
  border-radius: 24px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #E56600, #ff6f43);
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.daily-draw-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.daily-draw-head {
  margin-bottom: 10px;
}
.daily-draw-head .daily-draw-head-title {
  font-size: 21px;
  font-weight: 800;
  color: #222;
  line-height: 1.25;
}
.daily-draw-head .daily-draw-head-sub {
  font-size: 13px;
  color: #777;
  margin-top: 3px;
}
.daily-draw-head .daily-draw-head-streak {
  display: inline-block;
  margin-top: 7px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fdba74;
}
.daily-draw-head .daily-draw-head-streak .head-streak-round {
  font-size: 11px;
  font-weight: 600;
  color: #c2803e;
}
.daily-draw-head .daily-draw-head-streak .head-streak-best {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  font-weight: 600;
  color: inherit;
  opacity: 0.8;
}
.daily-draw-head .daily-draw-head-streak.is-new {
  color: #6b7280;
  background: #f3f4f6;
  border-color: #e5e7eb;
}
.daily-draw-head .daily-draw-head-streak.is-broken {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.daily-draw-cycle-sum {
  font-size: 13px;
  color: #6b7280;
  margin: 2px 0 8px;
}
.daily-draw-cycle-sum strong {
  color: #15803d;
  font-size: 14px;
}

.daily-draw-cycle-stat {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.daily-draw-cycle-stat .cycle-stat-title {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 5px;
}
.daily-draw-cycle-stat .cycle-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.daily-draw-cycle-stat .cycle-stat-item {
  text-align: center;
}
.daily-draw-cycle-stat .cycle-stat-item .cycle-stat-label {
  font-size: 11px;
  color: #94a3b8;
}
.daily-draw-cycle-stat .cycle-stat-item .cycle-stat-value {
  font-size: 17px;
  font-weight: 800;
  color: #15803d;
  line-height: 1.3;
}
.daily-draw-cycle-stat .cycle-stat-item .cycle-stat-value.is-order {
  color: #d97706;
}
.daily-draw-cycle-stat .cycle-stat-double {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
}
.daily-draw-cycle-stat .cycle-stat-double strong {
  font-size: 14px;
}

.daily-draw-orderline {
  margin: 0 0 10px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 800;
  color: #92400e;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1.5px solid #f59e0b;
}
.daily-draw-orderline strong {
  color: #b45309;
  font-size: 17px;
}
.daily-draw-orderline.is-got {
  color: #065f46;
  background: #d1fae5;
  border-color: #34d399;
}
.daily-draw-orderline.is-got strong {
  color: #047857;
}

.daily-draw-today {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 12px 0 10px;
}
.daily-draw-today strong {
  color: #C25700;
  font-size: 19px;
}

.daily-draw-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
}
.daily-draw-foot strong {
  color: #b45309;
  font-size: 14px;
}
.daily-draw-foot .foot-arrow {
  color: #b45309;
  font-weight: 700;
}

.daily-draw-progress {
  margin: 4px 0 14px;
}
.daily-draw-progress .daily-draw-days {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  padding: 8px 3px 3px;
}
.daily-draw-progress .daily-draw-days-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}
.daily-draw-progress .daily-draw-days-row.is-big-row {
  margin-top: 2px;
}
.daily-draw-progress .daily-draw-days-row.is-big-row .daily-draw-day {
  width: auto;
  min-width: 232px;
  height: 76px;
  border-radius: 999px;
  padding: 0 18px;
  gap: 12px;
  font-size: 32px;
}
.daily-draw-progress .daily-draw-day-cell {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.daily-draw-progress .daily-draw-day-sub {
  font-size: 13px;
  font-weight: 800;
  color: #15803d;
  line-height: 1.25;
  white-space: nowrap;
}
.daily-draw-progress .daily-draw-day-sub.is-repair {
  color: #d97706;
  font-size: 11px;
}
.daily-draw-progress .daily-draw-day-bonus {
  font-size: 10px;
  font-weight: 700;
  color: #d97706;
  line-height: 1.2;
  white-space: nowrap;
}
.daily-draw-progress .daily-draw-total {
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 6px;
}
.daily-draw-progress .daily-draw-day {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #999;
  background: #f1f1f1;
  border: 2px solid #e3e3e3;
}
.daily-draw-progress .daily-draw-day.filled {
  color: #fff;
  background: linear-gradient(135deg, #E56600, #ff6f43);
  border-color: transparent;
}
.daily-draw-progress .daily-draw-day.today:not(.filled) {
  border-color: #E56600;
  color: #C25700;
  animation: daily-day-glow 1.6s ease-in-out infinite;
}
.daily-draw-progress .daily-draw-day.clickable {
  cursor: pointer;
}
.daily-draw-progress .daily-draw-day.missed {
  background: #fff;
  border-style: dashed;
  border-color: #cbd5e1;
  color: #94a3b8;
  font-size: 19px;
}
.daily-draw-progress .daily-draw-day.repaired {
  border-style: dashed;
  border-color: #f59e0b;
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.18);
}
.daily-draw-progress .daily-draw-day.big {
  font-size: 24px;
  background: #FFF1E3;
  border-color: #ffb3d9;
}
.daily-draw-progress .daily-draw-day.big.filled {
  background: linear-gradient(135deg, #ffb3d9, #ffd700);
  border-color: transparent;
  animation: big-fill-glow 1.3s ease;
}
.daily-draw-progress .daily-draw-day.big.filled .day-big-bonus {
  color: #fff;
}
.daily-draw-progress .daily-draw-day.big.filled .day-big-tag {
  color: #fff;
}
.daily-draw-progress .daily-draw-day.big.today:not(.filled) {
  border-color: #C25700;
}
.daily-draw-progress .daily-draw-day .day-label {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.15;
}
.daily-draw-progress .daily-draw-day .day-pts {
  font-size: 11.5px;
  font-weight: 800;
  color: #15803d;
  white-space: nowrap;
  line-height: 1.15;
}
.daily-draw-progress .daily-draw-day .day-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}
.daily-draw-progress .daily-draw-day .day-stack .day-glyph {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}
.daily-draw-progress .daily-draw-day .day-big-crown {
  font-size: 26px;
  line-height: 1;
}
.daily-draw-progress .daily-draw-day .day-big-tag {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 13px;
  font-weight: 800;
  color: #C25700;
  letter-spacing: 3px;
  line-height: 1;
  margin-right: 2px;
}
.daily-draw-progress .daily-draw-day .day-big-bonus {
  font-size: 13px;
  font-weight: 800;
  color: #C25700;
  text-align: left;
  line-height: 1.3;
}
.daily-draw-progress .daily-draw-day .day-big-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}
.daily-draw-progress .daily-draw-day .day-big-stack .day-big-check {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.daily-draw-reward {
  text-align: left;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 8px 10px 9px;
  margin-top: 2px;
}
.daily-draw-reward .reward-head {
  font-size: 15px;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 6px;
}
.daily-draw-reward .reward-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13.5px;
  color: #7c2d12;
  line-height: 1.55;
  margin-bottom: 4px;
}
.daily-draw-reward .reward-item .reward-no {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: #f59e0b;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.daily-draw-reward .reward-item .reward-text {
  flex: 1 1 auto;
  text-align: left;
}
.daily-draw-reward .reward-item .reward-text strong {
  color: #b45309;
  font-size: 15px;
}
.daily-draw-reward .reward-coupons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px dashed #fcd34d;
}
.daily-draw-reward .coupon-chip {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px dashed #f0b429;
  color: #b45309;
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.12);
}
.daily-draw-reward .coupon-chip .coupon-chip-off {
  font-size: 12px;
  font-weight: 700;
}
.daily-draw-reward .coupon-chip .coupon-chip-face {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.daily-draw-reward .coupon-chip.is-max {
  background: linear-gradient(180deg, #fffdf5, #fff3d6);
  border-color: #d97706;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.daily-draw-coupon {
  font-size: 14px;
  color: #6d28d9;
  font-weight: 700;
  margin: 6px 0;
}

.daily-draw-order-hint {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border-radius: 12px;
  padding: 4px 12px;
  margin: 6px 0;
}
.daily-draw-order-hint.is-got {
  color: #065f46;
  background: #d1fae5;
}

@media (max-height: 780px), (max-width: 380px) {
  .daily-draw-modal {
    padding: 16px 14px 14px;
  }
  .daily-draw-progress {
    margin: 2px 0 6px;
  }
  .daily-draw-progress .daily-draw-progress-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .daily-draw-progress .daily-draw-total {
    font-size: 11px;
    margin-bottom: 3px;
  }
  .daily-draw-progress .daily-draw-days {
    gap: 4px;
    margin-bottom: 5px;
  }
  .daily-draw-progress .daily-draw-days-row {
    gap: 9px;
  }
  .daily-draw-progress .daily-draw-days-row.is-big-row .daily-draw-day {
    width: auto;
    min-width: 208px;
    height: 66px;
    padding: 0 14px;
    gap: 10px;
    font-size: 26px;
  }
  .daily-draw-progress .daily-draw-days-row.is-big-row .daily-draw-day .day-big-crown {
    font-size: 21px;
  }
  .daily-draw-progress .daily-draw-days-row.is-big-row .daily-draw-day .day-big-bonus {
    font-size: 12px;
  }
  .daily-draw-progress .daily-draw-day .day-label {
    font-size: 12px;
  }
  .daily-draw-progress .daily-draw-day .day-stack .day-glyph {
    font-size: 13px;
  }
  .daily-draw-progress .daily-draw-day {
    width: 54px;
    height: 54px;
    font-size: 15px;
    border-width: 2px;
  }
  .daily-draw-progress .daily-draw-day.big {
    font-size: 20px;
  }
  .daily-draw-progress .daily-draw-day.missed {
    font-size: 16px;
  }
  .daily-draw-progress .daily-draw-day-sub {
    font-size: 12px;
  }
  .daily-draw-progress .daily-draw-day-bonus {
    font-size: 9px;
  }
  .daily-draw-reward {
    padding: 8px 9px 9px;
  }
  .daily-draw-reward .reward-head {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .daily-draw-reward .reward-item {
    font-size: 12.5px;
    line-height: 1.5;
    gap: 6px;
  }
  .daily-draw-reward .reward-item .reward-no {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }
  .daily-draw-reward .reward-item .reward-text strong {
    font-size: 14px;
  }
  .daily-draw-reward .reward-coupons {
    gap: 5px;
    margin-top: 6px;
    padding-top: 7px;
  }
  .daily-draw-reward .coupon-chip {
    padding: 5px 10px;
  }
  .daily-draw-reward .coupon-chip .coupon-chip-off {
    font-size: 11px;
  }
  .daily-draw-reward .coupon-chip .coupon-chip-face {
    font-size: 16px;
  }
  .daily-draw-title {
    font-size: 16px;
    margin-bottom: 3px;
  }
  .daily-draw-sub {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .daily-draw-gift {
    font-size: 46px;
    margin: 6px 0 10px;
  }
  .daily-draw-prize {
    margin: 6px 0 3px;
  }
  .daily-draw-prize .daily-draw-prize-face {
    font-size: 19px;
  }
  .daily-draw-prize .daily-draw-prize-order {
    font-size: 19px;
  }
  .daily-draw-prize .daily-draw-prize-qty {
    font-size: 13px;
  }
  .daily-draw-order-note {
    font-size: 11px;
    margin-bottom: 2px;
  }
  .daily-draw-coupon {
    font-size: 13px;
    margin: 3px 0;
  }
  .daily-draw-order-hint {
    font-size: 12px;
    padding: 3px 10px;
    margin: 3px 0;
  }
  .daily-draw-spin {
    width: 132px;
    height: 68px;
    margin: 10px auto 8px;
  }
  .daily-draw-spin .daily-draw-spin-face {
    font-size: 30px;
  }
  .daily-draw-won {
    margin: 4px auto 2px;
    padding: 2px 0;
  }
  .daily-draw-won .daily-draw-won-card {
    width: 190px;
    padding: 8px 10px 8px;
  }
  .daily-draw-won .daily-draw-won-card .won-card-label {
    font-size: 11px;
  }
  .daily-draw-won .daily-draw-won-card .won-card-face {
    font-size: 30px;
  }
  .daily-draw-won .daily-draw-won-card .won-card-cond {
    font-size: 12px;
  }
  .daily-draw-won .daily-draw-won-card .won-card-valid {
    font-size: 9px;
    margin-top: 2px;
  }
  .daily-draw-btn {
    padding: 10px;
    font-size: 15px;
    margin-top: 6px;
  }
}
@media (max-width: 340px) {
  .daily-draw-modal {
    padding: 14px 10px 12px;
  }
  .daily-draw-progress .daily-draw-days {
    gap: 3px;
  }
  .daily-draw-progress .daily-draw-days-row {
    gap: 6px;
  }
  .daily-draw-progress .daily-draw-days-row.is-big-row .daily-draw-day {
    width: auto;
    min-width: 192px;
    height: 60px;
    padding: 0 12px;
    gap: 8px;
    font-size: 24px;
  }
  .daily-draw-progress .daily-draw-days-row.is-big-row .daily-draw-day .day-big-crown {
    font-size: 19px;
  }
  .daily-draw-progress .daily-draw-days-row.is-big-row .daily-draw-day .day-big-bonus {
    font-size: 11.5px;
  }
  .daily-draw-progress .daily-draw-day .day-label {
    font-size: 11px;
  }
  .daily-draw-progress .daily-draw-day .day-stack .day-glyph {
    font-size: 12px;
  }
  .daily-draw-progress .daily-draw-day {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }
  .daily-draw-progress .daily-draw-day.big {
    font-size: 18px;
  }
  .daily-draw-progress .daily-draw-day.missed {
    font-size: 15px;
  }
  .daily-draw-progress .daily-draw-day-sub {
    font-size: 11px;
  }
  .daily-draw-progress .daily-draw-day-bonus {
    font-size: 8px;
  }
}
@media (max-height: 780px), (max-width: 380px) {
  .daily-draw-head {
    margin-bottom: 8px;
  }
  .daily-draw-head .daily-draw-head-title {
    font-size: 19px;
  }
  .daily-draw-head .daily-draw-head-sub {
    font-size: 12px;
  }
  .daily-draw-head .daily-draw-head-streak {
    font-size: 12px;
    margin-top: 5px;
    padding: 2px 10px;
  }
  .daily-draw-head .daily-draw-head-streak .head-streak-best {
    font-size: 10px;
  }
  .daily-draw-cycle-sum {
    font-size: 12px;
    margin: 1px 0 6px;
  }
  .daily-draw-cycle-sum strong {
    font-size: 13px;
  }
  .daily-draw-orderline {
    margin-bottom: 8px;
    padding: 7px 10px;
    font-size: 13px;
  }
  .daily-draw-orderline strong {
    font-size: 15px;
  }
  .daily-draw-today {
    font-size: 14px;
    margin: 9px 0 8px;
  }
  .daily-draw-today strong {
    font-size: 18px;
  }
  .daily-draw-foot {
    margin-top: 9px;
    padding-top: 8px;
    font-size: 12px;
  }
}
@media (max-height: 780px), (max-width: 380px) {
  .daily-draw-cycle-stat {
    margin-bottom: 8px;
    padding: 7px 9px;
  }
  .daily-draw-cycle-stat .cycle-stat-title {
    font-size: 10px;
    margin-bottom: 4px;
  }
  .daily-draw-cycle-stat .cycle-stat-item .cycle-stat-label {
    font-size: 10px;
  }
  .daily-draw-cycle-stat .cycle-stat-item .cycle-stat-value {
    font-size: 15px;
  }
  .daily-draw-cycle-stat .cycle-stat-double {
    font-size: 11px;
    margin-top: 5px;
    padding-top: 5px;
  }
  .daily-draw-cycle-stat .cycle-stat-double strong {
    font-size: 13px;
  }
}
.daily-draw-broken {
  margin: 10px 0 4px;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}
.daily-draw-broken.is-flash {
  animation: broken-flash 1.4s ease;
}
.daily-draw-broken .broken-title {
  font-size: 18px;
  font-weight: 800;
  color: #b91c1c;
  margin-bottom: 4px;
}
.daily-draw-broken .broken-sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}
.daily-draw-broken .broken-sub strong {
  color: #b45309;
  font-size: 15px;
}
.daily-draw-broken .broken-note {
  font-size: 11px;
  color: #94a3b8;
  margin: 6px 0 10px;
}
.daily-draw-broken .broken-note.is-warn {
  color: #b45309;
  font-weight: 700;
}
.daily-draw-broken .daily-draw-btn.is-repair {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.daily-draw-broken .daily-draw-btn.is-restart {
  background: #fff;
  color: #6b7280;
  border: 1px solid #d1d5db;
  box-shadow: none;
}

.daily-draw-repair {
  margin: 14px 0 6px;
}
.daily-draw-repair .repair-title {
  font-size: 17px;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 12px;
}
.daily-draw-repair .repair-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 92px;
}
.daily-draw-repair .repair-coin {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
  animation: repair-coin-spin 0.9s ease-in-out infinite;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.daily-draw-repair .repair-coin.is-spent {
  animation: none;
  transform: scale(0.55) translateX(-14px);
  opacity: 0.35;
}
.daily-draw-repair .repair-card {
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border: 2px dashed rgba(255, 255, 255, 0.9);
  color: #fff;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: repair-card-pop 0.5s cubic-bezier(0.18, 1.6, 0.4, 1) both;
}
.daily-draw-repair .repair-card .repair-card-icon {
  font-size: 30px;
  line-height: 1.1;
}
.daily-draw-repair .repair-card .repair-card-text {
  font-size: 14px;
  font-weight: 800;
}
.daily-draw-repair .repair-card.is-applied {
  animation: repair-card-apply 0.6s ease forwards;
}
.daily-draw-repair .repair-card.is-ready {
  cursor: pointer;
  animation: repair-card-pop 0.5s cubic-bezier(0.18, 1.6, 0.4, 1) both, repair-card-invite 1.5s ease-in-out 0.5s infinite;
}
.daily-draw-repair .repair-hint {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #b45309;
}
.daily-draw-repair .repair-expiry {
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #dc2626;
}

.daily-draw-bottom-bar {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.daily-draw-bottom-close {
  padding: 7px 22px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@keyframes big-fill-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
  40% {
    box-shadow: 0 0 0 9px rgba(255, 215, 0, 0.45), 0 6px 24px rgba(245, 158, 11, 0.6);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}
@keyframes repair-card-invite {
  0%, 100% {
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.9), 0 0 0 7px rgba(251, 191, 36, 0.28);
  }
}
@keyframes repair-coin-spin {
  0%, 100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
}
@keyframes repair-card-pop {
  from {
    transform: scale(0.4) rotate(-8deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}
@keyframes repair-card-apply {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.12) translateY(-6px);
  }
  100% {
    transform: scale(0.9) translateY(0);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  }
}
@keyframes broken-flash {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
  }
  30% {
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.25);
  }
  60% {
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.12);
  }
}
.daily-draw-odds-note {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.6;
  margin: 6px 2px 0;
  text-align: center;
}

@media (max-height: 780px), (max-width: 380px) {
  .daily-draw-odds-note {
    font-size: 10px;
    margin-top: 5px;
  }
}
.checkin-addon {
  margin: 16px -22px 4px;
  padding: 14px 0 12px;
  border-top: 1px dashed #f0d3dd;
  border-bottom: 1px dashed #f0d3dd;
  background: linear-gradient(180deg, #fffaf3 0%, #fff5f8 100%);
}
.checkin-addon .checkin-addon-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}
.checkin-addon .checkin-addon-title {
  font-size: 15px;
  font-weight: 700;
  color: #C25700;
}
.checkin-addon .checkin-addon-clock {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: #f57c00;
  border-radius: 999px;
  padding: 2px 10px;
  letter-spacing: 0.5px;
  animation: checkin-addon-breathe 1.7s ease-in-out infinite;
}
.checkin-addon .checkin-addon-clock.is-urgent {
  background: #e53935;
  animation: checkin-addon-pulse 1s ease-in-out infinite;
}
.checkin-addon .checkin-addon-note {
  font-size: 12px;
  color: #8d6e63;
  margin-top: 4px;
  padding: 0 16px;
}
.checkin-addon .checkin-addon-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 10px 16px 4px;
  scrollbar-width: none;
}
.checkin-addon .checkin-addon-rail::-webkit-scrollbar {
  display: none;
}
.checkin-addon .checkin-addon-rail.is-grid {
  gap: 8px;
  scroll-snap-type: x mandatory;
}
.checkin-addon .checkin-addon-rail.is-grid .checkin-addon-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
.checkin-addon .checkin-addon-rail.is-grid .checkin-addon-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
}
.checkin-addon .checkin-addon-card {
  flex: 0 0 108px;
  scroll-snap-align: start;
  text-align: left;
  cursor: pointer;
}
.checkin-addon .checkin-addon-thumb {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}
.checkin-addon .checkin-addon-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.checkin-addon .checkin-addon-off {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #e53935;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 0 8px 0 10px;
}
.checkin-addon .checkin-addon-name {
  font-size: 12px;
  line-height: 1.35;
  color: #333;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.checkin-addon .checkin-addon-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 3px;
}
.checkin-addon .checkin-addon-was {
  font-size: 11px;
  color: #9e9e9e;
  text-decoration: line-through;
}
.checkin-addon .checkin-addon-now {
  font-size: 15px;
  font-weight: 800;
  color: #e53935;
}
.checkin-addon .checkin-addon-more {
  display: block;
  margin: 6px auto 0;
  background: none;
  border: none;
  color: #C25700;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
}
.checkin-addon .checkin-addon-more.is-primary {
  width: calc(100% - 32px);
  margin: 10px auto 2px;
  padding: 11px 12px;
  background: linear-gradient(135deg, #e53935 0%, #C25700 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.35);
}

@keyframes checkin-addon-breathe {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.07);
    opacity: 0.72;
  }
}
@keyframes checkin-addon-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
.checkin-addon-bar {
  position: fixed;
  top: 8px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  z-index: 1000;
  max-width: calc(100vw - 196px);
  display: flex;
  align-items: center;
  background: #fff;
  color: #07354C;
  border: 1.5px solid #FFD9B8;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  animation: daily-draw-pop 0.25s ease-out;
}
.checkin-addon-bar.is-b .checkin-addon-bar-main {
  padding: 4px 22px 5px 12px;
}
.checkin-addon-bar.is-b .checkin-addon-bar-t1 {
  font-size: 14px;
}
.checkin-addon-bar .checkin-addon-bar-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 3px 12px 4px;
  cursor: pointer;
  min-width: 0;
  line-height: 1.25;
}
.checkin-addon-bar .checkin-addon-bar-t1 {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.checkin-addon-bar .checkin-addon-bar-clock {
  flex: 0 0 auto;
  width: 58px;
  box-sizing: border-box;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #8A3D00;
  background: #FFE8D1;
  border-radius: 7px;
  padding: 0 4px;
  animation: checkin-addon-breathe 1.7s ease-in-out infinite;
}
.checkin-addon-bar .checkin-addon-bar-clock.is-urgent {
  color: #fff;
  background: #d32f2f;
  animation: checkin-addon-pulse 1s ease-in-out infinite;
}
.checkin-addon-bar .checkin-addon-bar-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #C25700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1;
  transition: transform 0.2s, background 0.2s;
}
.checkin-addon-bar .checkin-addon-bar-close:hover {
  background: #FFF1E3;
  transform: scale(1.1);
}

.product-front-item .img, .recommend-card-img, .rec-bubble-card-img {
  position: relative;
}
.product-front-item .img .addon-img-off, .recommend-card-img .addon-img-off, .rec-bubble-card-img .addon-img-off {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  background: #e53935;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 0 8px 0 8px;
  letter-spacing: 0.3px;
}
.product-front-item .img .offer-img-off, .recommend-card-img .offer-img-off, .rec-bubble-card-img .offer-img-off {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  background: #f57c00;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 0 8px 0 8px;
  letter-spacing: 0.3px;
}

@media screen and (max-width: 767px) {
  .checkin-addon {
    margin-left: -14px;
    margin-right: -14px;
  }
  .checkin-addon .checkin-addon-head, .checkin-addon .checkin-addon-note {
    padding-left: 12px;
    padding-right: 12px;
  }
  .checkin-addon .checkin-addon-rail {
    padding-left: 12px;
    padding-right: 12px;
  }
}
.price .addon-price {
  color: #e53935;
  font-weight: 800;
}
.price .addon-price-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #e53935;
  border-radius: 999px;
  padding: 1px 7px;
  vertical-align: middle;
  white-space: nowrap;
}

.recommend-card-price.is-addon, .rec-bubble-card-price.is-addon {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}
.recommend-card-price.is-addon .rec-was, .rec-bubble-card-price.is-addon .rec-was {
  font-size: 11px;
  color: #9e9e9e;
  text-decoration: line-through;
}
.recommend-card-price.is-addon .rec-now, .rec-bubble-card-price.is-addon .rec-now {
  color: #e53935;
  font-weight: 800;
}

.addon-spec-label {
  color: #e53935;
  font-weight: 700;
}

.addon-spec-price {
  color: #e53935;
  font-weight: 800;
}

.addon-spec-tag {
  display: inline-block;
  margin-left: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #e53935;
  border-radius: 999px;
  padding: 1px 6px;
  vertical-align: middle;
  white-space: nowrap;
}

.addon-spec-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffebee 100%);
  border: 1px solid #ffcdd2;
}
.addon-spec-banner .addon-spec-banner-icon {
  font-size: 16px;
}
.addon-spec-banner .addon-spec-banner-text {
  flex: 1;
  font-size: 13px;
  color: #b71c1c;
}
.addon-spec-banner .addon-spec-banner-text b {
  font-weight: 800;
}
.addon-spec-banner .addon-spec-banner-clock {
  flex: 0 0 64px;
  width: 64px;
  box-sizing: border-box;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: #f57c00;
  border-radius: 999px;
  padding: 2px 8px;
  animation: checkin-addon-breathe 1.7s ease-in-out infinite;
}
.addon-spec-banner .addon-spec-banner-clock.is-urgent {
  background: #e53935;
  animation: checkin-addon-pulse 1s ease-in-out infinite;
}

.offer-spec-banner {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 10px 16px 11px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff9f2 0%, #ffeae5 58%, #ffdbd4 100%);
  border: 1px solid #ffc2b8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 0 #f2b4a8, 0 7px 14px -5px rgba(183, 28, 28, 0.3);
}
.offer-spec-banner .offer-spec-banner-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.offer-spec-banner .offer-spec-banner-icon {
  font-size: 16px;
  line-height: 1;
}
.offer-spec-banner .offer-spec-banner-text {
  font-size: 13px;
  font-weight: 700;
  color: #b71c1c;
}
.offer-spec-banner .offer-spec-banner-deadline {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #ffa93d 0%, #f57c00 100%);
  border-radius: 999px;
  padding: 4px 15px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 1px rgba(120, 50, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 0 #d16a00, 0 4px 8px -2px rgba(213, 106, 0, 0.45);
  transform-origin: left center;
  animation: checkin-addon-breathe 1.7s ease-in-out infinite;
}

.recommend-title.is-addon, .title-product.is-addon {
  color: #e53935;
}

@media (prefers-reduced-motion: reduce) {
  .checkin-addon-clock, .checkin-addon-bar-clock, .addon-spec-banner-clock {
    animation: none !important;
  }
}
@keyframes chat-quote-flash {
  0% {
    box-shadow: 0 0 0 3px rgba(229, 102, 0, 0.55);
  }
  70% {
    box-shadow: 0 0 0 3px rgba(229, 102, 0, 0.55);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(229, 102, 0, 0);
  }
}
.page-search {
  padding: 0 0 2rem;
  margin: 0 auto;
  max-width: 400px;
}

.form-search {
  margin: 1rem 0 0.5rem;
}
.form-search .form-group {
  flex-grow: 1;
  margin: 0 0.5rem 0 0;
}
.form-search .form-group input {
  width: 100%;
}

.list-search-hot {
  list-style: none;
  margin: 0 -0.25rem 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.list-search-hot li {
  width: 25%;
  padding: 0.25rem;
}
.list-search-hot li a {
  display: block;
  border: 1px solid #E56600;
  color: #C25700;
  padding: 6px;
  text-align: center;
  font-size: 13px;
  border-radius: 2px;
}

.list-search-history {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-search-history.showAll li {
  display: block;
}
.list-search-history li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: none;
}
.list-search-history li:nth-child(-n+5) {
  display: block;
}
.list-search-history li a {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  color: #808080;
  font-size: 14px;
}
.list-search-history li a span {
  color: #ccc;
}
.list-search-history li a b {
  font-weight: normal;
  color: #333;
}

section.manage-promotions .card.shadow-sm {
  overflow: visible !important;
  min-height: 600px !important;
}
section.manage-promotions .card-body.p-0 {
  overflow: visible !important;
  min-height: 600px !important;
}
section.manage-promotions .table-responsive {
  overflow: visible !important;
  min-height: 600px !important;
}
section.manage-promotions table,
section.manage-promotions tbody,
section.manage-promotions tbody tr,
section.manage-promotions tbody td {
  overflow: visible !important;
}
section.manage-promotions .dropdown-menu.show,
section.manage-promotions .btn-group .dropdown-menu,
section.manage-promotions .dropdown-menu {
  position: absolute !important;
  z-index: 9999 !important;
  will-change: transform !important;
}

.live-chat-nav {
  position: relative;
}
.live-chat-nav .unread-badge {
  position: absolute;
  top: 0px;
  right: -10px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #f44336;
  color: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  border-radius: 11px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.live-chat-container {
  display: flex;
  height: calc(100vh - 60px);
  background: #f5f5f5;
}

.page-live-chat-manage {
  overflow: hidden !important;
  height: 100vh !important;
}
.page-live-chat-manage footer,
.page-live-chat-manage .footer-bottom,
.page-live-chat-manage .footer-manage {
  display: none !important;
}

.chat-sidebar {
  width: 360px;
  background: white;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.chat-sidebar-header {
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
}
.chat-sidebar-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px 0;
  font-size: 18px;
  color: #333;
}
.chat-sidebar-header h3 .material-symbols-rounded {
  color: #C25700;
}
.chat-sidebar-header h3 .connection-status {
  margin-left: auto;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #ffebee;
  color: #c62828;
}
.chat-sidebar-header h3 .connection-status.connected {
  background: #e8f5e9;
  color: #2e7d32;
}

.chat-filter-row {
  display: flex;
  gap: 8px;
}
.chat-filter-row .chat-status-filter,
.chat-filter-row .chat-delivery-filter {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  background: white;
  max-width: 110px;
}
.chat-filter-row .chat-search {
  flex: 1;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}
.chat-filter-row .chat-search::placeholder {
  color: #999;
}

.conversations-list {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.conversation-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s;
}
.conversation-item:hover {
  background: #f9f9f9;
}
.conversation-item.active {
  background: #e3f2fd;
}
.conversation-item.has-unread {
  background: #fff8e1;
}
.conversation-item.has-unread:hover {
  background: #fff3cd;
}

.conversation-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  background: #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.conversation-avatar .material-symbols-rounded {
  color: #757575;
  font-size: 24px;
}
.conversation-avatar .unread-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #f44336;
  border-radius: 50%;
  border: 2px solid white;
}
.conversation-avatar .status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
}
.conversation-avatar .status-dot.waiting {
  background: #ff9800;
}
.conversation-avatar .status-dot.active {
  background: #4caf50;
}
.conversation-avatar .status-dot.resolved {
  background: #9e9e9e;
}

.conversation-info {
  flex: 1;
  min-width: 0;
}

.conversation-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.conversation-header .customer-name {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conversation-header .customer-number {
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
}
.conversation-header .unread-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #f44336;
  color: white;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  flex-shrink: 0;
}
.conversation-header .conversation-time {
  font-size: 11px;
  color: #999;
  flex-shrink: 0;
  margin-left: auto;
}

.conversation-delivery .delivery-text {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-preview {
  display: flex;
  align-items: center;
  gap: 8px;
}
.conversation-preview .last-message {
  flex: 1;
  font-size: 13px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conversation-preview .unread-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #f44336;
  color: white;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  border-radius: 10px;
}

.conversation-status {
  margin-top: 4px;
}
.conversation-status .status-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}
.conversation-status .status-tag.waiting {
  background: #fff3e0;
  color: #e65100;
}
.conversation-status .status-tag.active {
  background: #e8f5e9;
  color: #2e7d32;
}
.conversation-status .status-tag.resolved {
  background: #f5f5f5;
  color: #757575;
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.no-chat-selected {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
}
.no-chat-selected .material-symbols-rounded {
  font-size: 64px;
  margin-bottom: 16px;
  color: #ddd;
}
.no-chat-selected h2 {
  margin: 0 0 8px 0;
  color: #666;
  font-weight: normal;
}
.no-chat-selected p {
  margin: 0;
  font-size: 14px;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: white;
  border-bottom: 1px solid #e0e0e0;
}

.customer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.customer-avatar {
  width: 40px;
  height: 40px;
  background: #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.customer-avatar .material-symbols-rounded {
  color: #757575;
  font-size: 24px;
}

.customer-details h4 {
  margin: 0;
  font-size: 15px;
  color: #333;
}
.customer-details .customer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.customer-details .customer-id {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}
.customer-details .customer-phone {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #888;
}
.customer-details .customer-phone .material-symbols-rounded {
  font-size: 14px;
}

.chat-actions {
  display: flex;
  gap: 8px;
}
.chat-actions .btn-icon {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.chat-actions .btn-icon:hover {
  background: #f0f0f0;
}
.chat-actions .btn-icon .material-symbols-rounded {
  color: #666;
  font-size: 22px;
}

.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: 140px;
  position: relative;
}

.load-more-messages,
.no-more-messages {
  text-align: center;
  padding: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #999;
}
.load-more-messages .spin,
.no-more-messages .spin {
  font-size: 18px;
  vertical-align: middle;
  margin-right: 4px;
}

.btn-load-more {
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-load-more:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.message-item {
  display: flex;
  margin-bottom: 16px;
}
.message-item.from-customer {
  justify-content: flex-start;
}
.message-item.from-customer .message-content {
  background: white;
  border: 1px solid #e0e0e0;
}
.message-item.from-staff {
  justify-content: flex-end;
}
.message-item.from-staff .message-content {
  background: #ffe4ef;
  color: #333;
}
.message-item.from-staff .message-content .message-time {
  color: #333;
}
.message-item.from-staff .message-content .material-symbols-rounded {
  color: #333;
}

.message-item .message-content {
  max-width: 70%;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 16px;
}
@media (min-width: 992px) {
  .message-item .message-content {
    max-width: 50%;
  }
}
.message-item .message-content .message-text {
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}
.message-item .message-content .message-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 11px;
}
.message-item .message-content .message-meta .message-time {
  color: #999;
}
.message-item .message-content .message-meta .message-status .material-symbols-rounded {
  font-size: 14px;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: #999;
  font-size: 13px;
}
.typing-indicator .dot {
  width: 6px;
  height: 6px;
  background: #999;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}
.typing-indicator .dot:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}
.quick-replies-bar {
  position: absolute;
  bottom: 70px;
  left: 0;
  right: 0;
  display: flex;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border-top: 1px solid #e0e0e0;
  overflow-x: auto;
  z-index: 10;
}
.quick-replies-bar::-webkit-scrollbar {
  height: 4px;
}
.quick-replies-bar::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}

.quick-reply-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}
.quick-reply-btn:hover {
  background: #e0e0e0;
  color: #333;
}

.message-input-area {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border-top: 1px solid #e0e0e0;
  z-index: 10;
}

.message-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
  resize: none;
  max-height: 120px;
  overflow-y: auto;
}
.message-input:focus {
  outline: none;
  border-color: #E56600;
}
.message-input::placeholder {
  color: #999;
}

.send-btn {
  width: 44px;
  height: 44px;
  background: #E56600;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.send-btn:hover:not(:disabled) {
  background: rgb(178, 79.2838427948, 0);
}
.send-btn:disabled {
  background: #e0e0e0;
  cursor: not-allowed;
}
.send-btn .material-symbols-rounded {
  color: white;
  font-size: 22px;
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  color: #999;
  font-size: 13px;
  white-space: nowrap;
}
.loading-spinner .spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.no-conversations {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: #999;
}
.no-conversations .material-symbols-rounded {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 12px;
}
.no-conversations p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .live-chat-container {
    flex-direction: column;
  }
  .chat-sidebar {
    width: 100%;
    height: 40vh;
  }
  .chat-main {
    height: 60vh;
  }
}
.load-more-sentinel {
  padding: 16px;
  text-align: center;
}
.load-more-sentinel .loading-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #999;
  font-size: 13px;
}
.load-more-sentinel .loading-more .spin {
  animation: spin 1s linear infinite;
}
.load-more-sentinel .load-more-hint {
  color: #bbb;
  font-size: 12px;
}

.customers-info {
  padding: 8px 16px;
  background: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}
.customers-info small {
  color: #888;
  font-size: 12px;
}

.upload-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.upload-btn:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #E56600;
}
.upload-btn:hover:not(:disabled) .material-symbols-rounded {
  color: #C25700;
}
.upload-btn:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.6;
}
.upload-btn .material-symbols-rounded {
  color: #666;
  font-size: 22px;
}

.upload-progress {
  position: absolute;
  bottom: 70px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #fff3e0;
  border-top: 1px solid #ffe0b2;
  z-index: 11;
}
.upload-progress .progress-bar {
  flex: 1;
  height: 6px;
  background: #ffe0b2;
  border-radius: 3px;
  overflow: hidden;
}
.upload-progress .progress-bar .progress-fill {
  height: 100%;
  background: #ff9800;
  border-radius: 3px;
  transition: width 0.2s;
}
.upload-progress .progress-text {
  font-size: 12px;
  color: #e65100;
  white-space: nowrap;
}

.message-item {
  position: relative;
}
.message-item:hover .msg-side {
  opacity: 1;
  pointer-events: auto;
}

.msg-side {
  display: flex;
  align-items: center;
  gap: 4px;
  align-self: center;
  padding: 0 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.from-staff .msg-side {
  order: -1;
  flex-direction: row-reverse;
}

.msg-side-btn {
  flex: none;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, color 0.15s;
}
.msg-side-btn:hover {
  background: rgba(0, 0, 0, 0.12);
}
.msg-side-btn.is-recall:hover {
  background: rgba(211, 47, 47, 0.12);
  color: #d32f2f;
}
.msg-side-btn .material-symbols-rounded {
  font-size: 16px;
}

.msg-hint {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
  display: none;
}
@media (min-width: 992px) {
  .msg-hint {
    display: inline;
  }
}

.staff-quote {
  cursor: pointer;
}

.message-item.is-highlighted .message-content {
  animation: staff-quote-flash 3s ease-out;
}

@keyframes staff-quote-flash {
  0% {
    box-shadow: 0 0 0 3px rgba(229, 102, 0, 0.55);
  }
  70% {
    box-shadow: 0 0 0 3px rgba(229, 102, 0, 0.55);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(229, 102, 0, 0);
  }
}
.message-content.is-recalled {
  background: transparent !important;
  border: 1px dashed #d5d5d5 !important;
  color: #999 !important;
}

.message-recalled {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-style: italic;
  color: #999;
}
.message-recalled .material-symbols-rounded {
  font-size: 16px;
}

.send-hint {
  display: none;
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
  align-self: center;
  margin: 0 6px;
}
@media (min-width: 992px) {
  .send-hint {
    display: inline;
  }
}

.staff-reply-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin-bottom: 6px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
}
.staff-reply-bar .staff-reply-body {
  flex: 1;
  min-width: 0;
  border-left: 3px solid #E56600;
  padding-left: 8px;
}
.staff-reply-bar .staff-reply-who {
  font-size: 11px;
  font-weight: 600;
  color: #C25700;
}
.staff-reply-bar .staff-reply-text {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.staff-reply-bar .staff-reply-cancel {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: #e6e6e6;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.staff-reply-bar .staff-reply-cancel .material-symbols-rounded {
  font-size: 15px;
}

.staff-quote {
  margin-bottom: 4px;
  padding: 5px 9px;
  border-left: 3px solid #E56600;
  border-radius: 0 6px 6px 0;
  background: rgba(0, 0, 0, 0.05);
}
.staff-quote .staff-quote-head {
  display: flex;
  align-items: center;
  gap: 5px;
}
.staff-quote .staff-quote-avatar {
  font-size: 14px;
  opacity: 0.7;
}
.staff-quote .staff-quote-avatar-img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.staff-quote .staff-quote-who {
  font-size: 11px;
  font-weight: 600;
  color: #C25700;
}
.staff-quote .staff-quote-text {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.message-image img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}
.message-image img:hover {
  transform: scale(1.02);
}

.message-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.message-file:hover {
  background: rgba(0, 0, 0, 0.1);
}
.message-file .file-icon {
  font-size: 32px;
  color: #666;
}
.message-file .file-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.message-file .file-info .file-name {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message-file .file-info .file-size {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}
.image-lightbox .lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.image-lightbox .lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.image-lightbox .lightbox-close .material-symbols-rounded {
  font-size: 28px;
}
.image-lightbox .lightbox-zoom {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  cursor: default;
}
.image-lightbox .lightbox-zoom button {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.image-lightbox .lightbox-zoom button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
}
.image-lightbox .lightbox-zoom button:disabled {
  opacity: 0.35;
  cursor: default;
}
.image-lightbox .lightbox-zoom button .material-symbols-rounded {
  font-size: 20px;
}
.image-lightbox .lightbox-zoom-level {
  min-width: 46px;
  text-align: center;
  font-size: 12px;
  color: #fff;
  user-select: none;
}
.image-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  -webkit-user-drag: none;
  user-select: none;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
}

.tx-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px 3px 6px;
  border-radius: 20px;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.4;
}
.tx-badge .badge-icon {
  font-size: 13px;
  line-height: 1;
  font-variation-settings: "FILL" 1;
}

.tx-badge-topup {
  background: #d4edda;
  color: #155724;
  border: 1px solid #b1dfbb;
}

.tx-badge-spend {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f1aeb5;
}

.tx-badge-refund {
  background: #fff3cd;
  color: #664d03;
  border: 1px solid #ffda6a;
}

.tx-badge-adjust-add {
  background: #cff4fc;
  color: #055160;
  border: 1px solid #9eeaf9;
}

.tx-badge-adjust-deduct {
  background: #e2e3e5;
  color: #41464b;
  border: 1px solid #c4c8cb;
}

.tx-badge-rejected {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f1aeb5;
  opacity: 0.8;
}

.tx-badge-pending {
  background: #fff8e1;
  color: #6d4c00;
  border: 2px solid #ffc107;
  animation: tx-pending-pulse 1.6s ease-in-out infinite;
}

@keyframes tx-pending-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0);
  }
}
.wallet-dashboard .kpi-row {
  margin-left: -8px;
  margin-right: -8px;
}
.wallet-dashboard .kpi-row > [class*=col-] {
  padding-left: 8px;
  padding-right: 8px;
}
.wallet-dashboard .kpi-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #94a3b8;
  border-radius: 6px;
  padding: 12px 14px;
  height: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.wallet-dashboard .kpi-card.kpi-positive {
  border-left-color: #10b981;
}
.wallet-dashboard .kpi-card.kpi-negative {
  border-left-color: #ef4444;
}
.wallet-dashboard .kpi-card .kpi-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.wallet-dashboard .kpi-card .kpi-value {
  font-size: 22px;
  font-weight: 700;
  font-family: "Courier New", monospace;
  color: #111827;
  line-height: 1.2;
}
.wallet-dashboard .kpi-card .kpi-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 4px;
}
.wallet-dashboard .box-chart-lg {
  position: relative;
  height: 320px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px;
}
.wallet-dashboard .box-chart {
  position: relative;
  height: 260px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px;
}
@media (max-width: 991px) {
  .wallet-dashboard .invisible-on-mobile {
    display: none;
  }
}
.wallet-dashboard section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f2937;
}

.points-dashboard .kpi-row {
  margin-left: -8px;
  margin-right: -8px;
}
.points-dashboard .kpi-row > [class*=col-] {
  padding-left: 8px;
  padding-right: 8px;
}
.points-dashboard .kpi-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #94a3b8;
  border-radius: 6px;
  padding: 12px 14px;
  height: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.points-dashboard .kpi-card.kpi-positive {
  border-left-color: #10b981;
}
.points-dashboard .kpi-card.kpi-negative {
  border-left-color: #ef4444;
}
.points-dashboard .kpi-card.kpi-warning {
  border-left-color: #b45309;
}
.points-dashboard .kpi-card .kpi-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.points-dashboard .kpi-card .kpi-value {
  font-size: 22px;
  font-weight: 700;
  font-family: "Courier New", monospace;
  color: #111827;
  line-height: 1.2;
}
.points-dashboard .kpi-card .kpi-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 4px;
}
.points-dashboard .box-chart-lg {
  position: relative;
  height: 320px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px;
}
.points-dashboard .box-chart {
  position: relative;
  height: 260px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px;
}
@media (max-width: 991px) {
  .points-dashboard .invisible-on-mobile {
    display: none;
  }
}
.points-dashboard section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f2937;
}

.my-cart {
  padding: 24px 0;
}
.my-cart__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.my-cart__empty {
  text-align: center;
  padding: 48px 0;
  color: #999;
}
.my-cart__empty-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}
.my-cart__item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 12px;
}
.my-cart__item-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
}
.my-cart__item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.my-cart__item-info {
  flex: 1;
  min-width: 0;
}
.my-cart__item-name {
  font-weight: 600;
  margin-bottom: 6px;
}
.my-cart__item-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #555;
}
.my-cart__item-specs li {
  overflow: hidden;
}
.my-cart__item-specs .spec-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: visible;
}
.my-cart__item-specs .spec-row .spec-name {
  flex: 1;
  min-width: 0;
}
.my-cart__item-specs .spec-row .qty-control {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.my-cart__item-specs .spec-row .qty-btn {
  width: 22px;
  height: 22px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.my-cart__item-specs .spec-row .qty-btn:hover {
  background: #f0f0f0;
}
.my-cart__item-specs .spec-row .qty-value {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}
.my-cart__item-specs .spec-amount {
  float: right;
}
.my-cart__item-specs .spec-discount {
  color: #C25700;
  margin-top: 4px;
}
.my-cart__item-subtotal {
  margin-top: 8px;
  font-weight: 600;
  color: #C25700;
}
.my-cart__discount-reset {
  margin-top: 6px;
  font-size: 12px;
  color: #e07a00;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.my-cart__discount-reset .material-symbols-rounded {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.my-cart__total {
  background: #fafafa;
  border-radius: 6px;
  padding: 16px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.my-cart__total-label {
  font-size: 1.1rem;
  font-weight: 700;
}
.my-cart__total-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: #C25700;
}
.my-cart__confirm {
  border: 2px solid #E56600;
  border-radius: 6px;
  padding: 24px 16px;
  margin-top: 16px;
  text-align: center;
}
.my-cart__confirm-question {
  font-weight: 600;
  margin-bottom: 12px;
}
.my-cart__confirm-note {
  color: #999;
  font-size: 13px;
  margin-bottom: 16px;
}
.my-cart__confirm-actions {
  display: flex;
  gap: 8px;
}
.my-cart__checkout-btn {
  font-size: 1.1rem;
  margin-top: 16px;
}
.my-cart__cvs {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}
.my-cart__cvs-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #333;
}
.my-cart__cvs-header .material-symbols-rounded {
  color: #e63329;
  font-size: 20px;
}
.my-cart__cvs-polling {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
  margin-left: auto;
}
.my-cart__cvs-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  border-color: #e63329;
  color: #e63329;
}
.my-cart__cvs-btn:hover {
  background: #fff0f0;
}
.my-cart__cvs-btn .material-symbols-rounded {
  font-size: 18px;
}
.my-cart__cvs-selected {
  background: #fff;
  border: 1px solid #d4e8d4;
  border-radius: 6px;
  padding: 12px;
}
.my-cart__cvs-name {
  font-weight: 600;
  color: #1a7c1a;
  font-size: 1rem;
  margin-bottom: 4px;
}
.my-cart__cvs-address {
  font-size: 13px;
  color: #666;
}

.purchases-page, .transfers-page {
  font-size: 15px;
  color: #1f2937;
}
.purchases-page .pm-toolbar, .transfers-page .pm-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.purchases-page .pm-kpis, .transfers-page .pm-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.purchases-page .pm-kpi, .transfers-page .pm-kpi {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}
.purchases-page .pm-kpi .pm-kpi-icon, .transfers-page .pm-kpi .pm-kpi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 21px;
  color: #fff;
  flex: none;
}
.purchases-page .pm-kpi .pm-kpi-num, .transfers-page .pm-kpi .pm-kpi-num {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
  color: #1f2937;
}
.purchases-page .pm-kpi .pm-kpi-label, .transfers-page .pm-kpi .pm-kpi-label {
  font-size: 13px;
  color: #8a93a3;
  margin-top: 3px;
}
.purchases-page .pm-kpi-blue .pm-kpi-icon, .transfers-page .pm-kpi-blue .pm-kpi-icon {
  background: linear-gradient(135deg, #4f8cff, #2f6bff);
}
.purchases-page .pm-kpi-green .pm-kpi-icon, .transfers-page .pm-kpi-green .pm-kpi-icon {
  background: linear-gradient(135deg, #34d399, #10b981);
}
.purchases-page .pm-kpi-amber .pm-kpi-icon, .transfers-page .pm-kpi-amber .pm-kpi-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.purchases-page .pm-stats, .transfers-page .pm-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.purchases-page .pm-stat, .transfers-page .pm-stat {
  flex: 1 1 130px;
  min-width: 112px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  padding: 11px 15px;
  border-left: 4px solid #9aa4b2;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: box-shadow 0.15s, transform 0.15s;
}
.purchases-page .pm-stat:hover, .transfers-page .pm-stat:hover {
  box-shadow: 0 3px 10px rgba(16, 24, 40, 0.1);
  transform: translateY(-1px);
}
.purchases-page .pm-stat .pm-stat-num, .transfers-page .pm-stat .pm-stat-num {
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}
.purchases-page .pm-stat .pm-stat-label, .transfers-page .pm-stat .pm-stat-label {
  font-size: 13px;
  color: #8a93a3;
  margin-top: 5px;
}
.purchases-page .pm-stat--gray, .transfers-page .pm-stat--gray {
  border-left-color: #9aa4b2;
}
.purchases-page .pm-stat--gray .pm-stat-num, .transfers-page .pm-stat--gray .pm-stat-num {
  color: #6b7280;
}
.purchases-page .pm-stat--amber, .transfers-page .pm-stat--amber {
  border-left-color: #f59e0b;
}
.purchases-page .pm-stat--amber .pm-stat-num, .transfers-page .pm-stat--amber .pm-stat-num {
  color: #d97706;
}
.purchases-page .pm-stat--blue, .transfers-page .pm-stat--blue {
  border-left-color: #3b82f6;
}
.purchases-page .pm-stat--blue .pm-stat-num, .transfers-page .pm-stat--blue .pm-stat-num {
  color: #2563eb;
}
.purchases-page .pm-stat--red, .transfers-page .pm-stat--red {
  border-left-color: #ef4444;
}
.purchases-page .pm-stat--red .pm-stat-num, .transfers-page .pm-stat--red .pm-stat-num {
  color: #dc2626;
}
.purchases-page .pm-stat--slate, .transfers-page .pm-stat--slate {
  border-left-color: #475569;
}
.purchases-page .pm-stat--slate .pm-stat-num, .transfers-page .pm-stat--slate .pm-stat-num {
  color: #334155;
}
.purchases-page .pm-cards, .transfers-page .pm-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-bottom: 0;
}
.purchases-page .pm-cards > .pm-card, .transfers-page .pm-cards > .pm-card {
  flex: 1 1 0;
  min-width: 0;
}
.purchases-page .pm-card, .transfers-page .pm-card {
  height: 100%;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}
.purchases-page .pm-card-head, .transfers-page .pm-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 12px;
  border-bottom: 1px solid #f0f2f6;
  font-weight: 700;
  font-size: 13.5px;
  color: #374151;
  white-space: nowrap;
}
.purchases-page .pm-card-head span, .transfers-page .pm-card-head span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.purchases-page .pm-card-body, .transfers-page .pm-card-body {
  padding: 6px 12px 11px;
}
.purchases-page .pm-card-row, .transfers-page .pm-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 14px;
  border-bottom: 1px dashed #f1f3f7;
}
.purchases-page .pm-card-row:last-child, .transfers-page .pm-card-row:last-child {
  border-bottom: 0;
}
.purchases-page .pm-card-row .pm-card-key, .transfers-page .pm-card-row .pm-card-key {
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.purchases-page .pm-card-row > span:last-child, .transfers-page .pm-card-row > span:last-child {
  flex: none;
  white-space: nowrap;
}
.purchases-page .pm-pic-row, .transfers-page .pm-pic-row {
  align-items: flex-start;
}
.purchases-page .pm-pic-stat, .transfers-page .pm-pic-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}
.purchases-page .pm-pic-stat .pm-pic-done, .transfers-page .pm-pic-stat .pm-pic-done {
  font-size: 11.5px;
  color: #8a93a3;
  white-space: nowrap;
}
.purchases-page .pm-filter, .transfers-page .pm-filter {
  position: sticky;
  top: 48px;
  z-index: 30;
  background: #f7f9fc;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 0;
  box-shadow: 0 8px 0 0 #fff, 0 9px 6px -4px rgba(16, 24, 40, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}
.purchases-page .pm-fgroup, .transfers-page .pm-fgroup {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  padding-right: 14px;
  border-right: 1px solid #e3e8ef;
}
.purchases-page .pm-fgroup:last-of-type, .transfers-page .pm-fgroup:last-of-type {
  border-right: 0;
  padding-right: 0;
}
.purchases-page .pm-field, .transfers-page .pm-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.purchases-page .pm-field .pm-field-label, .transfers-page .pm-field .pm-field-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #8a93a3;
  letter-spacing: 0.02em;
  padding-left: 2px;
}
.purchases-page .pm-field .form-control, .purchases-page .pm-field > button, .transfers-page .pm-field .form-control, .transfers-page .pm-field > button {
  font-size: 14px;
  height: 34px;
}
.purchases-page .pm-filter-actions, .transfers-page .pm-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.purchases-page .pm-filter-actions .btn, .transfers-page .pm-filter-actions .btn {
  height: 34px;
}
.purchases-page .pm-check, .transfers-page .pm-check {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  margin: 0;
  user-select: none;
}
.purchases-page .pm-table, .transfers-page .pm-table {
  font-size: 16px;
  border-color: #e5e9f0;
}
.purchases-page .pm-table > thead > tr > th, .transfers-page .pm-table > thead > tr > th {
  position: sticky;
  top: var(--pm-head-top, 132px);
  z-index: 20;
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  background: #3a4a5e;
  border-color: #2f3d4e;
  border-bottom: 2px solid #26303d;
  box-shadow: inset 0 2px 0 #26303d, inset 0 -2px 0 #26303d;
  white-space: nowrap;
  vertical-align: middle;
  padding: 11px 10px;
}
.purchases-page .pm-table tbody td, .transfers-page .pm-table tbody td {
  vertical-align: middle;
  padding: 10px;
}
.purchases-page .pm-table tbody > tr.pm-row > td, .transfers-page .pm-table tbody > tr.pm-row > td {
  border-bottom: 2px solid #e2e8f1;
}
.purchases-page .pm-table tbody > tr.pm-row--odd > td, .transfers-page .pm-table tbody > tr.pm-row--odd > td {
  background: #eef2f8;
}
.purchases-page .pm-table tbody > tr.pm-row--even > td, .transfers-page .pm-table tbody > tr.pm-row--even > td {
  background: #fff;
}
.purchases-page .pm-table tbody > tr.pm-row--priority > td, .transfers-page .pm-table tbody > tr.pm-row--priority > td {
  background: #ffe4ef;
}
.purchases-page .pm-table tbody > tr.pm-row:hover > td, .transfers-page .pm-table tbody > tr.pm-row:hover > td {
  background: #e3eefc !important;
}
.purchases-page .pm-table tbody > tr.pm-row--priority:hover > td, .transfers-page .pm-table tbody > tr.pm-row--priority:hover > td {
  background: #ffc9de !important;
}
.purchases-page .pm-table tbody > tr.pm-row:not(.purchase-expanded) > td, .transfers-page .pm-table tbody > tr.pm-row:not(.purchase-expanded) > td {
  border-top: 1px solid #d4dbe6;
  border-bottom: 1px solid #d4dbe6;
}
.purchases-page .pm-table tbody > tr.pm-row:not(.purchase-expanded) > td:first-child, .transfers-page .pm-table tbody > tr.pm-row:not(.purchase-expanded) > td:first-child {
  box-shadow: inset 4px 0 0 #94a3b8;
  border-left: 1px solid #d4dbe6;
}
.purchases-page .pm-table tbody > tr.pm-row:not(.purchase-expanded) > td:last-child, .transfers-page .pm-table tbody > tr.pm-row:not(.purchase-expanded) > td:last-child {
  border-right: 1px solid #d4dbe6;
}
.purchases-page .pm-table tbody > tr.pm-row.pm-has-notes-collapsed:not(.purchase-expanded) > td, .transfers-page .pm-table tbody > tr.pm-row.pm-has-notes-collapsed:not(.purchase-expanded) > td {
  border-bottom: 0;
}
.purchases-page .pm-table .pm-num, .transfers-page .pm-table .pm-num {
  font-weight: 700;
  font-size: 15px;
  word-break: break-all;
}
.purchases-page .pm-table .pm-flow, .transfers-page .pm-table .pm-flow {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 1px;
  font-size: 12px;
}
.purchases-page .pm-table .pm-flow-sep, .transfers-page .pm-table .pm-flow-sep {
  color: #ccc;
  margin: 0 2px;
}
.purchases-page .pm-table .pm-paynums, .transfers-page .pm-table .pm-paynums {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
  font-size: 12px;
}
.purchases-page .pm-table .pm-paynums .pm-paynum, .transfers-page .pm-table .pm-paynums .pm-paynum {
  padding: 1px 7px;
  border-radius: 10px;
  background: #e0e7ff;
  color: #3730a3;
  font-weight: 700;
  white-space: nowrap;
}
.purchases-page .pm-table .pm-paystate, .transfers-page .pm-table .pm-paystate {
  font-weight: 700;
  font-size: 15px;
}
.purchases-page .pm-table .pm-meta, .transfers-page .pm-table .pm-meta {
  font-size: 14px;
}
.purchases-page .pm-notes-row > td, .transfers-page .pm-notes-row > td {
  background: #fffdf3;
  border-top: 0;
  padding: 7px 14px 11px;
}
.purchases-page .pm-note-card, .transfers-page .pm-note-card {
  background: #fff;
  border: 1px solid #ece8d6;
  border-radius: 6px;
  padding: 6px 11px;
  min-width: 210px;
  max-width: 460px;
}
.purchases-page .pm-note-card .pm-note-title, .transfers-page .pm-note-card .pm-note-title {
  font-size: 13px;
  font-weight: 700;
}
.purchases-page .pm-note-card .pm-note-body, .transfers-page .pm-note-card .pm-note-body {
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 19px;
  line-height: 1.55;
}

tr.purchase-expanded > td {
  background: #eaf3fb !important;
  border-top: 12px solid #eef1f5;
  box-shadow: inset 0 3px 0 #1e88e5;
  border-bottom: 0;
}

tr.purchase-expanded > td:first-child {
  border-left: 4px solid #1e88e5;
}

tr.purchase-expanded > td:last-child {
  border-right: 1px solid #bcdcf5;
}

tr.pm-notes-in-expanded > td {
  background: #eaf3fb !important;
  border-top: 0;
  border-bottom: 0;
}

tr.pm-notes-in-expanded > td:first-child {
  border-left: 4px solid #1e88e5;
}

tr.pm-notes-in-expanded > td:last-child {
  border-right: 1px solid #bcdcf5;
}

tr.pm-notes-in-expanded .pm-note-card {
  border-color: #cfe3f6;
  box-shadow: 0 1px 3px rgba(30, 136, 229, 0.08);
}

tr.pm-notes-collapsed > td {
  background: #f7f9fc !important;
  border-top: 0;
  border-bottom: 1px solid #d4dbe6;
}

tr.pm-notes-collapsed > td:first-child {
  box-shadow: inset 4px 0 0 #94a3b8;
  border-left: 1px solid #d4dbe6;
}

tr.pm-notes-collapsed > td:last-child {
  border-right: 1px solid #d4dbe6;
}

tr.pm-notes-collapsed .pm-note-card {
  border-color: #dbe1ea;
}

tr.purchase-overview-row > td {
  background: #eaf3fb !important;
  border-left: 4px solid #1e88e5;
  border-right: 1px solid #bcdcf5;
  border-bottom: 3px solid #1e88e5;
}

tr.pm-ov-spacer > td {
  padding: 0 !important;
  height: 14px;
  background: #f3f5f8 !important;
  border: 0 !important;
}

tr.pm-collapsed-spacer > td {
  padding: 0 !important;
  height: 12px;
  background: #eef1f5 !important;
  border: 0 !important;
}

.pm-ov-table thead th {
  position: static;
  z-index: 0;
  background: #5b9bd5 !important;
  color: #fff !important;
  border-color: #4a8bc7 !important;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.purchase-overview-card {
  background: #fff;
  border: 1px solid #bcdcf5;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(30, 136, 229, 0.16);
  padding: 14px 16px;
}
.purchase-overview-card .overview-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -14px -16px 12px;
  padding: 9px 16px;
  background: linear-gradient(90deg, #1e88e5, #42a5f5);
  color: #fff;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  font-size: 15px;
}

.pm-ov-enter-active, .pm-ov-leave-active {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.pm-ov-enter-active > td > .purchase-overview-card, .pm-ov-leave-active > td > .purchase-overview-card {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.pm-ov-enter, .pm-ov-leave-to {
  opacity: 0;
}
.pm-ov-enter > td > .purchase-overview-card, .pm-ov-leave-to > td > .purchase-overview-card {
  opacity: 0;
  transform: translateY(-8px);
}

.pm-ov-enter-to, .pm-ov-leave {
  opacity: 1;
}
.pm-ov-enter-to > td > .purchase-overview-card, .pm-ov-leave > td > .purchase-overview-card {
  opacity: 1;
  transform: translateY(0);
}

tr.pm-row--priority:not(.purchase-expanded) > td {
  border-top-color: #f3b8cf !important;
  border-bottom-color: #f3b8cf !important;
}

tr.pm-row--priority:not(.purchase-expanded) > td:first-child {
  box-shadow: inset 4px 0 0 #d6477f !important;
  border-left-color: #f3b8cf !important;
}

tr.pm-row--priority:not(.purchase-expanded) > td:last-child {
  border-right-color: #f3b8cf !important;
}

tr.pm-notes-collapsed.pm-priority > td {
  background: #ffe4ef !important;
  border-bottom-color: #f3b8cf !important;
}

tr.pm-notes-collapsed.pm-priority > td:first-child {
  box-shadow: inset 4px 0 0 #d6477f !important;
  border-left-color: #f3b8cf !important;
}

tr.pm-notes-collapsed.pm-priority > td:last-child {
  border-right-color: #f3b8cf !important;
}

tr.pm-notes-collapsed.pm-priority .pm-note-card {
  border-color: #f3b8cf !important;
}

tr.pm-collapsed-spacer.pm-priority > td {
  background: #ffd9e6 !important;
}

tr.purchase-expanded.pm-row--priority > td {
  background: #ffe4ef !important;
  box-shadow: inset 0 3px 0 #d6477f !important;
}

tr.purchase-expanded.pm-row--priority > td:first-child {
  border-left-color: #d6477f !important;
}

tr.purchase-expanded.pm-row--priority > td:last-child {
  border-right-color: #f3b8cf !important;
}

tr.purchase-overview-row.pm-priority > td {
  background: #ffe4ef !important;
  border-left-color: #d6477f !important;
  border-right-color: #f3b8cf !important;
  border-bottom-color: #d6477f !important;
}

tr.pm-notes-in-expanded.pm-priority > td {
  background: #ffe4ef !important;
}

tr.pm-notes-in-expanded.pm-priority > td:first-child {
  border-left-color: #d6477f !important;
}

tr.pm-notes-in-expanded.pm-priority > td:last-child {
  border-right-color: #f3b8cf !important;
}

tr.pm-notes-in-expanded.pm-priority .pm-note-card {
  border-color: #f3b8cf !important;
}

tr.pm-ov-spacer.pm-priority > td {
  background: #ffd9e6 !important;
}

tr.purchase-overview-row.pm-priority .purchase-overview-card {
  border-color: #f3b8cf !important;
  box-shadow: 0 4px 16px rgba(214, 71, 127, 0.18) !important;
}

tr.purchase-overview-row.pm-priority .overview-title-bar {
  background: linear-gradient(90deg, #d6477f, #f06aa5) !important;
}

tr.purchase-overview-row.pm-priority .pm-ov-table thead th {
  background: #d6477f !important;
  border-color: #c43b6f !important;
}
