/**
 * Carrito lateral móvil — mismos tokens corporativos que tdfm-cart.css
 */
#side_products_cart {
  --lco-primary: var(--e-global-color-primary, #050a27);
  --lco-secondary: var(--e-global-color-secondary, #e2e8f3);
  --lco-panel: #c5c9cd;
  --lco-accent: var(--e-global-color-3d54482, #f2c340);
  --lco-text: #0f1229;
  --lco-border: rgba(5, 10, 39, 0.14);
}

#side_products_cart .line_item {
  list-style: none;
  margin-bottom: 0.75rem;
}

#side_products_cart .line_item:last-child {
  margin-bottom: 0;
}

.side-cart-product-line {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
  background: var(--lco-panel);
  border: 1px solid var(--lco-border);
  border-radius: 6px;
  color: var(--lco-text);
}

.scpl-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  width: 100%;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--lco-accent);
}

.scpl-qty {
  flex: 0 0 auto;
  font-weight: 800;
  color: var(--lco-primary);
}

.scpl-name {
  flex: 1 1 120px;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--lco-primary);
  text-decoration: none;
  word-break: break-word;
}

.scpl-name:hover {
  color: var(--lco-accent);
}

.scpl-price {
  flex: 0 0 auto;
  margin-left: auto;
  font-weight: 800;
  color: var(--lco-primary);
  white-space: nowrap;
}

.scpl-visual-frame {
  display: block;
  width: 100%;
  border: 1px solid var(--lco-border);
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}

.scpl-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  padding: 0.5rem;
  box-sizing: border-box;
}

.scpl-specs-title {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lco-primary);
  opacity: 0.65;
}

.scpl-attr {
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 0.2rem;
}

.scpl-attr-k {
  opacity: 0.75;
}

.scpl-attr-v {
  color: var(--lco-primary);
  font-weight: 700;
}

.scpl-dimensions-k {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lco-primary);
  opacity: 0.65;
  margin-bottom: 0.1rem;
}

.scpl-dimensions-v {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--lco-primary);
}

.scpl-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--lco-border);
}

.scpl-actions .cart_quantity {
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: var(--lco-primary);
  border: 1px solid var(--lco-border);
  border-radius: 4px;
  background: var(--lco-secondary);
}

.scpl-trash {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 4px;
  background: transparent;
  border: 1px solid rgba(198, 40, 28, 0.4);
  color: #c62828 !important;
  text-decoration: none;
}

.scpl-trash:hover {
  background: rgba(198, 40, 28, 0.08);
  border-color: #c62828;
  color: #c62828 !important;
}

.scpl-trash i {
  color: #c62828 !important;
}
