:root {
  --yc-cart-accent: #1769e0;
  --yc-cart-accent-dark: #0e4eaf;
  --yc-cart-accent-soft: #edf5ff;
  --yc-cart-line: #dce8f5;
  --yc-cart-ink: #132844;
  --yc-cart-muted: #647891;
  --yc-cart-page: #f4f8fd;
}

.yc-cart-page {
  overflow: visible;
  border: 1px solid var(--yc-cart-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(31, 77, 129, .08);
}

.yc-cart-page > .card-body {
  padding: 24px !important;
}

.yc-product-column {
  display: flex;
}

.yc-product-column > .cartitem {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e0eaf5;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 7px 20px rgba(31, 77, 129, .06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.yc-product-column > .cartitem::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--yc-cart-accent), #55b8ff);
  opacity: .82;
}

.yc-product-column > .cartitem:hover,
.yc-product-column > .cartitem.active {
  border-color: #b8d2ee;
  box-shadow: 0 14px 28px rgba(23, 105, 224, .14);
  transform: translateY(-5px);
}

.yc-product-column .cartitem > .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 20px 18px 16px;
}

.yc-product-heading {
  width: 100%;
  min-height: 66px;
  padding-right: 8px;
}

.yc-product-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--yc-cart-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.yc-product-heading h5 {
  margin: 0;
  color: var(--yc-cart-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.yc-product-column .card-body > .col-sm-12 {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  padding: 0;
}

.yc-product-description {
  min-height: 48px;
  margin: 13px 0 9px;
  color: var(--yc-cart-muted);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.yc-product-description strong { color: var(--yc-cart-ink); font-weight: 600; }
.yc-product-description .yc-spec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #e3ebf5; }
.yc-product-description .yc-spec-row > span { flex-shrink: 0; }
.yc-product-description .yc-spec-row > strong { min-width: 0; text-align: right; }
.yc-product-description .yc-spec-note { margin-top: 14px; padding: 10px 12px; border: 1px solid #dceafb; border-radius: 8px; color: var(--yc-cart-accent-dark); background: var(--yc-cart-accent-soft); font-size: 12px; line-height: 1.7; }

.yc-stock {
  margin-bottom: 8px;
  color: var(--yc-cart-muted);
  font-size: 12px;
}

.yc-price {
  margin-top: auto;
  color: var(--yc-cart-accent-dark);
  font-size: 19px;
  font-weight: 800;
}

.yc-trial {
  margin-top: 5px;
  color: #16817c;
  font-size: 12px;
}

.yc-original {
  margin-top: 4px;
  color: #8b9aae;
  font-size: 11px;
}

.yc-saleout {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 50px;
  opacity: .86;
}

.yc-cart-action {
  border-top: 1px solid #e5edf6;
  background: transparent;
}

.yc-cart-action a {
  display: block;
  width: 100%;
  color: var(--yc-cart-accent-dark);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 44px;
  transition: color .2s ease, background .2s ease;
}

.yc-product-column .cartitem.active .yc-cart-action,
.yc-product-column .cartitem:hover .yc-cart-action {
  border-top-color: var(--yc-cart-accent);
  background: linear-gradient(135deg, var(--yc-cart-accent), #3a8bff);
}

.yc-product-column .cartitem.active .yc-cart-action a,
.yc-product-column .cartitem:hover .yc-cart-action a {
  color: #fff;
}

.yc-cart-page .table-footer {
  width: 100%;
}

.yc-cart-page .pagination .page-link {
  margin: 0 2px;
  border: 1px solid var(--yc-cart-line);
  border-radius: 6px;
  color: var(--yc-cart-muted);
}

.yc-cart-page .pagination .page-item.active .page-link,
.yc-cart-page .pagination .page-link:hover {
  border-color: var(--yc-cart-accent);
  color: #fff;
  background: var(--yc-cart-accent);
}

@media (max-width: 992px) {
  .yc-product-column {
    margin-bottom: 16px !important;
  }
}

@media (max-width: 576px) {
  .yc-cart-page > .card-body {
    padding: 15px !important;
  }
}
