/*your custom css goes here*/

    /* 重置默认复选框样式 */
input[type="checkbox"][name="cart_items[]"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #e5e7eb; /* 浅灰色边框，适配电商浅色风格 */
  border-radius: 4px; /* 轻微圆角，符合现代设计 */
  background-color: #ffffff;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease; /* 平滑过渡效果 */
}

/* 复选框 hover 状态 */
input[type="checkbox"][name="cart_items[]"]:hover {
  border-color: #94a3b8; /* 鼠标悬浮时加深边框色 */
}

/* 复选框选中状态 */
input[type="checkbox"][name="cart_items[]"]:checked {
  background-color: #3b82f6; /* 电商常用的蓝色主色调 */
  border-color: #3b82f6;
}

/* 选中状态的对勾样式 */
input[type="checkbox"][name="cart_items[]"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 禁用状态样式（可选，比如商品无库存时） */
input[type="checkbox"][name="cart_items[]"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

/* 全选复选框样式（复用基础样式，仅调整名称） */
input[type="checkbox"][name="all"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

input[type="checkbox"][name="all"]:hover {
  border-color: #94a3b8;
}

input[type="checkbox"][name="all"]:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

input[type="checkbox"][name="all"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


/* 手机端（屏幕小于768px）隐藏这个元素 */
@media (max-width: 767.98px) {
  .bg-dark.py-5.text-light.footer-widget {
    display: none !important;
  }
}