.woocommerce-cart :is(.qnected-inline-notice, .qnected-inline-errors) {
  position: static;
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #e1e6ee;
  border-radius: 8px;
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
  line-height: 1.6;
  list-style: none;
}
.woocommerce-cart .qnected-inline-errors { border-color: #f1cdcd; background: #fff8f8; color: #8b2929; }
.woocommerce-cart :is(.qnected-inline-notice, .qnected-inline-errors)::before { display: none; }
.woocommerce-cart .qnected-inline-notice a { color: #5144ce; text-decoration: underline; }

.qnected-cart-items {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.qnected-cart-items .qnected-cart-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 20px;
  border: 1px solid #e1e6ee;
  border-radius: 12px;
  background: #fff;
}

.qnected-cart-item__image a { display: block; }
.qnected-cart-items .qnected-cart-item__thumbnail {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.qnected-cart-item__body { min-width: 0; }
.qnected-cart-item__top { position: relative; }
.qnected-cart-item__title {
  padding-right: 34px;
  margin: 0;
  color: #172238;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.qnected-cart-item__title a { color: inherit; text-decoration: none; }
.qnected-cart-item__title a:hover { color: #6054ff; }
.qnected-cart-item__meta { color: #64748b; font-size: 13px; }
.qnected-cart-item__meta dl { margin: 6px 0; }
.qnected-cart-item__price { margin: 8px 0 0; color: #172238; font-size: 16px; font-weight: 600; }
.qnected-cart-item__price > span:last-child { margin-left: 4px; color: #64748b; font-size: 12px; font-weight: 400; }

.qnected-cart-item__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: #536176;
  font-size: 13px;
}
.qnected-cart-item__controls label { margin: 0; }
.qnected-cart-item__select { position: relative; min-width: 76px; }
.qnected-cart-item__select > svg {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
}
.qnected-cart-items .qnected-cart-item__quantity {
  appearance: none;
  width: 100%;
  min-height: 44px;
  padding: 9px 32px 9px 12px;
  border: 1px solid #cbd3df;
  border-radius: 8px;
  background: #fff;
  color: #172238;
  font-size: 16px;
  cursor: pointer;
}
.qnected-cart-item__remove { position: absolute; top: -10px; right: -10px; }
.qnected-cart-items .qnected-cart-item__remove a.remove {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  color: #7c8799;
  background: transparent;
}
.qnected-cart-items .qnected-cart-item__remove a.remove:hover { color: #b42318; background: #fff1f0; }
.qnected-cart-item__remove svg { width: 18px; height: 18px; }
.qnected-cart-items :is(a, select):focus-visible { outline: 2px solid #6054ff; outline-offset: 3px; }

@media (max-width: 479px) {
  .qnected-cart-items .qnected-cart-item { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .qnected-cart-item__title { font-size: 14px; line-height: 1.5; }
  .qnected-cart-item__price { font-size: 15px; }
  .qnected-cart-item__price > span:last-child { display: block; margin: 2px 0 0; }
}
