@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

em {
  font-style: normal;
}

a {
  text-decoration: none;
  /* 去除下划线 */
  color: inherit;
  /* 继承父元素的颜色 */
  cursor: pointer;
  /* 修改鼠标指针样式 */
  font-size: 16px;
}

ul {
  list-style: none;
}

input {
  border: none;
  outline: none;
  background: transparent;
}

button {
  border: none;
  outline: none;
  background: transparent;
}

.nav {
  width: 100%;
  height: 90px;
  border-top: solid 1px #eeeeee;
  box-sizing: border-box;
  background-color: #ffffff;
}

.nav > .nav_box {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav > .nav_box > .logo {
  width: 161px;
}

.nav > .nav_box > .nav_text {
  display: flex;
  align-items: center;
}

.nav > .nav_box > .nav_text > a {
  font-size: 29px;
  font-weight: bold;
}

.nav > .nav_box > .nav_text > a:first-child {
  margin-right: 98px;
}

.nav > .nav_box > .nav_text .a_active {
  color: #ff4000;
  position: relative;
}

.nav > .nav_box > .nav_text .a_active::before {
  position: absolute;
  content: "";
  width: 40px;
  height: 3px;
  bottom: -25px;
  left: 50%;
  transform: translate(-50%);
  background-color: #ff4000;
}

.muna_box_list {
  padding: 25px;
  background-color: #ffffff;
  border-bottom: solid 1px #eef2f8;
}

.muna_box_list .main1-index {
  max-width: 1300px;
  margin: 0 auto;
}

.muna_box_list .main1-index .template {
  text-align: center;
}

.muna_box_list .main1-index .flex {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.muna_box_list .main1-index .flex-row {
  display: flex;
  align-items: center;
}

.muna_box_list .main1-index .plate1 .main {
  font-size: 14px;
}

.muna_box_list .main1-index .plate1 .main .bot {
  margin-top: 20px;
  position: relative;
  justify-content: space-between;
}

.muna_box_list .main1-index .plate1 .main .bot .left {
  margin-right: 10px;
  height: 58px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  justify-content: space-between;
  box-shadow: 0 0 20px #f7f7f7;
  font-size: 16px;
  flex: 1;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item {
  width: 100%;
  height: 100%;
  border-right: 1px solid #e5e5e5;
  position: relative;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item > .daosanjiao {
  width: 100%;
  padding: 10px;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item > .daosanjiao input {
  width: 100%;
  height: 100%;
  font-size: 16px;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item > .daosanjiao > .triangle {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  /* 左边的边，设置为透明 */
  border-right: 6px solid transparent;
  /* 右边的边，设置为透明 */
  border-top: 9px solid #666666;
  /* 顶边，设置为想要的颜色 */
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .select {
  display: flex;
  flex-wrap: wrap;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .ull {
  box-shadow: 0 10px 15px 0 rgba(1, 1, 1, 0.2);
  display: none;
  position: absolute;
  top: 100%;
  left: -4px;
  width: 463px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px 20px;
  box-sizing: border-box;
  z-index: 2;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .ull .biaoti {
  min-width: 85px;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .ull > div {
  width: 100%;
  display: flex;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .ull > div > div {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .ull .clear {
  cursor: pointer;
  font-size: 14px;
  color: #ff4000;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .ull .li {
  margin-right: 5px;
  margin-bottom: 5px;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .ull .li .i {
  margin-right: 5px;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  margin-top: 5px;
  margin-right: 10px;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .ull .li .ul1 {
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-start;
  color: #666;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .ull .lis {
  display: flex;
  justify-content: flex-end;
}

.muna_box_list .main1-index .plate1 .main .bot .left .item .selects {
  flex-direction: column;
}

.muna_box_list .main1-index .plate1 .main .bot .right {
  width: 180px;
  height: 50px;
  border-radius: 6px;
  background-image: linear-gradient(to right, #ff6927, #ff4606);
  color: #fff;
  cursor: pointer;
}

.muna_box_list .main1-index .plate1 .main .bot .right > img {
  margin-right: 8px;
}

/* 购物车容器 */
.cart-container {
  max-width: 1300px;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 20px;
}

/* 页面标题 */
.cart-header-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-header-title:before {
  content: "🛒";
  font-size: 26px;
}

/* 表格样式 (适应移动端滚动) */
.cart-table-wrapper {
  overflow-x: auto;
  background: #fff;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 14px;
}

/* 表头样式 */
.cart-table thead tr {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.cart-table th {
  padding: 16px 12px;
  font-weight: 600;
  color: #475569;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.cart-table th:first-child {
  padding-left: 20px;
  text-align: center;
}

.cart-table th:last-child {
  padding-right: 20px;
}

/* 单元格通用 */
.cart-table td {
  padding: 20px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #edf2f7;
  text-align: center;
}

/* 商品信息列 (左对齐) */
.cart-table .product-col {
  text-align: left;
}

/* 卖家行特殊样式 */
.seller-row td {
  background-color: #fefce8;
  padding: 12px 20px;
  font-weight: 500;
  color: #b45309;
  border-bottom: 1px solid #fde68a;
}

.seller-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seller-icon {
  background-color: #ffedd5;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #c2410c;
}

.seller-name {
  font-weight: 600;
  font-size: 15px;
  color: #2c3e4e;
}

.seller-badge {
  background: #eef2ff;
  padding: 2px 8px;
  border-radius: 30px;
  font-size: 12px;
  color: #1e40af;
}

/* 商品信息内部flex布局 */
.product-info {
  display: flex;
  gap: 14px;
  align-items: center;
}

.product-img {
  width: 70px;
  height: 70px;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 28px;
  flex-shrink: 0;
  border: 1px solid #e9edf2;
}

.product-details {
  flex: 1;
}

.product-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 6px;
  color: #0f172a;
}

.安心购标签 {
  display: inline-block;
  background: #f97316;
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  margin-right: 8px;
  vertical-align: middle;
  font-weight: 500;
}

.product-sku {
  font-size: 12px;
  color: #5b6e8c;
  margin: 5px 0 3px;
}

.product-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 5px;
  font-size: 12px;
  color: #6c7a91;
}

.batch-info {
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 16px;
  font-size: 11px;
  color: #2c3e66;
}

/* 数量控件 (静态样式) */
.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 40px;
  background: white;
  overflow: hidden;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #334155;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  border: none;
  font-weight: 500;
  transition: background 0.2s;
}

.quantity-btn:hover {
  background: #e2e8f0;
}

.quantity-num {
  width: 42px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: white;
  padding: 4px 0;
}

.quantity-num:focus {
  outline: none;
}

/* 价格文字 */
.price-text {
  font-weight: 600;
  color: #1e293b;
  font-size: 15px;
}

.amount-text {
  font-weight: 700;
  color: #dc2626;
  font-size: 16px;
}

.delete-link {
  color: #f97316;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.delete-link:hover {
  color: #c2410c;
  text-decoration: underline;
}

/* 底部操作栏 */
.cart-footer {
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 20px 0;
  border-top: 1px solid #eef2f8;
}

.footerbox {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #ffffff;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.select-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.btn-delete-batch {
  background: none;
  border: none;
  color: #f97316;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 30px;
  transition: background 0.2s;
}

.btn-delete-batch:hover {
  background: #fff5eb;
}

.stats-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 24px;
  background: #f8fafd;
  padding: 10px 20px;
  border-radius: 48px;
}

.stat-item {
  font-size: 13px;
  color: #475569;
}

.stat-value {
  font-weight: 700;
  color: #1f2937;
  margin-left: 4px;
  font-size: 15px;
}

.total-price {
  font-size: 20px;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0;
}

.checkout-btn {
  background: #f97316;
  border: none;
  padding: 12px 32px;
  border-radius: 48px;
  font-weight: 700;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.2);
}

.checkout-btn:hover {
  background: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.25);
}

/* 复选框样式统一 */
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #f97316;
  margin: 0;
}

/* 辅助布局 */
.inline-flex-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 移动端微调 */
@media (max-width: 680px) {
  .cart-container {
    padding: 16px;
  }
  .stats-info {
    padding: 8px 16px;
    gap: 12px;
  }
  .checkout-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* 安心购特殊样式加强 */
.badge-anxin {
  background: #ffedd5;
  color: #b45309;
  font-size: 11px;
  border-radius: 30px;
  padding: 2px 8px;
  display: inline-block;
  margin-right: 8px;
  font-weight: 500;
}
