[ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

body{
    font-family: -apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;
    color: #2e3033;
    background-color: #f0f0f0!important;
    font-size: 13px;
    line-height: 1.5;
}

tr.text-muted td,
tr.text-muted th {
    color: var(--bs-secondary-color) !important;
}

tr.text-success td,
tr.text-success th {
    color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}

tr.text-danger td,
tr.text-danger th {
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}


/* Content Menu controller */
.context-menu {
    position: fixed;
    border: 1px solid #ccc;
    background-color: #fff;
    z-index: 1000;
    list-style: none;
    padding: 5px 0;
    margin: 0;
}
.context-menu li {
    padding: 5px 15px;
    cursor: pointer;
}

.context-menu li:hover {
    background-color: #f5f5f5;
}
/* End Content Menu controller */


/* Tree controller */
.treeNodeName:hover {
    background-color: #f8f9fa; /* Bootstrap 5 的浅灰色背景 */
    border-radius: 0.25rem; /* 更圆的圆角 */
    border: 1px solid #dee2e6; /* 添加边框 */
}



/* End Tree controller */




.profile-user-img {
    border: 3px solid #adb5bd;
    margin: 0 auto;
    padding: 3px;
    width: 100px;
}

.img-circle {
    border-radius: 50%;
}

.profile-username {
    font-size: 21px;
    margin-top: 5px;
}

.list-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 0.25rem;
}

.list-group-item {
    position: relative;
    display: block;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
}

.list-group-unbordered>.list-group-item {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.float-right {
    float: right !important;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}



.attr-sku {
    min-width: 30px;
    max-width: 200px;
}

.light-border-input {
    background: transparent;
    border: 1px solid lightgray; /* 添加浅灰色的 1px 边框 */
}



.no-border-input {
    background: transparent;
    border: none;
}

.no-border-input:focus {
    border: none !important;
    outline: none;
    box-shadow: none !important;
}

.single-line {
    white-space: nowrap;
}

.product-attr input {
    text-align: right;
}

.card-img-top {
    width: 100%;
    height: 100px; /* 你可以根据需要调整高度 */
    object-fit: cover;
}

.sell-fix-col {
    height: 130px;
}

.sell-fix-col img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.product-image {
    transition: filter 0.3s ease, transform 0.5s ease;
    width: 100%;
}

.product-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px;
    transition: opacity 0.3s ease;
}


.sell-fix-col:hover{
    transform: scale(1.1);
}


/* 定义自定义断点 */
@media (min-width: 1600px) {
  .col-xxxl {
    flex: 0 0 auto;
    width: 100%;
  }
  .col-xxxl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-xxxl-1 { width: 8.333333%; }
  .col-xxxl-2 { width: 16.666667%; }
  .col-xxxl-3 { width: 25%; }
  .col-xxxl-4 { width: 33.333333%; }
  .col-xxxl-5 { width: 41.666667%; }
  .col-xxxl-6 { width: 50%; }
  .col-xxxl-7 { width: 58.333333%; }
  .col-xxxl-8 { width: 66.666667%; }
  .col-xxxl-9 { width: 75%; }
  .col-xxxl-10 { width: 83.333333%; }
  .col-xxxl-11 { width: 91.666667%; }
  .col-xxxl-12 { width: 100%; }
}


.tool-tip-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.product-attr.inactive {
    color: #6c757d; /* 灰色字体 */
    text-decoration: line-through; /* 删除线 */
    background-color: #e9ecef; /* 浅灰色背景 */
    opacity: 0.6; /* 调整透明度 */
}



.display-when-hover-mouse-senser{
    display: none;
}

.mouse-senser:hover .display-when-hover-mouse-senser {
   display: flex !important;
}


.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.img-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 确保宽高比为1:1 */
}

.square-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片覆盖整个容器 */
}

.max-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
}


.max-1-lines {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
}


.overlapping-container{
    position: relative;
}

.overlapping-item{
    position: absolute;
    top: 0; /* 根据需要设置 */
    left: 0; /* 根据需要设置 */
    right: 0; /* 确保容器宽度为父容器的宽度 */
    bottom: 0; /* 确保容器高度为父容器的高度 */
}

.center-container{
    display: flex; /* 使用 Flexbox 来居中 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

.payment-btn-large {
  height: 70px;
  font-size: 1.5rem;
  white-space: nowrap;
  padding: 0px;
}
.payment-btn-side {
  width: 100%;
  height: 70px;
}
.payment-btn-bottom{
    height: 70px;
}
#autoWidthInput{
    min-width: 50px;
    max-width: 130px;
    width: auto;
}
.text-nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.count-group .count-input {
    width: 30px; /* 输入框宽度 */
    text-align: center; /* 输入文本居中 */
    font-size: 16px; /* 字体大小 */
    padding: 5px; /* 内边距 */
    border: 1px solid #ccc; /* 输入框边框 */
}

.count-group .btn {
    width: 25px;
}

/* 为 Webkit 内核浏览器 (Chrome, Safari) 去除数字输入框的箭头 */
.count-group .count-input::-webkit-inner-spin-button,
.count-group .count-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 为 Firefox 去除数字输入框的箭头 */
.count-group .count-input[type=number] {
    -moz-appearance: textfield;
}

.disabled-div {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* 半透明遮罩 */
    pointer-events: all; /* 禁用点击 */
}