.cart_main {
  padding: 56px 0;
}
.cart_main .head h1 {
  color: #232323;
  font-size: 46px;
  line-height: 67px;
  font-weight: 700;
}
.cart_main .head p {
  margin-top: 1rem;
  color: #2d2d2d;
  font-size: 18px;
  line-height: 2rem;
}
.cart_main .head p a {
  color: var(--subtheme_color);
  font-size: 18px;
  line-height: 2rem;
  display: inline-flex;
  vertical-align: top;
  align-items: center;
  gap: 6px;
}
.cart_main .head p a::after {
  content: '';
  display: block;
  transition: all 0.3s;
  width: 8px;
  height: 14px;
  background: url(../img/arrow-r.svg) no-repeat center / contain;
}
.cart_main .head p a:hover::after {
  transform: translateX(5px);
}
.cart_main .main {
  padding: 62px 0 36px;
}
.cart_main .main .head {
  padding-bottom: 18px;
  border-bottom: 1px solid #dbdbdb;
}
.cart_main .main .head ul {
  display: grid;
  gap: 2.6388889%;
  grid-template-columns: 24px 1fr 13.0555556% 16.25% 17.2222223% 22px;
}
.cart_main .main .head ul li {
  color: #282828;
  font-size: 18px;
  font-weight: 500;
}
.cart_main .main .head ul li .select_all {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  transition: all 0.3s;
  cursor: pointer;
  gap: 14px;
  max-width: max-content;
}
.cart_main .main .head ul li .select_all::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 2px;
  border: 1px solid #dbdbdb;
  background: url(../img/gou-w.svg) no-repeat center / contain;
  transition: all 0.3s;
}
.cart_main .main .head ul li .select_all:hover {
  color: var(--theme_color);
}
.cart_main .main .head ul li .select_all.active::before {
  border-color: var(--theme_color);
  background-color: var(--theme_color);
}
.cart_main .main .head ul li:first-child {
  grid-column: 1/3;
}
.cart_main .list li {
  display: grid;
  gap: 2.6388889%;
  padding: 28px 0;
  align-items: center;
  border-bottom: 1px solid #dbdbdb;
  grid-template-columns: 24px 1fr 13.0555556% 16.25% 17.2222223% 22px;
  cursor: pointer;
}
.cart_main .list li.active::before {
  border-color: var(--theme_color);
  background-color: var(--theme_color);
}
.cart_main .list li::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 2px;
  border: 1px solid #dbdbdb;
  background: url(../img/gou-w.svg) no-repeat center / contain;
  transition: all 0.3s;
  transform: translateY(-8px);
}
.cart_main .list li a {
  display: flex;
  align-items: center;
  max-width: max-content;
  gap: min(38px, 1.97916667vw);
}
.cart_main .list li a .img {
  border-radius: 8px;
  background-color: #f9f9f9;
  width: clamp(4rem, 7.0833334vw, 136px);
  aspect-ratio: 1;
  overflow: hidden;
}
.cart_main .list li a .img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: all 0.5s;
}
.cart_main .list li a .info {
  padding-bottom: 1rem;
}
.cart_main .list li a .info .title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 500;
  transition: all 0.3s;
}
.cart_main .list li a:hover .img img {
  transform: scale(1.03);
}
.cart_main .list li a:hover .info .title {
  color: var(--theme_color);
}
.cart_main .list li .brand {
  color: #3f3f3f;
  font-size: 18px;
  font-weight: 500;
}
.cart_main .list li .sku {
  color: #3f3f3f;
  font-size: 18px;
}
.cart_main .list li .quantity {
  max-width: 170px;
  border-radius: 4px;
  background-color: #f7f7f7;
  display: grid;
  grid-template-columns: auto 1fr auto;
  overflow: hidden;
}
.cart_main .list li .quantity span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 3rem;
  cursor: pointer;
  transition: all 0.3s;
}
.cart_main .list li .quantity span::after {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: no-repeat center / contain;
  transition: all 0.3s;
}
.cart_main .list li .quantity span:hover {
  background-color: var(--theme_color);
}
.cart_main .list li .quantity span:hover::after {
  filter: contrast(0) brightness(2);
}
.cart_main .list li .quantity .reduce::after {
  background-image: url(../img/reduce.svg);
}
.cart_main .list li .quantity .add::after {
  background-image: url(../img/add.svg);
}
.cart_main .list li .quantity input {
  width: 100%;
  background-color: transparent;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  padding: 0 8px;
}
.cart_main .list li .delete {
  width: 22px;
  height: 22px;
  cursor: pointer;
  transition: all 0.3s;
  background: url(../img/icon-delete.svg) no-repeat center / contain;
}
.cart_main .list li .delete:hover {
  filter: contrast(0) brightness(0);
}
.cart_main .bt_bar {
  padding: 26px 0 20px;
  border-bottom: 1px solid #dbdbdb;
  transition: all 0.3s;
  position: sticky;
  bottom: 0;
  background-color: #fff;
}
.cart_main .bt_bar.sticky {
  box-shadow: 0 -6px 5px rgba(211, 211, 211, 0.25);
}
.cart_main .bt_bar .inner {
  display: grid;
  align-items: center;
  gap: 20px;
  grid-template-columns: 1fr auto;
}
.cart_main .bt_bar .total {
  font-size: 22px;
  font-weight: 500;
}
